/* ================================================================
   Winner México — Design System
   Colors: Red #c0001a | Dark #0c0c14 | Gold #f5a623
   Fonts: Rajdhani (headings) | Source Sans 3 (body)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────────── */
:root {
    --red: #c0001a;
    --red-hot: #e8001f;
    --red-dim: rgba(192, 0, 26, .15);
    --red-glow: rgba(192, 0, 26, .4);
    --dark: #0c0c14;
    --dark2: #14141e;
    --dark3: #1c1c28;
    --dark4: #242434;
    --dark5: #2e2e42;
    --gold: #f5a623;
    --gold-dim: rgba(245, 166, 35, .15);
    --green-win: #00c853;
    --text: #e2e2ec;
    --muted: #7878a0;
    --border: rgba(255, 255, 255, .08);
    --font-h: 'Rajdhani', sans-serif;
    --font-b: 'Source Sans 3', sans-serif;
    --r: 6px;
    --r-lg: 12px;
    --r-xl: 20px;
    --trans: .2s ease;
}

/* ── RESET ────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-b);
    background: var(--dark);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ── SKIP LINK ────────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    background: var(--red);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--r);
    font-family: var(--font-h);
    font-weight: 700;
    transition: top .2s;
}

.skip-link:focus {
    top: 16px;
}

/* ── HEADER ───────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(12, 12, 20, .96);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--red);
}

.hdr {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    height: 62px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-w {
    color: var(--red);
    font-size: 1.8rem;
}

.logo-rest {
    color: #fff;
}

.logo-mx {
    color: var(--gold);
    font-size: .85rem;
    font-weight: 600;
    margin-left: 2px;
}

/* NAV */
header nav {
    display: flex;
    gap: 2px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

header nav::-webkit-scrollbar {
    display: none;
}

header nav a {
    font-family: var(--font-h);
    font-weight: 600;
    font-size: .92rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 6px 12px;
    border-radius: var(--r);
    color: var(--muted);
    white-space: nowrap;
    transition: color var(--trans), background var(--trans);
}

header nav a:hover,
header nav a.active {
    color: #fff;
    background: var(--red-dim);
}

header nav a.active {
    color: var(--red);
    border-bottom: 2px solid var(--red);
}

/* HEADER CTAs */
.hdr-cta {
    display: flex;
    align-items: center;
    background: var(--red);
    color: #fff !important;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: var(--r);
    white-space: nowrap;
    transition: background var(--trans), transform var(--trans);
}

.hdr-cta:hover {
    background: var(--red-hot);
    transform: translateY(-1px);
}

/* Mobile CTA button (always visible in mobile header) */
.btn-mob-header {
    display: none;
    background: var(--red);
    color: #fff !important;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .85rem;
    padding: 7px 14px;
    border-radius: var(--r);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .5px;
    order: -1;
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOB MENU */
.mob-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark2);
    z-index: 800;
    padding: 20px;
    gap: 4px;
    overflow-y: auto;
}

.mob-menu.open {
    display: flex;
}

.mob-menu a {
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 14px 16px;
    border-radius: var(--r);
    color: var(--text);
    border: 1px solid var(--border);
    transition: background var(--trans);
}

.mob-menu a:hover {
    background: var(--dark4);
}

.mob-cta-top {
    background: var(--red) !important;
    color: #fff !important;
    border: none !important;
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 8px;
    padding: 16px !important;
}

/* ── LIVE TICKER ─────────────────────────────────────────────── */
.ticker-bar {
    background: var(--dark2);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    height: 34px;
    display: flex;
    align-items: center;
}

.ticker-inner {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.ticker-inner:hover {
    animation-play-state: paused;
}

.tick-item {
    font-family: var(--font-h);
    font-size: .8rem;
    font-weight: 600;
    padding: 0 28px;
    color: var(--muted);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
}

.tick-live {
    background: var(--red);
    color: #fff;
    font-size: .65rem;
    padding: 2px 5px;
    border-radius: 3px;
    letter-spacing: .5px;
}

.tick-score {
    color: var(--gold);
    font-weight: 700;
}

.tick-odd {
    color: var(--green-win);
    font-weight: 700;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 52px 0;
}

section.alt {
    background: var(--dark2);
}

section.dark3 {
    background: var(--dark3);
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.bc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.bc a {
    color: var(--red);
}

.bc a:hover {
    text-decoration: underline;
}

.bc span {
    color: var(--dark5);
}

/* ── PAGE HERO VARIANTS ──────────────────────────────────────── */
/* Full-bleed image hero */
.hero-img-wrap {
    position: relative;
    overflow: hidden;
}

.hero-img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 20, .95) 40%, transparent 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-content .wrap {
    width: 100%;
}

/* Split hero */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 360px;
}

