:root {
    --bg-dark: #0a0c10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.08);
    --accent-blue: #3b82f6;
    --accent-orange: #fb923c;
    --accent-red: #ef4444;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.05);
    --header-bg: rgba(10, 12, 16, 0.85);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Adaptive Redesign Tokens */
    --accent-notify: #fb923c;
    --accent-live: #ef4444;
    --badge-bg: rgba(255, 255, 255, 0.05);
    --badge-border: rgba(255, 255, 255, 0.1);

    /* Responsive Spacing Tokens */
    --container-padding: clamp(1rem, 5vw, 4rem);
    --section-margin: clamp(0.5rem, 8vh, 4rem);
}

/* ── Light Mode Theme ───────────────────────────────────────────────────────── */
html.light-mode {
    --bg-dark: #f0f2f7;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-hover: rgba(255, 255, 255, 1);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: rgba(0, 0, 0, 0.08);
    --header-bg: rgba(240, 242, 247, 0.85);
    --badge-bg: rgba(0, 0, 0, 0.04);
    --badge-border: rgba(0, 0, 0, 0.1);
}

/* In Light Mode, these buttons need a darker hover state for visibility */
html.light-mode .watch-now-btn:hover,
html.light-mode .tmh-watch-btn:hover,
html.light-mode .hero-btn-live:hover,
html.light-mode .notify-pill-btn:hover {
    background: #f26161;
    color: #fff;
	box-shadow:none;
}

/* Light Mode Match Times - High Contrast */
html.light-mode .time-date,
html.light-mode .tmh-date-str { 
    color: #ea580c; /* Consistent dark orange */
}

/* ── Theme Toggle Button ─────────────────────────────────────────────────────── */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: scale(1.05);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark mode: show moon, hide sun */
.theme-toggle-btn .icon-sun  { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.theme-toggle-btn .icon-moon { opacity: 1; transform: rotate(0deg)   scale(1);   }

/* Light mode: show sun, hide moon */
html.light-mode .theme-toggle-btn .icon-sun  { opacity: 1; transform: rotate(0deg)   scale(1);   }

/* ── Watch Page – Light Mode Fixes ──────────────────────────────────────────── */

/* Related Matches card text */
html.light-mode .rmc-title { color: #0f172a; }

/* Sidebar cards (Stream Sources, Related Matches, Share) */
html.light-mode .sidebar-card {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Stream source cards */
html.light-mode .source-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

/* Social share buttons */
html.light-mode .social-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #475569;
}

/* Watch page general text */
html.light-mode .stream-info h2 { color: #0f172a; }

/* Video player area – keep dark (it's a cinema area) but soften from pure black */
html.light-mode .player-container {
    background: #fefefe;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.25);
    outline: 1px solid rgba(0, 0, 0, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Header & Nav */



/* Modern Header & Navigation */
.app-header {
    position: fixed;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - (var(--container-padding) * 2));
    max-width: 1400px;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(13, 17, 23, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
    .app-header {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        background: rgba(10, 12, 16, 0.95);
        border-top: none;
        border-left: none;
        border-right: none;
        padding: 0.2rem 0;
    }
}

/* Scrolled State */
.app-header.header-scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 16px 16px;
    background: rgba(10, 12, 16, 0.9);
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0.4rem 0;
}

.header-container {
    padding: 0.6rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* New ARENA LIVES Logo */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.logo-main {
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-accent {
    font-weight: 500;
    color: var(--accent-red);
    text-transform: uppercase;
    opacity: 0.9;
}

.live-indicator {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    letter-spacing: 0.2px;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-blue);
}

.nav-link:hover::after {
    width: 30%;
}

.livenow-link {
    color: var(--accent-red) !important;
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
    background-size: 200% auto;
    background-image: linear-gradient(to right, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.25) 50%, rgba(239, 68, 68, 0.08) 100%);
    animation: shimmer 3s infinite linear;
}

.livenow-link:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

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

.search-container {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    max-width: 280px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.search-container:focus-within {
    max-width: min(380px, 100%);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.search-container input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
}

.search-container svg {
    color: var(--text-secondary);
    opacity: 0.6;
    flex-shrink: 0;
}

.search-container input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Badges & UI Elements */
.pro-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none; /* Make sport text non-clickable */
    user-select: none;
}

.match-card .pro-badge, .match-card .pro-badgelive {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px 0 14px 0;
    border-top: none;
    border-left: none;
    z-index: 5;
    background: rgba(59, 130, 246, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.league-tag {
    font-size: 0.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
    margin-bottom: 2px;
}



.scorehr {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 2.5px;
    margin-left: 8px;
}

.scorest,
.timest {
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
	cursor: pointer;
}

.scorest {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--accent-live);
}

.timest {
    background: rgba(251, 146, 60, 0.08);
    border-color: rgba(251, 146, 60, 0.15);
    color: var(--accent-orange);
}
.timemn {
	background: rgba(251, 146, 60, 0.12);
    border: 1px solid rgba(251, 146, 60, 0.15);
    color: var(--accent-orange);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rmc-upcoming-label {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    border-bottom-left-radius: 16px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 15;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(251, 146, 60, 0.08) 100%);
    border-bottom: 1px solid rgba(251, 146, 60, 0.25);
    border-left: 1px solid rgba(251, 146, 60, 0.25);
    color: var(--accent-orange);
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.is-live .rmc-upcoming-label {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.08) 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.25);
    border-left: 1px solid rgba(239, 68, 68, 0.25);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Section Header & Horizontal Nav Controls */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.view-all-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.scroll-controls {
    display: flex;
    gap: 0.75rem;
}

.scroll-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    padding-bottom: 4px;
    /* Optical alignment for symbols */
    user-select: none;
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.scroll-btn:active {
    transform: scale(0.95);
}

@media (max-width: 480px) {
    /* Rule moved to bottom for better override */
}

/* Date Filter Pills */
.date-filter-bar {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 1.5rem;
}
.date-filter-bar::-webkit-scrollbar {
    display: none;
}
.date-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.6rem 1.25rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.date-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}
.date-pill.active {
    background: rgba(251, 146, 60, 0.15);
    border-color: rgba(251, 146, 60, 0.3);
    color: var(--accent-orange);
}

/* ── Date Groups & Row Containers ─────────────────────────────────────────── */
.date-group {
    grid-column: 1 / -1;
    margin-bottom: 2.5rem;
    width: 100%;
}
.date-group .section-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.date-group-label {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
}
.date-group-dot {
    background: #fb923c;
    display: inline-block;
    margin-right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.row-container {
    padding-bottom: 0.5rem;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    margin-left: calc(var(--container-padding) * -1);
    margin-right: calc(var(--container-padding) * -1);
}
.row-container::-webkit-scrollbar {
    display: none;
}


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 550px;
    height: auto;
    padding: clamp(6rem, 12vh, 10rem) var(--container-padding) clamp(4rem, 8vh, 6rem);
    padding: 7rem 1.5rem 0rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(4px) brightness(0.5);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.9) 100%);
    z-index: 1;
}

/* ── Split Hero Layout ───────────────────────────────────────────────── */
.hero-split-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

@media (max-width: 1024px) {
    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-left, .hero-right {
        align-items: center;
        justify-content: center;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
	cursor: pointer;
}

/* Floating Hero Slider Card */
.hero-slider-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4 / 3;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    background: var(--card-bg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}


/* Hero Slider Card Badge */
.hero-card-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.6rem 1.25rem;
    border-bottom-left-radius: 24px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 15;
    background: rgba(13, 17, 23, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.top-matches-grid-container {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
}

/* Count 4: 2x2 grid */
.top-matches-grid-container.grid-count-4 {
    grid-template-columns: repeat(2, 1fr);
}

/* Count 3: 1 Side Featured, 2 Side Stacked */
.top-matches-grid-container.grid-count-3 {
    grid-template-columns: 1.6fr 1fr;
}
.top-matches-grid-container.grid-count-3 .top-match-hero:first-child {
    grid-row: span 2;
    min-height: 504px; /* Matches height of 2 stacked 240px cards + 1.5rem/24px gap */
}
.top-matches-grid-container.grid-count-3 .top-match-hero:not(:first-child) {
    min-height: 240px;
}

/* Count 2: Two simple columns */
.top-matches-grid-container.grid-count-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Count 1: Single large card */
.top-matches-grid-container.grid-count-1 {
    grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
    .top-matches-grid-container,
    .top-matches-grid-container.grid-count-4,
    .top-matches-grid-container.grid-count-3,
    .top-matches-grid-container.grid-count-2 {
        grid-template-columns: 1fr !important;
    }
    .top-matches-grid-container.grid-count-3 .top-match-hero:first-child {
        grid-row: auto;
        min-height: 300px;
    }
}

.top-match-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    min-height: 240px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.top-match-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.top-match-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) blur(1px);
    transition: transform 0.8s ease;
}

.top-match-hero:hover .top-match-hero-bg img {
    transform: scale(1.03);
}

.top-match-hero-content {
    position: relative;
    z-index: 5;
    padding: 1rem 1rem 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Red Tag Container */
.tmh-tags {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    z-index: 10;
    width: 100%;
    justify-content: space-between;
}

.tmh-sport-tag {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #1d4ed8 100%);
    color: #fff;
    font-weight: 900;
    font-size: 0.65rem;
    padding: 8px 16px;
    border-bottom-right-radius: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.tmh-league-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-weight: 800;
    font-size: 0.65rem;
    padding: 8px 16px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40%;
}

.tmh-live-tag {
    background: rgba(185, 28, 28, 0.2);
    color: var(--accent-red);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 8px 16px;
    border-bottom-left-radius: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Logos & Score Row */
.tmh-center {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1.2rem;
    margin-top: 2rem;
    padding: 1rem;
}

/* Dynamic Grid (1-4 Cards) */
#top-matches-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

/* Base card */
.top-match-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.top-match-hero:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Grid-specific layouts */
#top-matches-grid.grid-1 { grid-template-columns: 1fr; }
#top-matches-grid.grid-2 { grid-template-columns: 1fr 1fr; }
#top-matches-grid.grid-4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }

#top-matches-grid.grid-3 {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        "mega right-top"
        "mega right-bottom";
}

#top-matches-grid.grid-3 .top-match-hero:nth-child(1) { grid-area: mega; }
#top-matches-grid.grid-3 .top-match-hero:nth-child(2) { grid-area: right-top; min-height: 0; }
#top-matches-grid.grid-3 .top-match-hero:nth-child(3) { grid-area: right-bottom; min-height: 0; }

@media (max-width: 992px) {
    #top-matches-grid.grid-2, 
    #top-matches-grid.grid-3, 
    #top-matches-grid.grid-4 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: none;
    }
    #top-matches-grid.grid-3 .top-match-hero:nth-child(1),
    #top-matches-grid.grid-3 .top-match-hero:nth-child(2),
    #top-matches-grid.grid-3 .top-match-hero:nth-child(3) {
        grid-area: auto;
    }
}

/* Card Components Update */
.tmh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
    filter: brightness(0.6) contrast(1.1);
    transition: transform 0.8s ease;
}

