/* ===== CUSTOM PROPERTIES ===== */
:root {
    --bg-body: #0c1220;
    --bg-surface: #141e30;
    --bg-card: #1a2744;
    --bg-card-hover: #1f3055;
    --bg-input: #0f1923;
    --accent: #00b4d8;
    --accent-hover: #0096b7;
    --accent2: #7c5cbf;
    --accent-gradient: linear-gradient(135deg, #00b4d8, #7c5cbf);
    --text: #e8edf2;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e3050;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .4);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --transition: .25s ease;
    --container: 1140px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-surface); }

/* ===== DISCLAIMER BANNER ===== */
.disclaimer-banner {
    background: var(--accent-gradient);
    text-align: center;
    padding: 8px 16px;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: .02em;
}
.disclaimer-banner p { margin: 0; }

/* ===== HEADER ===== */
.site-header {
    background: rgba(12, 18, 32, .95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: -.01em;
}
.logo:hover { color: var(--text); }
.logo-icon { color: var(--accent); display: flex; }
.logo-text strong { color: var(--accent); font-weight: 700; }

.main-nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
}
.main-nav a {
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    transition: all var(--transition);
}
.main-nav a:hover {
    color: var(--text);
    background: var(--bg-card);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 180, 216, .06) 0%, transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
    position: relative;
}
.hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 32px;
    position: relative;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
}
.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 180, 216, .25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 180, 216, .35);
    color: #fff;
}
.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 180, 216, .3);
}
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: .95rem; }

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== GAME CARDS ===== */
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 180, 216, .3);
}
.game-card-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
    border-bottom: 1px solid var(--border);
}
.game-card-body { padding: 24px; }
.game-card-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.game-card-body p { color: var(--text-secondary); font-size: .9rem; margin-bottom: 16px; }

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    margin-bottom: 16px;
}
.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== CONTENT BLOCKS ===== */
.content-block { margin-bottom: 48px; }
.content-block h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text);
}
.content-block h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--accent);
}
.content-block p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
}
.content-block ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}
.content-block ul li {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ===== GAME PAGE ===== */
.game-page { padding: 40px 0 80px; }
.game-header {
    text-align: center;
    margin-bottom: 32px;
}
.game-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 8px;
}
.game-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.game-disclaimer {
    background: rgba(0, 180, 216, .08);
    border: 1px solid rgba(0, 180, 216, .2);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    text-align: center;
    font-size: .85rem;
    color: var(--accent);
    margin-bottom: 32px;
    font-weight: 500;
}
.game-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
.game-area {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    min-height: 400px;
}
.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.game-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.game-panel h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--accent);
}
.game-panel p, .game-panel li {
    font-size: .9rem;
    color: var(--text-secondary);
}
.game-panel ul { list-style: disc; padding-left: 18px; }
.game-panel ul li { margin-bottom: 6px; }

/* Score/Stats */
.game-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.stat-box {
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}
.stat-box .stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}
.stat-box .stat-label {
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Mode Tabs */
.mode-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}
.mode-tab {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 600;
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.mode-tab:hover { color: var(--text); background: var(--bg-card-hover); }
.mode-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ===== NUMBER MATCH GAME ===== */
.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    margin-bottom: 24px;
}
.number-btn {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 600;
    border: 2px solid var(--border);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.number-btn:hover { border-color: var(--accent); color: var(--text); }
.number-btn.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: scale(1.05);
}
.number-btn.matched {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    animation: popIn .3s ease;
}
.number-btn.missed {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
    opacity: .7;
}
.number-btn.system-pick {
    border-color: var(--warning);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, .3);
}

/* ===== SPIN FUN GAME ===== */
.wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.wheel-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--accent);
    position: relative;
    transition: transform 4s cubic-bezier(.17, .67, .12, .99);
    overflow: hidden;
}
.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    right: 0;
    transform-origin: bottom left;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    color: #fff;
}
.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(--accent);
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

