*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
--bg:#0a0e1a;--bg-card:#111827;--bg-card-hover:#1a2332;--surface:#161d2e;
--cyan:#00e5ff;--blue:#3b82f6;--purple:#8b5cf6;--purple-soft:#6d28d9;
--text:#e2e8f0;--text-muted:#94a3b8;--text-heading:#f8fafc;
--border:#1e293b;--border-glow:rgba(0,229,255,.15);
--radius:12px;--radius-sm:8px;--radius-lg:16px;
--shadow:0 4px 24px rgba(0,0,0,.4);
--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
--transition:0.25s cubic-bezier(.4,0,.2,1);
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.7;min-height:100vh;overflow-x:hidden}
a{color:var(--cyan);text-decoration:none;transition:color var(--transition)}
a:hover{color:#67f0ff}
img,svg{display:block;max-width:100%}
h1,h2,h3,h4{color:var(--text-heading);line-height:1.3}
h1{font-size:clamp(1.75rem,4vw,2.75rem);font-weight:800}
h2{font-size:clamp(1.4rem,3vw,2rem);font-weight:700}
h3{font-size:clamp(1.1rem,2vw,1.4rem);font-weight:600}
p{margin-bottom:1rem}
ul{list-style:none}

.container{max-width:1140px;margin:0 auto;padding:0 1.25rem}

/* ---- BUTTONS ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.75rem;border-radius:var(--radius-sm);font-weight:600;font-size:.95rem;border:none;cursor:pointer;transition:all var(--transition);font-family:var(--font)}
.btn-primary{background:linear-gradient(135deg,var(--cyan),var(--blue));color:#0a0e1a;box-shadow:0 0 20px rgba(0,229,255,.25)}
.btn-primary:hover{box-shadow:0 0 30px rgba(0,229,255,.45);transform:translateY(-2px)}
.btn-secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}
.btn-secondary:hover{border-color:var(--cyan);color:var(--cyan)}
.btn-lg{padding:1rem 2.25rem;font-size:1.05rem;border-radius:var(--radius)}

/* ---- MODAL ---- */
.modal-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:1rem}
.modal-box{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2.5rem;text-align:center;max-width:420px;width:100%;box-shadow:0 0 60px rgba(0,229,255,.1)}
.modal-icon{color:var(--cyan);margin:0 auto 1rem}
.modal-box h2{margin-bottom:.75rem}
.modal-box p{color:var(--text-muted);margin-bottom:1.5rem}
.modal-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* ---- HEADER ---- */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(10,14,26,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav-container{max-width:1140px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem}
.logo{display:flex;align-items:center;gap:.6rem;font-weight:700;font-size:1.15rem;color:var(--text-heading)}
.logo:hover{color:var(--cyan)}
.logo svg{flex-shrink:0}
.nav-menu{display:flex;gap:.25rem;list-style:none}
.nav-menu a{padding:.5rem .85rem;border-radius:var(--radius-sm);font-size:.9rem;color:var(--text-muted);transition:all var(--transition)}
.nav-menu a:hover,.nav-menu a.active{color:var(--cyan);background:rgba(0,229,255,.08)}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:.5rem}
.nav-toggle span{width:24px;height:2px;background:var(--text);transition:all var(--transition);border-radius:2px}

/* ---- HERO ---- */
.hero{padding:5rem 0 4rem;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(ellipse at 50% 0%,rgba(0,229,255,.06) 0%,transparent 60%);pointer-events:none}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem 1rem;background:rgba(0,229,255,.08);border:1px solid rgba(0,229,255,.2);border-radius:50px;font-size:.8rem;color:var(--cyan);margin-bottom:1.5rem}
.hero h1{margin-bottom:1rem}
.hero h1 .gradient-text{background:linear-gradient(135deg,var(--cyan),var(--blue),var(--purple));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero p{max-width:640px;margin:0 auto 2rem;color:var(--text-muted);font-size:1.1rem}
.hero-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* ---- GAME CARDS ---- */
.games-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;padding:1rem 0}
.game-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.75rem;transition:all var(--transition);position:relative;overflow:hidden}
.game-card::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,229,255,.04),transparent);opacity:0;transition:opacity var(--transition)}
.game-card:hover{border-color:rgba(0,229,255,.3);transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,229,255,.1)}
.game-card:hover::before{opacity:1}
.game-card-icon{width:56px;height:56px;border-radius:var(--radius);background:linear-gradient(135deg,rgba(0,229,255,.12),rgba(139,92,246,.12));display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}
.game-card-icon svg{color:var(--cyan)}
.game-card h3{margin-bottom:.5rem}
.game-card p{color:var(--text-muted);font-size:.9rem;margin-bottom:1.25rem}
.game-card .btn{position:relative;z-index:1}

/* ---- FEATURES ---- */
.features{padding:4rem 0}
.features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.feature-item{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;transition:all var(--transition)}
.feature-item:hover{border-color:rgba(0,229,255,.2)}
.feature-icon{width:44px;height:44px;border-radius:var(--radius-sm);background:rgba(0,229,255,.1);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;color:var(--cyan)}
.feature-item h3{font-size:1.05rem;margin-bottom:.4rem}
.feature-item p{color:var(--text-muted);font-size:.88rem;margin-bottom:0}

