:root {
    --red: #E11D2E;
    --red-dark: #B91C1C;
    --red-soft: #FEE2E2;
    --navy: #0F172A;
    --navy-soft: #1E293B;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --green: #16A34A;
    --green-soft: #DCFCE7;
    --gold: #D97706;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 3px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.08);
    --shadow-lg: 0 4px 6px rgba(15,23,42,.04), 0 20px 48px rgba(15,23,42,.12);
    --max: 1200px;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--navy);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Top bar ── */
.topbar {
    background: linear-gradient(90deg, #0B1220 0%, #111827 55%, #1A2332 100%);
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar-inner,
.topbar .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.topbar-brand-mark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--red) 0%, #9F1819 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
}
.topbar-brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topbar-brand-text strong {
    color: #fff;
    font-weight: 700;
}
.topbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.topbar-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.topbar-links a svg {
    flex-shrink: 0;
    opacity: .7;
}
.topbar-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.topbar-links a:hover svg {
    opacity: 1;
}
.topbar a { color: rgba(255,255,255,.85); transition: color .2s; }
.topbar a:hover { color: #fff; }

/* ── Header ── */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}
.header-top {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}
.logo-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -.03em;
    color: var(--navy);
}
.logo-text span { color: var(--red); }
.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.nav a {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: 8px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.nav a:hover, .nav a.active {
    color: var(--red);
    background: var(--red-soft);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-user-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 220px;
    padding: 5px 10px 5px 5px;
    border-radius: 999px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: background .2s, border-color .2s, box-shadow .2s;
}

.header-user-card:hover {
    background: #fff;
    border-color: #fecaca;
    box-shadow: 0 4px 14px rgba(225, 29, 46, .08);
}

.header-user-avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.header-user-avatar--img {
    object-fit: cover;
    background: var(--gray-100);
}

.header-user-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    line-height: 1.2;
}

.header-user-meta strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.header-user-meta small {
    font-size: 11px;
    font-weight: 600;
    color: var(--red);
}

.header-user-arrow {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform .2s, color .2s;
}

.header-user-card:hover .header-user-arrow {
    color: var(--red);
    transform: translateX(2px);
}

.header-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 600;
    transition: color .2s, border-color .2s, background .2s;
}

.header-logout:hover {
    color: var(--red);
    border-color: #fecaca;
    background: var(--red-soft);
}

.header-logout svg {
    flex-shrink: 0;
}

.header-guest {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}

.header-login:hover {
    color: var(--red);
    border-color: #fecaca;
    background: var(--red-soft);
    box-shadow: 0 4px 12px rgba(225, 29, 46, .08);
}

.header-login svg {
    flex-shrink: 0;
    color: var(--gray-500);
    transition: color .2s;
}

.header-login:hover svg {
    color: var(--red);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(225, 29, 46, .28);
    transition: transform .2s, box-shadow .2s, filter .2s;
}

.header-cta:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(225, 29, 46, .34);
    filter: brightness(1.03);
}

.header-cta svg {
    flex-shrink: 0;
}

@media (max-width: 1180px) {
    .header-user-meta strong {
        max-width: 110px;
    }

    .header-logout span {
        display: none;
    }

    .header-logout {
        width: 36px;
        padding: 0;
        justify-content: center;
    }

    .header-login span {
        display: none;
    }

    .header-login {
        width: 40px;
        padding: 0;
        justify-content: center;
    }
}

/* V1-style mobile header (hidden on desktop) */
.header-mobile,
.hm-drawer,
.hm-drawer-backdrop {
    display: none;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all .2s;
    white-space: nowrap;
}
.btn-ghost {
    color: var(--gray-600);
}
.btn-ghost:hover { color: var(--navy); background: var(--gray-100); }
.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 14px rgba(225,29,46,.35);
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(225,29,46,.4);
}
.btn-outline {
    border: 1.5px solid var(--gray-200);
    color: var(--navy);
    background: var(--white);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    color: var(--gray-500);
}
.btn-icon:hover { background: var(--gray-100); color: var(--navy); }

