/* ═══════════════════════════════════════════════════════════
   1XFOOT — Kooora-Inspired Light Theme
   Clean, Professional, Sports Enterprise
   ═══════════════════════════════════════════════════════════ */

:root {
    --primary: #FFFFFF;
    --secondary: #F8F9FA;
    --tertiary: #E9ECEF;
    --dark: #1A1A2E;
    --dark-2: #16213E;
    --blue: #0D47A1;
    --blue-light: #1565C0;
    --blue-dark: #0A3476;
    --gold: #F59E0B;
    --gold-light: #FBBF24;
    --success: #10B981;
    --danger: #EF4444;
    --info: #3B82F6;
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F0F2F5;
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-light); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--secondary); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }

/* ─── Hero Top Bar ────────────────────────────────── */
.hero-topbar {
    position: relative;
    padding: 6px 0;
    overflow: hidden;
    z-index: 1051;
    background: var(--dark);
}
.hero-topbar-bg { display: none; }
.hero-topbar::after { display: none; }
.hero-topbar-content { display: flex; align-items: center; gap: 8px; }
.hero-domain {
    font-weight: 800;
    font-size: 0.78rem;
    color: #fff;
}
.hero-separator { color: rgba(255,255,255,0.3); }
.hero-slogan {
    font-weight: 600;
    font-size: 0.74rem;
    color: var(--gold);
}
.hero-live-pulse {
    width: 6px; height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}
