/* ==========================================================================
   EPICSTREAM - Ultra Modern Sports Streaming Design System
   Aesthetic: Deep Space Glassmorphism, Neon Accents, Athletic Typography
   ========================================================================== */

:root {
    /* Color Palette - Deep Slate Dark Mode */
    --bg-base: #07090e;
    --bg-surface: #0f141f;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(28, 38, 60, 0.9);
    --bg-glass: rgba(15, 20, 31, 0.85);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-focus: rgba(0, 242, 254, 0.4);
    --border-glow: rgba(0, 242, 254, 0.2);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;

    /* Accents & Brand Gradients */
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --accent-live: #10b981;
    --accent-live-bg: rgba(16, 185, 129, 0.15);
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-purple: #8b5cf6;

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.7);
    --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.3);
    --glow-live: 0 0 15px rgba(16, 185, 129, 0.4);

    /* Geometry & Timing */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(79, 172, 254, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(0, 242, 254, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

/* ==========================================================================
   Top Status & ET Clock Announcement Bar
   ========================================================================== */
.top-bar {
    background: rgba(10, 14, 22, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    padding: 6px 0;
    font-size: 0.78rem;
    position: relative;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.top-bar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-live);
    border-radius: 50%;
    display: inline-block;
    box-shadow: var(--glow-live);
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.clock-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent-cyan);
}

.tz-label {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    padding: 1px 6px;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header {
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    transition: var(--transition-base);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07090e;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35);
    transition: var(--transition-base);
}

.brand:hover .brand-icon {
    transform: rotate(-6deg) scale(1.05);
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: block;
    line-height: 1.1;
}

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

.brand-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 520px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.search-container input {
    width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 0 48px 0 42px;
    font-size: 0.88rem;
    color: #ffffff;
    outline: none;
    transition: var(--transition-base);
    font-family: inherit;
}

.search-container input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

.search-container input:focus + .search-icon {
    color: var(--accent-cyan);
}

.search-kbd {
    position: absolute;
    right: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    font-weight: 600;
}

/* Header Action Controls */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #07090e;
    box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.btn-dmca {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-dmca:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
    transform: translateY(-1px);
}

.btn-large {
    padding: 13px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.refresh-icon.rotating {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3px;
    gap: 2px;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 7px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.toggle-btn.active, .toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* ==========================================================================
   Main Container
   ========================================================================== */
.main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 24px 60px;
    width: 100%;
    flex: 1;
}

/* ==========================================================================
   Hero Featured Banner
   ========================================================================== */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 28, 48, 0.85) 0%, rgba(11, 16, 26, 0.95) 100%);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 0 40px rgba(0, 242, 254, 0.08);
}

.hero-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 650px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hero-badge {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.badge-featured {
    background: var(--accent-gradient);
    color: #07090e;
}

.badge-et {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.badge-servers {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-live);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-latency {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    align-items: center;
    gap: 28px;
    z-index: 2;
}

.hero-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 140px;
    text-align: center;
}

.hero-team-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6));
    transition: var(--transition-smooth);
}

.hero-team:hover .hero-team-logo {
    transform: scale(1.1);
}

.hero-team-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.hero-vs {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    font-style: normal;
    color: #00e5ff !important;
    -webkit-text-fill-color: #00e5ff !important;
    background: rgba(0, 229, 255, 0.18) !important;
    border: 1.5px solid rgba(0, 229, 255, 0.5) !important;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.06em;
}

/* ==========================================================================
   Sports Navigation Category Bar (Sticky)
   ========================================================================== */
.sports-nav {
    position: sticky;
    top: 73px;
    z-index: 30;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    margin-bottom: 18px;
}

.sports-nav-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.sports-nav-scroll::-webkit-scrollbar {
    display: none;
}

.sport-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-base);
}

.sport-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateY(-1px);
}

.sport-tab.active {
    background: var(--accent-gradient);
    color: #07090e;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35);
}

.sport-icon {
    font-size: 1.1rem;
}

.sport-count {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
}

