/* === BonusHarbor — Fantasy Sci-Fi Harbor Theme === */
:root {
    --midnight: #0a0e1a;
    --navy: #0f1628;
    --navy-light: #151d35;
    --teal: #0d3b4e;
    --teal-deep: #092a38;
    --cyan: #00e5ff;
    --cyan-dim: #00b8d4;
    --purple: #aa66ff;
    --purple-dim: #7c3aed;
    --aurora: #6366f1;
    --silver: #c0c8e0;
    --silver-light: #e2e8f0;
    --amber: #f5a623;
    --amber-dim: #d4912a;
    --surface: #121a30;
    --surface-raised: #1a2340;
    --surface-card: #161e36;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-bright: #f8fafc;
    --border: rgba(100,150,255,0.08);
    --glow-cyan: 0 0 20px rgba(0,229,255,0.15);
    --glow-purple: 0 0 20px rgba(170,102,255,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.3s ease;
}

*, *::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(--midnight);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--text-bright); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p + p { margin-top: 1em; }

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

/* === Disclaimer Bar === */
.disclaimer-bar {
    background: rgba(0,229,255,0.05);
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 0;
    font-size: 0.72rem;
    color: var(--text-dim);
    text-align: center;
    letter-spacing: 0.02em;
}

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,14,26,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-bright);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}
.logo:hover { color: var(--cyan); }
.logo-text { font-weight: 300; }
.logo-text strong { font-weight: 700; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--silver);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-list a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
    color: var(--cyan);
    background: rgba(0,229,255,0.06);
}

/* === Hero Section === */
.hero {
    position: relative;
    padding: 6rem 0 5rem;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(0,229,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 30% 80%, rgba(170,102,255,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(245,166,35,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}
.hero h1 {
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Harbor scene decorative elements */
.hero-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.harbor-light {
    position: absolute;
    width: 4px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.harbor-light:nth-child(1) { left: 10%; bottom: 20%; height: 80px; background: linear-gradient(to top, rgba(0,229,255,0.3), transparent); animation-delay: 0s; }
.harbor-light:nth-child(2) { left: 25%; bottom: 15%; height: 60px; background: linear-gradient(to top, rgba(170,102,255,0.25), transparent); animation-delay: 1.5s; }
.harbor-light:nth-child(3) { right: 20%; bottom: 25%; height: 70px; background: linear-gradient(to top, rgba(245,166,35,0.2), transparent); animation-delay: 3s; }
.harbor-light:nth-child(4) { right: 10%; bottom: 10%; height: 50px; background: linear-gradient(to top, rgba(0,229,255,0.2), transparent); animation-delay: 4.5s; }
.harbor-light:nth-child(5) { left: 50%; bottom: 5%; height: 90px; background: linear-gradient(to top, rgba(170,102,255,0.15), transparent); animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.6; }
    50% { transform: translateY(-15px) scaleY(1.1); opacity: 1; }
}

/* Water reflection line at bottom of hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,0.3), rgba(170,102,255,0.2), transparent);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
}
.btn-primary {
    background: linear-gradient(135deg, var(--cyan-dim), var(--aurora));
    color: #fff;
    box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    box-shadow: 0 0 30px rgba(0,229,255,0.25);
    color: #fff;
    transform: translateY(-2px);
}
.btn-secondary {
    background: var(--surface-raised);
    color: var(--cyan);
    border: 1px solid rgba(0,229,255,0.15);
}
.btn-secondary:hover {
    background: rgba(0,229,255,0.08);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* === Game Cards === */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.game-card {
    position: relative;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem 1.5rem;
    transition: all var(--transition);
    overflow: hidden;
}
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    opacity: 0;
    transition: opacity var(--transition);
}
.game-card:hover {
    border-color: rgba(0,229,255,0.15);
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan), 0 20px 40px rgba(0,0,0,0.3);
}
.game-card:hover::before { opacity: 1; }

.game-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(0,229,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.game-card-icon svg { width: 28px; height: 28px; }
.game-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.game-card p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1.2rem; }
.game-card .btn { width: 100%; justify-content: center; }

/* === Sections === */
.section {
    padding: 5rem 0;
}
.section-alt {
    background: var(--surface);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    margin-bottom: 0.8rem;
}
.section-header p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    background: rgba(0,229,255,0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

/* === Feature cards === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    transition: all var(--transition);
}
.feature-card:hover {
    border-color: rgba(0,229,255,0.12);
    box-shadow: var(--glow-cyan);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0,229,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-dim); font-size: 0.88rem; }

/* === Content pages === */
.page-hero {
    padding: 4rem 0 2.5rem;
    text-align: center;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(0,229,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero h1 { margin-bottom: 0.8rem; position: relative; }
.page-hero p { color: var(--text-dim); max-width: 640px; margin: 0 auto; position: relative; }

.content-section {
    padding: 3rem 0;
}
.content-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.content-wrap h2 { margin: 2.5rem 0 1rem; }
.content-wrap h3 { margin: 2rem 0 0.8rem; }
.content-wrap p { margin-bottom: 1rem; color: var(--text); }
.content-wrap ul { margin: 1rem 0 1.5rem 1.5rem; list-style: disc; }
.content-wrap ul li { margin-bottom: 0.4rem; color: var(--text-dim); }
.content-wrap ul li::marker { color: var(--cyan); }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--surface-card);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-bright);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    gap: 1rem;
}
.faq-question:hover { color: var(--cyan); }
.faq-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.2rem;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* === Game page layout === */
.game-layout {
    padding: 2rem 0 4rem;
}
.game-header {
    text-align: center;
    margin-bottom: 2rem;
}
.game-header h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.game-header p { color: var(--text-dim); }

.game-area {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    min-height: 400px;
    position: relative;
}

.game-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-dim);
    padding: 0.8rem;
    background: rgba(0,229,255,0.03);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.game-controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.game-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-board {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.game-instructions {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}
.game-instructions h3 { margin-bottom: 0.8rem; font-size: 1rem; }
.game-instructions p { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 0.5rem; }
.game-instructions ul { margin: 0.5rem 0 0 1.2rem; list-style: disc; }
.game-instructions li { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 0.3rem; }
.game-instructions li::marker { color: var(--cyan); }

/* === Orbit Spin wheel === */
.wheel-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 1.5rem;
}
.wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--border);
    box-shadow: var(--glow-cyan);
}
.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);
    filter: drop-shadow(0 0 6px rgba(0,229,255,0.5));
}