.top-match-hero:hover .tmh-bg {
    transform: scale(1.1);
}

.tmh-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.95) 100%);
    z-index: 1;
}

.tmh-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Featured (Mega) Card Special Styles */
#top-matches-grid.grid-3 .top-match-hero:first-child .tmh-content,
#top-matches-grid.grid-1 .top-match-hero .tmh-content {
    padding: 3rem 2rem;
    justify-content: center; /* Center everything by default in hero */
}

#top-matches-grid.grid-3 .top-match-hero:first-child .tmh-center,
#top-matches-grid.grid-1 .top-match-hero .tmh-center {
    margin-top: auto;
    margin-bottom: auto;
}

#top-matches-grid.grid-3 .top-match-hero:first-child .tmh-btn-wrap,
#top-matches-grid.grid-1 .top-match-hero .tmh-btn-wrap {
    margin-top: auto; /* Push button back to bottom */
}



#top-matches-grid.grid-3 .top-match-hero:first-child .tmh-logo,
#top-matches-grid.grid-1 .top-match-hero .tmh-logo {
    width: 100px;
    height: 100px;
}

.tmh-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.tmh-single-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

#top-matches-grid.grid-3 .top-match-hero:first-child .tmh-single-title,
#top-matches-grid.grid-1 .top-match-hero .tmh-single-title {
    font-size: 2.5rem;
}

.tmh-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.tmh-score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tmh-score-txt {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-red);
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.tmh-vs-txt {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    opacity: 0.2;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.tmh-time-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 90px;
    backdrop-filter: blur(10px);
}

.tmh-date-str {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    opacity: 0.9;
}

.tmh-clock-str {
    font-size: 1.2rem;
    font-weight: 950;
    color: #fff;
    letter-spacing: 1px;
}

.tmh-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tmh-league {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}


.tmh-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.tmh-team-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tmh-btn-wrap {
    margin-top: 1.5rem;
}

.tmh-watch-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #1d4ed8 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
}

.tmh-watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #60a5fa 0%, var(--accent-blue) 100%);
}

.tmh-status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.tmh-status-live {
    background: rgba(239, 68, 68, 0.2);
    color: #fff;
    border: 1px solid rgba(239, 68, 68, 0.3);
    pointer-events: none;
}

