/* ============================================
   RooFortune — Global Stylesheet
   Modern dark theme, mobile-first
   ============================================ */

:root {
    --bg-primary: #0f1117;
    --bg-secondary: #1a1d27;
    --bg-card: #222635;
    --bg-elevated: #2a2e3d;
    --text-primary: #e8eaf0;
    --text-secondary: #9ea3b5;
    --text-muted: #6b7089;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-dark: #4834d4;
    --teal: #00cec9;
    --teal-dark: #00b4ad;
    --blue: #74b9ff;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e17055;
    --border: #2d3142;
    --border-light: #3d4258;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 4px 24px rgba(0,0,0,.35);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.25);
    --transition: .25s ease;
    --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
}

/* 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-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus-visible { color: var(--teal); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--text-primary); }

/* Utility */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }

/* ============================================
   Disclaimer Bar
   ============================================ */
.disclaimer-bar {
    background: var(--accent-dark);
    color: #fff;
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    padding: .45rem 1rem;
    letter-spacing: .3px;
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.35rem;
    color: var(--text-primary);
    text-decoration: none;
}
.logo:hover { color: var(--text-primary); }
.logo-icon { font-size: 1.6rem; color: var(--accent-light); }
.logo-text { font-weight: 300; }
.logo-text strong { font-weight: 700; color: var(--accent-light); }

.nav-links {
    display: flex;
    align-items: center;
    gap: .15rem;
}
.nav-links a {
    display: block;
    padding: .5rem .85rem;
    font-size: .9rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-elevated);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    left: 9px;
    transition: all var(--transition);
}
.hamburger { top: 19px; }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: .75rem 1rem;
        gap: .25rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .65rem 1rem; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-light), var(--teal));
    -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 2rem;
}
.hero-disclaimer {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}
.btn-secondary:hover { background: var(--border-light); color: #fff; }
.btn-teal {
    background: var(--teal);
    color: var(--bg-primary);
}
.btn-teal:hover { background: var(--teal-dark); color: var(--bg-primary); }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1.1rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ============================================
   Cards & Grid
   ============================================ */
.section { padding: 4rem 0; }
.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: .75rem;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card-grid {
    display: grid;
    gap: 1.5rem;
}
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
}
.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-elevated);
}
.card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.card p { color: var(--text-secondary); font-size: .95rem; }

/* Game card */
.game-card { text-decoration: none; color: inherit; display: block; }
.game-card:hover { color: inherit; }
.game-card .card-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: var(--radius-sm);
    margin-bottom: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.game-card .card-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--text-muted);
}

/* ============================================
   Content Sections
   ============================================ */
.content-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}
.content-block h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}
.content-block h2 {
    font-size: 1.4rem;
    margin: 2rem 0 .75rem;
    color: var(--accent-light);
}
.content-block h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 .5rem;
}
.content-block p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.content-block ul, .content-block ol {
    margin: .5rem 0 1.25rem 1.5rem;
    color: var(--text-secondary);
}
.content-block li { margin-bottom: .35rem; }
.content-block ul { list-style: disc; }
.content-block ol { list-style: decimal; }

/* ============================================
   Features Row
   ============================================ */
.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.feature-item {
    text-align: center;
    padding: 1.5rem 1rem;
}
.feature-item .icon {
    font-size: 2rem;
    margin-bottom: .75rem;
    display: block;
}
.feature-item h3 { font-size: 1rem; margin-bottom: .35rem; }
.feature-item p { font-size: .85rem; color: var(--text-secondary); }

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1.25rem 2.5rem 1.25rem 0;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-light);
    transition: transform var(--transition);
}
.faq-question[aria-expanded="true"]::after {
    content: '−';
}
.faq-question:hover { color: var(--accent-light); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}
.faq-answer.open {
    max-height: 500px;
    padding-bottom: 1.25rem;
}
.faq-answer p {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.7;
}

/* ============================================
   Age Gate Modal
   ============================================ */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.age-gate-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow);
    animation: fadeInUp .4s ease;
}
.age-gate-modal h2 {
    font-size: 1.5rem;
    margin-bottom: .75rem;
}
.age-gate-modal p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: .95rem;
}
.age-gate-buttons {
    display: flex;
    gap: .75rem;
    justify-content: center;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Game Page Styles
   ============================================ */
.game-header {
    padding: 2.5rem 0 1.5rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
.game-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.game-header .game-disclaimer {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .75rem;
}

.game-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1.25rem;
}
.game-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.game-board {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    min-height: 320px;
}
.game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}
.stat-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .75rem 1.25rem;
    text-align: center;
    min-width: 100px;
}
.stat-box .stat-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    margin-bottom: .2rem;
}
.stat-box .stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-light);
}
.game-instructions {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
}
.game-instructions h3 { margin-bottom: .5rem; font-size: 1rem; }
.game-instructions p, .game-instructions li {
    color: var(--text-secondary);
    font-size: .9rem;
}
.game-instructions ul { margin: .5rem 0 0 1.25rem; list-style: disc; }

/* Game-specific */
.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: .4rem;
}
.number-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}
.number-cell:hover { border-color: var(--accent); }
.number-cell.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.number-cell.matched {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    animation: pulse .4s ease;
}
.number-cell.missed {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
    opacity: .6;
}