/* ── Hero ── */
.hero {
    position: relative;
    background: var(--navy);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.75) 50%, rgba(185,28,28,.25) 100%),
        url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1600&q=80') center/cover no-repeat;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .04;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
    background-size: 32px 32px;
}
.hero .wrap {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 80px 24px 120px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.2); }
}
.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero p {
    font-size: 18px;
    color: rgba(255,255,255,.65);
    max-width: 520px;
    margin: 0 auto 36px;
    font-weight: 500;
}
.search-box {
    max-width: 600px;
    margin: 0 auto 24px;
    display: flex;
    background: var(--white);
    border-radius: 14px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
}
.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    color: var(--navy);
    background: transparent;
}
.search-box input::placeholder { color: var(--gray-400); }
.search-box button {
    background: var(--red);
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s;
}
.search-box button:hover { background: var(--red-dark); }
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.hero-tags a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.2);
    transition: all .2s;
}
.hero-tags a:hover, .hero-tags a.active {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* ── Hero bridge: stats + live ── */
.hero-bridge {
    position: relative;
    z-index: 2;
    margin-top: -56px;
    padding-bottom: 48px;
}
.hero-bridge .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.stat-item {
    background: var(--white);
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(15,23,42,.10), 0 1px 3px rgba(15,23,42,.06);
    border: 1px solid rgba(255,255,255,.8);
    transition: transform .25s, box-shadow .25s;
}
.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15,23,42,.14);
}
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.red { background: #FEE2E2; color: var(--red); }
.stat-icon.blue { background: #DBEAFE; color: #2563EB; }
.stat-icon.green { background: #DCFCE7; color: #16A34A; }
.stat-icon.amber { background: #FEF3C7; color: #D97706; }
.stat-content { min-width: 0; }
.stat-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.03em;
    line-height: 1.1;
}
.stat-lbl {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Live bar */
.live-bar {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.live-bar-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}
.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 12px;
    border-radius: 100px;
    flex-shrink: 0;
}
.live-pill .dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
.live-bar-head span.sub {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
}
.live-bar-head .spacer { flex: 1; }
.live-bar-head a {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    flex-shrink: 0;
}
.live-bar-head a:hover { text-decoration: underline; }
.live-matches {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
}
.live-matches::-webkit-scrollbar { display: none; }
.match-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    flex-shrink: 0;
    border-right: 1px solid var(--gray-100);
    transition: background .15s;
    cursor: pointer;
}
.match-chip:last-child { border-right: none; }
.match-chip:hover { background: var(--gray-50); }
.match-league {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .04em;
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.match-teams {
    display: flex;
    align-items: center;
    gap: 10px;
}
.match-team {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.match-team.win { color: var(--navy); font-weight: 800; }
.match-score-box {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 56px;
    justify-content: center;
}
.match-score-box .s {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
}
.match-score-box .sep {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    margin: 0 1px;
}
.match-score-box.live {
    background: #DCFCE7;
}
.match-score-box.live .s { color: #15803D; }
.match-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
    min-width: 28px;
    text-align: center;
}
.match-time.live {
    color: var(--green);
}

/* legacy - remove */
.stats-strip, .live-ticker { display: none; }

/* ── Section ── */
.section {
    padding: 64px 0;
}
.section-alt { background: var(--white); }
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}
.section-head h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--navy);
}
.section-head p {
    font-size: 15px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
}
.see-all {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    transition: gap .2s;
}
.see-all:hover { gap: 8px; }

/* ── Filter tabs ── */
.filters {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    transition: all .2s;
}
.filter-tab:hover { border-color: var(--gray-400); }
.filter-tab.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* ── Tournament cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.t-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all .25s;
    display: flex;
    flex-direction: column;
}
.t-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.t-card-cover {
    height: 140px;
    position: relative;
    overflow: hidden;
}
.t-card-cover .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .4s;
}
.t-card:hover .t-card-cover .bg { transform: scale(1.06); }
.t-card-cover .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.7) 0%, transparent 60%);
}
.t-card-cover .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,.95);
    color: var(--navy);
}
.t-card-cover .badge.live {
    background: var(--green);
    color: #fff;
}
.t-card-cover .views {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}
.t-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.t-card-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.t-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    flex: 1;
}
.t-card-meta span {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}
.t-card-meta svg { flex-shrink: 0; opacity: .6; }
.t-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}
.t-card-foot .teams {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
}
.t-card-foot .teams strong { color: var(--navy); }