.tmh-status-upcoming {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Removed unused Sidebar & Bottom row styles for the new 2x2 Grid */

.tm-list-card {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 12px;
    position: relative;
    padding: 1.5rem 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}
.tm-list-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.tml-sport-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-red);
    color: #fff;
    font-weight: 800;
    font-size: 0.65rem;
    padding: 4px 12px;
    border-bottom-right-radius: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tml-status-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 800;
    font-size: 0.6rem;
    padding: 3px 10px;
    border-bottom-left-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
}

.tml-live-badge {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 1px solid rgba(239, 68, 68, 0.2);
}

.tml-upcoming-badge {
    background: rgba(251, 146, 60, 0.1);
    color: var(--accent-orange);
    border-bottom: 1px solid rgba(251, 146, 60, 0.2);
    border-left: 1px solid rgba(251, 146, 60, 0.2);
}

.tml-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
	margin-top:1.5rem;
}

.tml-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.tml-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    color: #fff;
}

.tml-vs {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
}

.tml-score {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fbbf24;
}

.tml-date-wrap {
    text-align: center;
    margin-top: 8px;
}
.tml-day {
    color: #fbbf24;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.tml-time {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.8rem;
}

.tml-btn-wrap {
    margin: auto -1rem 0 -1rem;
    width: calc(100% + 2rem);
}
.tml-watch-btn {
    background: var(--accent-red);
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
    height: 44px;
    width: 100%;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 0;
}
.tml-watch-btn:hover {
    background: #dc2626;
}

/* ========================================================= */


.hero-card-badge.is-live {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fff;
    box-shadow: -5px 5px 20px rgba(239, 68, 68, 0.2);
}

.hero-slider-card:hover .hero-card-badge {
    padding-right: 1.5rem;
    padding-top: 0.8rem;
    background: rgba(13, 17, 23, 0.8);
}

.hero-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.7) contrast(1.1);
    transition: transform 1s ease;
}

.hero-slider-card:hover .hero-card-bg {
    transform: scale(1.1);
}

.hero-section {
    position: relative;
    padding: 7rem 1.5rem 0rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cinematic Noise Overlay */
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: url("/images/default_hero.jpg");
    opacity: 0.1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.95) 100%);
    z-index: 1;
}


.hero-title {
    font-size: clamp(2.2rem, 8vw, 3.8rem);
    font-weight: 1000;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-card-meta {
    margin-bottom: 1.75rem;
}

.hero-card-actions {
    display: flex;
    gap: 1rem;
}

.hero-card-btn {
    padding: 0.85rem 1.6rem;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
}

.hero-card-btn:active {
    transform: scale(0.95);
}

.heroic-btn-live {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.25);
}

.hero-card-btn-notify {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-card-btn-notify:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-card-btn-notify.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

/* ── Hero Stats Grid ──────────────────────────────────────────────────── */
.hero-stats-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
	margin-bottom: 1rem;
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 0.8rem 1.25rem;
    min-width: 200px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
    opacity: 0;
}

.stats-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.stats-card:hover::before {
    left: 100%;
}

.stats-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(239, 68, 68, 0.3);
    transition: all 0.4s ease;
}


.stats-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stats-value {
    font-size: 1.5rem;
    font-weight: 1000;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}


.stats-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
}