.sport-tab:not(.active) .sport-count {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

/* ==========================================================================
   Filter Controls (Sub-leagues & Timeframes)
   ========================================================================== */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.sub-leagues {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sub-chip {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sub-chip:hover, .sub-chip.active {
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
    border-color: rgba(0, 242, 254, 0.3);
}

.time-filter {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.filter-chip {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-chip:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.filter-chip.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Results Stats Header
   ========================================================================== */
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 22px;
}

.results-count {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.results-tz-note {
    color: var(--accent-cyan);
    font-weight: 600;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.results-sort select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    outline: none;
    cursor: pointer;
}

/* ==========================================================================
   Stacked Carousel Sections System
   ========================================================================== */
.matches-sections-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sport-section {
    margin-bottom: 38px;
    position: relative;
    width: 100%;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.section-icon {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 2px 10px rgba(0, 242, 254, 0.35));
}

.section-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.section-count-badge {
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-pill);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.section-badge-live {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.section-actions-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-see-all {
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-cyan);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 4px 8px;
    border-radius: var(--radius-pill);
}

.section-see-all:hover {
    color: #ffffff;
    background: rgba(0, 242, 254, 0.15);
}

.carousel-nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.carousel-nav-btn:hover:not(:disabled) {
    background: rgba(0, 242, 254, 0.2);
    color: #ffffff;
    border-color: rgba(0, 242, 254, 0.45);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
    transform: scale(1.08);
}

.carousel-nav-btn:disabled, .carousel-nav-btn.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 18px 4px;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

.carousel-track.is-dragging {
    cursor: grabbing !important;
    user-select: none !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track .match-card {
    flex: 0 0 350px;
    min-width: 350px;
    max-width: 350px;
    scroll-snap-align: start;
    user-select: none;
}

/* Edge Fades */
.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 18px;
    width: 38px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(7, 9, 14, 0.96) 0%, transparent 100%);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(7, 9, 14, 0.96) 0%, transparent 100%);
}

.carousel-wrapper.has-scroll-left::before {
    opacity: 1;
}

.carousel-wrapper.has-scroll-right::after {
    opacity: 1;
}

/* Jump-to Section Highlight Animation */
.section-highlight {
    outline: 2px solid var(--accent-cyan) !important;
    outline-offset: 10px !important;
    border-radius: 16px !important;
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.45) !important;
    transition: all 0.4s ease !important;
}

/* Filtered View Banner */
/* ==========================================================================
   Sport Showcase Hub Header (Replaces awkward VIEWING banner)
   ========================================================================== */
.sport-hub-hero {
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 20, 31, 0.95), rgba(8, 11, 18, 0.95));
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-xl);
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.06);
    backdrop-filter: blur(14px);
    animation: fadeIn 0.3s ease-out;
}

.sport-hub-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.sport-hub-badge-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.sport-hub-logo-container {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.sport-hub-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.sport-hub-headings {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sport-hub-pill-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.sport-hub-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sport-hub-tz-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 3px 9px;
    letter-spacing: 0.03em;
}

.sport-hub-heading-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.sport-hub-subtext {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.sport-hub-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-back-home:hover {
    background: var(--accent-gradient);
    color: #07090e;
    border-color: transparent;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
    transform: translateY(-1px);
}

.sport-search-summary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 20, 31, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .sport-hub-hero {
        padding: 18px 16px;
    }
    .sport-hub-heading-title {
        font-size: 1.4rem;
    }
    .sport-hub-logo-container {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    .btn-back-home {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Matches Cards Grid
   ========================================================================== */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    transition: var(--transition-base);
}

.matches-grid.list-view {
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Individual Match Card */
.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    backdrop-filter: blur(12px);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.match-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%);
    -webkit-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:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-league {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.league-logo-mini {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.status-badge {
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-live {
    background: var(--accent-live-bg);
    color: var(--accent-live);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.badge-time {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.15);
}

/* Matchup Teams Section */
.card-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.team-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: var(--transition-base);
}

.match-card:hover .team-logo-wrap {
    transform: scale(1.08);
    border-color: rgba(0, 242, 254, 0.3);
}

.team-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
}

.team-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(0, 242, 254, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.card-team-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #ffffff;
    line-height: 1.25;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.vs-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    color: #00e5ff !important;
    background: rgba(0, 229, 255, 0.16) !important;
    border: 1.5px solid rgba(0, 229, 255, 0.45) !important;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.06em;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-time-et {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-cyan);
    white-space: nowrap;
}

/* Card Single Item (for F1, Boxing, UFC events) */
.card-single-event {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.card-single-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.3;
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.servers-count-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-live);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-card-watch {
    padding: 7px 16px;
    font-size: 0.82rem;
}

/* Compact List View Mode */
.matches-grid.list-view .match-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
}

.matches-grid.list-view .card-header {
    width: 220px;
    flex-shrink: 0;
}

.matches-grid.list-view .card-matchup {
    flex: 1;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
}

.matches-grid.list-view .card-team {
    flex-direction: row;
    text-align: left;
    gap: 10px;
}

.matches-grid.list-view .team-logo-wrap {
    width: 36px;
    height: 36px;
    padding: 4px;
}

.matches-grid.list-view .card-footer {
    padding-top: 0;
    border-top: none;
    width: 200px;
    justify-content: flex-end;
}

/* ==========================================================================
   Loading & Empty States
   ========================================================================== */
.loading-state, .empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(0, 242, 254, 0.15);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.empty-state h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* ==========================================================================
   Interactive Stream Player Modal (Theater Mode)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    animation: fadeIn 0.25s ease-out;
}

.modal-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1080px;
    background: #0d121c;
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), var(--glow-cyan);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.modal-league-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

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

.modal-league-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-match-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.modal-time-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    transform: rotate(90deg);
}

