:root{--bg-primary:#0a0a0f;--bg-card:#14141f;--accent:#6366f1;--text:#e2e2e8;--text-muted:#8888a0;--border:#1f1f2e}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-primary);color:var(--text);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;line-height:1.6}.app{flex-direction:column;min-height:100vh;display:flex}.app-main{flex:1}.header{background-color:var(--bg-card);border-bottom:1px solid var(--border);z-index:100;position:sticky;top:0}.header-container{justify-content:space-between;align-items:center;max-width:1200px;height:64px;margin:0 auto;padding:0 1.5rem;display:flex}.logo{color:var(--text);cursor:pointer;background:0 0;border:none;padding:0;font-size:1.25rem;font-weight:700;transition:color .2s}.logo:hover{color:var(--accent)}.header-nav{align-items:center;gap:.5rem;display:flex}.nav-link{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.5rem .75rem;font-size:.9rem;transition:color .2s,background-color .2s}.nav-link:hover{color:var(--text);background-color:#ffffff0a}.nav-link.active{color:var(--accent)}.history-dropdown{position:relative}.history-trigger{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.5rem .75rem;font-size:.9rem;transition:color .2s}.history-trigger:hover{color:var(--text)}.history-menu{background-color:var(--bg-card);border:1px solid var(--border);border-radius:8px;min-width:220px;position:absolute;top:calc(100% + .5rem);right:0;overflow:hidden;box-shadow:0 10px 30px #0006}.history-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.6rem 1rem;font-size:.85rem;display:flex}.history-item:last-child{border-bottom:none}.history-game{color:var(--text)}.history-score{color:var(--accent);font-weight:600}.landing{max-width:900px;margin:0 auto;padding:5rem 1.5rem 3rem}.landing-hero{text-align:center;margin-bottom:3rem}.hero-headline{letter-spacing:-.5px;margin-bottom:1rem;font-size:clamp(1.8rem,5vw,2.8rem);font-weight:800;line-height:1.15}.hero-subheading{color:var(--text-muted);max-width:560px;margin:0 auto;font-size:1.1rem;line-height:1.6}.landing-how-it-works{margin-bottom:3rem}.landing-how-it-works h2{text-align:center;color:var(--text);margin-bottom:2rem;font-size:1.3rem}.steps-container{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;display:grid}.step{background-color:var(--bg-card);border:1px solid var(--border);border-radius:10px;padding:1.5rem}.step-number{background-color:var(--accent);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;margin-bottom:1rem;font-size:.85rem;font-weight:700;display:flex}.step h3{margin-bottom:.5rem;font-size:1rem}.step p{color:var(--text-muted);font-size:.9rem;line-height:1.5}.landing-cta{text-align:center;flex-wrap:wrap;justify-content:center;gap:1rem;display:flex}.cta-button{cursor:pointer;border:none;border-radius:8px;padding:.85rem 2rem;font-size:1rem;font-weight:600;transition:all .2s}.cta-button.primary{background-color:var(--accent);color:#fff}.cta-button.primary:hover{background-color:#5558e6}.cta-button.secondary{color:var(--text);border:1px solid var(--border);background-color:#0000}.cta-button.secondary:hover{border-color:var(--text-muted)}.ad-slot{border-radius:8px;min-height:90px;margin:2rem 0}.app-footer{text-align:center;color:var(--text-muted);border-top:1px solid var(--border);margin-top:3rem;padding:2rem 1.5rem;font-size:.8rem}input[type=range]{appearance:none;cursor:pointer;background:#1a1a2a;border-radius:3px;outline:none;height:6px}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--accent);cursor:pointer;border:2px solid var(--bg-primary);border-radius:50%;width:18px;height:18px}input[type=range]::-moz-range-thumb{background:var(--accent);cursor:pointer;border:2px solid var(--bg-primary);border-radius:50%;width:18px;height:18px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=640px){.header-container{height:56px;padding:0 1rem}.logo{font-size:1.05rem}.nav-link{padding:.4rem .5rem;font-size:.8rem}.landing{padding:3rem 1rem 2rem}.hero-headline{font-size:clamp(1.5rem,6vw,2rem)}.hero-subheading{font-size:.95rem}.steps-container{grid-template-columns:1fr;gap:1rem}.cta-button{width:100%;padding:.75rem 1.5rem;font-size:.95rem}.landing-cta{flex-direction:column;align-items:stretch}}@media (width<=480px){.header-nav{gap:.25rem}.nav-link,.history-trigger{padding:.35rem .4rem;font-size:.75rem}}
