/* ══════════════════════════════════════════════════════
   34bet.com — Premium Sports Platform Stylesheet
   ══════════════════════════════════════════════════════
   Design: Apple-inspired frosted glass, dark premium
   Typography: Inter + Space Grotesk
   ══════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Core Palette */
    --bg-primary: #0A0E17;
    --bg-secondary: #111827;
    --bg-tertiary: #1A2035;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-glass: rgba(15, 23, 42, 0.75);
    --bg-glass-light: rgba(255, 255, 255, 0.06);

    /* Accent */
    --accent: #00D4FF;
    --accent-dim: rgba(0, 212, 255, 0.15);
    --accent-glow: rgba(0, 212, 255, 0.3);
    --accent2: #7B61FF;
    --accent2-dim: rgba(123, 97, 255, 0.15);
    --gradient: linear-gradient(135deg, #00D4FF, #7B61FF);
    --gradient-text: linear-gradient(135deg, #00D4FF 0%, #7B61FF 100%);

    /* Text */
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dim: #475569;

    /* Status */
    --live: #EF4444;
    --live-glow: rgba(239, 68, 68, 0.3);
    --win: #10B981;
    --draw: #F59E0B;
    --loss: #EF4444;

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(0, 212, 255, 0.3);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.15);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --gap-xs: 4px;
    --gap-sm: 8px;
    --gap-md: 16px;
    --gap-lg: 24px;
    --gap-xl: 32px;
    --gap-2xl: 48px;
    --gap-3xl: 64px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.25s;
}


/* ─── Reset & Base ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle mesh gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(123, 97, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

a:hover {
    color: #33DDFF;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--gap-lg);
}


/* ═══════════════════════════════════════════
   TOP LIVE SCORE TICKER BAR
   ═══════════════════════════════════════════ */
.top-live-bar {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.08), rgba(15, 23, 42, 0.95), rgba(123, 97, 255, 0.08));
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.top-live-bar__inner {
    display: flex;
    align-items: center;
    height: 40px;
    gap: var(--gap-md);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--gap-lg);
}

.top-live-bar__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--live);
    white-space: nowrap;
    flex-shrink: 0;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: var(--live);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px var(--live-glow);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.top-live-bar__ticker {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
}

.top-live-bar__ticker::-webkit-scrollbar {
    display: none;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    padding: 4px 12px;
    background: var(--bg-glass-light);
    border-radius: var(--radius-full);
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    border: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.ticker-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.ticker-item--live {
    border-color: rgba(239, 68, 68, 0.3);
}

.ticker-item img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ticker-item__score {
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.ticker-item__vs {
    color: var(--text-muted);
    font-size: 10px;
}

.ticker-item__status {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: var(--radius-full);
}

.ticker-loading {
    color: var(--text-muted);
    font-size: 12px;
    animation: fadePulse 1.5s ease-in-out infinite;
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}


/* ═══════════════════════════════════════════
   MAIN HEADER / NAVIGATION
   ═══════════════════════════════════════════ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: var(--gap-lg);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo__accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo__tagline {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass-light);
}

.nav-link--active {
    color: var(--accent);
    background: var(--accent-dim);
}

.nav-link--live {
    color: var(--live);
}

.nav-link--live:hover {
    color: #FF6666;
    background: rgba(239, 68, 68, 0.1);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--live);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__trigger {
    font-size: 13.5px;
    font-weight: 500;
}

.nav-dropdown__arrow {
    font-size: 9px;
    transition: transform var(--duration) var(--ease);
}

.nav-dropdown:hover .nav-dropdown__arrow {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 220px;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.nav-dropdown__item:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.nav-dropdown__item i {
    width: 18px;
    text-align: center;
    color: var(--accent);
    font-size: 13px;
}

/* Search */
.nav-search {
    position: relative;
}

.nav-search__toggle {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--duration) var(--ease);
}

.nav-search__toggle:hover {
    background: var(--bg-glass-light);
    color: var(--text-primary);
}

.nav-search__panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: var(--gap-md) var(--gap-lg);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s var(--ease);
}