/* Card cover backgrounds */
.cover-1 { background: linear-gradient(135deg, #1e3a5f, #0f172a); }
.cover-2 { background: linear-gradient(135deg, #7f1d1d, #450a0a); }
.cover-3 { background: linear-gradient(135deg, #14532d, #052e16); }
.cover-4 { background: linear-gradient(135deg, #1e1b4b, #312e81); }
.cover-5 { background: linear-gradient(135deg, #78350f, #451a03); }
.cover-6 { background: linear-gradient(135deg, #164e63, #083344); }
.cover-7 { background: linear-gradient(135deg, #581c87, #3b0764); }
.cover-8 { background: linear-gradient(135deg, #991b1b, #7f1d1d); }

/* ── Featured large card ── */
.featured-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-auto-rows: minmax(0, auto);
    gap: 20px;
    margin-bottom: 20px;
}
.featured-row .t-card:not(.t-card-featured) {
    min-height: 0;
}
.featured-row .t-card:not(.t-card-featured) .t-card-cover {
    aspect-ratio: 16 / 10;
}
.featured-row .t-card:not(.t-card-featured) .t-card-cover .bg {
    position: absolute;
    inset: 0;
}
.t-card-featured {
    grid-row: span 2;
}
.t-card-featured .t-card-cover { height: 100%; min-height: 320px; }
.t-card-featured .t-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15,23,42,.95) 0%, rgba(15,23,42,.6) 60%, transparent 100%);
    color: #fff;
    padding: 28px;
}
.t-card-featured .t-card-body h3 {
    font-size: 22px;
    color: #fff;
    -webkit-line-clamp: 3;
    margin-bottom: 12px;
}
.t-card-featured .t-card-meta span { color: rgba(255,255,255,.7); }
.t-card-featured .t-card-foot { border-top-color: rgba(255,255,255,.15); }
.t-card-featured .t-card-foot .teams { color: rgba(255,255,255,.5); }
.t-card-featured .t-card-foot .teams strong { color: #fff; }
.t-card-featured { position: relative; }

/* ── Promo band (CTA + App) ── */
.promo-section { padding-top: 24px; padding-bottom: 24px; }
.promo-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.promo-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 280px;
}
.promo-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.75);
    margin-bottom: 10px;
}
.promo-eyebrow-light { color: rgba(255,255,255,.55); }

/* Create tournament card */
.promo-create {
    display: flex;
    flex-direction: column;
    padding: 36px 40px 32px;
    background: linear-gradient(135deg, #E11D2E 0%, #B91C1C 55%, #991B1B 100%);
    color: #fff;
    box-shadow: 0 20px 48px rgba(225,29,46,.28);
}
.promo-create-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: start;
    margin-bottom: 24px;
}
.promo-create-pattern {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}
.promo-create-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,.22) 0%, transparent 68%);
    pointer-events: none;
}
.promo-create-content { position: relative; z-index: 1; min-width: 0; }
.promo-create h3 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: 10px;
}
.promo-create p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,.88);
    margin-bottom: 16px;
    max-width: 520px;
}
.promo-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}
.promo-features li {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    white-space: nowrap;
}
.promo-create-side {
    flex-shrink: 0;
    min-width: 168px;
}
.promo-highlight-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.promo-highlight {
    background: rgba(255,255,255,.96);
    color: var(--navy);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,.12);
    text-align: center;
}
.promo-highlight-num {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--red);
    line-height: 1.1;
}
.promo-highlight-lbl {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    margin-top: 2px;
}
.promo-create-foot {
    position: relative;
    z-index: 1;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    transition: transform .2s, box-shadow .2s;
}
.promo-btn-light {
    background: #fff;
    color: var(--red);
    box-shadow: 0 8px 24px rgba(15,23,42,.18);
}
.promo-btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15,23,42,.22);
}