/* === Card Quest grid === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto;
}
.memory-card {
    aspect-ratio: 1;
    background: var(--surface-raised);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all var(--transition);
    user-select: none;
}
.memory-card:hover { border-color: rgba(0,229,255,0.2); }
.memory-card.flipped {
    background: rgba(0,229,255,0.08);
    border-color: var(--cyan);
}
.memory-card.matched {
    background: rgba(170,102,255,0.1);
    border-color: var(--purple);
    opacity: 0.7;
}

/* === Daily Signal === */
.signal-slots {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.signal-slot {
    width: 70px;
    height: 70px;
    background: var(--surface-raised);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition);
}
.signal-slot:hover { border-color: rgba(0,229,255,0.2); }
.signal-slot.active { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.signal-slot.correct { border-color: #22c55e; background: rgba(34,197,94,0.1); }
.signal-slot.wrong { border-color: #ef4444; background: rgba(239,68,68,0.1); }

.symbol-picker {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.symbol-btn {
    width: 52px;
    height: 52px;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--text);
    font-family: var(--font);
}
.symbol-btn:hover { border-color: var(--cyan); background: rgba(0,229,255,0.06); }
.symbol-btn.selected { border-color: var(--cyan); background: rgba(0,229,255,0.1); box-shadow: var(--glow-cyan); }

/* === Rapid Run === */
.rapid-target {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--surface-raised);
    border: 3px solid var(--border);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 2.5rem;
    user-select: none;
}
.rapid-target.active {
    background: rgba(0,229,255,0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0,229,255,0.3);
    transform: scale(1.05);
}
.rapid-target.hit {
    background: rgba(34,197,94,0.2);
    border-color: #22c55e;
}
.rapid-target.miss {
    background: rgba(239,68,68,0.15);
    border-color: #ef4444;
}

/* === Harbor Match === */
.match-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.match-slot {
    width: 60px;
    height: 60px;
    background: var(--surface-raised);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all var(--transition);
}
.match-slot.active { border-color: var(--cyan); }
.match-result {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 1rem 0;
}
.match-result-item {
    width: 60px;
    height: 60px;
    background: rgba(170,102,255,0.1);
    border: 2px solid var(--purple);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* === Age Gate Modal === */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10,14,26,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.age-gate-modal {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 0 60px rgba(0,229,255,0.08);
}
.age-gate-modal h2 { margin-bottom: 1rem; font-size: 1.5rem; }
.age-gate-modal p { color: var(--text-dim); margin-bottom: 1.5rem; font-size: 0.92rem; }
.age-gate-actions { display: flex; gap: 0.75rem; justify-content: center; }

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

/* === Footer === */
.site-footer {
    background: var(--navy);
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-tagline {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-top: 1rem;
    line-height: 1.6;
}
.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    color: var(--silver);
}
.footer-links a {
    display: block;
    padding: 0.25rem 0;
    color: var(--text-dim);
    font-size: 0.88rem;
}
.footer-links a:hover { color: var(--cyan); }

.footer-disclaimer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.7;
}
.footer-disclaimer strong { color: var(--silver); }
.footer-disclaimer p + p { margin-top: 0.6rem; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* === Game result message === */
.game-message {
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-weight: 600;
}
.game-message.success { background: rgba(34,197,94,0.1); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.game-message.info { background: rgba(0,229,255,0.06); color: var(--cyan); border: 1px solid rgba(0,229,255,0.1); }

/* === Timer bar === */
.timer-bar {
    width: 100%;
    height: 6px;
    background: var(--surface-raised);
    border-radius: 3px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.timer-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* === Utility === */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* === Responsive === */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-list {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10,14,26,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s ease;
    }
    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-list a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    .hero { padding: 4rem 0 3rem; }
    .section { padding: 3rem 0; }
    .game-area { padding: 1.25rem; }
    .card-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
    .memory-card { font-size: 1.3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .match-slot, .signal-slot { width: 50px; height: 50px; font-size: 1.4rem; }
    .wheel-container { width: 240px; height: 240px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .signal-slots { gap: 0.5rem; }
    .signal-slot { width: 45px; height: 45px; font-size: 1.2rem; }
    .match-slot { width: 45px; height: 45px; font-size: 1.2rem; }
    .game-stats { gap: 1rem; }
    .age-gate-modal { padding: 2rem 1.5rem; }
}