.stats-arrow {
    color: var(--text-secondary);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-arrow {
    opacity: 1;
    transform: translateX(4px);
    color: #fff;
}

/* ── Mobile Overrides ── */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 70vh;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .hero-left {
        align-items: center;
    }
    .hero-right {
        justify-content: center;
    }
    .hero-stats-grid {
        justify-content: center;
    }
    .hero-subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 480px) {
    .hero-slider-card {
        aspect-ratio: 1 / 1;
        border-radius: 28px;
    }
    .stats-card {
        min-width: 100%;
        padding: 1rem 1.4rem;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-title {
    font-size: clamp(1.2rem, 6vw, 2.2rem);
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

/* Adaptive Hero Buttons */
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
    border-radius: 14px;
    font-weight: 800;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    color: #fff;
    text-decoration: none;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-btn-live {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Rows & Grids */
.content-row {
    margin-top: var(--section-margin);
    padding: 0 var(--container-padding);
    scroll-margin-top: 120px;
}

.section-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.row-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1.5rem;
	padding-top: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.row-container::-webkit-scrollbar {
    display: none;
}

/* Match Cards */
.match-card {
    flex: 0 0 clamp(280px, 20vw, 360px);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    padding: 1.5rem 1.5rem 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.match-card.is-live::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.match-card.is-live::afters {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--accent-red), transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.match-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.meta-left-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.match-title-fallback {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 1.5rem 0;
    text-align: center;
    line-height: 1.4;
}

.watch-btn {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-weight: 800;
    font-size: 0.85rem;
}

.match-card:hover .watch-btn {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

.notify-pill-btn {
    background: rgba(251, 146, 60, 0.04);
    border: none;
    color: var(--accent-orange);
    font-weight: 800;
    font-size: 0.85rem;
    height: 42px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
}

.notify-pill-btn:hover {
    background: rgba(251, 146, 60, 0.12);
    color: #fff;
}

.notify-pill-btn.active {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

.match-card-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 2rem 0;
    padding: 0 20px;
}

.team-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.team-logo-container {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.match-card:hover .team-logo-container {
    transform: scale(1.1) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.team-logo-container img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.team-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    min-height: 2.4em; /* Ensure consistent 2-line height */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.match-score-center {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	margin-top:-2.5rem;
}

.live-score-val {
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: 950;
    color: var(--accent-red);
    text-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
    font-variant-numeric: tabular-nums;
}

.upcoming-time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 5px 5px;
	
	background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.time-date {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-clock {
    font-size: 0.8rem;
    font-weight: 850;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Card Sizes Customizations */
.card-small {
    flex: 0 0 clamp(240px, 15vw, 300px);
    padding: 1.25rem 1.25rem 0;
    border-radius: 20px;
    font-size: 1.2rem;
}

.card-small .team-logo-container {
    width: 44px;
    height: 44px;
}

.card-small .team-logo-container img {
    width: 28px;
    height: 28px;
}

.card-small .team-name {
    font-size: 0.85rem;
}


.live-score-val {
	font-size: 1.3rem;
	padding: 0.6rem;
}

.card-league-header {
    text-align: center;
    margin: 0.7rem 0 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-league-top {
    font-size: 0.65rem;
    font-weight: 850;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.8;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.card-small .match-card-logos {
    margin: 1.2rem 0 0.5rem;
}

.match-card-action-row {
    margin: auto -1.5rem -1px -1.5rem;
    width: calc(100% + 3rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.card-bottom-league {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 850;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.4rem;
    opacity: 0.9;
}

.card-small .match-card-action-row {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
}

.match-card:hover .match-card-action-row {
    border-top-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.watch-now-btn {
    color: var(--accent-red);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(to right, rgba(239, 68, 68, 0.08), transparent);
}

.match-card:hover .watch-now-btn {
    background: linear-gradient(to right, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    color: #fff;
}

/* Center layout for single team events (no away team) */
.match-card-single-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    min-height: 140px;
    padding: 1.5rem 20px 0.5rem;
    margin: 0;
}

.team-name-centered {
    font-size: 1.25rem;
    font-weight: 850;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.upcoming-time-block-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Card Small override for single event */
.card-small .match-card-single-event {
    margin: 1.2rem 0;
    min-height: 80px;
}

.card-small .team-name-centered {
    font-size: 1.1rem;
}

/* Directory Grid */
.sports-directory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
	padding-top:0.5rem;
}

.dir-empty {
    color: var(--text-secondary);
    padding: 2rem;
    text-align: center;
    font-size: 1rem;
    grid-column: 1 / -1;
}

.sport-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    height: fit-content;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sport-category:hover, .sport-category.is-open {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.sport-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 0.75rem;
    transition: all 0.4s ease;
}

/* Accordion Toggle Header */
.sport-cat-toggle {
    cursor: pointer;
    user-select: none;
    transition: all 0.4s ease;
}

.sport-cat-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

.sport-cat-toggle:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: -2px;
}

.sport-cat-header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cat-toggle-chevron {
    color: var(--text-secondary);
    opacity: 0.6;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    flex-shrink: 0;
}

.sport-cat-toggle:hover .cat-toggle-chevron {
    opacity: 1;
}

.sport-category.is-open .cat-toggle-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent-blue);
}

/* Accordion grid panel transition */
.sport-cat-grid {
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}

.sport-cat-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sport-emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.sport-cat-title h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sport-cat-counts {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cat-count {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 10px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cat-count-live {
    background: linear-gradient(to right, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.cat-count-upcoming {
    background: linear-gradient(to right, rgba(251, 146, 60, 0.15), rgba(251, 146, 60, 0.05));
    border: 1px solid rgba(251, 146, 60, 0.25);
    color: #fdba74;
}

/* Group Labels (Live Now / Upcoming) */
.dir-group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-red);
    padding: 0.75rem 1.5rem 0.5rem;
    background: rgba(239, 68, 68, 0.03);
    border-top: 1px solid rgba(239, 68, 68, 0.06);
    border-bottom: 1px solid rgba(239, 68, 68, 0.04);
}

.dir-group-label-upcoming {
    color: var(--accent-orange);
    background: rgba(251, 146, 60, 0.03);
    border-top: 1px solid rgba(251, 146, 60, 0.06);
    border-bottom: 1px solid rgba(251, 146, 60, 0.04);
}

/* Date Filters for Schedule Page */
.date-filter-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    justify-content: center;
}
.date-filter-bar::-webkit-scrollbar {
    height: 6px;
}
.date-filter-bar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.date-pill {
    padding: 8px 16px;
    background: rgba(255,255,255, 0.05);
    border: 1px solid rgba(255,255,255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.date-pill:hover {
    background: rgba(255,255,255, 0.1);
    color: var(--text-primary);
}
.date-pill.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(59,130,246, 0.3);
}

.dir-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
}

.dir-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0%;
    background: var(--accent-blue);
    transition: height 0.3s ease;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.dir-item:hover::after {
    height: 60%;
}

.dir-item:last-child {
    border-bottom: none;
}

.dir-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dir-item-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.dir-info-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dir-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.dir-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    display: block;
    word-break: break-word;
    letter-spacing: -0.2px;
}

.dir-item:hover .dir-title {
    color: #fff;
}

.dir-league {
    font-size: 0.72rem;
    color: var(--text-secondary);
    white-space: nowrap;
    font-style: italic;
}

/* Status Badges */
.dir-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dir-badge-live {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--accent-red);
}

.dir-badge-upcoming {
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.2);
    color: var(--accent-orange);
}

/* Score & Time Micro-badges */
.dir-score {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.dir-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    background: rgba(251, 146, 60, 0.08);
    border: 1px solid rgba(251, 146, 60, 0.15);
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.dir-chevron {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: var(--transition);
}

.dir-item:hover .dir-chevron {
    opacity: 1;
    color: #fff;
    transform: translateX(2px);
}

/* Responsive Directory */
/* ── Search & Dropdown ────────────────────────────────────────────────────────── */
.search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    overflow: hidden;
    animation: dropdownFadeIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    max-height: 480px;
    overflow-y: auto;
}

.sr-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.sr-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.sr-home {
    justify-content: flex-start;
}

.sr-away {
    justify-content: flex-end;
    text-align: right;
}

.sr-team-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    flex-shrink: 0;
}

.sr-team-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-match-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.sr-vs-score {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--text-secondary);
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.sr-vs-score.is-score {
    font-size: 0.9rem;
    color: #fbbf24;
    opacity: 1;
    background: rgba(251, 191, 36, 0.1);
}

.sr-vs-score.is-upcoming-time {
    font-size: 0.75rem;
    color: var(--accent-orange);
    background: rgba(251, 146, 60, 0.1);
}

.search-result-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
    background: rgba(255, 255, 255, 0.08);
}

.sr-meta {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Align items across the width */
    width: 100%;
    margin-top: 6px;
    position: relative;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sr-badge {
    flex-shrink: 0;
}

.sr-sport {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.sr-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.sr-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.sr-vs-text {
    font-size: 0.6rem;
    font-weight: 900;
    color: var(--text-secondary);
    opacity: 0.5;
}

.sr-info {
    flex: 1;
    min-width: 0;
}

.sr-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.sr-badge {
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.sr-badge-live {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.sr-badge-upcoming {
    background: rgba(251, 146, 60, 0.15);
    color: var(--accent-orange);
}

.search-no-results {
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .search-dropdown {
        position: fixed;
        top: 80px;
        left: 10px;
        right: 10px;
        width: auto;
    }
	.hero-stats-grid {
		display:none;
	}
}
@media (max-width: 640px) {
    .sports-directory {
        grid-template-columns: 1fr;
    }
.hero-stats-grid {
		display:none;
	}
    .dir-item {
        padding: 0.7rem 1rem;
    }

    .dir-league {
        display: none;
    }
}

@media (max-width: 480px) {
    .sport-cat-header {
        flex-direction: column;
        align-items: flex-start;
    }
	.hero-stats-grid {
		display:none;
	}
}

/* ── Latest Sports News Section ─────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    display: grid;
    grid-template-areas: "card";
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-height: 280px; /* More compact for home page */
}

.news-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.news-card-img-wrap {
    grid-area: card;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
    position: relative;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img-wrap img {
    transform: scale(1.05);
}

.news-card-overlay, .news-card-content {
    grid-area: card !important;
    position: absolute !important;
    inset: 0 !important;
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    z-index: 20 !important;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.4) 50%,
        transparent 100%
    ) !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    border-radius: inherit !important;
    overflow: hidden !important;
}

.news-card:hover .news-card-overlay,
.news-card:hover .news-card-content {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.98) 0%,
        rgba(0,0,0,0.6) 60%,
        transparent 100%
    ) !important;
}

.news-card-title, .news-title {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.news-card-date {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 4;
    color: rgba(255,255,255,0.8);
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 10px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.news-card-category {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 4;
    color: #fff;
    background: rgba(59, 130, 246, 0.2);
    padding: 3px 10px;
    border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.65rem;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.news-title {
    font-size: 1.35rem; /* Larger for overlay style */
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.news-snippet {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 5px;
}

.news-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-img-placeholder::after {
    content: 'ARENA LIVES';
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.05);
}

/* Red Article Style */
.news-card.custom-article .news-card-category {
    color: #fff;
    background: rgba(239, 68, 68, 0.15);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .header-container {
        gap: 1rem;
    }

    .search-container {
        max-width: 280px;
    }
	
}


@media (max-width: 640px) {

    /* Mobile Large */
    .main-nav {
        display: none;
    }

    /* Could be replaced by hamburger */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-section {
        min-height: 400px;
        padding-bottom: 3rem;
    }

    .match-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 480px) {

    /* Mobile Small */
    .app-header {
        top: 0;
        width: 100%;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .logo a {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .scroll-controls {
        display: none !important;
    }
}

/* Utils */
.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
}

.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.1);
        opacity: 0.5;
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* ── Site Footer ───────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 3rem var(--container-padding) 1rem;
    margin-top: 5rem;
    color: var(--text-secondary);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}


.footer-brand .logo a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-blue);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: #FFF;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-copyright {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}

.footer-copyright p {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.footer-disclaimer {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.6;
    max-width: 700px;
    text-align: right;
    font-weight: 500;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-brand, .footer-col {
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .footer-disclaimer {
        text-align: center;
        max-width: 100%;
    }
}

/* Light Mode Overrides */
html.light-mode .site-footer {
    background: #fff;
}


/* ── Hero Remind Button Override ───────────────────────────────────────────── */
/* Makes the bell button in the hero section feel cohesive with the card style */
.hero-btn-upcoming {
    background: rgba(251, 146, 60, 0.12);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: var(--accent-orange);
    gap: 10px;
}

.hero-btn-upcoming:hover {
    background: rgba(251, 146, 60, 0.22);
    border-color: rgba(251, 146, 60, 0.6);
    color: #fff;
    box-shadow: 0 12px 28px rgba(251, 146, 60, 0.2);
}

.hero-btn-upcoming.active {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.hero-btn-upcoming.active:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.7);
    color: #fff;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.15);
}

/* ── Search Dropdown (Home Page) ──────────────────────────────────────────── */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    min-width: 320px;
    max-height: 420px;
    overflow-y: auto;
    border-radius: 14px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    z-index: 2000;
}

.search-dropdown::-webkit-scrollbar { width: 5px; }
.search-dropdown::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

.sd-item {
    padding: 12px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s ease;
}

.sd-item:first-child { border-radius: 14px 14px 0 0; }
.sd-item:last-child { border-bottom: none; border-radius: 0 0 14px 14px; }
.sd-item:only-child { border-radius: 14px; }

.sd-item:hover { background: rgba(251, 146, 60, 0.12); }

.sd-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.sd-meta {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sd-meta.live { color: var(--accent-red); }

.sd-no-results {
    padding: 14px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
    border-radius: 14px;
}

/* ── Static Pages (About, DMCA, etc.) ───────────────────────────────────────── */
.static-page-hero {
    padding: 8rem var(--container-padding) 4rem;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05), transparent);
    text-align: center;
}

.static-page-hero h1 {
    font-size: clamp(2.2rem, 8vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.static-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--container-padding) 8rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.static-page-content h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 3rem 0 1.5rem;
}

.static-page-content h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.static-page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.static-page-content ul, .static-page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.static-page-content li {
    margin-bottom: 0.75rem;
}

/* ── Watch Page Specifics ───────────────────────────────────────────────────── */
.load-more-streams-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    margin: 1.5rem auto 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.load-more-streams-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

/* ── Latest News Row Layout ─────────────────────────────────────────────────── */
.latest-news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.lns-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .lns-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .lns-list {
        grid-template-columns: 1fr;
    }
}

.lns-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Cinematic News Card Overlay ────────────────────────────────────────────── */
.sidebar-news-card {
    position: relative;
    aspect-ratio: 16/10;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sidebar-news-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 20px rgba(59, 130, 246, 0.25);
}

.snc-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.snc-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        transparent 100%);
    z-index: 2;
}

.snc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.sidebar-news-card:hover .snc-image img {
    transform: scale(1.15);
}

.snc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.snc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.snc-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 4;
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent-blue);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.snc-date-corner {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.3);
    padding: 3px 10px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ── Sidebar News Card Text (deduplicated & fixed) ── */
.snc-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    transition: color 0.3s ease;
}

.snc-footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-blue);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sidebar-news-card:hover .snc-footer {
    opacity: 1;
    transform: translateX(4px);
}

/* ── Mobile Hamburger Menu ────────────────────────────────────────────────── */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
}

.hamburger-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.hamburger-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    flex-direction: column;
}