/* App download card */
.promo-app {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 36px 36px 36px 40px;
    background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 20px 48px rgba(15,23,42,.16);
}
.promo-app-glow {
    position: absolute;
    top: -40%;
    right: 10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(225,29,46,.28) 0%, transparent 70%);
    pointer-events: none;
}
.promo-app-content { position: relative; z-index: 1; }
.promo-app-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.promo-app-logo {
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.promo-app h3 {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.2;
}
.promo-app p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,.62);
    margin-bottom: 20px;
    max-width: 360px;
}
.promo-store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.promo-store-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s, opacity .2s;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    padding: 6px 10px;
}
.promo-store-link:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.1);
}
.promo-store-link img { display: block; height: 36px; width: auto; }
.promo-qr-card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,.96);
    border-radius: 18px;
    padding: 14px 14px 12px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
    flex-shrink: 0;
}
.promo-qr-card img {
    display: block;
    border-radius: 10px;
    margin: 0 auto 8px;
}
.promo-qr-card span {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: .02em;
}

/* Legacy (kept for reference) */
.app-banner {
    background: var(--navy);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.app-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(225,29,46,.3) 0%, transparent 70%);
    pointer-events: none;
}
.app-banner .inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 48px 56px;
    position: relative;
}
.app-banner h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}
.app-banner p {
    font-size: 15px;
    color: rgba(255,255,255,.6);
    font-weight: 500;
    margin-bottom: 24px;
    max-width: 400px;
}
.store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    padding: 10px 18px;
    transition: background .2s;
}
.store-badge:hover { background: rgba(255,255,255,.18); }
.store-badge .icon { font-size: 24px; }
.store-badge .txt { text-align: left; }
.store-badge .txt small { display: block; font-size: 10px; color: rgba(255,255,255,.6); font-weight: 500; }
.store-badge .txt strong { display: block; font-size: 14px; color: #fff; font-weight: 700; }
.app-qr {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}
.app-qr .qr-box {
    width: 120px;
    height: 120px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 8px;
}
.app-qr span { font-size: 11px; font-weight: 600; color: var(--gray-500); }

/* ── CTA strip ── */
.cta-strip {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    color: #fff;
}
.cta-strip h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}
.cta-strip p {
    font-size: 16px;
    opacity: .85;
    font-weight: 500;
    margin-bottom: 28px;
}
.cta-strip .btn-white {
    background: #fff;
    color: var(--red);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    transition: transform .2s;
}
.cta-strip .btn-white:hover { transform: translateY(-2px); }

/* ── Footer v2 ── */
.footer-v2 {
    position: relative;
    background: linear-gradient(180deg, #0B1120 0%, #0F172A 100%);
    color: rgba(255,255,255,.62);
    padding: 0 0 28px;
    margin-top: 16px;
}
.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--red) 20%, #FFB800 50%, var(--red) 80%, transparent 100%);
    opacity: .85;
}
.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) minmax(0, 1.65fr);
    gap: 56px;
    padding: 56px 0 40px;
}
.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}
.footer-logo img {
    height: 48px;
    width: auto;
    display: block;
}
.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.72);
    margin-bottom: 18px;
    max-width: 380px;
}
.footer-company {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 22px;
}
.footer-company strong {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.88);
    line-height: 1.5;
}
.footer-company span {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,.5);
}
.footer-app-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-app-row a {
    display: block;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    transition: background .2s, transform .2s;
}
.footer-app-row a:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-1px);
}
.footer-app-row img { display: block; height: 32px; width: auto; }

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #fff;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.62);
    transition: color .2s, transform .2s;
    display: inline-block;
}
.footer-col a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,.62);
}
.footer-contact-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transform: none !important;
}
.footer-contact-list a:hover { color: #fff; }
.footer-contact-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.75);
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.75);
    transition: background .2s, color .2s, transform .2s;
    transform: none !important;
}
.footer-socials a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px) !important;
}