.nav-search__panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-search__form {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-full);
    padding: 8px 16px;
}

.nav-search__icon {
    color: var(--text-muted);
    font-size: 14px;
}

.nav-search__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
}

.nav-search__input::placeholder {
    color: var(--text-dim);
}

.nav-search__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    transition: all var(--duration) var(--ease);
}

.nav-search__close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.nav-search__results {
    max-width: 700px;
    margin: var(--gap-md) auto 0;
    max-height: 400px;
    overflow-y: auto;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--radius-md);
}

.mobile-toggle__bar {
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

.mobile-toggle.active .mobile-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-toggle.active .mobile-toggle__bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .mobile-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ═══════════════════════════════════════════
   SPORT CATEGORY BAR
   ═══════════════════════════════════════════ */
.sport-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 80;
}

.sport-bar__scroll {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sport-bar__scroll::-webkit-scrollbar {
    display: none;
}

.sport-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.sport-chip:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.sport-chip--active {
    color: var(--accent);
    background: var(--accent-dim);
    border-color: var(--border-accent);
}

.sport-chip i {
    font-size: 11px;
}


/* ═══════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════ */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 60vh;
    padding: var(--gap-xl) 0 var(--gap-3xl);
}


/* ═══════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--gap-lg);
    gap: var(--gap-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 16px;
    color: var(--accent);
}

.section-title__accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all var(--duration) var(--ease);
}

.section-link:hover {
    gap: 8px;
}


/* ═══════════════════════════════════════════
   GLASS CARD
   ═══════════════════════════════════════════ */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--duration) var(--ease);
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
}

.glass-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--gap-md) var(--gap-lg);
    border-bottom: 1px solid var(--border);
}

.glass-card__title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.glass-card__body {
    padding: var(--gap-md) var(--gap-lg);
}


/* ═══════════════════════════════════════════
   HOMEPAGE LAYOUT
   ═══════════════════════════════════════════ */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--gap-xl);
    align-items: start;
}

.home-main {
    min-width: 0;
}

.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
    position: sticky;
    top: 130px;
}


/* ═══════════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════════ */
.hero-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--gap-xl);
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid var(--border);
}

