:root {
    /* New Vibrant Color Scheme */
    --primary-green: #00C853;
    --primary-green-dark: #00A344;
    --secondary-lime: #64DD17;
    --accent-gold: #FFC107;
    --accent-gold-light: #FFD54F;

    /* Dark Backgrounds */
    --bg-dark-primary: #1a1f2e;
    --bg-dark-secondary: #242936;
    --bg-dark-tertiary: #2d3340;
    --bg-card: rgba(255, 255, 255, 0.08);
    --bg-card-hover: rgba(255, 255, 255, 0.12);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.6);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00C853 0%, #64DD17 100%);
    --gradient-gold: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
    --gradient-dark: linear-gradient(135deg, var(--bg-dark-primary) 0%, var(--bg-dark-secondary) 100%);

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-neon-green: 0 0 20px rgba(0, 200, 83, 0.4);
    --shadow-neon-gold: 0 0 20px rgba(255, 193, 7, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    /* Reduced padding for mobile */
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition-normal), height var(--transition-normal);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-neon-green);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
}

.btn-gold {
    background: var(--gradient-gold);
}

/* Cards */
.match-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}

.match-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-neon-green);
    border-color: var(--primary-green);
}

/* Header */
#mainHeader {
    background: var(--gradient-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1003;
    /* Increased to be above mobile menu things if needed, but menu usually higher. Adjusted strategy below. */

    border-bottom: 1px solid rgba(0, 200, 83, 0.2);
    transition: all var(--transition-normal);
}

#mainHeader.header-scrolled {
    background: rgba(10, 25, 41, 0.95);
    box-shadow: var(--shadow-md);
    padding: 0.875rem 0;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition-normal);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Container */
.container-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Header Desktop Nav - Horizontal */
.header-nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: auto;
    z-index: 100;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lang-btn:hover,
.lang-btn.active {
    background: rgba(0, 200, 83, 0.2);
    border-color: var(--primary-green);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(10, 25, 41, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.lang-option:hover,
.lang-option.active {
    background: rgba(0, 200, 83, 0.15);
    color: var(--primary-green);
}

/* Hamburger Menu (Mobile) */
.hamburger-container {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 50;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger-container.hamburger-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger-container.hamburger-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-container.hamburger-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Mobile Menu - Hidden by default on desktop */
#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: var(--bg-dark-secondary);
    box-shadow: var(--shadow-lg);
    padding: 2rem 1.5rem;
    z-index: 1005;
    /* Must be extremely high */
    transition: right var(--transition-normal);
    overflow-y: auto;
}

#mobile-menu.active {
    right: 0;
}

#mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1004;
    /* Below menu (1005) but above header (1003) */

    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

#mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.mobile-nav-item:hover {
    background: rgba(0, 200, 83, 0.1);
    color: var(--primary-green);
}

.mobile-nav-item i {
    font-size: 1.25rem;
    color: var(--primary-green);
}

/* Hide mobile navigation container on desktop */
.mobile-nav-links {
    display: none !important;
}

.mobile-menu-header {
    display: none !important;
}

#mobile-menu {
    display: none !important;
}

#mobile-menu-overlay {
    display: none !important;
}



/* SEO Banner Section */
.seo-banner {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    padding: 1.5rem 0;
    text-align: center;
    border-bottom: 2px solid rgba(0, 200, 83, 0.3);
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.seo-banner-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.seo-banner-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Navigation */
.nav-link-clean {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all var(--transition-normal);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link-clean::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
}

.nav-link-clean:hover {
    color: var(--primary-green);
    background: rgba(0, 200, 83, 0.1);
}

.nav-link-clean:hover::after {
    width: 80%;
}

/* Match Status Badges */
.match-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.match-status.live {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.match-status.upcoming {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.match-status.finished {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: white;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

/* Live Badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md), 0 0 20px rgba(255, 0, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.live-badge span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* League Badge */
.league-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-gold);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--bg-dark);
    box-shadow: var(--shadow-sm);
}

/* Hero Section - IMPROVED FOR MOBILE */
.hero-stadium {
    padding: 8rem 0 4rem;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-stadium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 200, 83, 0.05) 0%, transparent 80%);
    pointer-events: none;
}