.hero-topbar-link {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.7rem;
    font-weight: 500;
    display: flex; align-items: center; gap: 4px;
}
.hero-topbar-link:hover { color: #fff !important; }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ─── Navbar ─────────────────────────────────────── */
.navbar-enterprise {
    background: var(--blue);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.navbar-brand-enterprise {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none !important;
    padding: 0.6rem 0;
    margin-right: 1.5rem;
}
.brand-icon {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 0.9rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 900; font-size: 0.95rem; color: #fff; }
.brand-sub { font-weight: 600; font-size: 0.52rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 2px; }

.nav-enterprise {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600; font-size: 0.82rem;
    padding: 0.75rem 0.8rem;
    display: inline-flex; align-items: center; gap: 5px;
    transition: var(--transition);
    text-decoration: none; position: relative;
    background: none; border: none; cursor: pointer; white-space: nowrap;
}
.nav-enterprise:hover { color: #fff !important; background: rgba(255,255,255,0.1); }
.nav-enterprise.active { color: #fff !important; }
.nav-enterprise.active::after {
    content: ''; position: absolute; bottom: 0; left: 0.8rem; right: 0.8rem;
    height: 3px; background: var(--gold); border-radius: 3px 3px 0 0;
}
.nav-enterprise.nav-highlight { color: var(--gold) !important; font-weight: 700; }
.nav-wc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.35rem 0.9rem;
    margin: 0.2rem 0.3rem;
    font-weight: 800;
    font-size: 0.78rem;
    color: #fff !important;
    background: linear-gradient(135deg, #B8860B, #DAA520, #FFD700);
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(218,165,32,0.3);
    animation: wcPulse 3s ease-in-out infinite;
}
.nav-wc:hover {
    background: linear-gradient(135deg, #DAA520, #FFD700, #FFE44D);
    color: #1A1A2E !important;
    box-shadow: 0 4px 16px rgba(218,165,32,0.5);
    transform: translateY(-1px);
}
.nav-wc.active {
    background: linear-gradient(135deg, #FFD700, #FFE44D);
    color: #1A1A2E !important;
}
@keyframes wcPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(218,165,32,0.3); }
    50% { box-shadow: 0 2px 16px rgba(218,165,32,0.5); }
}
.nav-enterprise.nav-login { color: rgba(255,255,255,0.85) !important; }
.live-dot { width: 6px; height: 6px; background: #EF4444; border-radius: 50%; animation: blink 1.5s ease-in-out infinite; }
.nav-avatar {
    width: 26px; height: 26px; background: rgba(255,255,255,0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: rgba(255,255,255,0.8); overflow: hidden;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-user-btn { border: none; font-family: inherit; }

/* ─── Dropdown ───────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); min-width: 240px; padding: 6px 0;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: all 0.15s ease; z-index: 1060;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-section { padding: 2px 0; }
.dropdown-label { padding: 8px 14px 4px; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-light); }
.dropdown-item-custom {
    display: flex; align-items: center; gap: 10px; padding: 7px 14px;
    color: var(--text) !important; font-size: 0.8rem; font-weight: 500; transition: var(--transition);
}
.dropdown-item-custom img { width: 18px; height: 18px; object-fit: contain; }
.dropdown-item-custom:hover { background: var(--secondary); color: var(--blue) !important; }
.dropdown-divider-custom { height: 1px; background: var(--border); margin: 4px 0; }

/* ─── Mobile Nav ─────────────────────────────────── */
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav-link {
    display: flex; align-items: center; gap: 10px; padding: 0.65rem 1.25rem;
    color: var(--text) !important; font-size: 0.85rem; font-weight: 500;
    border-left: 3px solid transparent; transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active { background: var(--secondary); border-left-color: var(--blue); color: var(--blue) !important; }
.mobile-nav-sub { padding-left: 2.5rem; font-size: 0.8rem; }
.mobile-nav-divider { height: 1px; background: var(--border); margin: 2px 0; }
.mobile-nav-label { padding: 10px 1.25rem 4px; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-light); }
.mobile-lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    background: var(--secondary);
    border: 2px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    flex: 1;
    transition: all 0.15s;
}
.mobile-lang-btn span:last-child {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}
.mobile-lang-btn.active {
    border-color: var(--blue);
    background: #EEF2FF;
}
.mobile-lang-btn.active span:last-child {
    color: var(--blue);
}

.nav-link-custom { color: var(--text-muted) !important; font-weight: 500; font-size: 0.85rem; padding: 0.5rem 1rem !important; border-radius: var(--radius-sm); transition: var(--transition); }
.nav-link-custom:hover, .nav-link-custom.active { color: var(--blue) !important; background: var(--secondary); }

/* ─── Cards ──────────────────────────────────────── */
.glass-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.glass-card:hover { box-shadow: var(--shadow-md); transform: none; }

/* ─── LIVE Badge ─────────────────────────────────── */
.live-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--danger); color: #fff;
    padding: 2px 10px; border-radius: 4px;
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.live-badge::before { content: ''; width: 5px; height: 5px; background: #fff; border-radius: 50%; animation: blink 1s ease-in-out infinite; }

/* ─── Match Card ─────────────────────────────────── */
.match-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    cursor: pointer;
}
.match-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: none; }
.match-card.live { border-left: 3px solid var(--danger); }
.match-card .team-logo { width: 32px; height: 32px; object-fit: contain; }
.match-card .team-name { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.match-card .score { font-size: 1.3rem; font-weight: 800; color: var(--text); min-width: 60px; text-align: center; }
.match-card .match-time { font-size: 0.78rem; color: var(--text-muted); }
.match-card .competition-badge { font-size: 0.68rem; color: var(--text-muted); background: var(--secondary); padding: 2px 8px; border-radius: 4px; font-weight: 500; }

/* ─── Section Headers ────────────────────────────── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--border); }
.section-title { font-size: 1rem; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 0.5rem; }
.section-title .icon { color: var(--blue); }
.section-link { font-size: 0.78rem; color: var(--blue); font-weight: 600; }
.text-gold { color: var(--gold) !important; }

/* ─── Standings Table ────────────────────────────── */
.table-standings { width: 100%; font-size: 0.82rem; }
.table-standings thead th { background: var(--secondary); color: var(--text-muted); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.5rem; border: none; }
.table-standings tbody td { padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--border-light); color: var(--text); vertical-align: middle; }
.table-standings tbody tr:hover { background: #F0F7FF; }
.table-standings .team-cell { display: flex; align-items: center; gap: 0.5rem; }
.table-standings .team-cell img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.table-standings .position-cell { width: 28px; text-align: center; font-weight: 700; color: var(--text-muted); }
.form-indicator, .form-dot { display: inline-flex; width: 16px; height: 16px; border-radius: 3px; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 800; color: #fff; margin: 0 1px; }
.form-W, .form-dot.form-W { background: var(--success); }
.form-D, .form-dot.form-D { background: #9CA3AF; }
.form-L, .form-dot.form-L { background: var(--danger); }

/* ─── Scorers ────────────────────────────────────── */
.scorer-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-light); }
.scorer-rank { width: 26px; height: 26px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
.scorer-rank.top { background: var(--gold); color: #fff; }
.scorer-info { flex: 1; }
.scorer-name { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.scorer-team { font-size: 0.72rem; color: var(--text-muted); }
.scorer-goals { font-size: 1rem; font-weight: 800; color: var(--blue); }

/* ─── News Card ──────────────────────────────────── */
.news-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow-md); }
.news-card .news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-image { transform: scale(1.03); }
.news-card .news-image-container {
    overflow: hidden;
    position: relative;
}
.news-card .news-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.04));
}
.news-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}
.news-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-image-wrap img { transform: scale(1.03); }
.news-image-wrap > i {
    font-size: 2.5rem;
    color: var(--blue);
    opacity: 0.3;
}

/* Featured article (big card) */
.news-card-featured {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.news-card-featured:hover { box-shadow: var(--shadow-md); }
.news-card-featured .news-image-big {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card-featured:hover .news-image-big { transform: scale(1.02); }
.news-card-featured .news-body { padding: 1.2rem; }
.news-card-featured .news-title-big {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.news-card-featured .news-title-big:hover { color: var(--blue); }
.news-card-featured .news-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.news-card .news-body { padding: 0.85rem; }
.news-card .news-category { display: inline-block; background: #EEF2FF; color: var(--blue); padding: 2px 8px; border-radius: 4px; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.4rem; }
.news-card .news-title { font-weight: 700; font-size: 0.88rem; color: var(--text); line-height: 1.4; margin-bottom: 0.4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .news-date { font-size: 0.7rem; color: var(--text-light); }

/* ─── Video Cards ────────────────────────────────── */
.video-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}
.video-card:hover { box-shadow: var(--shadow-md); }
.video-thumb {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}
.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: var(--radius-sm);
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.video-card:hover .video-play-btn { background: #DC2626; transform: translate(-50%, -50%) scale(1.1); }
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}
.video-info { padding: 8px 10px; }
.video-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 1XFOOT Video Card */
.video-card-1x {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--white);
}
.v1x-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
}
.v1x-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.video-card-1x:hover .v1x-thumb img { transform: scale(1.04); }
.v1x-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.video-card-1x:hover .v1x-overlay { background: rgba(0,0,0,0.35); }
.v1x-play {
    width: 46px;
    height: 46px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    transition: transform 0.2s;
}
.video-card-1x:hover .v1x-play { transform: scale(1.1); }
.v1x-duration {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}
.v1x-brand {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}
.v1x-info { padding: 6px 8px; }
.v1x-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video row card */
.video-card-row { cursor: pointer; padding: 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); }
.video-card-row:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.v1x-thumb-sm { width: 140px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; position: relative; flex-shrink: 0; background: #000; }
.v1x-thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.v1x-overlay-sm { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); color: #fff; font-size: 1.1rem; }
.v1x-info-row { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.video-card-big { border-radius: var(--radius); }
.video-card-big .v1x-thumb { border-radius: var(--radius) var(--radius) 0 0; }

@media (max-width: 480px) {
    .v1x-thumb-sm { width: 100px; height: 60px; }
    .video-card-row { padding: 4px; }
}

/* Pro Video Card — 1XFOOT branded */
.video-card-pro {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #000;
}
.vcp-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.vcp-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.video-card-pro:hover .vcp-thumb img { transform: scale(1.05); }
.vcp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.video-card-pro:hover .vcp-overlay { background: rgba(0,0,0,0.4); }
.vcp-play {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: transform 0.2s;
}
.video-card-pro:hover .vcp-play { transform: scale(1.1); }
.vcp-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}
.vcp-thumb .video-embed {
    position: absolute;
    inset: 0;
    padding-bottom: 0;
    height: 100%;
}

/* ─── Match Card Full (WC style) ─────────────────── */
.match-card-full {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.match-card-full:hover { box-shadow: var(--shadow-md); }
.mcf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: var(--secondary);
    border-bottom: 1px solid var(--border-light);
}
.mcf-date { font-size: 0.68rem; color: var(--text-muted); }
.mcf-status-ft { font-size: 0.62rem; font-weight: 700; color: var(--success); background: rgba(16,185,129,0.1); padding: 2px 8px; border-radius: 4px; }
.mcf-status-ns { font-size: 0.65rem; font-weight: 600; color: var(--blue); }
.mcf-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px;
    gap: 8px;
}
.mcf-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    text-align: center;
}
.mcf-team > img { width: 48px; height: 48px; object-fit: contain; }
.mcf-flag-sm { display: none; }
.mcf-team-name { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.mcf-score-center { flex: 0 0 auto; text-align: center; padding: 0 6px; }
.mcf-score {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: 3px;
}
.mcf-score-live { color: var(--danger); }
.mcf-vs { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.mcf-venue { text-align: center; font-size: 0.65rem; color: var(--text-light); padding: 0 12px 8px; }
.mcf-actions {
    display: flex;
    border-top: 1px solid var(--border-light);
}
.mcf-btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.mcf-btn-stats { background: var(--blue); color: #fff !important; }
.mcf-btn-stats:hover { background: var(--blue-light); color: #fff !important; }
.mcf-btn-info { background: #1A1A2E; color: #fff !important; }
.mcf-btn-info:hover { background: #2D2D44; color: #fff !important; }

@media (max-width: 480px) {
    .mcf-team > img { width: 36px; height: 36px; }
    .mcf-team-name { font-size: 0.7rem; }
    .mcf-score { font-size: 1.3rem; }
    .mcf-body { padding: 10px 8px; }
    .mcf-btn { font-size: 0.62rem; padding: 6px; }
}

/* ─── Page Header ────────────────────────────────── */
.page-header { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 2rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.page-title { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 0.15rem; }
.page-subtitle { color: var(--text-muted); font-size: 0.85rem; }

/* ─── Sidebar Widget ─────────────────────────────── */
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.sidebar-qlink {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text) !important;
    text-decoration: none;
    transition: all 0.15s;
}
.sidebar-qlink:hover { border-color: var(--blue); background: #EEF2FF; }
.sidebar-qlink-red { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); color: var(--danger) !important; }
.sidebar-qlink-red:hover { background: rgba(239,68,68,0.15); }
.sidebar-qlink-gold { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); color: #D97706 !important; }
.sidebar-qlink-gold:hover { background: rgba(245,158,11,0.15); }
.sidebar-qlink-blue { background: rgba(13,71,161,0.06); border-color: rgba(13,71,161,0.15); color: var(--blue) !important; }
.sidebar-qlink-blue:hover { background: rgba(13,71,161,0.12); }

.popular-team-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1px solid var(--border-light); transition: var(--transition); }
.popular-team-item:last-child { border-bottom: none; }
.popular-team-item:hover { padding-left: 0.3rem; }
.popular-team-item img { width: 22px; height: 22px; object-fit: contain; }
.popular-team-item span { font-size: 0.82rem; font-weight: 500; color: var(--text); }

/* ─── Match Detail ───────────────────────────────── */
.match-header { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); border-radius: var(--radius-lg); padding: 2rem; text-align: center; color: #fff; border: none; }
.match-score-main { font-size: 2.5rem; font-weight: 900; color: #fff; letter-spacing: 3px; }
.match-status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.match-status-badge.live { background: rgba(239,68,68,0.2); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.3); }
.match-status-badge.finished { background: rgba(16,185,129,0.2); color: #6EE7B7; border: 1px solid rgba(16,185,129,0.3); }
.match-status-badge.scheduled { background: rgba(59,130,246,0.2); color: #93C5FD; border: 1px solid rgba(59,130,246,0.3); }

/* ─── Stats Bar ──────────────────────────────────── */
.stat-row { display: flex; align-items: center; margin-bottom: 0.6rem; }
.stat-value { font-weight: 700; font-size: 0.85rem; min-width: 40px; color: var(--text); }
.stat-value.home { text-align: right; }
.stat-value.away { text-align: left; }
.stat-label { flex: 0 0 90px; text-align: center; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.stat-bar-wrapper { flex: 1; height: 6px; background: var(--tertiary); border-radius: 3px; overflow: hidden; margin: 0 6px; }
.stat-bar { height: 100%; border-radius: 3px; transition: width 0.5s; }
.stat-bar.home { background: var(--blue); float: right; }
.stat-bar.away { background: var(--danger); float: left; }

/* ─── Football Pitch ─────────────────────────────── */
.football-pitch { background: linear-gradient(to bottom, #1a6b30 0%, #1d7a36 25%, #1a6b30 50%, #1d7a36 75%, #1a6b30 100%); border-radius: var(--radius); padding: 1.5rem; position: relative; min-height: 480px; overflow: hidden; border: 2px solid rgba(255,255,255,0.2); }
.pitch-lines { position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,0.4); border-radius: 4px; }
.pitch-center-line { position: absolute; top: 50%; left: 10px; right: 10px; height: 2px; background: rgba(255,255,255,0.4); }
.pitch-center-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 90px; height: 90px; border: 2px solid rgba(255,255,255,0.4); border-radius: 50%; }
.pitch-box-top { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 55%; height: 15%; border: 2px solid rgba(255,255,255,0.4); border-top: none; }
.pitch-box-bottom { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 55%; height: 15%; border: 2px solid rgba(255,255,255,0.4); border-bottom: none; }
.pitch-player { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translate(-50%,-50%); z-index: 10; }
.pitch-player .player-dot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; color: #fff; border: 2px solid rgba(255,255,255,0.6); box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.pitch-player.home .player-dot { background: var(--blue); }
.pitch-player.away .player-dot { background: var(--danger); }
.pitch-player .player-label { font-size: 0.55rem; color: #fff; font-weight: 600; margin-top: 2px; text-shadow: 0 1px 3px rgba(0,0,0,0.8); white-space: nowrap; }

/* ─── Timeline ───────────────────────────────────── */
.timeline-event { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border-light); }
.timeline-minute { min-width: 40px; text-align: center; font-weight: 700; font-size: 0.82rem; color: var(--blue); }
.timeline-icon { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; flex-shrink: 0; }
.timeline-icon.goal { background: var(--success); color: #fff; }
.timeline-icon.yellow { background: #FBBF24; color: var(--dark); }
.timeline-icon.red { background: var(--danger); color: #fff; }
.timeline-icon.sub { background: var(--info); color: #fff; }
.timeline-detail { flex: 1; font-size: 0.82rem; }
.timeline-player { font-weight: 600; color: var(--text); }
.timeline-sub-text { font-size: 0.72rem; color: var(--text-muted); }

/* ─── Vote / Prediction ──────────────────────────── */
.prediction-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.vote-btn {
    flex: 1; padding: 0.5rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--white); color: var(--text-muted); font-weight: 600; font-size: 0.78rem;
    cursor: pointer; transition: var(--transition); text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.vote-btn:hover { border-color: var(--blue); color: var(--blue); }
.vote-btn.active { border-color: var(--blue); background: #EEF2FF; color: var(--blue); }
.vote-btn.disabled { opacity: 0.5; cursor: default; }
.vote-btn-label { font-size: 1rem; font-weight: 800; color: var(--text); line-height: 1; }
.vote-btn.active .vote-btn-label { color: var(--blue); }
.vote-btn-team { font-size: 0.6rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80px; }
.vote-fill.home { background: var(--blue); }
.vote-fill.draw { background: #9CA3AF; }
.vote-fill.away { background: var(--danger); }

/* ─── Prediction Pro ─────────────────────────────── */
.prediction-pro-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.prediction-pro-card:hover { box-shadow: var(--shadow-md); }
.pred-header { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1rem; background: var(--secondary); border-bottom: 1px solid var(--border); }
.confidence-badge { font-size: 0.68rem; font-weight: 700; color: var(--conf-color, var(--success)); display: flex; align-items: center; gap: 4px; }
.pred-body { padding: 1rem; }
.pred-teams { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.pred-team { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; text-align: center; }
.pred-team img { width: 40px; height: 40px; object-fit: contain; }
.pred-team-name { font-weight: 700; font-size: 0.82rem; color: var(--text); }
.pred-center { flex: 0 0 auto; text-align: center; padding: 0 1rem; }
.pred-score-box { display: flex; flex-direction: column; align-items: center; }
.pred-score { font-size: 1.6rem; font-weight: 900; color: var(--blue); letter-spacing: 2px; line-height: 1; }
.pred-score-label { font-size: 0.55rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.pred-analysis { padding: 0 1rem 0.75rem; }
.pred-probs { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.5rem; }
.pred-prob { text-align: center; }
.pred-prob-value { font-size: 1rem; font-weight: 800; color: var(--text); }
.pred-prob-winner .pred-prob-value { color: var(--blue); }
.pred-prob-label { font-size: 0.6rem; color: var(--text-light); }
.pred-bar { display: flex; height: 5px; border-radius: 3px; overflow: hidden; margin-bottom: 0.6rem; }
.pred-bar-home { background: var(--blue); }
.pred-bar-draw { background: #9CA3AF; }
.pred-bar-away { background: var(--danger); }
.pred-metrics { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.pred-metric { text-align: center; min-width: 45px; }
.pred-metric-value { display: block; font-size: 0.85rem; font-weight: 800; color: var(--text); }
.pred-metric-label { font-size: 0.55rem; color: var(--text-light); text-transform: uppercase; }
.pred-scores { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 0.4rem; }
.pred-scores-label { font-size: 0.65rem; color: var(--text-light); white-space: nowrap; }
.pred-score-chip { background: var(--secondary); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); }
.pred-score-chip.primary { background: #EEF2FF; border-color: var(--blue); color: var(--blue); }
.pred-advice { font-size: 0.72rem; color: var(--text-muted); padding: 0.3rem 0; font-style: italic; }
.pred-comparison { margin-top: 0.5rem; }
.comp-row { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; font-size: 0.68rem; }
.comp-val { min-width: 28px; font-weight: 700; }
.comp-home { text-align: right; color: var(--blue); }
.comp-away { text-align: left; color: var(--danger); }
.comp-label { min-width: 50px; text-align: center; color: var(--text-light); font-weight: 600; font-size: 0.6rem; text-transform: uppercase; }
.comp-bar-wrap { flex: 1; height: 4px; background: var(--tertiary); border-radius: 2px; overflow: hidden; }
.comp-bar-home { height: 100%; background: var(--blue); float: right; }
.comp-bar-away { height: 100%; background: var(--danger); float: left; }
.comp-bar-home-r { height: 100%; background: rgba(13,71,161,0.15); float: right; }
.comp-bar-away-r { height: 100%; background: var(--danger); float: left; }
.pred-vote { padding: 0.5rem 1rem; background: var(--secondary); border-top: 1px solid var(--border); }

/* ─── Prediction Detail ──────────────────────────── */
.pred-detail-header { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); border-radius: var(--radius-lg); padding: 2rem; text-align: center; color: #fff; margin-bottom: 1.5rem; }
.pred-vs-badge { background: var(--danger); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.85rem; margin: 0 auto; }
.pred-ia-badge { display: inline-block; border: 2px solid var(--gold); color: var(--gold); border-radius: 20px; padding: 4px 18px; font-weight: 800; font-size: 0.75rem; letter-spacing: 1px; }
.robot-badge { display: inline-flex; align-items: center; gap: 4px; background: #EEF2FF; border: 1px solid #C7D2FE; color: var(--blue); border-radius: 14px; padding: 3px 10px; font-size: 0.65rem; font-weight: 600; }
.pred-section-glow { border-top: 3px solid var(--glow, var(--blue)); }
.pred-section-title { font-size: 0.95rem; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.pred-tag-free { background: var(--success); color: #fff; font-size: 0.55rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: 1px; }
.pred-tag-ia { background: #EEF2FF; color: var(--blue); font-size: 0.58rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.pred-big-score { font-size: 3.5rem; font-weight: 900; color: var(--text); letter-spacing: 6px; line-height: 1; margin: 0.5rem 0; }
.pred-pct-big { font-size: 1.5rem; font-weight: 900; line-height: 1.2; }
.pred-pct-bar { height: 5px; background: var(--tertiary); border-radius: 3px; overflow: hidden; margin-top: 5px; }
.pred-pct-bar > div { height: 100%; border-radius: 3px; transition: width 0.5s; }
.pred-xg-big { font-size: 2.2rem; font-weight: 900; line-height: 1; margin: 0.5rem 0; }
.pred-xg-bar { height: 6px; background: var(--tertiary); border-radius: 3px; overflow: hidden; width: 110px; margin: 0 auto; }
.pred-xg-bar > div { height: 100%; border-radius: 3px; }
.pred-gauge { position: relative; width: 65px; height: 65px; margin: 0 auto 4px; }
.pred-gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pred-gauge-bg { fill: none; stroke: var(--tertiary); stroke-width: 3; }
.pred-gauge-fill { fill: none; stroke-width: 3; stroke-linecap: round; transition: stroke-dasharray 1s; }
.pred-gauge-value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 800; }
.pred-score-card { background: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.6rem 0.4rem; text-align: center; }
.pred-score-card.primary { border-color: var(--blue); background: #EEF2FF; }
.pred-score-rank { font-size: 0.58rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; margin-bottom: 3px; }
.pred-score-value { font-size: 1.6rem; font-weight: 900; color: var(--text); letter-spacing: 3px; line-height: 1; }
.pred-score-card.primary .pred-score-value { color: var(--blue); }
.pred-score-prob { font-size: 0.75rem; color: var(--blue); font-weight: 600; margin-top: 3px; }

/* ─── Tabs ───────────────────────────────────────── */
.nav-tabs-custom { border: none; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px; display: flex; gap: 3px; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
.nav-tabs-custom .nav-link { border: none; background: transparent; color: var(--text-muted); font-weight: 600; font-size: 0.82rem; padding: 0.45rem 0.9rem; border-radius: 5px; transition: var(--transition); }
.nav-tabs-custom .nav-link:hover { color: var(--text); background: var(--secondary); }
.nav-tabs-custom .nav-link.active { background: var(--blue); color: #fff; }

/* ─── Buttons ────────────────────────────────────── */
.btn-gold { background: var(--blue); color: #fff; font-weight: 700; border: none; border-radius: var(--radius-sm); padding: 0.5rem 1.25rem; transition: var(--transition); }
.btn-gold:hover { background: var(--blue-light); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline-gold { border: 2px solid var(--blue); color: var(--blue); background: transparent; font-weight: 600; border-radius: var(--radius-sm); padding: 0.4rem 1rem; transition: var(--transition); }
.btn-outline-gold:hover { background: var(--blue); color: #fff; }
.form-control-dark { background: var(--white); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); padding: 0.5rem 0.8rem; }
.form-control-dark:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,71,161,0.1); color: var(--text); background: var(--white); }
.form-control-dark::placeholder { color: var(--text-light); }

/* ─── Footer ─────────────────────────────────────── */
.footer-1xfoot { background: var(--dark); color: rgba(255,255,255,0.7); padding: 2rem 0 1.2rem; margin-top: 2.5rem; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 0.8rem; font-size: 0.9rem; }
.footer-link { display: block; color: rgba(255,255,255,0.5); padding: 0.2rem 0; font-size: 0.8rem; transition: var(--transition); }
.footer-link:hover { color: var(--gold); padding-left: 0.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; margin-top: 1.2rem; text-align: center; color: rgba(255,255,255,0.35); font-size: 0.75rem; }

/* ─── Groups ─────────────────────────────────────── */
.group-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.group-header { background: var(--blue); color: #fff; padding: 0.5rem 0.8rem; font-weight: 700; font-size: 0.82rem; }
.group-header-pro {
    padding: 0.55rem 0.9rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: #fff;
    background: var(--blue);
    letter-spacing: 0.3px;
}

/* ─── Tournament Bracket ─────────────────────────── */
.wc-bracket-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; overflow-x: auto; }
.bracket-container { display: flex; gap: 16px; align-items: flex-start; min-width: 700px; }
.bracket-round { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.bracket-round-label { text-align: center; font-size: 0.72rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.bracket-match { background: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.bracket-team { display: flex; align-items: center; gap: 6px; padding: 6px 8px; font-size: 0.72rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border-light); }
.bracket-team:last-child { border-bottom: none; }
.bracket-team img { width: 16px; height: 16px; object-fit: contain; }
.bracket-team span { flex: 1; }
.bracket-team.bracket-winner { font-weight: 700; background: rgba(13,71,161,0.05); }
.bracket-score { font-weight: 800; color: var(--blue); min-width: 16px; text-align: center; }
.bracket-tbd { color: var(--text-light); font-style: italic; flex: 1; }
.bracket-vs { text-align: center; font-size: 0.55rem; color: var(--text-light); padding: 1px 0; }
.bracket-champion { align-items: center; justify-content: center; }
.bracket-trophy { text-align: center; padding: 20px; background: var(--secondary); border: 2px solid var(--border); border-radius: 50%; width: 100px; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; }

@media (max-width: 768px) {
    .bracket-container { flex-direction: column; min-width: auto; }
    .bracket-round { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .bracket-match { flex: 1; min-width: 140px; }
    .bracket-trophy { width: 80px; height: 80px; }
}

/* ─── League Cards ───────────────────────────────── */
.league-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; position: relative; overflow: hidden; transition: var(--transition); cursor: pointer; }
.league-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.league-logo-wrap {
    width: 64px; height: 64px; flex-shrink: 0;
    background: var(--white); border: 2px solid var(--border);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative; overflow: hidden;
}
.league-logo-wrap::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--league-accent, var(--blue));
}
.league-logo-wrap img { width: 40px; height: 40px; object-fit: contain; }
.league-card-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.league-card-name { font-weight: 700; font-size: 0.92rem; color: var(--text); line-height: 1.2; }
.league-card-country { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.league-card-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); opacity: 0; transition: var(--transition); }
.league-card:hover .league-card-bar { opacity: 1; }
.league-card-ribbon { position: absolute; top: 10px; right: -28px; background: var(--success); color: #fff; font-size: 0.58rem; font-weight: 800; letter-spacing: 1px; padding: 2px 32px; transform: rotate(45deg); z-index: 5; }
.league-card-ribbon.sale { background: var(--danger); }

/* ─── Hero Clean Enterprise ───────────────────────── */
.hero-clean {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-clean-left { background: var(--blue); }
.hero-clean-content { padding: 2rem 2.5rem; }
.hero-clean-logo { display: flex; align-items: baseline; }
.hcl-name { font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.hcl-foot { font-size: 1.6rem; font-weight: 900; color: #fff; }
.hero-clean-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.2); }
.hero-clean-tagline { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.6); }

.hero-clean-stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.hcs-item { display: flex; align-items: center; gap: 6px; }
.hcs-live { background: rgba(239,68,68,0.15); padding: 4px 10px; border-radius: 6px; }
.hcs-dot { width: 6px; height: 6px; background: var(--danger); border-radius: 50%; animation: blink 1.5s ease-in-out infinite; }
.hcs-num { font-size: 1.1rem; font-weight: 900; color: #fff; }
.hcs-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); font-weight: 500; }

.hero-clean-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hca-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 16px; border-radius: 6px;
    font-size: 0.78rem; font-weight: 700;
    text-decoration: none; transition: all 0.15s;
}
.hca-primary { background: #fff; color: var(--blue) !important; }
.hca-primary:hover { background: #F0F7FF; color: var(--blue) !important; }
.hca-gold { background: var(--gold); color: #fff !important; }
.hca-gold:hover { background: #D97706; color: #fff !important; }
.hca-dark { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85) !important; border: 1px solid rgba(255,255,255,0.15); }
.hca-dark:hover { background: rgba(255,255,255,0.2); color: #fff !important; }

.hero-clean-right { padding: 1.5rem; background: var(--secondary); }
.hero-clean-leagues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hcl-league {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 6px; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); text-decoration: none; transition: all 0.15s;
}
.hcl-league:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.hcl-league img { width: 28px; height: 28px; object-fit: contain; }
.hcl-league span { font-size: 0.62rem; font-weight: 600; color: var(--text); text-align: center; }

@media (max-width: 768px) {
    .hero-clean-content { padding: 1.2rem 1rem; }
    .hcl-name, .hcl-foot { font-size: 1.2rem; }
    .hero-clean-stats { gap: 0.8rem; flex-wrap: wrap; }
    .hcs-num { font-size: 0.9rem; }
    .hca-btn { padding: 6px 12px; font-size: 0.72rem; }
    .hero-clean-divider { display: none; }
    .hero-clean-tagline { display: none; }
}

/* ─── Quick Nav (homepage leagues) ────────────────── */
.quick-nav {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.qn-leagues {
    display: flex;
    gap: 6px;
    white-space: nowrap;
}
.qn-league {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.15s;
    flex-shrink: 0;
}
.qn-league:hover { border-color: var(--blue); background: #EEF2FF; }
.qn-league img { width: 18px; height: 18px; object-fit: contain; }
.qn-league span { font-size: 0.72rem; font-weight: 600; color: var(--text); }

/* ─── Old Hero (kept for reference) ──────────────── */
.hero-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
}
.hero-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0A1628 0%, #0D47A1 40%, #1565C0 60%, #0A1628 100%);
}
.hero-pitch-lines {
    position: absolute;
    inset: 0;
    opacity: 0.06;
}
.hero-center-circle {
    position: absolute;
    top: 50%;
    right: 15%;
    width: 200px;
    height: 200px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translateY(-50%);
}
.hero-center-line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 35%;
    width: 2px;
    background: #fff;
}
.hero-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    animation: heroGlowPulse 4s ease-in-out infinite;
}
@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
.hero-particles {
    position: absolute;
    inset: 0;
}
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(245,158,11,0.4);
    border-radius: 50%;
    animation: heroFloat 6s ease-in-out infinite;
}
.hero-particle.p1 { top: 20%; left: 10%; animation-delay: 0s; }
.hero-particle.p2 { top: 60%; left: 25%; animation-delay: 1s; width: 3px; height: 3px; }
.hero-particle.p3 { top: 30%; left: 50%; animation-delay: 2s; background: rgba(59,130,246,0.3); }
.hero-particle.p4 { top: 70%; left: 70%; animation-delay: 3s; width: 5px; height: 5px; }
.hero-particle.p5 { top: 15%; left: 80%; animation-delay: 1.5s; background: rgba(16,185,129,0.3); }
.hero-particle.p6 { top: 80%; left: 40%; animation-delay: 4s; width: 3px; height: 3px; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 1; }
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}
.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}
.hero-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--danger);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}
.hero-live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}
.hero-badge-wc {
    background: rgba(245,158,11,0.15);
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    border: 1px solid rgba(245,158,11,0.3);
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
}
.hero-title-accent {
    background: linear-gradient(90deg, var(--gold), #FBBF24, var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shineText 3s linear infinite;
}
@keyframes shineText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    max-width: 420px;
}
.hero-desc strong { color: #fff; }
.hero-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--danger);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}
.hero-btn-primary:hover { background: #DC2626; transform: translateY(-1px); color: #fff !important; }
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff !important; }
.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 14px;
    transition: all 0.2s;
}
.hero-btn-ghost:hover { color: var(--gold) !important; }
.hero-leagues {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-league-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.08);
}
.hero-league-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.hero-league-icon img { width: 22px; height: 22px; object-fit: contain; }
.hero-league-more {
    width: 36px;
    height: 36px;
    background: rgba(245,158,11,0.15);
    color: var(--gold) !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    border: 1px solid rgba(245,158,11,0.3);
}

/* Hero Visual (right side) */
.hero-visual {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-ball {
    width: 160px;
    height: 160px;
    animation: heroBallFloat 5s ease-in-out infinite;
}
@keyframes heroBallFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(5deg); }
    75% { transform: translateY(8px) rotate(-3deg); }
}
.hero-ball-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.15), rgba(255,255,255,0.02));
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), inset 0 0 30px rgba(255,255,255,0.05);
}
.hero-ball-svg { width: 120px; height: 120px; }
.hero-score-float {
    position: absolute;
    top: 10px;
    right: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hsf-badge {
    background: var(--danger);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
}
.hsf-score { color: #fff; font-size: 0.75rem; font-weight: 600; }
.hero-stat-float {
    position: absolute;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 16px;
    text-align: center;
}
.hero-stat-1 { bottom: 20px; left: 10px; animation: floatCard 5s ease-in-out infinite; animation-delay: 1s; }
.hero-stat-2 { bottom: 60px; right: 10px; animation: floatCard 4.5s ease-in-out infinite; animation-delay: 2s; }
.hsf-num { font-size: 1.3rem; font-weight: 900; color: #fff; line-height: 1; }
.hsf-label { font-size: 0.6rem; color: rgba(255,255,255,0.6); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 768px) {
    .hero-banner { min-height: auto; }
    .hero-content { padding: 1.5rem; }
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 0.8rem; }
    .hero-actions { gap: 6px; }
    .hero-btn-primary, .hero-btn-secondary { font-size: 0.75rem; padding: 7px 14px; }
    .hero-btn-ghost { display: none; }
    .hero-league-icon { width: 30px; height: 30px; }
    .hero-league-icon img { width: 18px; height: 18px; }
    .hero-league-more { width: 30px; height: 30px; font-size: 0.65rem; }
}
@media (max-width: 480px) {
    .hero-content { padding: 1.2rem; }
    .hero-title { font-size: 1.4rem; }
    .hero-badge-wc { display: none; }
}

/* ─── World Cup Hero ─────────────────────────────── */
.wc-hero { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.wc-hero-visual {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wc-trophy-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: trophyFloat 4s ease-in-out infinite;
}
.wc-trophy-svg {
    width: 95px;
    height: 125px;
    filter: drop-shadow(0 6px 18px rgba(245,158,11,0.45));
}
.wc-trophy-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6px;
}
.wc-trophy-title {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #FFD700 0%, #DAA520 50%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.wc-trophy-year {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
    background: linear-gradient(180deg, #FFE44D 0%, #F5B800 30%, #DAA520 60%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.wc-trophy-sub {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}
@keyframes trophyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ─── Admin ──────────────────────────────────────── */
.admin-sidebar { background: var(--dark); min-height: 100vh; width: 250px; position: fixed; left: 0; top: 0; z-index: 1040; }
.admin-sidebar .sidebar-header { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .nav-link { color: rgba(255,255,255,0.6); padding: 0.55rem 1rem; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 500; display: flex; align-items: center; gap: 0.6rem; transition: var(--transition); }
.admin-sidebar .nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-sidebar .nav-link.active { background: rgba(13,71,161,0.3); color: #fff; }
.admin-content { margin-left: 250px; padding: 1.5rem; background: #F0F2F5; min-height: 100vh; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card .stat-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 0.8rem; }
.stat-card .stat-number { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.stat-card .stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* ─── League Group Block ─────────────────────────── */
.league-group {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 8px;
}
.league-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--secondary);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}
.league-group-header img.league-logo { width: 24px; height: 24px; object-fit: contain; }
.league-group-header img.flag { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; }
.league-group-header .league-name {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text);
    flex-grow: 1;
}
.league-group-header .league-country {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.72rem;
}
.league-group-header .match-count {
    background: var(--danger);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.league-group-header .match-count.finished {
    background: var(--text-light);
}

/* ─── Match Row (Sofascore/Flashscore PRO) ───────── */
.match-row {
    display: grid;
    grid-template-columns: 46px 1fr 44px;
    align-items: stretch;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.1s;
    cursor: pointer;
    min-height: 52px;
}
.match-row:last-child { border-bottom: none; }
.match-row:hover { background: #F8FAFC; }

/* Status column */
.match-row-status {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-light);
    padding: 4px;
}
.mr-status-live {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--danger);
    line-height: 1;
    text-align: center;
}
.mr-status-ht {
    font-size: 0.58rem;
    font-weight: 800;
    color: #fff;
    background: var(--danger);
    padding: 2px 4px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}
.mr-status-ft {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
}
.mr-status-time {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.1;
}
.mr-status-time small {
    display: block;
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Teams column */
.match-row-teams {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 10px;
    gap: 2px;
    min-width: 0;
}
.mr-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.3;
    min-width: 0;
}
.mr-team img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}
.mr-team-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}
.mr-team.winner .mr-team-name { font-weight: 700; }
.mr-team.loser { color: var(--text-muted); }

/* Score column */
.match-row-score {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    border-left: 1px solid var(--border-light);
    padding: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    background: var(--secondary);
}
.match-row:hover .match-row-score { background: #EDF2F7; }
.mr-score-val { min-width: 16px; text-align: center; }
.mr-score-val.winner { font-weight: 800; color: var(--text); }
.mr-score-val.loser { color: var(--text-muted); }
.match-row-score .mr-score-dash {
    color: var(--text-light);
    font-size: 0.7rem;
}

/* Live pulse on status */
.match-row.is-live .match-row-status { position: relative; }
.match-row.is-live .match-row-status::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--danger);
    border-radius: 0 2px 2px 0;
}
.match-row.is-live .match-row-score {
    background: rgba(239,68,68,0.04);
    color: var(--danger);
    font-weight: 700;
}

@media (max-width: 480px) {
    .match-row { grid-template-columns: 38px 1fr 38px; min-height: 46px; }
    .mr-team { font-size: 0.75rem; gap: 6px; }
    .mr-team img { width: 16px; height: 16px; }
    .match-row-score { font-size: 0.8rem; }
    .match-row-teams { padding: 5px 8px; }
    .mr-status-live { font-size: 0.65rem; }
    .league-group-header { padding: 6px 10px; }
    .league-group-header .league-name { font-size: 0.75rem; }
}

/* ─── Pagination ─────────────────────────────────── */
.pagination .page-link { background: var(--white); border-color: var(--border); color: var(--text); }
.pagination .page-link:hover { background: var(--secondary); border-color: var(--blue); color: var(--blue); }
.pagination .page-item.active .page-link { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ─── Alerts ─────────────────────────────────────── */
.alert-dark { background: var(--white); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); }

/* ─── Animations ─────────────────────────────────── */
.fade-in { animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Placeholder ────────────────────────────────── */
.placeholder-logo { background: var(--secondary); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-weight: 700; border-radius: 50%; }

/* ─── RTL (Arabic) ───────────────────────────────── */
[dir="rtl"] body { font-family: 'Tajawal', 'Inter', sans-serif; font-size: 0.95rem; }
[dir="rtl"] .match-row { direction: rtl; }
[dir="rtl"] .match-row-score { border-left: none; border-right: 1px solid var(--border-light); }
[dir="rtl"] .match-row-status { border-right: none; border-left: 1px solid var(--border-light); }
[dir="rtl"] .match-row.is-live .match-row-status::before { left: auto; right: 0; border-radius: 2px 0 0 2px; }
[dir="rtl"] .section-header { flex-direction: row-reverse; }
[dir="rtl"] .navbar-brand-enterprise { margin-right: 0; margin-left: 1.5rem; }
[dir="rtl"] .footer-link:hover { padding-left: 0; padding-right: 0.2rem; }
[dir="rtl"] .mcf-actions { direction: ltr; }

/* ─── Responsive Mobile ──────────────────────────── */
@media (max-width: 991px) {
    .container { padding-left: 12px; padding-right: 12px; }
    .navbar-brand-enterprise { margin-right: 0.5rem; }
    .brand-name { font-size: 0.85rem; }
}

@media (max-width: 768px) {
    body { font-size: 0.9rem; }
    .container { padding-left: 10px; padding-right: 10px; }

    /* Navbar */
    .hero-topbar { padding: 4px 0; }
    .hero-domain { font-size: 0.7rem; }
    .hero-slogan, .hero-separator { display: none; }
    .navbar-brand-enterprise { padding: 0.5rem 0; margin-right: 0; }
    .brand-icon { width: 28px; height: 28px; font-size: 0.75rem; }
    .brand-name { font-size: 0.82rem; }
    .brand-sub { font-size: 0.45rem; }

    /* Page header */
    .page-header { padding: 1rem; margin-bottom: 1rem; border-radius: var(--radius-sm); }
    .page-title { font-size: 1.1rem; }
    .page-subtitle { font-size: 0.78rem; }

    /* Cards */
    .glass-card { border-radius: var(--radius-sm); }
    .glass-card:hover { transform: none; }
    .sidebar-widget { padding: 0.8rem; }

    /* Match cards */
    .match-card { padding: 0.6rem 0.75rem; }
    .match-card .team-logo { width: 24px; height: 24px; }
    .match-card .team-name { font-size: 0.78rem; }
    .match-card .score { font-size: 1.1rem; min-width: 50px; }
    .match-card .competition-badge { font-size: 0.6rem; padding: 1px 6px; }

    /* Tables */
    .table-standings { font-size: 0.75rem; }
    .table-standings thead th { font-size: 0.62rem; padding: 0.4rem 0.3rem; }
    .table-standings tbody td { padding: 0.4rem 0.3rem; }
    .table-standings .team-cell img { width: 22px; height: 22px; }

    /* Match detail */
    .match-header { padding: 1.25rem; }
    .match-score-main { font-size: 1.8rem; }
    .football-pitch { min-height: 350px; padding: 1rem; }
    .pitch-player .player-dot { width: 24px; height: 24px; font-size: 0.55rem; }
    .pitch-player .player-label { font-size: 0.5rem; }
    .stat-bar-wrapper { display: none; }
    .stat-row .stat-label { font-size: 0.65rem; min-width: 70px; flex: 0 0 70px; }

    /* Predictions */
    .pred-big-score { font-size: 2.2rem; letter-spacing: 4px; }
    .pred-pct-big { font-size: 1.1rem; }
    .pred-xg-big { font-size: 1.5rem; }
    .pred-gauge { width: 50px; height: 50px; }
    .pred-gauge-value { font-size: 0.68rem; }
    .pred-score-value { font-size: 1.2rem; }
    .pred-detail-header { padding: 1.25rem; }
    .pred-team img { width: 32px; height: 32px; }
    .pred-team-name { font-size: 0.75rem; }
    .pred-probs { gap: 0.8rem; }
    .pred-metrics { gap: 0.4rem; }
    .pred-metric-value { font-size: 0.78rem; }
    .comp-row { display: none; }
    .prediction-pro-card .pred-body { padding: 0.75rem; }
    .prediction-pro-card .pred-analysis { padding: 0 0.75rem 0.5rem; }

    /* Scores list */
    .scorer-item { gap: 0.4rem; padding: 0.4rem 0; }
    .scorer-name { font-size: 0.8rem; }
    .scorer-goals { font-size: 0.88rem; }

    /* News */
    .news-card .news-image { height: 140px; }
    .news-card .news-title { font-size: 0.82rem; }

    /* League cards */
    .league-card { padding: 0.75rem; }
    .league-card-logo { width: 32px; height: 32px; }
    .league-card-name { font-size: 0.8rem; }
    .league-card-ribbon { font-size: 0.5rem; padding: 2px 28px; top: 8px; right: -30px; }

    /* World Cup */
    .wc-hero { padding: 1.25rem; }
    .wc-hero h1 { font-size: 1.4rem !important; }

    /* Tabs */
    .nav-tabs-custom { width: 100%; display: flex; }
    .nav-tabs-custom .nav-link { flex: 1; text-align: center; font-size: 0.72rem; padding: 0.4rem 0.5rem; }

    /* Footer */
    .footer-1xfoot { padding: 1.5rem 0 1rem; }
    .footer-title { font-size: 0.82rem; margin-bottom: 0.5rem; }

    /* Admin */
    .admin-sidebar { transform: translateX(-100%); width: 240px; }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-content { margin-left: 0; padding: 1rem; }

    /* Section */
    .section-header { margin-bottom: 0.75rem; padding-bottom: 0.5rem; }
    .section-title { font-size: 0.88rem; }

    /* Buttons */
    .btn-gold, .btn-outline-gold { font-size: 0.78rem; padding: 0.4rem 0.9rem; }

    /* Vote */
    .vote-btn { padding: 0.4rem 0.3rem; font-size: 0.7rem; }
    .vote-btn-label { font-size: 0.88rem; }
    .pred-vote { padding: 0.4rem 0.75rem; }
}

@media (max-width: 480px) {
    .match-card .team-name { font-size: 0.72rem; }
    .match-card .score { font-size: 1rem; min-width: 44px; }
    .match-card .competition-badge { display: none; }
    .pred-big-score { font-size: 1.8rem; }
    .pred-team img { width: 28px; height: 28px; }
    .pred-score { font-size: 1.2rem; }
    .table-standings .team-cell img { width: 20px; height: 20px; }
    .table-standings { font-size: 0.7rem; }
    .nav-tabs-custom .nav-link { font-size: 0.65rem; padding: 0.35rem 0.4rem; }
    .league-card-logo { width: 28px; height: 28px; }
    .league-card-name { font-size: 0.75rem; }
    .wc-hero h1 { font-size: 1.1rem !important; }
}

/* ═══ NEW HEADER — Premium ═══ */
.topbar { background: #071C3A; padding: 0; height: 32px; display: flex; align-items: center; }
.tb-domain { font-weight: 800; font-size: 0.75rem; color: #fff; }
.tb-sep { color: rgba(255,255,255,0.2); margin: 0 6px; font-weight: 300; }
.tb-slogan { font-size: 0.7rem; color: var(--gold); font-weight: 500; }
.tb-pulse { width: 6px; height: 6px; background: var(--success); border-radius: 50%; margin-left: 6px; animation: blink 2s ease-in-out infinite; }
.tb-link { color: rgba(255,255,255,0.65) !important; font-size: 0.7rem; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; transition: color 0.15s; padding: 0; }
.tb-link:hover { color: #fff !important; }
.tb-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.15); margin: 0 10px; }
.lang-dropdown { right: 0; left: auto; min-width: 160px; }
.lang-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 0.8rem; font-weight: 500; color: var(--text) !important; text-decoration: none; transition: all 0.12s; }
.lang-item:hover { background: var(--secondary); }
.lang-item.active { background: #EEF2FF; color: var(--blue) !important; font-weight: 700; }
.lang-flag { font-size: 1.15rem; }
.lang-name { flex: 1; }
.lang-check { color: var(--blue); font-size: 0.85rem; }
.main-nav { background: var(--blue); padding: 0; position: sticky; top: 0; z-index: 1050; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.mn-brand { display: flex; align-items: center; gap: 8px; text-decoration: none !important; padding: 0.55rem 0; margin-right: 1rem; }
.mn-logo { width: 30px; height: 30px; background: rgba(255,255,255,0.15); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.85rem; }
.mn-name { font-weight: 900; font-size: 0.95rem; color: #fff; display: block; line-height: 1; }
.mn-sub { font-weight: 600; font-size: 0.48rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 2px; display: block; }
.mn-links { gap: 0; }
.mn-link { color: rgba(255,255,255,0.8) !important; font-weight: 500; font-size: 0.8rem; padding: 0.7rem; display: inline-flex; align-items: center; gap: 5px; transition: all 0.15s; text-decoration: none; position: relative; background: none; border: none; cursor: pointer; white-space: nowrap; }
.mn-link:hover { color: #fff !important; background: rgba(255,255,255,0.08); }
.mn-link.active { color: #fff !important; }
.mn-link.active::after { content:''; position:absolute; bottom:0; left:0.7rem; right:0.7rem; height:2px; background:var(--gold); border-radius:2px 2px 0 0; }
.mn-live-dot { width: 6px; height: 6px; background: #EF4444; border-radius: 50%; animation: blink 1.5s ease-in-out infinite; }
.mn-wc { display:inline-flex; align-items:center; gap:5px; padding:0.3rem 0.8rem; margin:0.25rem 0.2rem; font-weight:800; font-size:0.78rem; color:#fff !important; background:linear-gradient(135deg,#B8860B,#DAA520,#FFD700); border-radius:6px; text-decoration:none; transition:all 0.2s; box-shadow:0 2px 8px rgba(218,165,32,0.25); }
.mn-wc:hover { background:linear-gradient(135deg,#DAA520,#FFD700,#FFE44D); color:#1A1A2E !important; transform:translateY(-1px); }
.mn-wc.active { background:linear-gradient(135deg,#FFD700,#FFE44D); color:#1A1A2E !important; }
.mn-signin { display:inline-flex; align-items:center; gap:6px; padding:0.4rem 1.1rem; border-radius:8px; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2); color:#fff !important; font-size:0.8rem; font-weight:600; text-decoration:none; transition:all 0.2s; }
.mn-signin:hover { background:rgba(255,255,255,0.22); transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,0,0,0.15); color:#fff !important; }
.mn-user-btn { display:inline-flex; align-items:center; gap:6px; padding:0.4rem 0.7rem; color:rgba(255,255,255,0.85) !important; font-size:0.8rem; font-weight:500; background:none; border:none; cursor:pointer; font-family:inherit; }
.mn-user-btn:hover { color:#fff !important; }
.mn-avatar { width:26px; height:26px; background:rgba(255,255,255,0.2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:0.7rem; color:rgba(255,255,255,0.8); }
@media(max-width:768px){.topbar{height:28px}.tb-domain{font-size:0.68rem}.tb-slogan{display:none}.mn-brand{margin-right:0.5rem}.mn-name{font-size:0.85rem}}

/* ═══ Competitions Bar — Premium ═══ */
.comp-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
    scrollbar-width: none;
}
.comp-bar::-webkit-scrollbar { display: none; }
.comp-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.comp-pill::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--pill-color, var(--blue));
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.2s;
}
.comp-pill:hover {
    border-color: var(--pill-color, var(--blue));
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.comp-pill:hover::before { opacity: 1; }
.comp-pill-logo {
    width: 32px;
    height: 32px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.comp-pill-logo img { width: 22px; height: 22px; object-fit: contain; }
.comp-pill-info { display: flex; flex-direction: column; line-height: 1.1; }
.comp-pill-name { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.comp-pill-country { font-size: 0.58rem; color: var(--text-light); font-weight: 500; }

@media (max-width: 768px) {
    .comp-pill { padding: 6px 12px 6px 6px; border-radius: 10px; }
    .comp-pill-logo { width: 28px; height: 28px; border-radius: 6px; }
    .comp-pill-logo img { width: 18px; height: 18px; }
    .comp-pill-name { font-size: 0.7rem; }
}

/* ═══ Mobile Fixes — Match Rows & League Groups ═══ */
@media (max-width: 576px) {
    .container { padding-left: 8px; padding-right: 8px; }
    
    /* League group header */
    .league-group-header { padding: 6px 8px; gap: 6px; }
    .league-group-header img.league-logo { width: 20px; height: 20px; }
    .league-group-header .league-name { font-size: 0.72rem; }
    .league-group-header .league-country { font-size: 0.62rem; }
    .league-group-header .match-count { min-width: 18px; height: 18px; font-size: 0.55rem; }
    .league-group-header img.flag { width: 16px; height: 11px; }

    /* Match rows */
    .match-row { grid-template-columns: 34px 1fr 30px; min-height: 44px; }
    .match-row-status { padding: 2px; }
    .match-row-teams { padding: 4px 6px; gap: 1px; }
    .mr-team { font-size: 0.72rem; gap: 5px; }
    .mr-team img { width: 15px; height: 15px; }
    .mr-team-name { font-size: 0.72rem; }
    .match-row-score { padding: 2px; font-size: 0.78rem; }
    .mr-status-live { font-size: 0.65rem; }
    .mr-status-ft { font-size: 0.58rem; }
    .mr-status-time { font-size: 0.62rem; }
    .mr-status-time small { font-size: 0.48rem; }

    /* Section headers */
    .section-header { margin-bottom: 0.5rem; padding-bottom: 0.4rem; }
    .section-title { font-size: 0.82rem; }
    .section-link { font-size: 0.7rem; }

    /* Page header */
    .page-header { padding: 0.8rem; margin-bottom: 0.8rem; }
    .page-title { font-size: 1rem; }
    .page-subtitle { font-size: 0.72rem; }

    /* Live badge */
    .live-badge { font-size: 0.6rem; padding: 2px 8px; }

    /* League groups */
    .league-group { margin-bottom: 6px; }

    /* Sidebar hide on small */
    .sidebar-widget { padding: 0.7rem; }
    
    /* Topbar */
    .topbar { height: 26px; }
    .tb-domain { font-size: 0.65rem; }
    
    /* Navbar */
    .mn-brand { margin-right: 0; gap: 5px; }
    .mn-logo { width: 26px; height: 26px; font-size: 0.75rem; }
    .mn-name { font-size: 0.82rem; }
    .mn-sub { font-size: 0.42rem; }
}