.hero-split-text {
    background: var(--dark2);
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-split-img {
    overflow: hidden;
}

.hero-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Centered hero */
.hero-center {
    background: radial-gradient(ellipse at center top, rgba(192, 0, 26, .2) 0%, var(--dark2) 70%);
    padding: 64px 24px;
    text-align: center;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1 {
    font-family: var(--font-h);
    font-weight: 700;
    line-height: 1.05;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

h2 {
    font-family: var(--font-h);
    font-weight: 700;
    line-height: 1.1;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-transform: uppercase;
    margin-bottom: 12px;
}

h3 {
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 8px;
}

.h1-red {
    color: var(--red);
}

.h2-gold em {
    color: var(--gold);
    font-style: normal;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 680px;
    margin-bottom: 24px;
}

p {
    margin-bottom: 16px;
    line-height: 1.75;
}

.section-tag {
    font-family: var(--font-h);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 8px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    transition: background var(--trans), transform var(--trans);
    white-space: nowrap;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.btn-red:hover {
    background: var(--red-hot);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: #0c0c14;
}

.btn-gold:hover {
    background: #ffc04a;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-outline:hover {
    background: var(--red-dim);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--dark4);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1.05rem;
}

/* ── STAT STRIP ──────────────────────────────────────────────── */
.stat-strip {
    background: var(--dark3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: var(--border);
}

.stat-item {
    padding: 20px 24px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.stat-lbl {
    font-size: .78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 2px;
}

/* ── GRID LAYOUTS ────────────────────────────────────────────── */
.g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.g3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.g4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sidebar-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.sidebar-layout-r {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--trans), transform var(--trans);
}

.card:hover {
    border-color: var(--red-glow);
    transform: translateY(-3px);
}

.card-body {
    padding: 24px;
}

.card-feature {
    background: linear-gradient(135deg, var(--dark3), var(--dark4));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--trans);
}

.card-feature:hover {
    border-color: var(--red);
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.card-title {
    font-family: var(--font-h);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 6px;
}

.card-desc {
    font-size: .88rem;
    color: var(--muted);
}

/* ── TABLES ──────────────────────────────────────────────────── */
.tbl-wrap {
    overflow-x: auto;
    border-radius: var(--r-lg);
}

/* Style 1: bordered with red header */
.tbl-red thead {
    background: var(--red);
}

.tbl-red th {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
}

.tbl-red td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
}

.tbl-red tr:nth-child(even) td {
    background: rgba(255, 255, 255, .02);
}

.tbl-red tr:hover td {
    background: var(--red-dim);
}

/* Style 2: minimalist dark lines */
.tbl-dark thead th {
    font-family: var(--font-h);
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    padding: 10px 14px;
    border-bottom: 2px solid var(--border);
    text-align: left;
}

.tbl-dark td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    font-size: .88rem;
    vertical-align: middle;
}

.tbl-dark tr:hover td {
    background: var(--dark4);
}

/* Style 3: gold header comparison */
.tbl-gold thead {
    background: linear-gradient(90deg, var(--dark4), var(--dark5));
}

.tbl-gold thead th {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gold);
    padding: 12px 16px;
    border-bottom: 2px solid var(--gold);
}

.tbl-gold td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
}

.tbl-gold tr:hover td {
    background: var(--gold-dim);
}

/* Table cell helpers */
.td-winner {
    color: var(--green-win);
    font-weight: 700;
}

.td-red {
    color: var(--red);
    font-weight: 700;
}

.td-gold {
    color: var(--gold);
    font-weight: 700;
}

.td-muted {
    color: var(--muted);
}

.td-bold {
    font-weight: 700;
    color: #fff;
}

/* ── ODDS ELEMENTS ───────────────────────────────────────────── */
.odd-pill {
    display: inline-block;
    background: var(--dark4);
    border: 1px solid var(--border);
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .9rem;
    padding: 4px 10px;
    border-radius: var(--r);
    color: var(--gold);
    cursor: pointer;
    transition: background var(--trans), border-color var(--trans);
}

.odd-pill:hover {
    background: var(--red-dim);
    border-color: var(--red);
    color: #fff;
}

.odd-up {
    color: var(--green-win);
}

.odd-down {
    color: #ff5252;
}

/* Live badge */
.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-h);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    background: var(--red);
    padding: 2px 7px;
    border-radius: 3px;
}

.live-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

/* ── CHARTS: HORIZONTAL BAR ──────────────────────────────────── */
.chart-box {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
}

.chart-title {
    font-family: var(--font-h);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--muted);
    margin-bottom: 16px;
}

