#onePieceFontGeneratorTool{
    --primary:#ffb703;
    --secondary:#023047;
    --accent:#fb8500;
    --dark:#0f172a;
    --light:#ffffff;
    --border:rgba(255,255,255,.15);

    font-family:Inter,Arial,sans-serif;
    max-width:1200px;
    margin:auto;
    color:#fff;
}

#onePieceFontGeneratorTool *{
    box-sizing:border-box;
}

#onePieceFontGeneratorTool .op-wrapper{
    background:linear-gradient(135deg,#023047,#0f172a,#1e293b);
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(0,0,0,.35);
}

#onePieceFontGeneratorTool .op-header{
    padding:35px 25px;
    text-align:center;
    background:linear-gradient(135deg,#ffb703,#fb8500);
    color:#111827;
}

#onePieceFontGeneratorTool .op-header h2{
    margin:0;
    font-size:2rem;
    font-weight:800;
}

#onePieceFontGeneratorTool .op-header p{
    margin:10px 0 0;
}

#onePieceFontGeneratorTool .badge{
    display:inline-block;
    margin-top:12px;
    background:#fff;
    padding:6px 12px;
    border-radius:999px;
    font-size:.8rem;
    font-weight:700;
}

#onePieceFontGeneratorTool .op-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    padding:24px;
}

#onePieceFontGeneratorTool .card{
    background:rgba(255,255,255,.05);
    border:1px solid var(--border);
    backdrop-filter:blur(12px);
    border-radius:20px;
    padding:20px;
}

#onePieceFontGeneratorTool textarea{
    width:100%;
    min-height:140px;
    resize:vertical;
    border:none;
    outline:none;
    padding:16px;
    border-radius:14px;
    background:#fff;
    color:#111827;
    font-size:18px;
    font-weight:600;
}

#onePieceFontGeneratorTool .controls{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-top:15px;
}

#onePieceFontGeneratorTool button{
    border:none;
    cursor:pointer;
    border-radius:12px;
    padding:12px 16px;
    font-weight:700;
    transition:.3s;
}

#onePieceFontGeneratorTool button:hover{
    transform:translateY(-2px);
}

#onePieceFontGeneratorTool .btn-primary{
    background:linear-gradient(135deg,#ffb703,#fb8500);
    color:#111;
}

#onePieceFontGeneratorTool .btn-secondary{
    background:#334155;
    color:#fff;
}

#onePieceFontGeneratorTool .preview{
    min-height:180px;
    background:#fff;
    border-radius:16px;
    padding:20px;
    color:#111827;
    word-break:break-word;
}

#onePieceFontGeneratorTool .style-title{
    color:#ffd166;
    margin-bottom:15px;
}

#onePieceFontGeneratorTool .tool-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-top:20px;
}

#onePieceFontGeneratorTool .stat{
    background:rgba(255,255,255,.08);
    border-radius:12px;
    padding:12px;
    text-align:center;
}

#onePieceFontGeneratorTool .stat strong{
    display:block;
    color:#ffd166;
    font-size:1.2rem;
}

#onePieceFontGeneratorTool .output-card{
    margin:0 24px 24px;
}

#onePieceFontGeneratorTool .font-list{
    display:grid;
    gap:12px;
}

#onePieceFontGeneratorTool .font-item{
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:14px;
}

#onePieceFontGeneratorTool .font-preview{
    font-size:1.1rem;
    margin-bottom:10px;
    word-break:break-word;
}

#onePieceFontGeneratorTool .copy-btn{
    width:100%;
    background:linear-gradient(135deg,#ffb703,#fb8500);
    color:#111;
}

@media(max-width:900px){

    #onePieceFontGeneratorTool .op-grid{
        grid-template-columns:1fr;
    }

    #onePieceFontGeneratorTool .tool-stats{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:480px){

    #onePieceFontGeneratorTool .controls{
        grid-template-columns:1fr;
    }

    #onePieceFontGeneratorTool .tool-stats{
        grid-template-columns:1fr;
    }

    #onePieceFontGeneratorTool .op-header h2{
        font-size:1.6rem;
    }
}