/* ============================================================
   NOVIBET MÉXICO — Design System
   Primary: #BD2426 | Dark: #0D0D1A | Gold: #FFD700
   Font: Inter (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Barlow+Condensed:wght@600;700;800&display=swap');

/* ── RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red: #BD2426;
    --red-dark: #8B1A1C;
    --red-light: #E53035;
    --navy: #0D0D1A;
    --navy-2: #12121F;
    --navy-3: #1A1A2E;
    --navy-4: #24243C;
    --gold: #FFD700;
    --gold-light: #FFEC6E;
    --white: #FFFFFF;
    --gray-1: #F5F5F5;
    --gray-2: #A0A0B0;
    --gray-3: #6B6B80;
    --text: #E8E8F0;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.04);
    --glass-2: rgba(189, 36, 38, 0.12);
    --shadow-red: 0 0 40px rgba(189, 36, 38, 0.3);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── SKIP LINK (a11y) ─────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--red);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ── FOCUS VISIBLE (keyboard nav a11y) ───────────────── */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* ── SCREEN READER ONLY ───────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ── REDUCED MOTION ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── PRINT STYLES ─────────────────────────────────────── */
@media print {

    .site-header,
    .mobile-nav,
    .hamburger,
    .age-banner,
    .site-footer .footer-social,
    .odds-buttons {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}

/* ── SCROLLBAR ────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--navy-2);
}

::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 3px;
}

/* ── TYPOGRAPHY ───────────────────────────────────────── */
h1,
h2,
h3,
h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    color: var(--gray-2);
    line-height: 1.75;
}

strong {
    color: var(--text);
    font-weight: 700;
}

a {
    color: var(--red-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold);
}

.text-red {
    color: var(--red);
}

.text-gold {
    color: var(--gold);
}

.text-white {
    color: var(--white);
}

.text-gray {
    color: var(--gray-2);
}

.text-center {
    text-align: center;
}

/* ── CONTAINERS ───────────────────────────────────────── */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 20px rgba(189, 36, 38, 0.4);
}