/* ---- SECTION ---- */
.section{padding:4rem 0}
.section-header{text-align:center;margin-bottom:2.5rem}
.section-header p{color:var(--text-muted);max-width:600px;margin:.75rem auto 0}

/* ---- CONTENT SECTION ---- */
.content-section{padding:3rem 0}
.content-section h2{margin-bottom:1rem;margin-top:2rem}
.content-section h2:first-child{margin-top:0}
.content-section p,.content-section li{color:var(--text-muted);line-height:1.8}
.content-section ul{margin:1rem 0 1rem 1.5rem;list-style:disc}
.content-section ul li{margin-bottom:.4rem}
.content-prose{max-width:800px;margin:0 auto}

/* ---- PAGE HEADER ---- */
.page-header{padding:3rem 0 2rem;text-align:center;border-bottom:1px solid var(--border);margin-bottom:2rem}
.page-header p{color:var(--text-muted);margin-top:.75rem;max-width:600px;margin-left:auto;margin-right:auto}

/* ---- FAQ ---- */
.faq-list{max-width:800px;margin:0 auto}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1rem;overflow:hidden;transition:border-color var(--transition)}
.faq-item.active{border-color:rgba(0,229,255,.3)}
.faq-question{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;cursor:pointer;background:var(--bg-card);font-weight:600;color:var(--text-heading);gap:1rem;border:none;width:100%;text-align:left;font-size:.95rem;font-family:var(--font)}
.faq-question:hover{color:var(--cyan)}
.faq-arrow{width:20px;height:20px;transition:transform var(--transition);flex-shrink:0;color:var(--text-muted)}
.faq-item.active .faq-arrow{transform:rotate(180deg);color:var(--cyan)}
.faq-answer{padding:0 1.5rem;max-height:0;overflow:hidden;transition:all .3s ease}
.faq-item.active .faq-answer{padding:0 1.5rem 1.25rem;max-height:500px}
.faq-answer p{color:var(--text-muted);font-size:.9rem;margin-bottom:0}

/* ---- GAME PAGE ---- */
.game-page{padding:2rem 0 4rem}
.game-header{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}
.game-header h1{font-size:clamp(1.4rem,3vw,2rem)}
.game-modes{display:flex;gap:.75rem;margin-bottom:1.5rem;flex-wrap:wrap}
.game-modes .btn{font-size:.85rem;padding:.5rem 1.25rem}
.game-modes .btn.active{background:linear-gradient(135deg,var(--cyan),var(--blue));color:#0a0e1a}
.game-area{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2rem;min-height:400px;position:relative}
.game-stats{display:flex;gap:1.5rem;margin-bottom:1.5rem;flex-wrap:wrap}
.game-stat{background:var(--surface);border-radius:var(--radius-sm);padding:.75rem 1.25rem;display:flex;flex-direction:column;gap:.2rem}
.game-stat-label{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}
.game-stat-value{font-size:1.4rem;font-weight:700;color:var(--cyan)}
.game-instructions{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin-top:1.5rem}
.game-instructions h3{margin-bottom:.75rem;font-size:1rem}
.game-instructions ul{margin-left:1.25rem;list-style:disc}
.game-instructions li{color:var(--text-muted);font-size:.88rem;margin-bottom:.3rem}
.game-board{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:1rem 0}

/* Number Match */
.number-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;max-width:350px;width:100%}
.number-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius-sm);font-weight:700;font-size:1.05rem;cursor:pointer;transition:all var(--transition);color:var(--text);font-family:var(--font)}
.number-cell:hover{border-color:var(--cyan);background:rgba(0,229,255,.08)}
.number-cell.selected{background:rgba(0,229,255,.15);border-color:var(--cyan);color:var(--cyan)}
.number-cell.matched{background:rgba(34,197,94,.15);border-color:#22c55e;color:#22c55e}
.number-cell.missed{background:rgba(239,68,68,.1);border-color:#ef4444;color:#ef4444}

/* Spin Play */
.spin-container{display:flex;flex-direction:column;align-items:center;gap:2rem}
.wheel-wrapper{position:relative;width:280px;height:280px}
.wheel-canvas{width:100%;height:100%;border-radius:50%;border:4px solid var(--border);transition:border-color var(--transition)}
.wheel-wrapper:hover .wheel-canvas{border-color:rgba(0,229,255,.3)}
.wheel-pointer{position:absolute;top:-12px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:20px solid var(--cyan);z-index:2;filter:drop-shadow(0 0 6px rgba(0,229,255,.5))}
.spin-result{font-size:1.5rem;font-weight:700;color:var(--cyan);min-height:2rem}

/* Card Match */
.cards-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;max-width:400px;width:100%}
.match-card{aspect-ratio:1;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.8rem;transition:all var(--transition);position:relative}
.match-card.flipped,.match-card.matched{background:rgba(0,229,255,.08);border-color:var(--cyan)}
.match-card.matched{border-color:#22c55e;background:rgba(34,197,94,.1)}
.match-card .card-face{position:absolute;backface-visibility:hidden}
.match-card .card-back{color:var(--text-muted);font-size:1.4rem}

/* Daily Pick */
.symbols-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:300px;width:100%}
.symbol-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius);font-size:2.2rem;cursor:pointer;transition:all var(--transition)}
.symbol-cell:hover{border-color:var(--cyan);transform:scale(1.05)}
.symbol-cell.selected{border-color:var(--cyan);background:rgba(0,229,255,.1);box-shadow:0 0 16px rgba(0,229,255,.2)}
.symbol-cell.correct{border-color:#22c55e;background:rgba(34,197,94,.1)}
.symbol-cell.wrong{border-color:#ef4444;background:rgba(239,68,68,.1)}

/* Rapid Tap */
.tap-zone{width:200px;height:200px;border-radius:50%;background:var(--surface);border:3px solid var(--border);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all var(--transition);font-size:1.1rem;font-weight:700;color:var(--text-muted);font-family:var(--font)}
.tap-zone.active{background:linear-gradient(135deg,var(--cyan),var(--blue));border-color:var(--cyan);color:#0a0e1a;box-shadow:0 0 40px rgba(0,229,255,.4);transform:scale(1.05)}
.tap-zone.active:active{transform:scale(.95)}

/* ---- CONTACT FORM ---- */
.contact-form{max-width:600px;margin:0 auto}
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;margin-bottom:.4rem;font-weight:600;font-size:.9rem;color:var(--text-heading)}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);font-size:.95rem;font-family:var(--font);transition:border-color var(--transition)}
.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--cyan);box-shadow:0 0 0 3px rgba(0,229,255,.1)}
.form-group textarea{min-height:120px;resize:vertical}