.hero-banner__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(0, 212, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 20% 80%, rgba(123, 97, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-banner__content {
    position: relative;
    padding: var(--gap-2xl) var(--gap-xl);
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.hero-banner__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.hero-banner__title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-banner__subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.6;
}

.hero-banner__stats {
    display: flex;
    gap: var(--gap-xl);
    margin-top: var(--gap-md);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat__value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat__label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════
   MATCH CARD
   ═══════════════════════════════════════════ */
.match-card {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    padding: var(--gap-md) var(--gap-lg);
    border-bottom: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.match-card:last-child {
    border-bottom: none;
}

.match-card:hover {
    background: var(--bg-card-hover);
}

.match-card__time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    gap: 2px;
}

.match-card__time-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.match-card__time-date {
    font-size: 10px;
    color: var(--text-muted);
}

.match-card__teams {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.match-card__team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.match-card__badge {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.match-card__name {
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-card__name--winner {
    font-weight: 700;
    color: var(--text-primary);
}

.match-card__score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 32px;
}

.match-card__score-value {
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.match-card__status {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-live {
    color: var(--live);
    background: rgba(239, 68, 68, 0.12);
    animation: pulse 2s ease-in-out infinite;
}

.status-finished {
    color: var(--text-muted);
    background: var(--bg-glass-light);
}

.status-upcoming {
    color: var(--accent);
    background: var(--accent-dim);
}

.status-cancelled {
    color: var(--draw);
    background: rgba(245, 158, 11, 0.12);
}

.match-card__league {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 36px;
    justify-content: flex-end;
}

.match-card__league-badge {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.6;
}

.match-card__arrow {
    color: var(--text-dim);
    font-size: 11px;
    transition: transform var(--duration) var(--ease);
}

.match-card:hover .match-card__arrow {
    transform: translateX(3px);
    color: var(--accent);
}

.match-card__ht {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-glass-light);
    padding: 1px 6px;
    border-radius: var(--radius-full);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.match-card__team-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.match-card__scorers {
    font-size: 10px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: -2px;
}


/* ═══════════════════════════════════════════
   LEAGUE GROUP
   ═══════════════════════════════════════════ */
.league-group {
    margin-bottom: var(--gap-xl);
}

.league-group__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--gap-sm) 0;
    margin-bottom: var(--gap-sm);
}

.league-group__badge {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.league-group__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.league-group__country {
    font-size: 11px;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════
   STANDINGS TABLE
   ═══════════════════════════════════════════ */
.standings-mini {
    width: 100%;
}

.standings-mini table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.standings-mini th {
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.standings-mini th:not(:first-child) {
    text-align: center;
}

.standings-mini td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    font-variant-numeric: tabular-nums;
}

.standings-mini td:not(:first-child) {
    text-align: center;
    color: var(--text-secondary);
}

.standings-mini tr:last-child td {
    border-bottom: none;
}

.standings-mini tr:hover td {
    background: var(--bg-card-hover);
}

.standings-mini__pos {
    font-weight: 700;
    color: var(--text-muted);
    width: 28px;
}

.standings-mini__team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.standings-mini__badge {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.standings-mini__name {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.standings-mini__pts {
    font-weight: 700;
    color: var(--accent) !important;
}

.form-indicator {
    display: inline-flex;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: white;
    margin: 0 1px;
}

.form-w {
    background: var(--win);
}

.form-d {
    background: var(--draw);
}

.form-l {
    background: var(--loss);
}


/* ═══════════════════════════════════════════
   FEATURED LEAGUES GRID
   ═══════════════════════════════════════════ */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--gap-md);
    margin-bottom: var(--gap-xl);
}

.league-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-sm);
    padding: var(--gap-lg) var(--gap-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    text-align: center;
}

.league-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.league-card__badge {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.league-card__name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.league-card__sport {
    font-size: 10px;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════
   NEWS / HIGHLIGHTS CARD
   ═══════════════════════════════════════════ */
.highlight-card {
    display: flex;
    gap: var(--gap-md);
    padding: var(--gap-md);
    border-bottom: 1px solid var(--border);
    transition: background var(--duration) var(--ease);
    text-decoration: none;
    color: var(--text-primary);
}

.highlight-card:hover {
    background: var(--bg-card-hover);
}

.highlight-card:last-child {
    border-bottom: none;
}

.highlight-card__thumb {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: var(--bg-tertiary);
}

.highlight-card__info {
    flex: 1;
    min-width: 0;
}

.highlight-card__title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.highlight-card__meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: var(--gap-3xl) 0 var(--gap-xl);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--gap-2xl);
    margin-bottom: var(--gap-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--gap-md);
}

.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--gap-md);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--gap-xl);
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-dim);
}

.footer-bottom__credit {
    color: var(--text-dim);
}


/* ═══════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-dim);
    border-color: var(--border-accent);
    color: var(--accent);
}


/* ═══════════════════════════════════════════
   LOADING SKELETON
   ═══════════════════════════════════════════ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 80%;
}

.skeleton-text--short {
    width: 40%;
}

.skeleton-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


/* ═══════════════════════════════════════════
   NO DATA STATE
   ═══════════════════════════════════════════ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--gap-3xl) var(--gap-xl);
    text-align: center;
}

.empty-state__icon {
    font-size: 48px;
    color: var(--text-dim);
    margin-bottom: var(--gap-md);
}

.empty-state__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--gap-sm);
}

.empty-state__text {
    font-size: 13px;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════
   BUTTON STYLES
   ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient);
    color: white;
    border: none;
}

.btn--primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
    color: white;
}

.btn--outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--border-accent);
}

.btn--outline:hover {
    background: var(--accent-dim);
    color: var(--accent);
}

.btn--ghost {
    background: var(--bg-glass-light);
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn--ghost:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn--sm {
    padding: 6px 12px;
    font-size: 12px;
}


/* ═══════════════════════════════════════════
   TAB NAVIGATION
   ═══════════════════════════════════════════ */
.tabs {
    display: flex;
    gap: 2px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 3px;
    border: 1px solid var(--border);
    margin-bottom: var(--gap-lg);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.tab:hover {
    color: var(--text-primary);
    background: var(--bg-glass-light);
}

.tab--active {
    color: var(--accent);
    background: var(--accent-dim);
    font-weight: 600;
}


/* ═══════════════════════════════════════════
   DATE PICKER BAR
   ═══════════════════════════════════════════ */
.date-bar {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-lg);
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.date-bar::-webkit-scrollbar {
    display: none;
}

.date-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    flex-shrink: 0;
    min-width: 58px;
    text-decoration: none;
}

.date-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.date-btn--active {
    background: var(--accent-dim);
    border-color: var(--border-accent);
}

.date-btn__day {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.date-btn--active .date-btn__day {
    color: var(--accent);
}

.date-btn__num {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.date-btn--active .date-btn__num {
    color: var(--accent);
}

.date-btn__month {
    font-size: 9px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .home-grid {
        grid-template-columns: 1fr;
    }

    .home-sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--gap-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --gap-lg: 16px;
        --gap-xl: 24px;
        --gap-2xl: 32px;
        --gap-3xl: 48px;
    }

    .container {
        padding: 0 var(--gap-md);
    }

    /* Mobile Nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-glass);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 80px var(--gap-lg) var(--gap-xl);
        transition: right 0.35s var(--ease);
        z-index: 150;
        overflow-y: auto;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        padding: 12px var(--gap-md);
        font-size: 15px;
    }

    .nav-dropdown__menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        backdrop-filter: none;
        padding-left: var(--gap-lg);
        display: none;
    }

    .nav-dropdown.open .nav-dropdown__menu {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero-banner__content {
        padding: var(--gap-xl) var(--gap-lg);
    }

    .hero-banner__title {
        font-size: 24px;
    }

    .hero-banner__stats {
        flex-wrap: wrap;
        gap: var(--gap-lg);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--gap-sm);
        text-align: center;
    }

    /* Leagues Grid */
    .leagues-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Section */
    .section-header {
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .logo__tagline {
        display: none;
    }

    .hero-banner__stats {
        gap: var(--gap-md);
    }

    .hero-stat__value {
        font-size: 20px;
    }

    .leagues-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .match-card {
        padding: var(--gap-sm) var(--gap-md);
        gap: var(--gap-sm);
    }

    .match-card__league {
        display: none;
    }

    .top-live-bar__inner {
        padding: 0 var(--gap-md);
    }
}


/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.mb-sm {
    margin-bottom: var(--gap-sm);
}

.mb-md {
    margin-bottom: var(--gap-md);
}

.mb-lg {
    margin-bottom: var(--gap-lg);
}

.mb-xl {
    margin-bottom: var(--gap-xl);
}

.mt-md {
    margin-top: var(--gap-md);
}

.mt-lg {
    margin-top: var(--gap-lg);
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-sm {
    gap: var(--gap-sm);
}

.gap-md {
    gap: var(--gap-md);
}

/* Mobile overlay when nav is open */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ─── Lazy Loading & Animations ─── */
/* ─── Skeleton Loading (Premium Shimmer) ─── */
.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 37%,
            rgba(255, 255, 255, 0.03) 63%);
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.4s ease infinite;
    border-radius: var(--radius-sm);
    display: inline-block;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.skeleton-card {
    height: 80px;
    width: 100%;
    margin-bottom: var(--gap-md);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}

.skeleton-text {
    height: 12px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.skeleton-match {
    display: flex;
    align-items: center;
    padding: var(--gap-md) var(--gap-lg);
    gap: var(--gap-lg);
    border-bottom: 1px solid var(--border);
}

.skeleton-match__time {
    width: 40px;
    height: 30px;
}

.skeleton-match__teams {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-match__team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skeleton-match__badge {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.skeleton-match__name {
    width: 120px;
    height: 14px;
}

/* ─── Standard Loaders & Animations ─── */
.loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-in.animated {
    opacity: 1;
    transform: translateY(0);
}

.py-xl {
    padding-top: var(--gap-xl);
    padding-bottom: var(--gap-xl);
}