@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Inter',sans-serif;background:#0f0f13;color:#e4e4e7;line-height:1.6;min-height:100vh}
.hidden{display:none!important}
.container{max-width:900px;margin:0 auto;padding:0 1.5rem}

/* Header */
.site-header{background:#1a1a2e;border-bottom:1px solid rgba(255,255,255,0.06);padding:1rem 0;position:sticky;top:0;z-index:100;backdrop-filter:blur(12px)}
.site-header .container{display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:0.6rem;text-decoration:none;color:#e4e4e7;font-weight:700;font-size:1.15rem}
.logo-icon{width:38px;height:38px;background:linear-gradient(135deg,#ec4899,#f43f5e,#be185d);border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.2rem;color:#fff;font-family:'JetBrains Mono',monospace}
nav{display:flex;gap:1.2rem}
nav a{color:#a1a1aa;text-decoration:none;font-size:0.88rem;font-weight:500;transition:color .2s}
nav a:hover{color:#ec4899}

/* Hero */
.hero{text-align:center;padding:3rem 0 2rem}
.hero h1{font-size:2.5rem;font-weight:800;background:linear-gradient(135deg,#ec4899,#f43f5e,#be185d);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:0.5rem}
.hero p{color:#a1a1aa;font-size:1.05rem;max-width:560px;margin:0 auto}

/* Card */
.card{background:#1a1a2e;border:1px solid rgba(255,255,255,0.06);border-radius:1rem;padding:1.5rem;margin-bottom:1.5rem}

/* Ad Slots */
.ad-slot{background:#1a1a2e;border:1px solid rgba(255,255,255,0.06);border-radius:0.75rem;min-height:90px;display:flex;align-items:center;justify-content:center;color:#52525b;font-size:0.8rem;margin-bottom:1.5rem}

/* Controls */
.type-selector{display:flex;gap:0.5rem;margin-bottom:1.2rem;flex-wrap:wrap}
.type-btn{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);color:#a1a1aa;padding:0.55rem 1.2rem;border-radius:0.75rem;font-family:'Inter',sans-serif;font-size:0.88rem;font-weight:600;cursor:pointer;transition:all .2s}
.type-btn.active,.type-btn:hover{background:linear-gradient(135deg,#ec4899,#f43f5e);color:#fff;border-color:transparent}

.controls-row{display:flex;align-items:center;gap:1rem;margin-bottom:1.2rem;flex-wrap:wrap}
.controls-row label{font-size:0.88rem;font-weight:600;color:#a1a1aa}
.count-input{width:80px;background:#0f0f13;border:1px solid rgba(255,255,255,0.1);border-radius:0.75rem;padding:0.55rem 0.75rem;color:#e4e4e7;font-family:'Inter',sans-serif;font-size:0.95rem;text-align:center}
.count-input:focus{outline:none;border-color:#ec4899}

.checkbox-row{display:flex;align-items:center;gap:0.5rem;margin-bottom:1.2rem}
.checkbox-row input[type="checkbox"]{accent-color:#ec4899;width:18px;height:18px}
.checkbox-row label{font-size:0.88rem;color:#a1a1aa;cursor:pointer}

/* Buttons */
.btn-generate{background:linear-gradient(135deg,#ec4899,#f43f5e,#be185d);color:#fff;border:none;padding:0.7rem 1.8rem;border-radius:0.75rem;font-weight:700;font-size:0.95rem;cursor:pointer;font-family:'Inter',sans-serif;transition:opacity .2s}
.btn-generate:hover{opacity:0.9}
.btn-copy{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);color:#a1a1aa;padding:0.7rem 1.2rem;border-radius:0.75rem;font-weight:600;font-size:0.88rem;cursor:pointer;font-family:'Inter',sans-serif;transition:all .2s}
.btn-copy:hover{border-color:#ec4899;color:#ec4899}
.btn-row{display:flex;gap:0.75rem;margin-bottom:1.2rem;flex-wrap:wrap}

/* Output */
.output-box{background:#0f0f13;border:1px solid rgba(255,255,255,0.08);border-radius:0.75rem;padding:1.25rem;min-height:180px;font-size:0.95rem;line-height:1.8;color:#d4d4d8;white-space:pre-wrap;word-wrap:break-word;max-height:500px;overflow-y:auto}

/* Stats */
.output-stats{display:flex;gap:1.5rem;color:#71717a;font-size:0.82rem;margin-top:0.75rem;flex-wrap:wrap}
.output-stats span{font-variant-numeric:tabular-nums}

/* Content sections */
.content-section{margin-top:1rem}
.content-section h2{font-size:1.4rem;font-weight:700;margin-bottom:0.75rem;color:#e4e4e7}
.content-section h3{font-size:1.1rem;font-weight:600;margin:1.2rem 0 0.5rem;color:#d4d4d8}
.content-section p{color:#a1a1aa;margin-bottom:0.75rem;font-size:0.92rem}
.content-section ul{color:#a1a1aa;padding-left:1.5rem;margin-bottom:1rem}
.content-section li{margin-bottom:0.4rem;font-size:0.92rem}

/* FAQ */
.faq details{background:#0f0f13;border:1px solid rgba(255,255,255,0.06);border-radius:0.75rem;margin-bottom:0.75rem;overflow:hidden}
.faq summary{padding:1rem 1.25rem;cursor:pointer;font-weight:600;font-size:0.95rem;color:#e4e4e7;list-style:none;display:flex;align-items:center;justify-content:space-between}
.faq summary::after{content:'+';font-size:1.2rem;color:#ec4899;font-weight:700}
.faq details[open] summary::after{content:'−'}
.faq details .faq-body{padding:0 1.25rem 1rem;color:#a1a1aa;font-size:0.9rem;line-height:1.7}

/* Footer */
.site-footer{background:#1a1a2e;border-top:1px solid rgba(255,255,255,0.06);padding:2rem 0;margin-top:3rem;text-align:center}
.site-footer .container{display:flex;flex-direction:column;align-items:center;gap:0.75rem}
.site-footer p{color:#52525b;font-size:0.82rem}
.site-footer nav{display:flex;gap:1.5rem}
.site-footer nav a{color:#71717a;text-decoration:none;font-size:0.82rem;transition:color .2s}
.site-footer nav a:hover{color:#ec4899}

@media(max-width:640px){
    .hero h1{font-size:1.8rem}
    .type-selector{flex-direction:column}
    .type-btn{text-align:center}
    .controls-row{flex-direction:column;align-items:flex-start}
    .btn-row{flex-direction:column}
    .btn-generate,.btn-copy{width:100%;text-align:center}
}
