/* 
 * 9goal TV - Modern Black-Red Theme
 * Responsive Football Streaming Platform
 * Optimized for Performance & SEO
 */

/* ========================================
   CSS Variables & Theme Colors
   ======================================== */
:root {
    /* Red Color Palette */
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --primary-red-light: #ef4444;
    
    /* Black Color Palette */
    --primary-black: #171717;
    --primary-black-light: #262626;
    --primary-black-dark: #0a0a0a;
    
    /* Gradients */
    --red-gradient: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --red-black-gradient: linear-gradient(135deg, #171717 0%, #dc2626 100%);
    --black-gradient: linear-gradient(135deg, #171717 0%, #262626 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-red: 0 4px 14px 0 rgba(220, 38, 38, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    border-top: 3px solid var(--primary-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.main-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 1.5rem 0;
}

/* ========================================
   Header Styles
   ======================================== */
.modern-header {
    background-color: var(--primary-black);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
}

.logo:hover {
    color: var(--primary-red);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--red-gradient);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1.25rem;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary-red);
    background-color: rgba(220, 38, 38, 0.1);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    color: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--primary-black);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1010;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

/* ========================================
   Footer Styles
   ======================================== */
.modern-footer {
    background-color: var(--primary-black);
    color: var(--gray-300);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--red-gradient);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1.25rem;
}

.footer-description {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-red);
    transform: translateX(3px);
}

.footer-bottom {
    background-color: var(--primary-black-dark);
    padding: 1.5rem 0;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

/* ========================================
   Cards & Components
   ======================================== */
.card {
    background: var(--primary-black-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ========================================
   Today Matches Component - Black-Red Theme
   ======================================== */
.matches-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.uefa-match-card {
    position: relative;
    background: #171717;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #333;
    cursor: pointer;
}

.uefa-match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    border-color: #dc2626;
}

.uefa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #0a0a0a;
    color: #e5e7eb;
    border-bottom: 1px solid #333;
}

.league-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d1d5db;
}

.league-badge svg {
    color: #dc2626;
}

.match-datetime {
    font-size: 0.75rem;
    color: #9ca3af;
}

.uefa-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    gap: 0.5rem;
}

.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 35%;
}

.team-logo {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 50%;
    padding: 0.25rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.uefa-match-card:hover .team-logo {
    transform: scale(1.05);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e5e7eb;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 30%;
}

.score-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.score-num {
    color: #ffffff;
}

.score-dash {
    color: #6b7280;
    margin: 0 0.25rem;
}

.match-time-large {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
}

.match-status-badge {
    margin-top: 0.25rem;
}

.status-text {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.status-text.live {
    background-color: #dc2626;
    color: #ffffff;
    animation: pulse 1.5s infinite;
}

.status-text.upcoming {
    background-color: #2563eb;
    color: #ffffff;
}

.status-text.finished {
    background-color: #10b981;
    color: #ffffff;
}

/* Special Event Styling */
.uefa-match-card.special-event {
    background: linear-gradient(135deg, #0a0a0a 0%, #171717 100%);
    border: 1px solid #dc2626;
}

.special-league-badge {
    color: #dc2626;
}

.special-team-image {
    border: 2px solid #dc2626;
}

.special-status {
    background-color: #dc2626;
    color: #ffffff;
}

/* No Matches State */
.no-matches {
    grid-column: 1 / -1;
    padding: 3rem 0;
    text-align: center;
    background: #171717;
    border-radius: 12px;
    border: 1px solid #333;
}

.no-matches p {
    color: #9ca3af;
    font-size: 1rem;
}

/* ========================================
   Old Match Cards (Deprecated - keeping for compatibility)
   ======================================== */
.match-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.match-header {
    background: var(--black-gradient);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
    color: var(--white);
}

.match-league {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

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

.match-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.match-status-live {
    background-color: #ef4444;
    color: var(--white);
    animation: pulse 1.5s infinite;
}

.match-status-upcoming {
    background-color: #3b82f6;
    color: var(--white);
}

.match-status-finished {
    background-color: #10b981;
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.match-body {
    padding: 1rem;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.match-team {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.match-team-home {
    justify-content: flex-end;
    text-align: right;
}

.match-team-away {
    justify-content: flex-start;
    text-align: left;
}

.match-team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.match-team-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.match-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    padding: 0 0.75rem;
}

.match-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-red);
    text-align: center;
    margin-top: 0.5rem;
}

.match-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.match-action-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    background: var(--red-gradient);
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.match-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-red);
}

/* ========================================
   League Cards
   ======================================== */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .leagues-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .leagues-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.modern-league-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.modern-league-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.league-logo-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 1rem;
}

.league-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.league-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.league-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-900);
}

.league-country {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.league-cta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-red);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ========================================
   News Cards
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.modern-news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-200);
}

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

.modern-news-card:hover .news-image {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    z-index: 1;
}

.news-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    flex: 1;
}

.news-cta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-red);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: auto;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--red-gradient);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Sections
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.matches-section,
.leagues-section,
.news-section {
    padding: 3rem 0;
}

.matches-section {
    background: var(--primary-black-dark);
}

.leagues-section {
    background: #0f0f0f;
}

.news-section {
    background: #080808;
}

.matches-section .section-title,
.leagues-section .section-title,
.news-section .section-title {
    color: var(--white);
}

.matches-section .section-subtitle,
.leagues-section .section-subtitle,
.news-section .section-subtitle {
    color: var(--gray-400);
}

.view-all-leagues {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    background: var(--gray-100);
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-container {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-gradient);
    border-radius: var(--radius-xl);
    color: var(--white);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border-top: 4px solid var(--primary-red);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.cta-btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-600);
}

.cta-btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* ========================================
   Page Title Section
   ======================================== */
.page-title-section {
    background: var(--primary-black-dark);
    padding: 2rem 0;
    border-bottom: 1px solid #333;
}

.main-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin: 0 auto 1rem;
    max-width: 800px;
    background: linear-gradient(90deg, #ffffff 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
}

/* ========================================
   Date Navigation
   ======================================== */
.date-navigation {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.date-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.date-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.date-nav-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.current-date {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    padding: 0.5rem 1rem;
}

/* ========================================
   Loading & Empty States
   ======================================== */
.loading-container,
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.loading-container h3,
.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.loading-container p,
.empty-state p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .match-team-name {
        font-size: 0.75rem;
    }
    
    .match-team-logo {
        width: 30px;
        height: 30px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    /* Today Matches Responsive */
    .matches-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .uefa-main {
        padding: 1rem 0.75rem;
    }
    
    .team-logo {
        width: 50px;
        height: 50px;
    }
    
    .team-name {
        font-size: 0.75rem;
    }
    
    .score-display {
        font-size: 1.25rem;
    }
    
    .match-time-large {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .matches-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--red-gradient);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    border: none;
    z-index: 1000;
    transition: var(--transition);
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .modern-header,
    .modern-footer,
    .mobile-menu,
    .scroll-to-top,
    .cta-section {
        display: none;
    }
}