.mobile-nav-drawer.is-open { display: flex; }

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-panel {
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.98);
    border-left: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    gap: 0.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.is-open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.08);
}

.mobile-nav-link.livenow {
    color: var(--accent-red);
    background: rgba(239,68,68,0.06);
    border-color: rgba(239,68,68,0.12);
}

.mobile-nav-link.livenow:hover {
    background: rgba(239,68,68,0.12);
    color: #fff;
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.75rem 0;
}

@media (max-width: 768px) {
    .hamburger-btn { display: flex; }
    .main-nav { display: none; }
}

/* ── Section Icon Pills ────────────────────────────────────────────────────── */
.section-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid;
    flex-shrink: 0;
}

.section-icon-pill--blue {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

.section-icon-pill--red {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
}

.section-icon-pill--orange {
    background: rgba(251, 146, 60, 0.12);
    border-color: rgba(251, 146, 60, 0.25);
}

/* ── Mobile Nav Live Dot ───────────────────────────────────────────────────── */
.mobile-nav-live-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
}

/* ── Search Dropdown (hidden by default) ───────────────────────────────────── */
.search-dropdown { display: none; }

/* ── Schedule Page Layout ──────────────────────────────────────────────────── */
.schedule-main {
    min-height: 60vh;
    padding-top: 6rem; /* Account for fixed header */
}