/* Player Frame */
.player-wrapper {
    background: #000000;
    position: relative;
    width: 100%;
}

.player-aspect {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    width: 100%;
}

.player-aspect iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

.player-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    z-index: 1;
}

/* Player Toolbar */
.player-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 24px;
    background: rgba(15, 20, 31, 0.95);
    border-top: 1px solid var(--border-subtle);
}

.toolbar-left, .toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.servers-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
}

.servers-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.server-btn {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition-fast);
}

.server-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.server-btn.active {
    background: var(--accent-gradient);
    color: #07090e;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(0, 242, 254, 0.4);
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
}

.tool-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.4);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-tip strong {
    color: var(--accent-cyan);
}

.footer-tz strong {
    color: #ffffff;
}

/* ==========================================================================
   Page Footer
   ========================================================================== */
.footer {
    background: #090c12;
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
    line-height: 1.6;
    max-width: 380px;
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(3px);
}

.provider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.prov-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-disclaimer {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    font-size: 0.76rem;
    color: var(--text-dim);
}

/* ==========================================================================
   Priority Server Pill & Sandbox Shield Enhancements
   ========================================================================== */
.priority-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.priority-pill:hover {
    background: rgba(0, 242, 254, 0.16);
    border-color: rgba(0, 242, 254, 0.45);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.tool-btn.shield-active {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: var(--accent-live) !important;
}

.server-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

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

.server-btn.active {
    background: var(--accent-gradient);
    color: #07090e;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
    font-weight: 700;
}

/* Touch & Interaction Enhancements */
* {
    -webkit-tap-highlight-color: transparent;
}

button, .sport-tab, .filter-chip, .sub-chip, .tool-btn, .match-card, .btn {
    touch-action: manipulation;
}

button:active, .tool-btn:active, .sport-tab:active, .filter-chip:active, .btn:active {
    transform: scale(0.96) !important;
}

/* ==========================================================================
   Responsive Adaptations: Tablets (max-width: 980px)
   ========================================================================== */
@media (max-width: 980px) {
    .hero-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 24px;
        gap: 24px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-visual {
        align-self: center;
        margin: 8px 0;
    }

    .matches-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 16px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ==========================================================================
   Responsive Adaptations: Standard Mobile Phones (max-width: 680px)
   ========================================================================== */
@media (max-width: 680px) {
    body {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    /* Top Bar Mobile */
    .top-bar {
        padding: 5px 0;
    }

    .top-bar-inner {
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
    }

    .status-indicator {
        font-size: 0.68rem;
        gap: 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 60%;
    }

    .status-indicator .status-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .clock-badge {
        font-size: 0.68rem;
        padding: 2px 7px;
        gap: 5px;
        flex-shrink: 0;
    }

    .clock-badge svg {
        width: 11px;
        height: 11px;
    }

    .tz-label {
        font-size: 0.62rem;
        padding: 1px 4px;
    }

    /* Header Mobile */
    .header {
        position: sticky;
        top: 0;
        z-index: 50;
        backdrop-filter: blur(20px);
        background: rgba(10, 14, 22, 0.94);
        padding: 8px 0 10px;
    }

    .header-inner {
        padding: 0 14px;
        display: grid;
        grid-template-columns: 1fr auto;
        row-gap: 8px;
        column-gap: 10px;
        align-items: center;
    }

    .brand {
        gap: 8px;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        border-radius: var(--radius-sm);
    }

    .brand-icon svg {
        width: 18px;
        height: 18px;
    }

    .brand-title {
        font-size: 1.2rem;
        line-height: 1.1;
    }

    .brand-subtitle {
        display: none;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .btn-dmca {
        padding: 6px 10px;
        font-size: 0.76rem;
        min-height: 34px;
        gap: 4px;
    }

    #refresh-btn {
        padding: 7px 10px;
        font-size: 0.78rem;
        min-height: 34px;
    }

    #refresh-btn span {
        display: none;
    }

    .view-toggle {
        display: none; /* Mobile optimization: eliminates header clutter */
    }

    .search-container {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        height: 40px;
        margin-top: 2px;
    }

    .search-container input {
        font-size: 16px; /* Prevents auto-zoom in mobile Safari */
        padding: 0 12px 0 36px;
    }

    .search-kbd {
        display: none;
    }

    .search-icon {
        left: 11px;
        width: 16px;
        height: 16px;
    }

    /* Main Container Mobile */
    .main-container {
        padding: 12px 14px 40px;
        max-width: 100%;
    }

    /* Hero Banner Mobile */
    .hero-banner {
        padding: 18px 14px 16px;
        border-radius: var(--radius-lg);
        margin-bottom: 18px;
        gap: 14px;
        background: linear-gradient(145deg, rgba(20, 28, 48, 0.95) 0%, rgba(10, 14, 22, 0.98) 100%);
        border: 1px solid rgba(0, 242, 254, 0.3);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    }

    .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin: 4px 0 10px;
        order: 1;
        width: 100%;
    }

    .hero-team {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 1;
        max-width: 110px;
    }

    .hero-team-logo {
        width: 56px;
        height: 56px;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
    }

    .hero-team {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 1;
        max-width: 140px;
    }

    .hero-team-name {
        font-family: 'Outfit', sans-serif;
        font-size: 0.86rem;
        font-weight: 800;
        text-align: center;
        line-height: 1.25;
        color: #ffffff;
        word-break: normal;
        overflow-wrap: break-word;
        max-width: 100%;
        width: 100%;
    }

    .hero-vs {
        font-family: 'Outfit', sans-serif;
        font-size: 1.05rem;
        font-weight: 900;
        font-style: normal;
        color: #00e5ff !important;
        -webkit-text-fill-color: #00e5ff !important;
        text-shadow: 0 0 14px rgba(0, 229, 255, 0.9);
        padding: 5px 12px;
        border-radius: var(--radius-pill);
        background: rgba(0, 229, 255, 0.22) !important;
        border: 1.5px solid #00e5ff !important;
        box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
        letter-spacing: 0.08em;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .hero-content {
        order: 2;
        width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        display: none; /* Streamline mobile view - eliminates clutter */
    }

    .hero-latency {
        display: none; /* Streamline mobile view */
    }

    .hero-tags {
        justify-content: center;
        gap: 5px;
        margin-bottom: 8px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .hero-title {
        font-size: 1.25rem;
        line-height: 1.22;
        margin-bottom: 6px;
    }

    .hero-subtitle {
        font-size: 0.78rem;
        margin-bottom: 14px;
        line-height: 1.35;
    }

    .hero-actions {
        width: 100%;
        align-items: center;
    }

    .hero-actions .btn-large {
        width: 100%;
        justify-content: center;
        padding: 13px 18px;
        font-size: 0.92rem;
        font-weight: 800;
        border-radius: var(--radius-pill);
    }

    .hero-latency {
        font-size: 0.68rem;
        margin-top: 4px;
        color: var(--text-dim);
    }

    /* Sports Nav Swipe Bar */
    .sports-nav {
        margin: 0 -14px 14px -14px;
        padding: 0 14px;
    }

    .sports-nav-scroll {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding: 4px 2px 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sports-nav-scroll::-webkit-scrollbar {
        display: none;
    }

    .sport-tab {
        padding: 6px 11px;
        font-size: 0.8rem;
        min-height: 38px;
        flex-shrink: 0;
        gap: 6px;
        border-radius: var(--radius-pill);
    }

    .sport-icon {
        font-size: 0.95rem;
    }

    .sport-count {
        font-size: 0.65rem;
        padding: 1px 5px;
    }

    /* Filters Mobile */
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 14px;
    }

    .sub-leagues {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        margin: 0 -14px;
        padding-left: 14px;
        padding-right: 14px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
    }

    .sub-leagues::-webkit-scrollbar {
        display: none;
    }

    .sub-chip {
        flex-shrink: 0;
        font-size: 0.74rem;
        padding: 5px 11px;
    }

    .time-filter {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
        margin: 0;
    }

    .filter-chip {
        padding: 6px 2px;
        font-size: 0.72rem;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
        border-radius: var(--radius-pill);
    }

    /* Results Bar Mobile */
    .results-header {
        padding: 4px 0 10px;
        margin-bottom: 14px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .results-count {
        font-size: 0.78rem;
    }

    .results-tz-note {
        display: none;
    }

    .results-sort {
        font-size: 0.74rem;
        gap: 4px;
    }

    .results-sort label {
        display: none;
    }

    .results-sort select {
        padding: 5px 8px;
        font-size: 0.74rem;
        border-radius: 6px;
    }

    /* Match Cards Mobile Grid */
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .match-card {
        padding: 13px 13px 11px;
        border-radius: 16px;
        gap: 12px;
        background: rgba(15, 20, 31, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .match-card:hover {
        transform: translateY(-2px);
    }

    .card-header {
        align-items: center;
        gap: 8px;
    }

    .card-league {
        font-size: 0.74rem;
        gap: 6px;
    }

    .league-logo-mini {
        width: 16px;
        height: 16px;
    }

    .status-badge {
        font-size: 0.68rem;
        padding: 2px 7px;
    }

    .card-matchup {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 8px;
    }

    .team-logo-wrap {
        width: 48px;
        height: 48px;
        padding: 5px;
    }

    .card-team-name {
        font-family: 'Outfit', sans-serif;
        font-size: 0.84rem;
        font-weight: 700;
        width: 100%;
        max-width: 100%;
        line-height: 1.25;
        color: #ffffff;
        word-break: normal;
        overflow-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-divider {
        gap: 4px;
    }

    .vs-badge {
        font-family: 'Outfit', sans-serif;
        font-size: 0.82rem;
        font-weight: 900;
        color: #00e5ff !important;
        -webkit-text-fill-color: #00e5ff !important;
        background: rgba(0, 229, 255, 0.25) !important;
        border: 1.5px solid #00e5ff !important;
        padding: 3px 9px;
        border-radius: var(--radius-pill);
        letter-spacing: 0.06em;
        text-shadow: 0 0 10px rgba(0, 229, 255, 0.85);
        box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .card-time-et {
        font-size: 0.68rem;
        font-weight: 700;
    }

    .card-single-event {
        padding: 6px 0;
        gap: 10px;
    }

    .card-single-event .team-logo-wrap {
        width: 44px;
        height: 44px;
    }

    .card-single-title {
        font-size: 0.86rem;
        font-weight: 700;
    }

    .card-footer {
        padding-top: 9px;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .priority-pill {
        font-size: 0.66rem;
        padding: 3px 8px;
        max-width: 62%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-card-watch {
        padding: 6px 14px;
        font-size: 0.78rem;
        font-weight: 800;
        border-radius: var(--radius-pill);
    }

    /* List View Mobile Strip */
    .matches-grid.list-view .match-card {
        padding: 10px 12px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .matches-grid.list-view .card-header {
        margin-bottom: 2px;
    }

    .matches-grid.list-view .card-matchup {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .matches-grid.list-view .card-team {
        flex-direction: row;
        gap: 6px;
        align-items: center;
        text-align: left;
    }

    .matches-grid.list-view .team-logo-wrap {
        width: 26px;
        height: 26px;
        padding: 2px;
    }

    .matches-grid.list-view .card-team-name {
        max-width: 100px;
        font-size: 0.78rem;
    }

    /* Mobile Stacked Carousels */
    .matches-sections-container {
        gap: 6px;
    }

    .sport-section {
        margin-bottom: 28px;
    }

    .section-header {
        padding: 0 2px 8px;
        margin-bottom: 10px;
    }

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

    .section-subtitle {
        font-size: 0.72rem;
    }

    .carousel-nav-btn {
        width: 32px;
        height: 32px;
    }

    .carousel-nav-btn svg {
        width: 15px;
        height: 15px;
    }

    .carousel-track {
        padding: 4px 14px 18px 14px;
        margin: 0 -14px;
        gap: 12px;
    }

    .carousel-track .match-card {
        flex: 0 0 84vw;
        min-width: 84vw;
        max-width: 84vw;
    }

    /* Theater Player Modal Mobile App Experience */
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
        background: rgba(3, 5, 8, 0.94);
    }

    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        border: none;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        animation: slideUpMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideUpMobile {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .modal-header {
        padding: 10px 12px;
        gap: 10px;
        align-items: center;
        border-bottom: 1px solid var(--border-subtle);
        background: #090d15;
    }

    .modal-league-row {
        gap: 6px;
        margin-bottom: 2px;
    }

    .modal-league-logo {
        width: 16px;
        height: 16px;
    }

    .modal-league-name {
        font-size: 0.72rem;
    }

    .modal-time-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
    }

    .modal-match-title {
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .modal-close-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

    .player-wrapper {
        width: 100%;
        background: #000;
        flex-shrink: 0;
    }

    .player-aspect {
        padding-top: 56.25%; /* 16:9 ratio */
    }

    /* Player Toolbar Mobile */
    .player-toolbar {
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background: #0b101a;
        border-top: 1px solid var(--border-subtle);
    }

    .toolbar-left {
        width: 100%;
        overflow: hidden;
    }

    .servers-label {
        display: none;
    }

    .servers-list {
        width: 100%;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        gap: 6px;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .servers-list::-webkit-scrollbar {
        display: none;
    }

    .server-btn {
        flex-shrink: 0;
        padding: 7px 12px;
        font-size: 0.75rem;
        border-radius: var(--radius-pill);
    }

    .toolbar-right {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .tool-btn {
        justify-content: center;
        padding: 8px 4px;
        font-size: 0.7rem;
        border-radius: var(--radius-sm);
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tool-btn svg {
        width: 13px;
        height: 13px;
    }

    .modal-footer {
        padding: 10px 14px;
        font-size: 0.7rem;
        flex-direction: column;
        gap: 4px;
        text-align: center;
        background: #07090e;
    }

    /* Footer Mobile */
    .footer {
        padding: 30px 14px 20px;
    }

    .footer-inner {
        gap: 20px;
    }

    .footer-desc {
        font-size: 0.8rem;
    }

    .footer-heading {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

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

    .footer-links a {
        font-size: 0.8rem;
    }

    .provider-tags {
        gap: 6px;
    }

    .prov-tag {
        font-size: 0.68rem;
        padding: 3px 8px;
    }

    .footer-disclaimer {
        font-size: 0.7rem;
        margin-top: 10px;
    }
}

/* ==========================================================================
   Responsive Adaptations: Extra Small Mobile (max-width: 400px)
   ========================================================================== */
@media (max-width: 400px) {
    .main-container {
        padding: 10px 10px 30px;
    }

    .hero-banner {
        padding: 16px 12px;
    }

    .hero-team-logo {
        width: 48px;
        height: 48px;
    }

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

    .card-matchup {
        gap: 6px;
    }

    .team-logo-wrap {
        width: 42px;
        height: 42px;
        padding: 4px;
    }

    .card-team-name {
        font-size: 0.78rem;
        max-width: 100%;
        width: 100%;
        word-break: normal;
        overflow-wrap: break-word;
    }

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

    .priority-pill {
        max-width: 52%;
        font-size: 0.62rem;
    }
}

/* ==========================================================================
   Mobile Landscape Video Orientation (max-height: 520px)
   ========================================================================== */
@media (max-height: 520px) and (orientation: landscape) {
    .modal-container {
        max-height: 100vh;
        max-height: 100dvh;
        height: 100vh;
        height: 100dvh;
    }

    .modal-header {
        padding: 6px 14px;
    }

    .modal-match-title {
        font-size: 0.95rem;
    }

    .player-aspect {
        padding-top: 0;
        height: calc(100vh - 105px);
        height: calc(100dvh - 105px);
    }

    .player-toolbar {
        padding: 6px 14px;
        gap: 6px;
    }

    .modal-footer {
        display: none;
    }
}

/* ==========================================================================
   Mobile Bottom App Navigation (Native Mobile Bar)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 22, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
    padding: 8px 16px max(10px, env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: all var(--transition-fast);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--accent-cyan);
}

.mobile-nav-item svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 74px;
    }
    .mobile-bottom-nav {
        display: flex;
    }
}