/* Hero Featured Match - FIXED FOR MOBILE */
.hero-featured-match {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-featured-match .league-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-featured-match .match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
}

.hero-featured-match .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    flex: 0 1 auto;
}

.hero-featured-match .team-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.hero-featured-match .team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-featured-match .team-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    text-transform: uppercase;
    max-width: 200px;
    line-height: 1.2;
}

.hero-featured-match .vs-divider {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    background: var(--bg-card);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.hero-featured-match .match-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-featured-match .match-time,
.hero-featured-match .match-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-featured-match .match-time i,
.hero-featured-match .match-date i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Match Card Grid - IMPROVED */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* Improved for mobile */
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Match Card Header */
.match-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Match Card Teams - NORMALIZED LOGO SIZES */
.match-card-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.match-team-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 0.5rem;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.match-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.match-card:hover .match-team-logo {
    transform: scale(1.1);
    background: rgba(0, 200, 83, 0.1);
    box-shadow: var(--shadow-neon-green);
}

.match-team-name {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.3;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.match-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    font-family: 'Bebas Neue', sans-serif;
    flex-shrink: 0;
}

/* Match Card Footer */
.match-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.match-time-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.match-time-info i {
    color: var(--primary-green);
}

/* CTA Button - OPTIMIZED SIZE */
.match-cta,
.cta-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.match-cta:hover,
.cta-watch:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-neon-green);
}

.match-cta i,
.cta-watch i {
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

/* Glassmorphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

/* Loading Spinner */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* League Cards */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.league-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.league-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-neon-green);
    border-color: var(--primary-green);
}

.league-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
}

.league-name-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-align: center;
}