/* Remove double padding when hero is present */
.schedule-main:has(.hero-section:first-child),
.schedule-main:has(.league-hero:first-child),
.schedule-main:has(.sport-hero:first-child) {
    padding-top: 0;
}

.date-filter-bar {
    margin-bottom: 25px;
}

/* ── Home News Section ─────────────────────────────────────────────────────── */
.news-section-home {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 2rem;
    border-radius: 24px;
}

.news-section-home .section-title {
    margin-bottom: 2rem;
}

/* ── Match Meta Row ────────────────────────────────────────────────────────── */
.match-meta {
    justify-content: space-between;
}

/* ── Live Score (single-team card) ────────────────────────────────────────── */
.live-score-val-block {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    display: block;
    text-align: center;
}

/* ── Article Content ───────────────────────────────────────────────────────── */
.article-content {
    margin-top: 2.5rem;
}

.article-placeholder-tall {
    height: 350px;
}

/* ── Watch Page: Loading & Hint Text ───────────────────────────────────────── */
.loading-connecting-text {
    margin-top: 1rem;
    color: var(--text-secondary);
}

.stream-hint-text {
    margin-top: -0.5rem;
    font-size: 0.72rem;
    color: var(--text-secondary);
    opacity: 0.8;
    font-style: italic;
    padding-left: 0.5rem;
}

/* ── Watch Page: Latest News ────────────────────────────────────────────────── */
.latest-news-sidebar { display: none; }

.lns-title-icon { color: var(--accent-orange); }

/* ── Watch Page: Sidebar Header ─────────────────────────────────────────────── */
.sidebar-header-spaced { margin-bottom: 1rem; }

.sidebar-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header-icon { color: var(--accent-red); }

.sidebar-section-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

/* ── Watch Page: Related Matches ───────────────────────────────────────────── */
.related-list-col {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* ── Search Dropdown Items (watch.js) ──────────────────────────────────────── */
.sd-meta {
    justify-content: space-between;
    width: 100%;
    margin-top: 6px;
}

.sd-sport-badge {
    font-size: 0.55rem;
    padding: 1px 5px;
    border-radius: 3px;
}

.sd-score-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.sd-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    color: var(--accent-red);
    font-size: 0.65rem;
}

.sd-upcoming-badge {
    font-weight: 800;
    color: var(--accent-orange);
    font-size: 0.65rem;
}

/* ── Stream Error / Status Text ─────────────────────────────────────────────── */
.stream-error-text { color: var(--accent-red); }
.stream-notice-text { color: var(--text-secondary); }

/* ── Admin Utility Classes ──────────────────────────────────────────────────── */
.admin-nav-link {
    text-decoration: none;
}

/* ── Additional Extracted Utilities ─────────────────────────────────────────── */
.dmca-contact-card { border-color: var(--accent-red); }
.alternative-contact-title { margin-top: 4rem; }
.sponsored-badge { font-size: 0.6rem; opacity: 0.5; }
.live-news-dot { width: 6px; height: 6px; margin-right: 8px; }
.load-more-container { display: none; }
.related-empty-text { color: var(--text-secondary); font-size: 0.9rem; }
.related-error-text { color: var(--accent-red); font-size: 0.9rem; }

/* ── Render-Utils Extracted Classes ── */
.tmh-empty { color: var(--text-secondary); padding: 1rem; }
.tmh-center-col { flex-direction: column; gap: 8px; }

.hero-subtitle-dynamic { font-size: clamp(1rem, 1.4vw, 1.25rem); color: rgba(255,255,255,0.8); margin-bottom: 1rem; max-width: 750px; line-height: 1.6; font-weight: 500; margin-inline: auto; animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.1s forwards; opacity: 0; }
.hero-subtitle-stats { font-size: clamp(1rem, 1.5vw, 1.25rem); color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; max-width: 800px; line-height: 1.6; font-weight: 500; }
.hero-subtitle-hero { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 1.5rem; font-weight: 500; }

.hero-trust-signals-dynamic { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: center; animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards; opacity: 0; }
.hero-trust-signals-stats { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 3rem; justify-content: flex-start; flex-wrap: wrap; }