/* ---- DISCLAIMER BAR ---- */
.disclaimer-bar{background:var(--surface);border-top:1px solid var(--border);padding:.6rem 1rem;text-align:center;font-size:.75rem;color:var(--text-muted)}

/* ---- FOOTER ---- */
.site-footer{background:var(--surface);border-top:1px solid var(--border);padding:3rem 0 0}
.footer-container{max-width:1140px;margin:0 auto;padding:0 1.25rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}
.footer-col h3{font-size:.95rem;margin-bottom:1rem;color:var(--text-heading)}
.footer-col p{font-size:.85rem;color:var(--text-muted);line-height:1.6}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:.4rem}
.footer-col a{font-size:.85rem;color:var(--text-muted);transition:color var(--transition)}
.footer-col a:hover{color:var(--cyan)}
.footer-disclaimer{padding:1.25rem 0;border-top:1px solid var(--border);text-align:center}
.footer-disclaimer p{color:var(--cyan);font-size:.8rem;margin-bottom:0}
.footer-bottom{padding:1rem 0;border-top:1px solid var(--border);text-align:center}
.footer-bottom p{font-size:.8rem;color:var(--text-muted);margin-bottom:0}

/* ---- PARTICLES ---- */
.particles{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.particle{position:absolute;border-radius:50%;background:var(--cyan);opacity:.08;animation:float linear infinite}
@keyframes float{0%{transform:translateY(100vh) scale(0)}50%{opacity:.12}100%{transform:translateY(-10vh) scale(1);opacity:0}}

/* ---- STREAK / BADGE ---- */
.streak-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .8rem;background:rgba(139,92,246,.12);border:1px solid rgba(139,92,246,.3);border-radius:50px;font-size:.8rem;color:var(--purple)}

/* ---- CTA ---- */
.cta-section{padding:4rem 0;text-align:center}
.cta-box{background:linear-gradient(135deg,rgba(0,229,255,.06),rgba(139,92,246,.06));border:1px solid rgba(0,229,255,.15);border-radius:var(--radius-lg);padding:3rem 2rem}
.cta-box h2{margin-bottom:.75rem}
.cta-box p{color:var(--text-muted);margin-bottom:1.5rem;max-width:500px;margin-left:auto;margin-right:auto}

/* ---- RESPONSIVE ---- */
@media(max-width:768px){
    .nav-toggle{display:flex}
    .nav-menu{position:fixed;top:0;right:-100%;width:280px;height:100vh;background:var(--bg-card);flex-direction:column;padding:5rem 1.5rem 2rem;gap:.25rem;transition:right .3s ease;box-shadow:-4px 0 24px rgba(0,0,0,.5);z-index:999}
    .nav-menu.open{right:0}
    .nav-menu a{padding:.75rem 1rem;font-size:1rem}
    .hero{padding:3rem 0 2.5rem}
    .hero p{font-size:1rem}
    .number-grid{grid-template-columns:repeat(5,1fr);max-width:280px}
    .cards-grid{grid-template-columns:repeat(4,1fr);max-width:300px}
    .wheel-wrapper{width:220px;height:220px}
    .game-area{padding:1.25rem}
    .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
    .hero-actions{flex-direction:column;align-items:center}
    .game-stats{flex-direction:column}
    .modal-box{padding:1.75rem}
    .footer-grid{grid-template-columns:1fr}
}
