/**
 * Vietnam Football Portal - PORTAL GRID LAYOUT v2
 * Differentiated from f.28094.com - Premium Portal Design
 * Glassmorphism + Grid Modules + Modern Sports Aesthetics
 */

/* ===========================
   CSS VARIABLES & RESET
   =========================== */
:root {
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --secondary: #059669;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --bg-page: #f1f5f9;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #16a34a;
    --success-bg: #dcfce7;
    --warning: #d97706;
    --warning-bg: #fef3c7;
    --danger: #dc2626;
    --danger-bg: #fee2e2;
    --info: #0284c7;
    --info-bg: #e0f2fe;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
    --transition-base: 0.3s cubic-bezier(0.4,0,0.2,1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --nav-height: 64px;
    --topbar-height: 36px;
    --card-gap: 24px;
    --card-padding: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 24px 24px;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Text selection */
::selection { background: rgba(29,78,216,0.15); color: var(--primary-dark); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Entrance animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }

/* ===========================
   TOP BAR (Slim Utility Bar)
   =========================== */
.topbar-v2 {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    color: #94a3b8;
    font-size: 0.78rem;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 200;
}
.topbar-date { font-weight: 500; color: #94a3b8; }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-links a { color: #64748b; font-weight: 500; transition: color 0.2s; }
.topbar-links a:hover { color: #1d4ed8; }
.topbar-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #16a34a;
    color: white;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.topbar-live-badge .dot {
    width: 6px; height: 6px; background: white; border-radius: 50%;
    animation: pulse-dot 1.2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.topbar-v2-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===========================
   NAVIGATION (Fixed, Clean White)
   =========================== */
.nav-main {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    z-index: 190;
    transition: box-shadow 0.3s;
}
.nav-main.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.nav-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 24px;
}
.nav-logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 2px 8px rgba(29,78,216,0.3);
    flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-main { font-size: 1.15rem; font-weight: 800; color: var(--primary); letter-spacing: -0.3px; }
.nav-logo-sub { font-size: 0.65rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* Main Nav Links */
.nav-links { display: flex; align-items: center; gap: 0; flex: 1; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
    display: flex;
    align-items: center;
    padding: 7px 12px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.84rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-link.active { background: var(--primary); color: white; }

/* Nav Right Actions */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

.nav-search-wrap { position: relative; }
.nav-search-input {
    width: 160px;
    padding: 7px 12px 7px 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-page);
    font-size: 0.82rem;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s;
}
.nav-search-input:focus { width: 220px; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(29,78,216,0.1); }
.nav-search-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 0.9rem; pointer-events: none;
}

/* League Dropdown */
.nav-league-select {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}
.nav-league-select:hover { border-color: var(--primary); }

/* Mobile Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}
.nav-hamburger span {
    width: 22px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: all 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 180;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-drawer.open { opacity: 1; pointer-events: all; }
.mobile-drawer-inner {
    background: white;
    padding: 20px;
    transform: translateY(-20px);
    transition: transform 0.3s;
}
.mobile-drawer.open .mobile-drawer-inner { transform: translateY(0); }
.mobile-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}
.mobile-nav-link:hover { background: var(--bg-page); }

/* Mobile Bottom Tabs */
.mobile-bottom-tabs {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 56px;
    background: white;
    border-top: 1px solid var(--border-color);
    z-index: 200;
    padding: 0 8px;
}
.bottom-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    transition: color 0.2s;
    cursor: pointer;
}
.bottom-tab-item.active { color: var(--primary); }
.bottom-tab-item .tab-icon { font-size: 1.2rem; }

/* ===========================
   PAGE WRAPPER
   =========================== */
.page-wrapper {
    padding-top: var(--nav-height);
    min-height: 100vh;
}

/* ===========================
   SECTION 1: HERO SPLIT (70/30 - Premium Visual Design)
   =========================== */
.hero-split {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #f0f9ff 100%);
    color: #0f172a;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}
.hero-split::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(29,78,216,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-split::after {
    content: '';
    position: absolute;
    bottom: -40%; left: 20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-split-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 0;
    position: relative;
    z-index: 1;
    min-height: 420px;
}

/* Hero Left: Featured Carousel */
.hero-carousel-wrap { padding: 32px 24px 32px 24px; }
.hero-carousel-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: #1d4ed8;
    border: none;
    padding: 5px 14px; border-radius: var(--radius-full);
    font-size: 0.78rem; font-weight: 700;
    color: white;
    margin-bottom: 20px;
}
.hero-carousel-label .live-dot {
    width: 7px; height: 7px; background: #4ade80;
    border-radius: 50%; animation: pulse-dot 1.2s infinite;
}
.carousel-container { position: relative; }
.carousel-track { display: none; }
.carousel-track.active { display: block; }
.carousel-slide {
    position: relative;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    border-radius: var(--radius-xl);
    padding: 0;
    cursor: pointer;
    transition: all 0.35s;
    box-shadow: 0 8px 32px rgba(29,78,216,0.25);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.carousel-slide:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(29,78,216,0.35);
}
.carousel-slide::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.carousel-slide-content {
    position: relative;
    z-index: 2;
    padding: 32px 36px;
}
.carousel-slide-league {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    background: rgba(255,255,255,0.15);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    width: fit-content;
}
.carousel-slide-teams {
    display: flex; align-items: center; gap: 20px;
    justify-content: center; margin-bottom: 16px;
    position: relative;
}
.carousel-team {
    flex: 1; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.carousel-team-emblem {
    width: 64px; height: 64px; margin: 0 auto 0;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    object-fit: contain;
    transition: transform 0.3s;
}
.carousel-slide:hover .carousel-team-emblem { transform: scale(1.08); }
.carousel-team-name {
    font-size: 0.95rem; font-weight: 700; color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.carousel-score-wrap {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.carousel-score {
    font-size: 3rem; font-weight: 900;
    color: white; text-align: center;
    min-width: 90px;
    letter-spacing: -1px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.carousel-live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem; font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.carousel-live-badge .pulse-ring {
    width: 6px; height: 6px; background: white;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
    70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.carousel-slide-time {
    text-align: center;
    font-size: 0.82rem; color: rgba(255,255,255,0.7);
    font-weight: 500;
    background: rgba(0,0,0,0.15);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    width: fit-content;
    margin: 0 auto;
    backdrop-filter: blur(6px);
    display: flex; align-items: center; gap: 6px;
}
.carousel-slide-time .clock-icon {
    opacity: 0.8;
}
.carousel-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 20px;
}
.carousel-dot {
    width: 8px; height: 8px; background: rgba(255,255,255,0.4);
    border-radius: 50%; cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.carousel-dot.active { width: 28px; border-radius: 4px; background: white; }

/* Hero Right: Live Vertical List */
.hero-live-sidebar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(226,232,240,0.8);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
}
.hero-live-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.hero-live-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-live-count {
    background: #16a34a; color: white;
    font-size: 0.7rem; font-weight: 800;
    padding: 2px 10px; border-radius: var(--radius-full);
    min-width: 22px; text-align: center;
}
.hero-live-list { flex: 1; overflow-y: auto; max-height: 380px; display: flex; flex-direction: column; gap: 10px; }
.hero-live-list::-webkit-scrollbar { width: 4px; }
.hero-live-list::-webkit-scrollbar-track { background: transparent; }
.hero-live-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }
.hero-live-viewall {
    display: block;
    text-align: center;
    padding: 10px 0 0;
    margin-top: 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: none;
    transition: color 0.2s;
}
.hero-live-viewall:hover { color: #0f172a; }

.live-card-mini {
    display: block;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: inherit;
}
.live-card-mini:hover {
    border-color: rgba(29,78,216,0.4);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.live-card-mini-accent {
    height: 3px;
    width: 100%;
}
.live-card-mini-body {
    padding: 10px 12px 12px;
}
.live-card-mini-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.live-card-mini-league {
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: #1d4ed8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}
.live-card-mini-badge {
    font-size: 0.65rem; font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #64748b;
    flex-shrink: 0;
}
.live-card-mini-badge.live {
    background: #dcfce7;
    color: #16a34a;
    animation: pulse-live 2s infinite;
}
.live-card-mini-badge.upcoming {
    background: #eff6ff;
    color: #2563eb;
}
@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.live-card-mini-row {
    margin-bottom: 4px;
}
.live-card-mini-row:last-child {
    margin-bottom: 0;
}
.live-card-mini-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
}
.live-team-logo {
    width: 22px; height: 22px;
    border-radius: 50%;
    object-fit: contain;
    background: #f8fafc;
    flex-shrink: 0;
}
.live-team-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}
.live-card-mini-team-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.live-card-mini-score-val {
    font-weight: 900;
    font-size: 0.9rem;
    color: #0f172a;
    min-width: 18px;
    text-align: right;
}
.live-card-mini.upcoming .live-card-mini-team-name {
    font-weight: 500;
    color: #475569;
}
.live-empty-state {
    text-align: center;
    padding: 24px 12px;
    color: #94a3b8;
}
.live-empty-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}
.live-empty-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}
.live-empty-sub {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ===========================
   SECTION 2: MATCHES GRID (3-Col - Premium Cards)
   =========================== */
.section-matches {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* League Filter Tabs (Horizontal Scroll) */
.league-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.league-filter-bar::-webkit-scrollbar { display: none; }
.league-filter-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}
.league-filter-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.league-filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.league-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Match Cards Grid (3 columns) */
.matches-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.match-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.match-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-color: transparent;
}
.match-card-banner {
    position: relative;
    height: 48px;
    overflow: hidden;
    background-size: 200% 100%;
}
.match-card-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: inherit;
    filter: brightness(0.85);
}
.match-card-banner::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0s;
}
.match-card:hover .match-card-banner::after {
    animation: shimmer-banner 1.8s infinite;
}
@keyframes shimmer-banner {
    0% { left: -100%; }
    100% { left: 150%; }
}
/* Diagonal stripe pattern on banner */
.match-card-banner .stripe {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.06) 8px,
        transparent 8px,
        transparent 16px
    );
}
.match-card-body { padding: 20px; }
.match-card-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.match-card-league {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.match-card-time {
    font-size: 0.8rem; color: var(--text-muted); font-weight: 600;
    display: flex; align-items: center; gap: 4px;
}
.match-teams-row {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.match-team-block { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.match-team-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800; color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    text-transform: uppercase;
    overflow: hidden;
}
.match-team-avatar img {
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 4px;
}
.match-team-name {
    font-size: 0.82rem; font-weight: 700; color: var(--text-primary);
    line-height: 1.3; text-align: center;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.match-team-name.home { text-align: center; }
.match-score-block {
    text-align: center; min-width: 70px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.match-score-display {
    font-size: 1.8rem; font-weight: 900; color: var(--text-primary);
    letter-spacing: -1px; line-height: 1;
    background: var(--bg-page);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
}
.match-card:hover .match-score-display {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.match-score-display.tbd { color: var(--text-muted); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; background: var(--bg-page); border-color: var(--border-color); }
.match-status-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.65rem; font-weight: 700;
    padding: 3px 10px; border-radius: var(--radius-full);
}
.match-status-badge.live { background: #fff3e0; color: #e65100; }
.match-status-badge.live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e65100;
    animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.match-status-badge.ft { background: #f1f5f9; color: #64748b; }
.match-status-badge.ft::before { display: none; }
.match-status-badge.ns { background: #e0f2fe; color: #0284c7; }
.match-status-badge.et { background: #fce7f3; color: #db2777; }
.match-card-footer {
    padding: 10px 20px;
    border-top: 1px solid var(--border-light);
    display: flex; justify-content: flex-end;
}
.match-card-action {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.78rem; font-weight: 700; color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    border: 1px solid transparent;
}
.match-card:hover .match-card-action {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===========================
   SECTION 3: DATA ZONE (3-Column - Premium Cards)
   =========================== */
.section-data {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 32px;
}
.data-zone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.data-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}
.data-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
}
.data-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.data-card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 20px;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-light);
}
.data-card-title {
    font-size: 0.9rem; font-weight: 800; color: var(--text-primary);
    display: flex; align-items: center; gap: 8px;
}
.data-card-title-icon { font-size: 1.1rem; display: flex; align-items: center; }
.data-card-tabs { display: flex; gap: 4px; }
.data-tab-btn {
    padding: 4px 10px; background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.75rem; font-weight: 600;
    color: var(--text-secondary); cursor: pointer;
    transition: all 0.15s;
}
.data-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.data-tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Standings Table */
.standings-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.standings-table th {
    padding: 10px 12px;
    font-size: 0.72rem; font-weight: 700;
    color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
/* Fixed width columns: rank(36px), team(flex), P W D L GD PTS(48px each) */
.standings-table th:nth-child(1) { width: 36px; text-align: center; }
.standings-table th:nth-child(2) { width: auto; text-align: left; }
.standings-table th:nth-child(n+3):nth-child(-n+9) { width: 44px; }
.standings-table th:nth-child(3) { width: 44px; } /* P */
.standings-table th:nth-child(4) { width: 44px; } /* W */
.standings-table th:nth-child(5) { width: 44px; } /* D */
.standings-table th:nth-child(6) { width: 44px; } /* L */
.standings-table th:nth-child(7) { width: 52px; } /* GD */
.standings-table th:nth-child(8) { width: 48px; } /* PTS */
.standings-table td {
    padding: 10px 12px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    transition: background 0.15s;
}
.standings-table tr:hover td { background: var(--bg-page); }
.standings-table tr:last-child td { border-bottom: none; }
.standings-table td:first-child { font-weight: 800; color: var(--text-muted); text-align: center; }
.standings-table td:nth-child(2) {
    text-align: left; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    overflow: hidden;
}
.standings-table td:nth-child(2) a,
.standings-table td:nth-child(2) span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}
.standings-table tr.pos-1 td:first-child { color: #16a34a; font-weight: 900; }
.standings-table tr.pos-2 td:first-child { color: #0284c7; font-weight: 900; }
.standings-table tr.pos-3 td:first-child { color: #d97706; font-weight: 900; }
.standings-table tr.relegated td:first-child { color: #dc2626; }
.standings-table tr.pos-1 td:nth-child(2) { border-left: 3px solid #16a34a; padding-left: 8px; }
.standings-table tr.pos-2 td:nth-child(2) { border-left: 3px solid #0284c7; padding-left: 8px; }
.standings-table tr.pos-3 td:nth-child(2) { border-left: 3px solid #d97706; padding-left: 8px; }
.standings-table tr.relegated td:nth-child(2) { border-left: 3px solid #dc2626; padding-left: 8px; }
.team-avatar-sm {
    width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.6rem; font-weight: 800; color: white;
    flex-shrink: 0;
}
.standings-form { display: flex; gap: 2px; }
.standings-form span {
    width: 18px; height: 18px; border-radius: 3px;
    font-size: 0.6rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    color: white;
}
.standings-form .form-w { background: #16a34a; }
.standings-form .form-d { background: #94a3b8; }
.standings-form .form-l { background: #dc2626; }

/* Top Scorers */
.scorer-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-light);
}
.scorer-row:last-child { border-bottom: none; }
.scorer-row:hover { background: var(--bg-page); }
.scorer-rank {
    font-size: 0.85rem; font-weight: 900;
    color: var(--text-muted); min-width: 28px;
    display: flex; align-items: center; justify-content: center;
}
.scorer-rank.gold { color: #d97706; background: #fef3c7; width: 28px; height: 28px; border-radius: 50%; }
.scorer-rank.silver { color: #94a3b8; background: #f1f5f9; width: 28px; height: 28px; border-radius: 50%; }
.scorer-rank.bronze { color: #b45309; background: #fef3c7; width: 28px; height: 28px; border-radius: 50%; }
.scorer-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 800; color: white;
    flex-shrink: 0;
}
.scorer-avatar-img {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 2px solid #e2e8f0;
}
.scorer-info { flex: 1; min-width: 0; }
.scorer-name { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scorer-team { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scorer-goals {
    font-size: 1.1rem; font-weight: 900;
    color: var(--primary);
    min-width: 44px; text-align: center;
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* Popular Teams */
.popular-team-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    transition: all 0.2s;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
}
.popular-team-row:last-child { border-bottom: none; }
.popular-team-row:hover { background: var(--bg-page); transform: translateX(4px); }
.popular-team-rank {
    font-size: 0.85rem; font-weight: 900; color: var(--text-muted);
    min-width: 28px; text-align: center;
}
.popular-team-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800; color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.popular-team-logo {
    width: 40px; height: 40px; border-radius: 50%;
    object-fit: contain; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white; padding: 3px;
}
.popular-team-info { flex: 1; min-width: 0; }
.popular-team-name { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popular-team-league { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popular-team-bar {
    width: 80px; height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}
.popular-team-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    border-radius: 3px;
}

/* ===========================
   SECTION 4: CONTENT ZONE (Video + News - Premium Design)
   =========================== */
.section-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 32px;
}

/* Section Headers */
.section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}
.section-title {
    font-size: 1.15rem; font-weight: 800; color: var(--text-primary);
    display: flex; align-items: center; gap: 10px;
}
.section-title-icon { font-size: 1.3rem; display: flex; align-items: center; }
.section-more {
    font-size: 0.82rem; font-weight: 700; color: var(--primary);
    display: flex; align-items: center; gap: 4px;
    transition: gap 0.2s, color 0.2s;
}
.section-more:hover { gap: 8px; color: var(--primary-dark); }

/* Video Carousel */
.video-zone { margin-bottom: 32px; }
.video-scroll-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.video-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
/* Featured first video - spans 2 columns */
.video-card:first-child {
    grid-column: span 2;
}
.video-card:first-child .video-thumb {
    aspect-ratio: 16/9;
}
.video-thumb-wrap { position: relative; overflow: hidden; }
.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s;
}
.video-card:hover .video-thumb { transform: scale(1.05); }
.video-duration {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 0.72rem; font-weight: 700;
    padding: 3px 8px; border-radius: 4px;
    backdrop-filter: blur(4px);
}
.video-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%);
    opacity: 0; transition: opacity 0.3s;
}
.video-card:hover .video-play-overlay { opacity: 1; }
.video-play-btn {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.video-card:hover .video-play-btn {
    transform: scale(1.1);
    background: white;
}
.video-play-btn svg { width: 20px; height: 20px; fill: var(--primary); margin-left: 3px; }
.video-category-badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.65rem; font-weight: 700;
    padding: 3px 10px; border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}
.video-info { padding: 16px; }
.video-title {
    font-size: 0.88rem; font-weight: 700; color: var(--text-primary);
    line-height: 1.45; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-meta {
    font-size: 0.72rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 6px;
}

/* News Grid (Masonry-style 2 col) */
.news-zone { margin-bottom: 32px; }
.news-masonry {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}
.news-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.news-card.featured {
    display: flex;
    flex-direction: column;
}
.news-card.compact {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.news-card.compact .news-thumb {
    width: 120px;
    min-width: 120px;
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0;
}
.news-card.compact .news-body {
    padding: 10px 14px;
}
.news-card.compact .news-title {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
}
.news-card.compact .news-category {
    margin-bottom: 4px;
    font-size: 0.62rem;
}
.news-card.compact .news-meta {
    font-size: 0.68rem;
}
.news-right-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.news-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    background: #e2e8f0;
    transition: transform 0.4s;
    overflow: hidden;
    position: relative;
}
.news-card.featured .news-thumb {
    aspect-ratio: 16/10;
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.4s; }
.news-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.news-category {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--primary);
    margin-bottom: 6px;
    display: inline-flex; align-items: center; gap: 4px;
}
.news-title {
    font-size: 0.88rem; font-weight: 700; color: var(--text-primary);
    line-height: 1.45; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.news-card.featured .news-title {
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
}
.news-meta {
    font-size: 0.72rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
    margin-top: auto;
}
.news-meta-dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }

/* ===========================
   SECTION 5: FOOTER (Premium Design)
   =========================== */
.footer-v2 {
    background: #ffffff;
    color: #475569;
    margin-top: 48px;
    border-top: none;
    position: relative;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
}
.footer-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #7c3aed, #ec4899, #f59e0b);
}
.footer-v2-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    position: relative;
    z-index: 1;
}
.footer-brand-v2 {
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border-radius: var(--radius-xl);
    padding: 28px;
    margin: -8px;
    border: 1px solid #dbeafe;
}
.footer-brand-v2 .footer-logo-v2 {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-brand-v2 .footer-logo-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white;
    box-shadow: 0 4px 12px rgba(29,78,216,0.25);
}
.footer-brand-v2 .footer-logo-name {
    font-size: 1.35rem; font-weight: 800; color: #0f172a;
}
.footer-desc-v2 {
    font-size: 0.88rem; line-height: 1.7; color: #64748b;
    max-width: 320px; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
    width: 40px; height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: #64748b; font-size: 1rem;
    transition: all 0.25s;
    box-shadow: var(--shadow-sm);
}
.footer-social-link:hover {
    background: #1d4ed8; color: white; border-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(29,78,216,0.25);
}
.footer-col-v2 h4 {
    color: #0f172a; font-size: 0.88rem; font-weight: 700;
    margin-bottom: 20px; text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col-v2 ul { list-style: none; }
.footer-col-v2 li { margin-bottom: 10px; }
.footer-col-v2 a {
    color: #64748b; font-size: 0.88rem;
    transition: all 0.2s; display: flex; align-items: center; gap: 6px;
    position: relative;
}
.footer-col-v2 a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1.5px;
    background: #1d4ed8;
    transition: width 0.3s;
}
.footer-col-v2 a:hover { color: #1d4ed8; padding-left: 4px; }
.footer-col-v2 a:hover::after { width: 100%; }
.footer-col-title {
    color: #0f172a; font-size: 0.88rem; font-weight: 700;
    margin-bottom: 20px; text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-bottom-v2 {
    border-top: 1px solid #e2e8f0;
    padding: 20px 24px;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #94a3b8;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}
.footer-bottom-v2 a { color: #94a3b8; transition: color 0.2s; }
.footer-bottom-v2 a:hover { color: #64748b; }

/* ===========================
   LOADING SKELETON
   =========================== */
.skeleton {
    height: 120px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
    .hero-split-inner { grid-template-columns: 1fr 320px; }
    .matches-card-grid { grid-template-columns: repeat(2, 1fr); }
    .data-zone-grid { grid-template-columns: repeat(2, 1fr); }
    .data-zone-grid .data-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-drawer { display: block; }
    .nav-actions .nav-league-select { display: none; }
    .nav-actions .nav-search-wrap { display: none; }
    .hero-split-inner { grid-template-columns: 1fr; }
    .hero-live-sidebar { border-left: none; border-top: 1px solid #e2e8f0; max-height: 300px; }
    .footer-v2-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .topbar-v2 { display: none; }
    .nav-main { top: 0; }
    .page-wrapper { padding-top: var(--nav-height); }
    .section-matches { padding: 24px 16px; }
    .section-data { padding: 0 16px 24px; }
    .section-content { padding: 0 16px 24px; }
    .matches-card-grid { grid-template-columns: 1fr; }
    .data-zone-grid { grid-template-columns: 1fr; }
    .data-zone-grid .data-card:last-child { grid-column: auto; }
    .video-scroll-row { grid-template-columns: repeat(2, 1fr); }
    .video-card:first-child { grid-column: span 2; }
    .news-masonry { grid-template-columns: 1fr; }
    .news-thumb { aspect-ratio: 16/9; }
    .news-card.compact { flex-direction: column; }
    .news-card.compact .news-thumb { width: 100%; min-width: auto; aspect-ratio: 16/9; }
    .news-right-col { gap: 12px; }
    .footer-v2-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-v2 { flex-direction: column; gap: 8px; text-align: center; }
    .mobile-bottom-tabs { display: flex; border-top: 3px solid var(--primary); }
    body { padding-bottom: 56px; }
    .hero-split-inner { min-height: 280px; }
    .hero-carousel-wrap { padding: 24px 16px; }
    .carousel-slide { min-height: 220px; padding: 16px; }
    .carousel-slide-content { padding: 20px; }
    .carousel-team-emblem { width: 52px; height: 52px; }
    .carousel-team-name { font-size: 0.82rem; }
    .carousel-score { font-size: 2.2rem; padding: 10px 16px; }
    .hero-live-sidebar { border-left: none; border-top: 1px solid #e2e8f0; max-height: 280px; }
    .hero-live-list { max-height: 220px; overflow-x: auto; }
    .live-card-mini-body { padding: 8px 10px; }
    .live-card-mini-league { max-width: 100px; font-size: 0.6rem; }
    .live-card-mini-score-val { font-size: 0.8rem; }
    .live-card-mini-team-name { max-width: 100px; }
    .live-card-mini-team { font-size: 0.75rem; }
    .scorer-row { padding: 10px 14px; }
    .popular-team-row { padding: 10px 14px; }
}
@media (max-width: 480px) {
    .nav-inner { padding: 0 16px; }
    .section-matches, .section-data, .section-content { padding-left: 12px; padding-right: 12px; }
    .video-scroll-row { grid-template-columns: 1fr; }
    .video-card:first-child { grid-column: span 1; }
    .hero-split { padding: 0; }
    .hero-carousel-wrap { padding: 16px 12px; }
    .carousel-slide { min-height: 200px; }
    .carousel-slide-content { padding: 16px; }
    .carousel-team-emblem { width: 44px; height: 44px; }
    .carousel-team-name { font-size: 0.75rem; }
    .carousel-teams { gap: 12px; }
    .carousel-score { font-size: 1.8rem; padding: 8px 12px; min-width: 70px; }
    .hero-live-sidebar { max-height: 240px; border-top: 1px solid #e2e8f0; }
    .hero-live-list { max-height: 180px; }
    .live-card-mini-body { padding: 6px 8px; }
    .live-card-mini-league { max-width: 80px; }
    .live-card-mini-score-val { font-size: 0.75rem; }
    .live-card-mini-team-name { max-width: 80px; }
    .live-card-mini-team { font-size: 0.7rem; gap: 6px; }
    .live-team-logo { width: 18px; height: 18px; }
    .live-team-icon { width: 18px; height: 18px; font-size: 0.5rem; }
    .footer-brand-v2 { margin: 0; border-radius: var(--radius-lg); }
    .scorer-row { padding: 8px 12px; gap: 10px; }
    .scorer-goals { font-size: 0.95rem; padding: 3px 8px; }
    .popular-team-row { padding: 8px 12px; gap: 10px; }
    .popular-team-bar { width: 60px; }
}

/* ===========================
   GLOBAL: HOVER FEEDBACK
   =========================== */
a, button, [role="button"], .clickable {
    cursor: pointer;
    transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
}

/* ===========================
   BACK TO TOP BUTTON
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background-color var(--transition-base);
    z-index: 9999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}
.back-to-top:active {
    transform: scale(0.93);
}

.match-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.carousel-slide a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.video-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}
a.popular-team-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    transition: all 0.2s;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
}
a.popular-team-row:last-child { border-bottom: none; }
a.popular-team-row:hover { background: var(--bg-page); transform: translateX(4px); }