.chart-sub {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 10px;
}

/* Horizontal bars */
.hbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hbar-row {
    display: grid;
    grid-template-columns: 100px 1fr 48px;
    align-items: center;
    gap: 10px;
}

.hbar-lbl {
    font-size: .82rem;
    color: var(--text);
}

.hbar-track {
    background: var(--dark5);
    border-radius: 3px;
    height: 8px;
    overflow: hidden;
}

.hbar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.hf-red {
    background: var(--red);
}

.hf-gold {
    background: var(--gold);
}

.hf-green {
    background: var(--green-win);
}

.hf-muted {
    background: var(--dark5);
}

.hbar-val {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .85rem;
    color: var(--text);
    text-align: right;
}

/* Vertical bar chart */
.vbar {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 160px;
}

.vbar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.vbar-fill {
    width: 100%;
    background: var(--red);
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transition: height 1s ease;
}

.vbar-fill.gold {
    background: var(--gold);
}

.vbar-fill.green {
    background: var(--green-win);
}

.vbar-lbl {
    font-size: .7rem;
    color: var(--muted);
    text-align: center;
}

.vbar-val {
    font-family: var(--font-h);
    font-size: .7rem;
    color: var(--text);
}

/* ── GAUGE / RADIAL CHART ────────────────────────────────────── */
.gauge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gauge {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gauge-val {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.gauge-lbl {
    font-size: .75rem;
    color: var(--muted);
    text-align: center;
}

/* Donut chart */
.donut {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    position: relative;
}

.donut-hole {
    position: absolute;
    inset: 25px;
    background: var(--dark3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.donut-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
}

.donut-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── TIMELINE ────────────────────────────────────────────────── */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.tl-item {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
}

.tl-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--dark4);
    border: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1rem;
    color: var(--red);
    z-index: 1;
}

.tl-body {}

.tl-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 4px;
}

.tl-desc {
    font-size: .85rem;
    color: var(--muted);
}

/* ── STEP CHAIN ──────────────────────────────────────────────── */
.steps-chain {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-node:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--border);
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark4);
    border: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red);
    position: relative;
    z-index: 1;
}

.step-label {
    font-family: var(--font-h);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    text-align: center;
    margin-top: 10px;
    color: var(--text);
}

.step-desc {
    font-size: .75rem;
    color: var(--muted);
    text-align: center;
    margin-top: 4px;
    padding: 0 8px;
}

/* ── RADAR / SPIDER CHART ────────────────────────────────────── */
.radar-wrap {
    display: flex;
    align-items: center;
    gap: 32px;
}

.radar-svg {
    flex-shrink: 0;
}

.radar-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radar-bar-wrap {
    flex: 1;
    background: var(--dark5);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    min-width: 100px;
}

.radar-bar {
    height: 100%;
    background: var(--red);
    border-radius: 3px;
}

.radar-lbl {
    font-size: .78rem;
    color: var(--muted);
    min-width: 80px;
}

.radar-score {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .85rem;
    color: var(--text);
    min-width: 36px;
    text-align: right;
}

/* ── PAYMENT CARDS ───────────────────────────────────────────── */
.pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.pay-card {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px 16px;
    text-align: center;
    transition: border-color var(--trans), transform var(--trans);
}

.pay-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.pay-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.pay-name {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pay-time {
    font-size: .75rem;
    color: var(--green-win);
}

.pay-fee {
    font-size: .72rem;
    color: var(--muted);
}

/* ── BADGE / TAG ─────────────────────────────────────────────── */
.badge {
    display: inline-block;
    font-family: var(--font-h);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 8px;
    border-radius: 3px;
}

.badge-red {
    background: var(--red-dim);
    color: var(--red);
    border: 1px solid var(--red);
}

.badge-gold {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.badge-green {
    background: rgba(0, 200, 83, .12);
    color: var(--green-win);
    border: 1px solid var(--green-win);
}

.badge-new {
    background: var(--red);
    color: #fff;
}

.badge-hot {
    background: var(--gold);
    color: #0c0c14;
}

/* ── RTP METER ───────────────────────────────────────────────── */
.rtp-meter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rtp-bar-track {
    flex: 1;
    background: var(--dark5);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.rtp-bar-fill {
    height: 100%;
    background: var(--green-win);
    border-radius: 3px;
}

.rtp-val {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .85rem;
    color: var(--green-win);
    min-width: 40px;
}

/* ── FUNNEL CHART ────────────────────────────────────────────── */
.funnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.funnel-step {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark4);
    border: 1px solid var(--border);
    height: 44px;
    border-radius: var(--r);
    width: 100%;
    position: relative;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: .85rem;
    color: var(--text);
    transition: background var(--trans);
}

.funnel-step:hover {
    background: var(--red-dim);
    border-color: var(--red);
}

.funnel-step::after {
    content: '▼';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .6rem;
    color: var(--muted);
}

.funnel-step:last-child::after {
    display: none;
}

/* ── SEO TEXT BLOCK ──────────────────────────────────────────── */
.seo-section {
    background: var(--dark2);
    padding: 52px 0;
}

.seo-content {
    max-width: 820px;
}

.seo-content p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 18px;
}

.seo-content h3 {
    font-size: 1.15rem;
    margin: 28px 0 10px;
    color: var(--gold);
}

/* ── QUICK LINKS BAR ─────────────────────────────────────────── */
.ql-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.ql {
    font-family: var(--font-h);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 6px 14px;
    border-radius: var(--r);
    background: var(--dark4);
    border: 1px solid var(--border);
    color: var(--muted);
    transition: color var(--trans), border-color var(--trans);
}

.ql:hover {
    color: var(--red);
    border-color: var(--red);
}

/* ── AUTHOR BOX ──────────────────────────────────────────────── */
.author-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--dark3);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: var(--r-lg);
    padding: 22px 24px;
}