/* Responsive Design - COMPREHENSIVE MOBILE FIXES */
@media (max-width: 768px) {

    /* Global Mobile Fixes */
    body {
        overflow-x: hidden;
        position: relative;
    }

    .container {
        padding: 0 1rem;
    }

    /* Mobile Grid - 1 Column */
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .leagues-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Typography */
    .section-title {
        font-size: 1.75rem;
        /* Reduced further */
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Header & Nav - PREMIUM MOBILE POLISH */
    .header-content {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1rem;
        /* More breathing room */
        flex-wrap: nowrap !important;
        justify-content: space-between;
        height: 70px;
        /* Fixed height for consistency */
    }

    .logo-container {
        margin-right: auto;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .logo-container img {
        height: 42px !important;
        /* Balanced size */
        width: auto !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        /* Depth */
    }

    .logo-text {
        font-size: 1.3rem;
        /* Perfectly readable */
        font-weight: 800;
        white-space: nowrap;
        letter-spacing: 1px;
    }

    .header-nav-desktop {
        display: none;
    }

    .btn-primary {
        display: none;
    }

    /* Language Switcher optimization */
    .language-switcher {
        margin-left: auto;
        margin-right: 0.75rem;
        /* Better spacing */
        z-index: 1004;
        flex-shrink: 0;
    }

    .lang-btn {
        padding: 0.5rem 0.75rem;
        background: rgba(255, 255, 255, 0.08);
        /* Glass effect */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }

    .lang-dropdown {
        position: fixed;
        top: 75px;
        right: 1.5rem;
        /* Aligned with padding */
        width: 180px;
        z-index: 1006;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        /* Deep shadow */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hamburger-container {
        display: flex;
        z-index: 1006;
        margin-left: 0;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        width: 44px;
        /* Larger touch target */
        height: 44px;
        background: rgba(0, 200, 83, 0.15);
        /* Subtle green tint */
        border: 1px solid rgba(0, 200, 83, 0.3);
        border-radius: 12px;
        /* Smoother corners */
        transition: all 0.2s ease;
    }

    .hamburger-container:active {
        transform: scale(0.95);
        background: rgba(0, 200, 83, 0.25);
    }

    .hamburger-line {
        background: white;
        width: 20px;
        height: 2px;
        border-radius: 2px;
    }

    /* Mobile Menu */
    #mobile-menu {
        display: block !important;
        width: 80%;
        /* Reasonable width */
        max-width: 320px;
        z-index: 1010;
        /* Top most level */
    }

    #mobile-menu-overlay {
        display: block !important;
        z-index: 1009;
        /* Just below menu */
    }

    .mobile-nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }

    .mobile-menu-header {
        display: flex !important;
    }

    /* Hero Section - CRITICAL MOBILE FIX */
    .hero-stadium {
        padding: 5rem 0 2rem;
    }

    .hero-featured-match {
        width: 100%;
        overflow: hidden;
        /* Contain overflow */
    }

    .hero-featured-match .league-name {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-featured-match .match-teams {
        gap: 1rem;
        flex-wrap: nowrap;
        /* Keep on one line but scale */
        justify-content: space-between;
        margin: 1.5rem 0;
    }

    .hero-featured-match .team {
        gap: 0.5rem;
        flex: 1;
        min-width: 0;
        /* Flexbox overflow fix */
    }

    .hero-featured-match .team-logo {
        width: 60px;
        /* Smaller logos */
        height: 60px;
        padding: 0.5rem;
    }

    .hero-featured-match .team-name {
        font-size: 1rem;
        max-width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .hero-featured-match .vs-divider {
        font-size: 1.25rem;
        width: 40px;
        height: 40px;
        margin: 0 0.25rem;
    }

    .hero-featured-match .match-info {
        gap: 0.75rem;
        font-size: 0.85rem;
        flex-direction: column;
        /* Stack date/time */
    }

    .hero-featured-match .cta-watch {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        /* Full width button */
    }

    /* Match Cards Mobile */
    .match-card {
        padding: 1rem;
    }

    .match-card-teams {
        gap: 0.75rem;
    }

    .match-team-logo {
        width: 40px;
        height: 40px;
    }

    .match-team-name {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .match-score {
        font-size: 1.25rem;
    }

    .match-cta,
    .cta-watch {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        flex: 1;
        width: 100%;
        text-align: center;
    }

    .match-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .match-time-info {
        justify-content: center;
        font-size: 0.8rem;
    }

    /* SEO Banner Mobile */
    .seo-banner {
        padding: 1rem 0;
        margin-top: 70px;
        /* Adjusted for smaller header */
    }

    .seo-banner-title {
        font-size: 1rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }

    .seo-banner-subtitle {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }

    /* League Cards Mobile */
    .league-card {
        padding: 1rem;
    }

    .league-logo {
        width: 50px;
        height: 50px;
    }

    .league-name-text {
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .match-team-name {
        display: none;
        /* Hide names on very small screens if needed, or truncate heavily */
    }

    .hero-featured-match .team-logo {
        width: 50px;
        height: 50px;
    }

    .header-content {
        padding: 0;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .matches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.35rem;
    }

    .leagues-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .header-nav-desktop {
        gap: 0.35rem;
    }

    .nav-link-clean {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2.35rem;
    }

    .hero-featured-match .team-logo {
        width: 100px;
        height: 100px;
    }

    .hero-featured-match .team-name {
        font-size: 1.5rem;
    }
}

/* Small Desktop */
@media (min-width: 992px) and (max-width: 1200px) {
    .header-nav-desktop {
        gap: 0.4rem;
    }

    .nav-link-clean {
        padding: 0.7rem 1.1rem;
        font-size: 0.92rem;
    }
}

/* Accessibility */
.btn:focus,
.nav-link-clean:focus,
.match-cta:focus,
.lang-btn:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 4px;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .btn,
    .match-cta,
    #mainHeader,
    .live-badge,
    .hamburger-container,
    .language-switcher {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}