.footer-v2 .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-v2 .footer-bottom p {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,.42);
    line-height: 1.5;
    margin: 0;
}

/* Legacy footer (mockup reference) */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,.6);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .logo-text { color: #fff; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.7; font-weight: 500; }
.footer h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a {
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}
.footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}
.socials { display: flex; gap: 12px; }
.socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s;
}
.socials a:hover { background: var(--red); color: #fff; }

/* ── Preview ribbon ── */
.preview-ribbon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
}
.preview-ribbon span {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .promo-grid { grid-template-columns: 1fr; }
    .promo-create { padding: 32px; }
    .promo-create-inner { grid-template-columns: 1fr; gap: 20px; }
    .promo-create-side { min-width: 0; }
    .promo-highlight-stack {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .promo-highlight { flex: 1 1 100px; min-width: 100px; }
    .promo-app { grid-template-columns: 1fr; padding: 32px; }
    .promo-qr-card {
        justify-self: start;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
    }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .register-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-row { grid-template-columns: 1fr 1fr; }
    .t-card-featured { grid-row: span 1; grid-column: span 2; }
    .t-card-featured .t-card-cover { min-height: 240px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 32px; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-col-contact { grid-column: span 2; }

    /* Mobile header */
    .topbar {
        display: none;
    }
    .header {
        background: transparent;
        border-bottom: none;
        box-shadow: none;
    }
    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: block;
        width: 100%;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 42%),
            linear-gradient(135deg, #c42228 0%, #9f1819 55%, #861416 100%);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, .12) inset,
            0 8px 24px rgba(134, 20, 22, .28);
    }
    .hm-bar {
        display: grid;
        grid-template-columns: 48px 1fr 48px;
        align-items: center;
        gap: 8px;
        height: 64px;
        padding: 0 12px;
        max-width: var(--max);
        margin: 0 auto;
    }
    .hm-menu-btn,
    .hm-user-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 12px;
        background: rgba(255, 255, 255, .12);
        color: #fff;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset;
        transition: background .18s, border-color .18s, transform .18s;
    }
    .hm-menu-btn:active,
    .hm-user-btn:active {
        transform: scale(.96);
        background: rgba(255, 255, 255, .18);
    }
    .hm-menu-btn[aria-expanded="true"],
    .hm-user-btn[aria-expanded="true"] {
        background: rgba(0, 0, 0, .18);
        border-color: rgba(255, 255, 255, .35);
    }
    .hm-menu-icon {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        width: 16px;
    }
    .hm-menu-icon span {
        display: block;
        height: 2px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
    }
    .hm-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        justify-self: center;
    }
    .hm-logo img {
        height: 46px;
        width: auto;
        max-width: 100%;
        display: block;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .2));
    }
    .hm-user {
        position: relative;
        justify-self: end;
    }
    .hm-user-btn {
        gap: 0;
        width: 42px;
    }
    .hm-user-avatar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .hm-caret {
        display: none;
    }
    .hm-user-menu {
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        min-width: 168px;
        margin: 0;
        padding: 6px;
        list-style: none;
        background: #fff;
        border-radius: 14px;
        border: 1px solid rgba(15, 23, 42, .06);
        box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
        overflow: hidden;
        z-index: 30;
    }
    .hm-user-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        right: 14px;
        width: 12px;
        height: 12px;
        background: #fff;
        border-left: 1px solid rgba(15, 23, 42, .06);
        border-top: 1px solid rgba(15, 23, 42, .06);
        transform: rotate(45deg);
    }
    .hm-user-menu li {
        position: relative;
        z-index: 1;
    }
    .hm-user-menu .hm-user-name {
        padding: 10px 12px 8px;
        font-size: 12px;
        font-weight: 700;
        color: var(--navy);
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 4px;
    }
    .hm-user-menu a {
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        color: #334155;
    }
    .hm-user-menu a:hover {
        background: #f8fafc;
        color: var(--red);
    }
    .hm-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .7);
        z-index: 1400;
    }
    .hm-drawer-backdrop[hidden] {
        display: none !important;
    }
    .hm-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100%;
        z-index: 1500;
        background: linear-gradient(180deg, #1a1212 0%, #2a1818 42%, #1f1414 100%);
        color: #fff;
        overflow: hidden;
        transition: left .28s ease;
        box-shadow: 8px 0 32px rgba(0, 0, 0, .35);
    }
    .hm-drawer.show {
        left: 0;
    }
    .hm-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 14px 14px 16px;
        background: #b81e1f;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        flex-shrink: 0;
    }
    .hm-drawer-brand {
        display: flex;
        align-items: center;
        min-width: 0;
    }
    .hm-drawer-brand img {
        height: 40px;
        width: auto;
        display: block;
    }
    .hm-drawer-close {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: 10px;
        background: rgba(0, 0, 0, .18);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
    }
    .hm-drawer-nav {
        flex: 1;
        overflow-y: auto;
        padding: 14px 12px 8px;
        -webkit-overflow-scrolling: touch;
    }
    .hm-drawer-label {
        margin: 10px 8px 8px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .45);
    }
    .hm-drawer-label:first-child {
        margin-top: 0;
    }
    .hm-drawer ul {
        list-style: none;
        margin: 0 0 10px;
        padding: 6px;
        border-radius: 14px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .06);
    }
    .hm-drawer li {
        margin: 0;
    }
    .hm-drawer .hm-drawer-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 12px;
        margin: 2px 0;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: rgba(255, 255, 255, .9);
        transition: background .18s, color .18s;
    }
    .hm-ico {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .08);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: rgba(255, 255, 255, .85);
    }
    .hm-ico svg {
        width: 16px;
        height: 16px;
    }
    .hm-drawer .hm-drawer-nav a:hover {
        background: rgba(255, 255, 255, .08);
        color: #fff;
    }
    .hm-drawer .hm-drawer-nav a.active {
        background: rgba(184, 30, 31, .92);
        color: #fff;
        box-shadow: 0 6px 16px rgba(184, 30, 31, .35);
    }
    .hm-drawer .hm-drawer-nav a.active .hm-ico {
        background: rgba(255, 255, 255, .18);
        color: #fff;
    }
    .hm-drawer-foot {
        padding: 14px 16px 20px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        flex-shrink: 0;
        background: rgba(0, 0, 0, .18);
    }
    .hm-drawer-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 10px 16px;
        border-radius: 12px;
        background: #b81e1f;
        color: #fff !important;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 8px 20px rgba(184, 30, 31, .35);
    }
    .hm-drawer-cta:hover {
        background: #9f1819;
    }
    body.hm-drawer-open {
        overflow: hidden;
    }
}
@media (max-width: 1024px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .promo-create, .promo-app { padding: 24px; border-radius: 20px; }
    .promo-features { gap: 6px; }
    .promo-features li { font-size: 11px; }
    .promo-qr-card { display: none; }
    .promo-store-link img { height: 32px; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-item { padding: 16px; gap: 12px; }
    .stat-icon { width: 42px; height: 42px; border-radius: 11px; }
    .stat-icon svg { width: 20px; height: 20px; }
    .stat-num { font-size: 20px; }
    .match-league { display: none; }
    .match-chip { padding: 14px 16px; gap: 10px; }
    .match-team { max-width: 72px; font-size: 12px; }
    .hero-bridge { margin-top: -32px; padding-bottom: 32px; }
    .card-grid, .featured-row { grid-template-columns: 1fr; }
    .register-grid { grid-template-columns: 1fr; }
    .t-card-featured { grid-column: span 1; }
    .app-banner .inner { grid-template-columns: 1fr; padding: 32px 24px; }
    .app-qr { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-main { padding: 32px 0 24px; }
    .footer-links-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-col-contact { grid-column: span 1; }
    .footer-v2 .footer-bottom { flex-direction: column; text-align: center; }
    .footer-app-row img { height: 28px; }
    .hero .wrap { padding: 56px 24px 72px; }
    .section { padding: 48px 0; }
    .fl-v2-search .search-page-hero .wrap { padding: 28px 20px 44px; }
    .fl-v2-search .search-box-page {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        border-radius: 16px;
    }
    .fl-v2-search .search-box-page button {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    .fl-v2-search .search-result-badge {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 16px;
    }
}

/* Integration tweaks */
a.t-card-cover { display: block; color: inherit; }
.t-card-body h3 a { color: inherit; }
.t-card-body h3 a:hover { color: var(--red); }
.filters a.filter-tab { text-decoration: none; display: inline-flex; align-items: center; }
.search-box input { border: none; outline: none; background: transparent; flex: 1; font-family: inherit; font-size: 15px; color: var(--navy); }
.search-box button { border: none; cursor: pointer; font-family: inherit; }
.fl-v2 .logo img { display: block; }

/* ── Register online section ── */
.section-register {
    background: linear-gradient(180deg, #F0FDF4 0%, var(--gray-50) 100%);
    border-top: 1px solid #DCFCE7;
    border-bottom: 1px solid #DCFCE7;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--green);
    margin-bottom: 8px;
}
.section-label .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(22,163,74,.18);
    animation: register-pulse 2s infinite;
}
@keyframes register-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}
.register-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.section-register .list-load-more {
    text-align: center;
    margin-top: 32px;
}
.register-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #DCFCE7;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.register-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #86EFAC;
}
.register-card-cover {
    display: block;
    position: relative;
    height: 140px;
    overflow: hidden;
    color: inherit;
}
.register-card-cover .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .4s;
}
.register-card:hover .register-card-cover .bg { transform: scale(1.05); }
.register-card-cover .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.72) 0%, transparent 55%);
}
.register-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(22,163,74,.35);
}
.register-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}
.register-deadline {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--navy);
}
.register-card-body { padding: 16px 18px 18px; }
.register-card-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.register-card-body h3 a { color: inherit; }
.register-card-body h3 a:hover { color: var(--red); }
.register-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.register-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}
.register-deadline-text { color: var(--green) !important; font-weight: 600 !important; }
.register-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}
.register-info {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}
.register-info strong { color: var(--navy); }
.register-btn {
    flex-shrink: 0;
    padding: 8px 14px !important;
    font-size: 12px !important;
    box-shadow: 0 4px 12px rgba(225,29,46,.25);
}