/* Spin wheel */
.wheel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}
.wheel-canvas-container {
    position: relative;
    width: 280px;
    height: 280px;
}
.wheel-canvas-container canvas {
    width: 100%;
    height: 100%;
}
.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(--warning);
    z-index: 2;
}
.wheel-result {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--teal);
    min-height: 2.5rem;
}

/* Card flip */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    max-width: 400px;
    margin: 0 auto;
}
.flip-card {
    aspect-ratio: 3/4;
    perspective: 600px;
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .5s ease;
    transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
}
.flip-card-front {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
}
.flip-card-back {
    transform: rotateY(180deg);
    background: var(--bg-elevated);
    border: 2px solid var(--border-light);
}
.flip-card.matched .flip-card-back {
    border-color: var(--success);
    background: rgba(0,184,148,.15);
}

/* Symbol selector (daily challenge) */
.symbol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    max-width: 360px;
    margin: 0 auto;
}
.symbol-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}
.symbol-cell:hover { border-color: var(--accent); }
.symbol-cell.selected {
    border-color: var(--accent);
    background: rgba(108,92,231,.2);
}
.symbol-cell.matched {
    border-color: var(--success);
    background: rgba(0,184,148,.2);
    animation: pulse .4s ease;
}
.symbol-cell.missed {
    border-color: var(--danger);
    background: rgba(225,112,85,.15);
}

/* Quick pick */
.quickpick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .5rem;
    max-width: 350px;
    margin: 0 auto;
}
.quickpick-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all .15s ease;
    user-select: none;
}
.quickpick-cell:hover { transform: scale(1.05); }
.quickpick-cell.target {
    background: var(--teal);
    animation: pulse .3s ease;
}
.quickpick-cell.wrong {
    background: var(--danger);
    animation: shake .3s ease;
}

/* Results panel */
.results-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}
.results-panel h3 { margin-bottom: .75rem; color: var(--teal); }
.results-panel .score-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
}
.results-panel .sub-text {
    color: var(--text-muted);
    font-size: .85rem;
    margin-top: .5rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in { animation: fadeIn .5s ease; }

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
    margin: .5rem 0;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--teal));
    border-radius: 3px;
    transition: width .4s ease;
}

/* Timer bar */
.timer-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}
.timer-fill {
    height: 100%;
    background: var(--teal);
    border-radius: 4px;
    transition: width .1s linear;
}
.timer-fill.warning { background: var(--warning); }
.timer-fill.danger { background: var(--danger); }

/* ============================================
   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-size: .9rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .7rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: inherit;
    font-size: .95rem;
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================
   Page Header Banner
   ============================================ */
.page-banner {
    padding: 3rem 0 2rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
.page-banner h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.page-banner p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ============================================
   Age Restricted Page
   ============================================ */
.age-restricted-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 2rem;
}
.age-restricted-page h1 { font-size: 2rem; margin-bottom: 1rem; }
.age-restricted-page p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 0;
    margin-top: 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col h3 {
    font-size: .95rem;
    margin-bottom: .75rem;
    color: var(--text-primary);
}
.footer-col p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-col ul li { margin-bottom: .35rem; }
.footer-col ul a {
    font-size: .85rem;
    color: var(--text-muted);
}
.footer-col ul a:hover { color: var(--accent-light); }

.footer-disclaimer {
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.footer-disclaimer p {
    font-size: .8rem;
    color: var(--text-muted);
    margin: .35rem 0;
}
.footer-disclaimer p:first-child { color: var(--text-secondary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    text-align: center;
}
.footer-bottom p {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 600px) {
    .number-grid { grid-template-columns: repeat(5, 1fr); }
    .flip-grid { grid-template-columns: repeat(3, 1fr); }
    .symbol-grid { grid-template-columns: repeat(3, 1fr); }
    .quickpick-grid { grid-template-columns: repeat(4, 1fr); }
    .game-board { padding: 1.25rem; }
    .section { padding: 2.5rem 0; }
    .hero { padding: 2.5rem 0 2rem; }
    .wheel-canvas-container { width: 240px; height: 240px; }
}
@media (max-width: 400px) {
    .number-grid { grid-template-columns: repeat(5, 1fr); font-size: .75rem; }
    .quickpick-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mode tabs */
.mode-tabs {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.mode-tab {
    padding: .45rem 1.2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.mode-tab:hover { border-color: var(--accent); }
.mode-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Streak badge */
.streak-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(253,203,110,.15);
    color: var(--warning);
    padding: .3rem .8rem;
    border-radius: var(--radius-sm);
    font-size: .8rem;
    font-weight: 700;
}

/* Inline disclaimer near games */
.game-inline-disclaimer {
    text-align: center;
    font-size: .75rem;
    color: var(--text-muted);
    padding: .75rem;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
}

/* Homepage content */
.homepage-content {
    padding: 3rem 0;
}
.homepage-content .content-inner {
    max-width: 860px;
    margin: 0 auto;
}
.homepage-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 .75rem;
    color: var(--accent-light);
}
.homepage-content h2:first-child { margin-top: 0; }
.homepage-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}