.author-box img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--red);
    object-fit: cover;
}

.author-badge {
    font-family: var(--font-h);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--green-win);
    margin-bottom: 3px;
}

.author-name {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

.author-bio {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--red) 0%, #800012 100%);
    padding: 52px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── GAME CARD ───────────────────────────────────────────────── */
.game-card {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--trans), border-color var(--trans);
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}

.game-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.game-card-body {
    padding: 14px;
}

.game-name {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .95rem;
    text-transform: uppercase;
}

.game-provider {
    font-size: .75rem;
    color: var(--muted);
    margin-bottom: 6px;
}

/* ── SCORE BOARD ─────────────────────────────────────────────── */
.score-board {
    background: var(--dark4);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.score-team {
    flex: 1;
}

.score-home {
    text-align: left;
}

.score-away {
    text-align: right;
}

.score-name {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.score-center {
    text-align: center;
}

.score-num {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.score-status {
    font-size: .7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── PROMO CARD ──────────────────────────────────────────────── */
.promo-card {
    background: linear-gradient(135deg, rgba(192, 0, 26, .12), var(--dark3));
    border: 1px solid rgba(192, 0, 26, .3);
    border-radius: var(--r-xl);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.promo-amount {
    font-family: var(--font-h);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.promo-currency {
    font-family: var(--font-h);
    font-size: 1.2rem;
    color: var(--gold);
}

.promo-label {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 20px;
}

/* ── LEGAL DISCLAIMER ────────────────────────────────────────── */
.legal-bar {
    background: var(--dark4);
    border-top: 1px solid var(--border);
    padding: 12px 0;
}

.legal-bar p {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.5;
    text-align: center;
}

.age18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--muted);
    color: var(--muted);
    font-family: var(--font-h);
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
    background: var(--dark2);
    border-top: 2px solid var(--red);
    padding: 52px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.foot-brand {}

.foot-brand .logo {
    margin-bottom: 12px;
}

.foot-brand p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.foot-col h4 {
    font-family: var(--font-h);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
}

.foot-col a {
    display: block;
    font-size: .85rem;
    color: var(--text);
    padding: 3px 0;
}

.foot-col a:hover {
    color: var(--red);
}

.foot-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.foot-disc {
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.5;
}

.foot-copy {
    font-size: .78rem;
    color: var(--dark5);
    white-space: nowrap;
}

/* ── UTILITIES ───────────────────────────────────────────────── */
.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-48 {
    margin-bottom: 48px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.text-center {
    text-align: center;
}

.text-red {
    color: var(--red);
}

.text-gold {
    color: var(--gold);
}

.text-green {
    color: var(--green-win);
}

.text-muted {
    color: var(--muted);
}

.fw-700 {
    font-weight: 700;
}

.pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: .72rem;
    background: var(--dark5);
    color: var(--muted);
    white-space: nowrap;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sidebar-layout,
    .sidebar-layout-r {
        grid-template-columns: 1fr;
    }

    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-split-img {
        height: 220px;
    }

    .g3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    header nav,
    .hdr-cta {
        display: none;
    }

    .btn-mob-header {
        display: inline-flex;
    }

    .burger {
        display: flex;
    }

    .hdr {
        gap: 10px;
    }

    .g2,
    .g3,
    .g4 {
        grid-template-columns: 1fr;
    }

    .stat-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .steps-chain {
        flex-direction: column;
        gap: 20px;
    }

    .step-node::after {
        display: none;
    }

    .hero-img-wrap img {
        height: 240px;
    }

    .hero-overlay {
        background: rgba(12, 12, 20, .8);
    }

    .radar-wrap {
        flex-direction: column;
    }

    .hbar-row {
        grid-template-columns: 80px 1fr 40px;
    }
}

@media (max-width: 480px) {
    .stat-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-amount {
        font-size: 2.5rem;
    }

    .pay-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ────────────────────────────────────────────────────────────────
   WINNER MX — ADDITIONAL UTILITY CLASSES (pages 6-10)
   ──────────────────────────────────────────────────────────────── */

/* ── TIMELINE ─────────────────────────────────────────────────── */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.tl-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    position: relative;
    padding-bottom: 28px;
}

.tl-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.tl-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.tl-body {
    padding-top: 10px;
}

.tl-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 4px;
}

.tl-desc {
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── LIVE DOT ─────────────────────────────────────────────────── */
.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    animation: blink-live 1.4s ease-in-out infinite;
}

.live-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
}

@keyframes blink-live {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .45;
    }
}

/* ── ODD PILL ─────────────────────────────────────────────────── */
.odd-pill {
    display: inline-block;
    background: rgba(0, 200, 83, .15);
    color: var(--green-win);
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .82rem;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 200, 83, .3);
    white-space: nowrap;
}

/* ── BADGES ───────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    font-family: var(--font-h);
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 2px 8px;
    border-radius: 3px;
}

.badge-green {
    background: rgba(0, 200, 83, .12);
    color: var(--green-win);
    border: 1px solid rgba(0, 200, 83, .3);
}

.badge-gold {
    background: rgba(245, 166, 35, .12);
    color: var(--gold);
    border: 1px solid rgba(245, 166, 35, .3);
}

.badge-muted {
    background: rgba(120, 120, 160, .12);
    color: var(--muted);
    border: 1px solid rgba(120, 120, 160, .2);
}

/* ── TYPOGRAPHY HELPERS ───────────────────────────────────────── */
.text-red {
    color: var(--red);
}

.text-gold {
    color: var(--gold);
}

.text-green {
    color: var(--green-win);
}

.text-muted {
    color: var(--muted);
}

.fw-700 {
    font-weight: 700;
}

.td-gold {
    color: var(--gold);
    font-weight: 700;
}

.td-red {
    color: #ff5252;
}

.td-muted {
    color: var(--muted);
}

.td-winner {
    color: var(--green-win);
}

.td-bold {
    font-weight: 700;
    color: var(--text);
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

/* ── BTN DARK (app page download) ─────────────────────────────── */
.btn-dark {
    background: var(--dark4);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-dark:hover {
    background: var(--dark5);
    transform: translateY(-2px);
}

/* ── HBAR FILL VARIANTS ───────────────────────────────────────── */
.hf-red {
    background: linear-gradient(90deg, var(--red), rgba(192, 0, 26, .5));
}

.hf-gold {
    background: linear-gradient(90deg, var(--gold), rgba(245, 166, 35, .5));
}

.hf-green {
    background: linear-gradient(90deg, var(--green-win), rgba(0, 200, 83, .5));
}

.hf-muted {
    background: linear-gradient(90deg, var(--dark5), var(--dark4));
}

/* ── QUICK LINKS BAR ──────────────────────────────────────────── */
.ql-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.ql {
    font-family: var(--font-h);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--muted);
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 6px 14px;
    transition: color var(--trans), border-color var(--trans);
    white-space: nowrap;
}

.ql:hover {
    color: var(--red);
    border-color: var(--red-glow);
}

/* ── VBAR (vertical bar chart) ────────────────────────────────── */
.vbar {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    padding: 0 8px;
}

.vbar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.vbar-val {
    font-family: var(--font-h);
    font-size: .72rem;
    font-weight: 700;
    color: var(--text);
}

.vbar-fill {
    width: 100%;
    border-radius: 3px 3px 0 0;
    min-height: 4px;
}

.vbar-lbl {
    font-size: .7rem;
    color: var(--muted);
    text-align: center;
    word-break: break-all;
}

/* ── RESPONSIVE ADDITIONS ─────────────────────────────────────── */
@media (max-width: 768px) {
    .tl-item {
        grid-template-columns: 36px 1fr;
    }

    .tl-dot {
        width: 36px;
        height: 36px;
        font-size: .9rem;
    }

    .ql-bar {
        gap: 6px;
    }

    .ql {
        font-size: .72rem;
        padding: 5px 10px;
    }

    .vbar {
        gap: 4px;
    }
}