/* Register grid was defined after the main responsive block — re-assert breakpoints here */
@media (max-width: 1024px) {
    .register-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}
@media (max-width: 640px) {
    .topbar-inner,
    .topbar .wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 16px 12px;
        min-height: 0;
    }
    .topbar-brand {
        justify-content: center;
    }
    .topbar-brand-text {
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }
    .topbar-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    .topbar-links a {
        padding: 7px 11px;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .08);
        font-size: 11px;
    }
    .hm-logo img {
        height: 42px;
    }
    .hm-bar {
        height: 60px;
    }
    .register-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .register-card-cover {
        height: 160px;
    }
    .register-card-body {
        padding: 14px 16px 16px;
    }
    .register-card-body h3 {
        font-size: 16px;
        -webkit-line-clamp: 3;
    }
    .register-card-meta span {
        font-size: 13px;
        white-space: normal;
        align-items: flex-start;
    }
    .register-card-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .register-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
    .section-register .section-head h2 {
        font-size: 22px;
    }
    .section-register .section-head p {
        font-size: 14px;
    }
}

/* Search page v2 */
.fl-v2-search .search-page-hero,
.fl-v2-list .list-page-hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}
.fl-v2-search .search-page-bg,
.fl-v2-list .search-page-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(15,23,42,.97) 0%, rgba(15,23,42,.82) 45%, rgba(185,28,28,.22) 100%),
        url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1600&q=80') center/cover no-repeat;
}
.fl-v2-search .search-page-pattern,
.fl-v2-list .search-page-pattern {
    position: absolute;
    inset: 0;
    opacity: .05;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
    background-size: 28px 28px;
}
.fl-v2-search .search-page-hero .wrap,
.fl-v2-list .list-page-hero .wrap {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 36px 24px 56px;
    text-align: center;
}
.fl-v2-search .search-breadcrumb,
.fl-v2-list .search-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    margin-bottom: 28px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
}
.fl-v2-search .search-breadcrumb a,
.fl-v2-list .search-breadcrumb a {
    color: rgba(255,255,255,.85);
    transition: color .15s;
}
.fl-v2-search .search-breadcrumb a:hover,
.fl-v2-list .search-breadcrumb a:hover { color: #fff; }
.fl-v2-search .search-breadcrumb svg,
.fl-v2-list .search-breadcrumb svg { opacity: .45; flex-shrink: 0; }
.fl-v2-search .search-breadcrumb [aria-current="page"],
.fl-v2-list .search-breadcrumb [aria-current="page"] { color: rgba(255,255,255,.65); }
.fl-v2-search .search-page-head,
.fl-v2-list .search-page-head {
    margin-bottom: 28px;
}
.fl-v2-search .search-page-hero h1,
.fl-v2-list .list-page-hero h1 {
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 14px;
    color: #fff;
}
.fl-v2-search .search-page-desc,
.fl-v2-list .search-page-desc {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,.65);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}
.fl-v2-search .search-result-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
}
.fl-v2-search .search-result-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(225,29,46,.4);
}
.fl-v2-search .search-result-text,
.fl-v2-search .search-result-empty {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
}
.fl-v2-search .search-result-badge q {
    font-style: normal;
    color: #fff;
    font-weight: 700;
}
.fl-v2-search .search-box-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 8px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.08);
    background: rgba(255,255,255,.98);
}
.fl-v2-search .search-box-page .search-box-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.fl-v2-search .search-box-page .search-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-left: 4px;
    border-radius: 10px;
    background: var(--gray-100);
    color: var(--gray-500);
}
.fl-v2-search .search-box-page input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px 8px 12px 0;
    font-size: 16px;
}
.fl-v2-search .search-box-page input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.fl-v2-search .search-box-page button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(225,29,46,.35);
}
.fl-v2-search .search-box-page button svg { flex-shrink: 0; }
.fl-v2-search .search-page-main,
.fl-v2-list .list-page-main {
    padding: 40px 0 64px;
    background: var(--gray-50);
    min-height: 40vh;
}
.fl-v2-search .search-results-grid {
    margin-bottom: 32px;
}
.fl-v2-search .search-empty,
.fl-v2-list .search-empty {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 4px 24px rgba(15,23,42,.04);
}
.fl-v2-search .search-empty-icon,
.fl-v2-list .search-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-400);
    margin-bottom: 20px;
}
.fl-v2-search .search-empty h2,
.fl-v2-list .search-empty h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.fl-v2-search .search-empty p,
.fl-v2-list .search-empty p {
    font-size: 14px;
    color: var(--gray-500);
    max-width: 420px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.fl-v2-search .search-pagination {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.fl-v2-search .pagination-v2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fl-v2-search .pagination-v2 li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    background: #fff;
    border: 1px solid var(--gray-200);
    transition: all .15s ease;
}
.fl-v2-search .pagination-v2 li a:hover {
    border-color: var(--red);
    color: var(--red);
}
.fl-v2-search .pagination-v2 li.active a {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}
.fl-v2-search .pagination-v2 li.disabled a {
    opacity: .4;
    pointer-events: none;
}

/* League list page v2 */
.fl-v2-list .list-page-hero .wrap {
    padding-bottom: 40px;
}
.fl-v2-list .filters-hero {
    justify-content: center;
    margin-bottom: 0;
}
.fl-v2-list .filters-hero .filter-tab {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    color: rgba(255,255,255,.85);
}
.fl-v2-list .filters-hero .filter-tab:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.28);
    color: #fff;
}
.fl-v2-list .filters-hero .filter-tab.active {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}
.fl-v2-list .list-load-more {
    text-align: center;
    margin-top: 36px;
}