.trust-signal-pill { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; padding: 6px 14px; border-radius: 100px; backdrop-filter: blur(10px); }
.trust-signal-pill-free { color: #10b981; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); }
.trust-signal-pill-hd { color: #3b82f6; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); }
.trust-signal-pill-signup { color: #8b5cf6; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.2); }

.trust-signal-pill-stats { gap: 6px; font-size: 0.95rem; font-weight: 600; border-radius: 6px; padding: 6px 12px; }

.stats-icon-upcoming { background: rgba(251, 146, 60, 0.15); color: var(--accent-orange); border: 1px solid rgba(251, 146, 60, 0.2); }

.hero-overlay-radial { background: radial-gradient(circle at center, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.9) 100%); }
.hero-bg-filtered { opacity: 0.4; filter: blur(4px) brightness(0.5); }

.hero-meta-live { color: var(--accent-red); font-weight: 600; display:flex; align-items:center; gap:8px; }
.hero-meta-upcoming-wrap { display:flex; align-items:center; gap:12px; }
.hero-meta-upcoming { color: var(--accent-orange); font-weight: 600; display:flex; align-items:center; gap:8px; }

.sport-cat-grid-hidden { max-height: 0; opacity: 0; overflow: hidden; }
.hero-wrap-900 { max-width: 900px; }
.hero-title-stats { margin-bottom: 1.2rem; }
.hero-watch-icon { margin-right: 8px; }

/* Category Colors */
.cat-bg-football, .cat-bg-soccer { background-color: #10b981 !important; border-color: #10b981 !important; }
.cat-bg-basketball { background-color: #f59e0b !important; border-color: #f59e0b !important; }
.cat-bg-tennis { background-color: #8b5cf6 !important; border-color: #8b5cf6 !important; }
.cat-bg-hockey, .cat-bg-icehockey, .cat-bg-ice-hockey { background-color: #06b6d4 !important; border-color: #06b6d4 !important; }
.cat-bg-cricket { background-color: #84cc16 !important; border-color: #84cc16 !important; }
.cat-bg-baseball { background-color: #ef4444 !important; border-color: #ef4444 !important; }
.cat-bg-mma, .cat-bg-ufc { background-color: #ec4899 !important; border-color: #ec4899 !important; }
.cat-bg-rugby { background-color: #14b8a6 !important; border-color: #14b8a6 !important; }
.cat-bg-golf { background-color: #a3a832 !important; border-color: #a3a832 !important; }
.cat-bg-motorsport, .cat-bg-f1, .cat-bg-racing { background-color: #f97316 !important; border-color: #f97316 !important; }
.cat-bg-sports, .cat-bg-default { background-color: #3b82f6 !important; border-color: #3b82f6 !important; }
/* -- Polished Site Footer -------------------------------------------------- */
.site-footer {
    background: #080a0f;
    padding: 3rem 0 1.5rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
    z-index: 5;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
	text-align:left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    transform: translateY(-4px);
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
    color: #fff;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* Footer Columns */
.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-link::before {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-blue);
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    text-align: left;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    flex-shrink: 0;
}
.other-leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 640px) {
    .other-leagues-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}





.olc-content {
    position: relative;
    z-index: 2;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.olc-sport {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.4rem;
}

.olc-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0;
}

.olc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.8;
}

.olc-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.olc-view {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 4px;
    transform: translateX(-10px);
    opacity: 0;
    transition: var(--transition);
}

.other-league-card:hover .olc-view {
    transform: translateX(0);
    opacity: 1;
}

/* Light Mode Overrides */
html.light-mode .other-league-card {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}




/* ── Breadcrumb Navigation ────────────────── */
.breadcrumb-nav {
    position: relative;
    z-index: 50;
    padding: 1.25rem 1.5rem;
    margin-top: 5.5rem; /* Initial space for header */
    max-width: 1400px;
    margin-inline: auto;
    width: 100%;
}

.hero-content .breadcrumb-nav {
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    display: flex;
    justify-content: flex-start;
}

.breadcrumb-container {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08); /* slight inner border */
    padding: 0.5rem 1rem;
    border-radius: 100px; /* pill shape */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem; /* Space between home icon and text */
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.breadcrumb-item a:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    pointer-events: none;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

/* Specific adjustment for news article view context */
#article-view .breadcrumb-nav {
    margin-top: 0;
    margin-bottom: 2rem;
    padding-inline: 0;
}

/* Watch page player column context */
.player-column .breadcrumb-nav {
    margin-top: 0;
    margin-bottom: 1rem;
    padding: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.player-title-block .breadcrumb-container {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 1rem 1.25rem;
        margin-top: 5.25rem;
    }
    .breadcrumb-container {
        padding: 0.5rem 0.8rem;
    }
    .breadcrumb-item.active {
        max-width: 160px;
    }
}

/* Light mode overrides */
html.light-mode .breadcrumb-container {
    color: rgba(15, 23, 42, 0.5);
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.08);
}

/* ── Advertisement Placements ──────────────────────────────────────────────── */
.ad-placement-wrap {
    width: 100%;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
}

.ad-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.03);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ad-content {
    width: 100%;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Sidebar specific AD styling */
.sidebar-ad-wrap {
    margin: 1.5rem 0;
}

#home-top-ad {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

#home-sidebar-ad {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

#watch-bottom-ad {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

#news-top-ad, #sport-top-ad {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .ad-placement-wrap {
        margin: 1.5rem 0;
    }
}

/* ── Hero Utilities & Components ─────────────────────────────────────────── */
.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("/images/default_hero.jpg");
    opacity: 0.1;
    pointer-events: none;
    z-index: 2;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay-radial {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content-left {
    align-items: flex-start !important;
    text-align: left !important;
    width: 100%;
}

.hero-content-left .hero-stats-grid {
    justify-content: flex-start !important;
}

.hero-content-left .breadcrumb-nav {
    margin-left: 0 !important;
}

.hero-stats-grid {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stats-card {
    min-width: 160px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: var(--transition);
}

.stats-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.stats-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-info {
    display: flex;
    flex-direction: column;
}

.stats-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.stats-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-icon-live {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.stats-icon-events {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}
.stats-icon-leagues {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.lnc-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



/* ── COMPREHENSIVE LIGHT MODE OVERRIDES ── */
html.light-mode body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

html.light-mode .app-header {
    background: rgba(240, 242, 247, 0.82);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

html.light-mode .logo-main {
    color: #0f172a;
}

html.light-mode .nav-link {
    color: #1e293b;
}

html.light-mode .nav-link:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.08);
}

html.light-mode .hero-title {
    -webkit-text-fill-color:#625c5c;
	text-shadow:none;
}

html.light-mode .hero-subtitle-dynamic {
    color:#8d8787;
}

html.light-mode .breadcrumb-separator {
    opacity:1;
	color:rgb(177 183 199 / 65%);
}

html.light-mode .match-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

html.light-mode .match-card:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.12);
}

html.light-mode .match-title,
html.light-mode .team-name,
html.light-mode .team-name-centered {
    color: #494f5d; text-shadow:0 0 #ffffff;
}

html.light-mode .tmh-team-name {
    color:#fff;
}

html.light-mode .match-card:hover .watch-now-btn {
    background: #f26161;
}

html.light-mode .match-card:hover .notify-pill-btn {
    background: #f68144;
	color:#fff;
}

html.light-mode .rmc-upcoming-label {
    color:#f84848;
	text-shadow: none;
	box-shadow:none;
}

html.light-mode .watch-now-btn {
    background: #fbb1b1;
	box-shadow:none;
}

html.light-mode .notify-pill-btn {
    background: #ffd3bd;
	box-shadow:none;
}

html.light-mode .notify-pill-btn:hover,
html.light-mode .hero-btn-upcoming:hover {
    background: #f68144;
    color: #fff;
    box-shadow: 0 8px 24px rgba(251, 146, 60, 0.3);
}

html.light-mode .time-clock,
html.light-mode .tmh-clock-str,
html.light-mode .timest,
html.light-mode .timemn {
    color: #494f5d;
}

html.light-mode .upcoming-time-block {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
}

html.light-mode .sport-category {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

html.light-mode .sport-cat-header {
    background: rgba(0, 0, 0, 0.02);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html.light-mode .sport-cat-title h3 {
    color: #0f172a;
}

html.light-mode .dir-item {
    border-bottom-color: rgba(0, 0, 0, 0.04);
    color: #0f172a;
}

html.light-mode .dir-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

html.light-mode .dir-title {
    color: #0f172a;
}

html.light-mode .sidebar-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.07);
}

html.light-mode .scroll-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

html.light-mode .scroll-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.18);
}

html.light-mode .hero-overlay {
    background: linear-gradient(to right, rgba(240,242,247,0.85) 10%, transparent 70%),
        linear-gradient(to top, rgba(240,242,247,0.85) 5%, transparent 40%);
    background: linear-gradient(to top, #f8fafc 10%, transparent 100%);
}

html.light-mode .search-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

html.light-mode .sd-title {
    color: #0f172a;
}

html.light-mode .sd-item {
    border-bottom-color: rgba(0,0,0,0.05);
}

html.light-mode .news-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.07);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

html.light-mode .app-footer {
    background: rgba(0, 0, 0, 0.04);
    border-top-color: rgba(0, 0, 0, 0.07);
}

html.light-mode .section-title {
    color: #0f172a;
}

html.light-mode .theme-toggle-btn .icon-moon {
    opacity: 0; transform: rotate(90deg)  scale(0.6);
}

html.light-mode .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.05);
    color: #475569;
}

html.light-mode .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #0f172a;
}

html.light-mode .related-match-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

html.light-mode .related-match-card:hover {
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.14);
}

html.light-mode .sidebar-header h3 {
    color: #0f172a;
}

html.light-mode .sidebar-footer p {
    color: #64748b;
}

html.light-mode .section-label {
    color: #475569;
}

html.light-mode .sources-count {
    background: rgba(16,185,129,0.12); color: #059669;
}

html.light-mode .source-card:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--accent-blue);
}