/* ===== CARD FLIP GAME ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.flip-card {
    aspect-ratio: 3/4;
    perspective: 600px;
    cursor: pointer;
}
.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform .5s ease;
    transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-card.matched .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.flip-card-front {
    background: var(--accent-gradient);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}
.flip-card-back {
    background: var(--bg-surface);
    border: 2px solid var(--border);
    transform: rotateY(180deg);
}
.flip-card.matched .flip-card-back {
    border-color: var(--success);
    background: rgba(16, 185, 129, .15);
}

/* ===== DAILY PICK GAME ===== */
.symbol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 24px;
}
.symbol-btn {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 2px solid var(--border);
    font-size: 2rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.symbol-btn:hover { border-color: var(--accent); transform: scale(1.05); }
.symbol-btn.selected {
    border-color: var(--accent);
    background: rgba(0, 180, 216, .15);
    transform: scale(1.08);
}
.symbol-btn.matched {
    border-color: var(--success);
    background: rgba(16, 185, 129, .2);
    animation: popIn .3s ease;
}
.symbol-btn.missed {
    border-color: var(--danger);
    opacity: .6;
}
.symbol-btn.result-highlight {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .4);
}

/* ===== SPEED MATCH GAME ===== */
.speed-arena {
    position: relative;
    width: 100%;
    height: 350px;
    background: var(--bg-surface);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    overflow: hidden;
}
.speed-target {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease;
    animation: fadeInScale .3s ease;
    user-select: none;
}
.speed-target:hover { transform: scale(1.1); }
.speed-target:active { transform: scale(.9); }
.speed-timer-bar {
    height: 6px;
    background: var(--bg-surface);
    border-radius: 3px;
    margin-bottom: 16px;
    overflow: hidden;
}
.speed-timer-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width .1s linear;
}

/* ===== RESULTS ===== */
.result-display {
    text-align: center;
    padding: 32px;
    background: var(--bg-surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 24px;
    animation: fadeInScale .4s ease;
}
.result-display h3 { font-size: 1.4rem; margin-bottom: 8px; }
.result-display .score-big {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 12px 0;
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent);
    transition: transform var(--transition);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: .95rem;
}

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    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(--accent);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.footer-col h3 { font-size: 1.2rem; margin-bottom: 16px; }
.footer-col h4 {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.footer-col p { color: var(--text-secondary); font-size: .9rem; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    color: var(--text-secondary);
    font-size: .9rem;
    transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent); }

.footer-disclaimer {
    text-align: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}
.footer-disclaimer p {
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.footer-disclaimer p:last-child { margin-bottom: 0; }

.footer-bottom {
    text-align: center;
    padding: 24px 0;
}
.footer-bottom p { color: var(--text-muted); font-size: .85rem; }

/* ===== AGE GATE MODAL ===== */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn .3s ease;
}
.age-gate-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.age-gate-modal h2 { font-size: 1.5rem; margin-bottom: 16px; }
.age-gate-modal p { color: var(--text-secondary); margin-bottom: 12px; }
.age-gate-modal .age-gate-disclaimer {
    font-size: .85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 28px;
}
.age-gate-actions { display: flex; flex-direction: column; gap: 12px; }

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
}
.page-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 12px;
}
.page-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== INFO PAGE ===== */
.info-page { padding: 48px 0 80px; }
.info-page .content-wrap { max-width: 800px; margin: 0 auto; }

/* ===== FEATURES ROW ===== */
.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

/* ===== AGE-RESTRICTED PAGE ===== */
.age-restricted-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.age-restricted-page h1 { font-size: 2rem; margin-bottom: 16px; color: var(--danger); }
.age-restricted-page p { color: var(--text-secondary); max-width: 500px; margin: 0 auto 16px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes popIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: slideUp .5s ease forwards;
    opacity: 0;
}

/* ===== PICK COUNTER ===== */
.pick-counter {
    text-align: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.pick-counter strong { color: var(--accent); }

/* ===== GAME CONTROLS ===== */
.game-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .game-layout {
        grid-template-columns: 1fr;
    }
    .game-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .game-sidebar .game-panel { flex: 1; min-width: 250px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .hero { padding: 60px 0 48px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .number-grid { grid-template-columns: repeat(5, 1fr); }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .symbol-grid { grid-template-columns: repeat(3, 1fr); }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-surface);
        border-left: 1px solid var(--border);
        padding: 80px 24px 24px;
        transition: right var(--transition);
        z-index: 99;
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav a { display: block; padding: 12px 16px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .game-area { padding: 20px; }
    .number-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .number-btn { font-size: .75rem; }
    .card-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .speed-arena { height: 260px; }
    .btn-lg { padding: 14px 28px; font-size: .95rem; }
    .age-gate-modal { padding: 32px 24px; }
}