.btn-primary:hover {
    background: var(--red-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(189, 36, 38, 0.55);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.btn-gold:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--red);
    background: var(--glass-2);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 10px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ── HEADER / NAV ─────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.site-header.scrolled {
    background: rgba(13, 13, 26, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-link img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    filter: brightness(1.1);
}

/* CSS text logo fallback */
.logo-text {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-text .logo-n {
    color: var(--red);
    font-size: 2rem;
    line-height: 1;
}

.logo-text .logo-sub {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 6px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav a {
    position: relative;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition);
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: center;
}

.main-nav a:hover {
    color: var(--white);
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: var(--white);
    font-weight: 600;
}

.main-nav a.active::after {
    transform: scaleX(1);
    background: var(--red);
}

.main-nav a.live-tag {
    color: var(--red-light);
    font-weight: 600;
}

.main-nav a.live-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--red-light);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
    vertical-align: middle;
}

.main-nav a.live-tag::after {
    background: var(--red-light);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.hamburger:hover {
    background: var(--glass-2);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 2px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.mobile-nav-cta {
    display: block !important;
    margin-top: 12px !important;
    padding: 14px 16px !important;
    background: var(--red) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-align: center;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 16px rgba(189, 36, 38, 0.4);
}

.mobile-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-cta:hover {
    background: var(--red-dark) !important;
    transform: translateY(-1px);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(13, 13, 26, 0.92) 0%,
            rgba(13, 13, 26, 0.75) 50%,
            rgba(189, 36, 38, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(189, 36, 38, 0.2);
    border: 1px solid rgba(189, 36, 38, 0.4);
    color: var(--red-light);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--red);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--gray-2);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: -0.5px;
}

.hero-stat-num span {
    color: var(--red);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--gray-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── SECTION HEADERS ──────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-header p {
    max-width: 560px;
    margin: 0 auto;
}

/* ── CARDS ────────────────────────────────────────────── */
.card {
    background: var(--navy-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.card:hover {
    border-color: rgba(189, 36, 38, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-red);
}

.card-body {
    padding: 28px;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* GLASS CARD */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.glass-card:hover {
    border-color: rgba(189, 36, 38, 0.35);
    background: var(--glass-2);
    transform: translateY(-3px);
}

/* ── FEATURE GRID ─────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    background: var(--glass-2);
    border: 1px solid rgba(189, 36, 38, 0.2);
}

/* ── GAMES GRID ───────────────────────────────────────── */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--navy-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.game-card:hover {
    transform: scale(1.03);
    border-color: rgba(189, 36, 38, 0.5);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--navy-4), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(189, 36, 38, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.game-info {
    padding: 14px;
}

.game-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.game-provider {
    font-size: 0.78rem;
    color: var(--gray-3);
}

.game-rtp {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--gold);
    font-size: 0.73rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 6px;
}

/* ── SPORTS ODDS TABLE ────────────────────────────────── */
.odds-card {
    background: var(--navy-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    transition: all var(--transition);
}

.odds-card:hover {
    border-color: rgba(189, 36, 38, 0.35);
}

.odds-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--navy-4);
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.league-badge {
    background: var(--red);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.match-teams {
    font-weight: 600;
    font-size: 0.95rem;
    flex: 1;
    min-width: 160px;
}

.match-teams span {
    display: block;
    margin-bottom: 4px;
}

.match-time {
    color: var(--gray-3);
    font-size: 0.8rem;
}

.odds-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.odd-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--navy-4);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all var(--transition);
    min-width: 70px;
}

.odd-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

.odd-label {
    font-size: 0.7rem;
    color: var(--gray-3);
    text-transform: uppercase;
}

.odd-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
}

.odd-btn:hover .odd-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ── BONUS CARD ───────────────────────────────────────── */
.bonus-card {
    background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy-4) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--red);
}

.bonus-card:hover {
    border-color: rgba(189, 36, 38, 0.4);
    transform: translateY(-4px);
}

.bonus-amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.bonus-type {
    color: var(--red-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── DATA TABLE ───────────────────────────────────────── */
.data-table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table caption {
    text-align: left;
    font-weight: 700;
    color: var(--gray-2);
    padding-bottom: 12px;
    font-size: 0.85rem;
    caption-side: top;
}

.data-table th {
    background: var(--navy-4);
    color: var(--gray-2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--red);
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tr:hover td {
    background: var(--glass);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.73rem;
    font-weight: 700;
}

.badge-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.badge-red {
    background: rgba(189, 36, 38, 0.15);
    color: var(--red-light);
}

.badge-gold {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

/* ── PROGRESS BAR ─────────────────────────────────────── */
.progress-wrap {
    margin-bottom: 18px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.progress-bar-bg {
    background: var(--navy-4);
    border-radius: 100px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    transition: width 1s ease;
}

.progress-bar.gold {
    background: linear-gradient(90deg, #c8a100, var(--gold));
}

.progress-bar.green {
    background: linear-gradient(90deg, #15803d, #22c55e);
}

/* ── TABS ─────────────────────────────────────────────── */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-3);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    border-radius: 8px 8px 0 0;
}

.tab-btn.active {
    color: var(--red-light);
    border-bottom-color: var(--red);
    background: var(--glass-2);
}

.tab-btn:hover {
    color: var(--text);
    background: var(--glass);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ── FAQ ACCORDION ────────────────────────────────────── */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.open {
    border-color: rgba(189, 36, 38, 0.4);
}

.faq-question {
    width: 100%;
    background: var(--navy-3);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    text-align: left;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--navy-4);
}

.faq-icon {
    color: var(--red);
    font-size: 1.2rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    background: var(--navy-2);
    padding: 0 22px;
}

.faq-answer.open {
    max-height: 500px;
    padding: 18px 22px;
}

.faq-answer p {
    color: var(--gray-2);
    font-size: 0.9rem;
    margin: 0;
}

/* ── PAYMENT GRID ─────────────────────────────────────── */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.payment-item {
    background: var(--navy-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--transition);
    cursor: default;
}

.payment-item:hover {
    border-color: rgba(189, 36, 38, 0.4);
    background: var(--navy-4);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.payment-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
}

.payment-time {
    font-size: 0.7rem;
    color: var(--gray-3);
    margin-top: 4px;
}

/* ── STEP LIST ────────────────────────────────────────── */
.steps-list {
    counter-reset: steps;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    counter-increment: steps;
}

.step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-2);
    border: 2px solid rgba(189, 36, 38, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--red-light);
    font-family: 'Barlow Condensed', sans-serif;
}

.step-text h4 {
    margin-bottom: 6px;
}

/* ── STATS BAR ────────────────────────────────────────── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 60px;
}

.stat-item {
    background: var(--navy-3);
    padding: 28px 24px;
    text-align: center;
}

.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-num em {
    color: var(--red);
    font-style: normal;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--gray-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── SEO CONTENT SECTION ──────────────────────────────── */
.seo-content {
    padding: 80px 0;
    background: var(--navy-2);
    border-top: 1px solid var(--border);
}

.seo-article h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.seo-article h3 {
    font-size: 1.25rem;
    margin: 32px 0 14px;
    color: var(--text);
}

.seo-article p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.seo-article ul {
    padding-left: 20px;
    margin-bottom: 16px;
    color: var(--gray-2);
}

.seo-article ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.text-link {
    color: var(--red-light);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: var(--gold);
    text-decoration-style: solid;
}

.seo-news-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.seo-news-links a {
    color: var(--text);
    text-decoration: none;
    padding: 10px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.seo-news-links a:hover {
    border-color: rgba(189, 36, 38, 0.4);
    background: var(--glass-2);
    color: var(--white);
}

.related-sports {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.sport-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--navy-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.sport-link:hover {
    border-color: rgba(189, 36, 38, 0.4);
    background: var(--glass-2);
    color: var(--white);
}

.sport-link span {
    font-size: 0.78rem;
    color: var(--gray-3);
    display: block;
    font-weight: 400;
}

/* ── BREADCRUMB ───────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--gray-3);
    padding: 12px 0;
}

.breadcrumb a {
    color: var(--gray-3);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--red-light);
}

.breadcrumb-sep {
    color: var(--gray-3);
}

.breadcrumb span {
    color: var(--text);
}

/* ── WARNING BANNER (18+) ─────────────────────────────── */
.age-banner {
    background: var(--navy-4);
    border-top: 3px solid var(--red);
    padding: 12px 20px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-3);
}

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--gray-3);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-top: 14px;
}

.footer-col h4 {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--gray-3);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--red-light);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-2);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition);
}