html.light-mode .source-card.active {
    background: rgba(59, 130, 246, 0.14);
    border-color: var(--accent-blue);
    color: #0f172a;
}

html.light-mode .source-icon {
    color: #475569;
}

html.light-mode .source-info h4 {
    color: #0f172a;
}

html.light-mode .social-btn:hover {
    background: rgba(0, 0, 0, 0.07);
    color: #0f172a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    color: #fff;
}

html.light-mode .social-btn-icon {
    background: rgba(0, 0, 0, 0.06);
}

html.light-mode .social-btn.btn-twitter:hover {
    border-color: rgba(29,161,242,0.5); background: rgba(29,161,242,0.08);
}

html.light-mode .social-btn.btn-twitter:hover .social-btn-icon {
    background: rgba(29,161,242,0.15);
}

html.light-mode .social-btn.btn-facebook:hover {
    border-color: rgba(66,103,178,0.5); background: rgba(66,103,178,0.08);
}

html.light-mode .social-btn.btn-facebook:hover .social-btn-icon {
    background: rgba(66,103,178,0.15);
}

html.light-mode .social-btn.btn-telegram:hover {
    border-color: rgba(0,136,204,0.5); background: rgba(0,136,204,0.08);
}

html.light-mode .social-btn.btn-telegram:hover .social-btn-icon {
    background: rgba(0,136,204,0.15);
}

html.light-mode .social-btn.btn-copy:hover {
    border-color: rgba(16,185,129,0.5); background: rgba(16,185,129,0.08);
}

html.light-mode .social-btn.btn-copy:hover .social-btn-icon {
    background: rgba(16,185,129,0.15);
}

html.light-mode #match-title {
    color: #0f172a; 
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: none !important;
    font-weight: 900;
}

html.light-mode #match-sport {
    background: rgba(251,146,60,0.12); color: #ea580c;
}

html.light-mode #player-wrapper,
html.light-mode .premium-player-wrapper {
    background: #fefefe;
    border-radius: 12px;
    overflow: hidden;
}

html.light-mode .loading-overlay {
    background: #fefefe;
    border-radius: 12px;
}

html.light-mode .loading-overlay p {
    color: rgba(255, 255, 255, 0.6);
}

html.light-mode .search-container {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

html.light-mode .search-container input {
    color: #0f172a;
}

html.light-mode .search-container input::placeholder {
    color: #94a3b8;
}

html.light-mode .search-container svg {
    color: #64748b;
}

html.light-mode .search-container:focus-within {
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.06);
}

html.light-mode .view-all-link {
    color: #64748b;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

html.light-mode .view-all-link:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

html.light-mode .date-pill {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #64748b;
}

html.light-mode .date-pill:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

html.light-mode .date-pill.active {
    background: rgba(251, 146, 60, 0.12);
    border-color: rgba(251, 146, 60, 0.3);
    color: #ea580c;
}

html.light-mode .tm-list-card {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

html.light-mode .tml-vs {
    color: #0f172a;
}

html.light-mode .stats-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

html.light-mode .stats-card:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

html.light-mode .stats-value {
    color: #0f172a;
}

html.light-mode .stats-label {
    color: #64748b;
}

html.light-mode .stats-arrow {
    color: #94a3b8;
}

html.light-mode .hero-section {
    background: #f8fafc;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

html.light-mode .news-card-content {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.4) 45%,
        transparent 100%
    );
}

html.light-mode .news-card-img-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

html.light-mode .news-card-img-placeholder::after {
    color: rgba(0,0,0,0.05);
}

html.light-mode .footer-col h4 {
    color: #0f172a;
    color: #0f172a;
}

html.light-mode .footer-link {
    color: #475569;
    color: #475569;
}

html.light-mode .social-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}

html.light-mode .snc-title {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

html.light-mode .lns-title {
    color: #0f172a;
}

html.light-mode .sidebar-news-card {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.05);
}

html.light-mode .sidebar-news-card:hover {
    background: rgba(0,0,0,0.06);
}

html.light-mode .hamburger-btn {
    border-color: rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.04);
}

html.light-mode .hamburger-btn:hover {
    background: rgba(0,0,0,0.08);
}

html.light-mode .hamburger-btn span {
    background: #475569;
}

html.light-mode .mobile-nav-panel {
    background: rgba(240,242,247,0.98);
    border-color: rgba(0,0,0,0.1);
}

html.light-mode .mobile-nav-link {
    color: #475569;
}

html.light-mode .mobile-nav-divider {
    background: rgba(0,0,0,0.08);
}

html.light-mode .site-footer {
    background: #f1f5f9;
    border-top-color: rgba(0, 0, 0, 0.05);
}

html.light-mode .footer-link:hover {
    color: #0f172a;
}

html.light-mode .other-league-card:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--accent-blue);
}

html.light-mode .breadcrumb-item a {
    color: rgb(177 183 199 / 65%);
}

html.light-mode .breadcrumb-item a:hover {
    color: var(--accent-blue);
    text-shadow: none;
}

html.light-mode .breadcrumb-item.active {
    color: #c8ccd6;
}

html.light-mode .ad-label {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
    color: #64748b;
}

@media (max-width: 1024px) {
	.hero-stats-grid{
		display:none;
	}
}

@media (max-width: 768px) {
	.hero-stats-grid{
		display:none;
	}
	.trust-signal-pill {
		font-size:0.6rem;
	}
}
@media (max-width: 1024px) {
  .footer-grid > :nth-child(2),
  .footer-grid > :nth-child(3) {
    display: none;
  }
  .footer-bottom{
flex-direction: column-reverse;
}
}
@media (max-width: 768px) {
  .footer-grid > :nth-child(2),
  .footer-grid > :nth-child(3) {
    display: none;
  }
  .footer-bottom{
flex-direction: column-reverse;
}
.tmh-league-tag{
	display: flex;
    justify-content: end;
    transform: none;
    position: absolute;
    top: 0;
    right: 0;
}
.tmh-status-live{
	top:40px;
}
.tmh-team-name {
	font-size:1rem;
}
}