.social-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.payment-pill {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-2);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 20px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray-3);
    line-height: 1.7;
}

.footer-bottom a {
    color: var(--gray-3);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--red-light);
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.footer-logo-badge {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-3);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── APK DOWNLOAD SECTION ─────────────────────────────── */
.apk-card {
    background: linear-gradient(135deg, #1A1A2E 0%, #12121F 100%);
    border: 1px solid rgba(189, 36, 38, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.apk-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(189, 36, 38, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.apk-version {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 14px;
}

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    from {
        background-position: -200% center;
    }

    to {
        background-position: 200% center;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.shimmer-text {
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* ── LABEL CHIP ───────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chip-red {
    background: rgba(189, 36, 38, 0.2);
    color: var(--red-light);
    border: 1px solid rgba(189, 36, 38, 0.3);
}

.chip-gold {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.chip-green {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.chip-live {
    animation: pulse 1.5s infinite;
}

/* ── LIVE INDICATOR ───────────────────────────────────── */
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-light);
    animation: pulse 1.5s infinite;
    margin-right: 6px;
}

/* ── NOTIFICATION TOAST ───────────────────────────────── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--navy-3);
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    padding: 16px 22px;
    border-radius: var(--radius);
    max-width: 340px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.4s ease;
    display: none;
}

.toast.active {
    display: block;
}

/* ── CHART DIV BARS ───────────────────────────────────── */
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 180px;
    padding: 0 0 8px;
}

.chart-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.chart-bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--red), var(--red-dark));
    transition: height 1s ease;
    position: relative;
    cursor: default;
}

.chart-bar.gold {
    background: linear-gradient(180deg, var(--gold), #a07800);
}

.chart-bar:hover::after {
    content: attr(data-value);
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.chart-label {
    font-size: 0.72rem;
    color: var(--gray-3);
    text-align: center;
}

/* ── PAGE HERO (inner pages) ──────────────────────────── */
.page-hero {
    padding: 120px 0 60px;
    background: var(--navy-2);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(189, 36, 38, 0.15) 0%, transparent 60%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    max-width: 600px;
    margin: 0 auto;
}

/* ── APK CARD ─────────────────────────────────────────── */
.apk-card {
    background: linear-gradient(135deg, var(--navy-3), var(--navy-4));
    border: 1px solid rgba(189, 36, 38, 0.35);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.apk-card::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(189, 36, 38, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.apk-version {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ── STEPS LIST ───────────────────────────────────────── */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(189, 36, 38, 0.4);
}

.step-text h4 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.step-text p {
    color: var(--gray-2);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ── CHIP / LIVE BADGE ────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chip-red {
    background: rgba(189, 36, 38, 0.2);
    color: var(--red-light);
    border: 1px solid rgba(189, 36, 38, 0.4);
}

.chip-live::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--red-light);
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}

/* ── LIVE DOT ─────────────────────────────────────────── */
.live-dot {
    width: 8px;
    height: 8px;
    background: var(--red-light);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.2s infinite;
}

/* ── TEXT LINK ────────────────────────────────────────── */
.text-link {
    color: var(--red-light);
    text-decoration: underline;
    text-decoration-color: rgba(229, 48, 53, 0.4);
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.text-link:hover {
    color: var(--gold);
    text-decoration-color: rgba(255, 215, 0, 0.5);
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .main-nav,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .hero {
        min-height: auto;
        padding-top: 70px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 24px;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .apk-card {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .odds-buttons {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .tabs {
        overflow-x: auto;
    }

    .tab-btn {
        white-space: nowrap;
    }
}

/* ── GLOBAL OVERFLOW GUARD ───────────────────────────── */
html {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ── MOBILE SPECIFIC FIXES (app.html + other pages) ─── */
@media (max-width: 768px) {

    /* apk-card: collapse 2-col grid to single column */
    .apk-card {
        grid-template-columns: 1fr !important;
    }

    .apk-card img {
        display: none;
        /* hide phone mockup on small screens */
    }

    /* Wide 2-col inline grids (e.g. iOS/Android section) */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Ensure all sections don't overflow */
    section,
    .section,
    .section-sm {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Steps list full width */
    .steps-list {
        max-width: 100% !important;
    }

    /* Affiliate checks max width */
    .affiliate-checks,
    .affiliate-ctas {
        max-width: 100% !important;
    }
}

/* ── APK DOWNLOAD BUTTON ─────────────────────────────── */
.btn-apk {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    width: 100%;
    justify-content: center;
}

.btn-apk:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
    color: #fff;
}

/* ── AFFILIATE HERO ──────────────────────────────────── */
.affiliate-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    background: radial-gradient(ellipse at 50% 0%, rgba(189, 36, 38, 0.18) 0%, transparent 60%), var(--navy);
    text-align: center;
}

.affiliate-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px auto;
    max-width: 360px;
}

.affiliate-check {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    backdrop-filter: blur(10px);
}

.affiliate-check .check-icon {
    color: #22c55e;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.affiliate-ctas {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 360px;
    margin: 0 auto;
}

.btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-register.red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 20px rgba(189, 36, 38, 0.5);
}

.btn-register.red:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    color: #fff;
}

.btn-register.gold {
    background: linear-gradient(135deg, var(--gold), #e6a800);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-register.gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    color: var(--navy);
}