/* ============================================
   MODERN DESIGN SYSTEM - RED & BLUE THEME 2025
   Dominican Republic inspired colors with logo contrast optimization
   Includes: Header, Footer, Home Page, and Global Components
   ============================================ */

/* CSS Variables for Modern Red/Blue Theme */
:root {
    /* Primary Red & Blue Palette */
    --primary-red: #DC2626;
    --primary-red-dark: #991B1B;
    --primary-red-light: #F87171;
    --primary-blue: #1D4ED8;
    --primary-blue-dark: #1E3A8A;
    --primary-blue-light: #60A5FA;
    
    /* Secondary Colors */
    --secondary-navy: #1E293B;
    --secondary-crimson: #B91C1C;
    --accent-cyan: #0891B2;
    --accent-gold: #F59E0B;
    
    /* Modern Neutrals */
    --bg-primary: #F8FAFC;
    --bg-secondary: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-dark: #0F172A;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;
    
    /* Logo Contrast Optimized Backgrounds */
    --logo-bg-dark: #1E293B;      /* Dark navy for white logo elements */
    --logo-bg-light: #F8FAFC;     /* Light background for red logo elements */
    --logo-contrast-overlay: rgba(30, 41, 59, 0.9); /* Dark overlay for logo visibility */
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-backdrop: blur(12px);
    --glass-red: rgba(220, 38, 38, 0.15);
    --glass-blue: rgba(29, 78, 216, 0.15);
    
    /* Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-red: 0 10px 15px -3px rgba(220, 38, 38, 0.2), 0 4px 6px -2px rgba(220, 38, 38, 0.1);
    --shadow-blue: 0 10px 15px -3px rgba(29, 78, 216, 0.2), 0 4px 6px -2px rgba(29, 78, 216, 0.1);
    
    /* Modern Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
}

/* Global Styles Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   ENHANCED HERO SECTION - GEOMETRIC PATTERN BACKGROUND
   ============================================ */

.hero-enhanced {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(220, 38, 38, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(29, 78, 216, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(220, 38, 38, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(29, 78, 216, 0.05) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.8;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: var(--primary-red);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-red);
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    top: 30%;
    right: 25%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Quick Navigation */
.quick-nav {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 0.5rem;
    border-radius: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-nav-item:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-red);
    transform: scale(1.1);
}

.quick-nav-item.active {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.quick-nav-item .nav-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0.25rem;
}

.quick-nav-item span {
    font-size: 0.6rem;
}

/* Enhanced Hero Content */
.hero-content-enhanced {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-logo-compact {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.branding-text {
    text-align: left;
}

.league-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #f1f5f9, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.league-subtitle {
    font-size: 1.125rem;
    margin: 0.5rem 0 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Featured Match Protagonist */
.featured-match-protagonist {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
}

.match-spotlight {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.spotlight-badge {
    text-align: center;
    margin-bottom: 1rem;
}

.featured-label, .live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-label {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light));
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.live-indicator {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.match-arena {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.team-spotlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(248, 250, 252, 0.5);
}

.team-spotlight:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-initial {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.team-info {
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}

.team-tag {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.battle-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(29, 78, 216, 0.1));
}

.battle-score:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.score-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.score.winner {
    color: var(--primary-red);
    text-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.vs-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vs-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.separator-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-blue));
    border-radius: 1px;
}

.match-details {
    text-align: center;
}

.match-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.status-live {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* No Match Display */
.no-match-display {
    text-align: center;
    padding: 3rem 0;
}

.season-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

.season-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.btn-action {
    padding: 0.875rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Quick Stats Dashboard */
.quick-stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-content {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-modern {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-crimson) 35%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.3) 0%, transparent 70%);
    z-index: 1;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2xl);
}

.hero-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.hero-logo-image {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    background: linear-gradient(45deg, #ffffff, #f1f5f9, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Featured Match Score Display - Logo Optimized */
.hero-match-score {
    background: var(--logo-contrast-overlay);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    margin: var(--space-2xl) auto;
    max-width: 500px;
    box-shadow: var(--shadow-large);
}

.hero-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.hero-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.hero-team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--logo-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.hero-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-team-name {
    font-weight: 600;
    font-size: var(--font-size-lg);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-score {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.hero-vs {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    font-weight: 400;
}

.hero-match-status {
    margin-top: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-match-status.live {
    background: var(--primary-red);
    animation: pulse 2s infinite;
}

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

/* ============================================
   MODERN SECTION LAYOUTS
   ============================================ */

.page-content-modern {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    min-height: 200vh; /* Ensure visibility for debugging */
}

.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-modern {
    margin-bottom: var(--space-3xl);
}

.section-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.section-title-modern {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.section-icon {
    width: 32px;
    height: 32px;
}

.section-icon.red {
    color: var(--primary-red);
}

.section-icon.blue {
    color: var(--primary-blue);
}

.section-icon.navy {
    color: var(--secondary-navy);
}

.see-all-link-modern {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all 0.3s ease;
}

.see-all-link-modern:hover {
    color: var(--primary-blue-dark);
    transform: translateX(4px);
}

.see-all-link-modern.red {
    color: var(--primary-red);
}

.see-all-link-modern.red:hover {
    color: var(--primary-red-dark);
}

/* ============================================
   MODERN CARDS - RED & BLUE ACCENTS
   ============================================ */

.card-modern {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.card-modern.red-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-modern.blue-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-modern.red-accent:hover {
    box-shadow: var(--shadow-red);
}

.card-modern.blue-accent:hover {
    box-shadow: var(--shadow-blue);
}

/* Match Cards Grid */
.matches-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.match-card-modern {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.match-card-modern.upcoming::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-blue);
}

.match-card-modern.live::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-red);
    animation: pulse 2s infinite;
}

.match-card-modern.completed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-navy);
}

.match-teams-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.match-team-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    flex: 1;
}

.match-team-logo-modern {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--logo-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    border: 2px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.match-team-logo-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-team-name-modern {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    text-align: center;
}

.match-score-modern {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.match-score-modern.winner {
    color: var(--primary-red);
}

.match-vs-modern {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-weight: 400;
}

.match-info-modern {
    text-align: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--bg-secondary);
}

.match-date-modern {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.match-status-modern {
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.match-status-live {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-red);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.match-status-upcoming {
    background: rgba(29, 78, 216, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(29, 78, 216, 0.2);
}

.match-status-completed {
    background: rgba(30, 41, 59, 0.1);
    color: var(--secondary-navy);
    border: 1px solid rgba(30, 41, 59, 0.2);
}

/* ============================================
   MODERN STANDINGS TABLE
   ============================================ */

.standings-modern {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.standings-table-modern {
    width: 100%;
    border-collapse: collapse;
}

.standings-table-modern th {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    padding: var(--space-md);
    text-align: left;
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.standings-table-modern td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--bg-secondary);
    font-size: var(--font-size-sm);
}

.standings-table-modern tr:last-child td {
    border-bottom: none;
}

.standings-table-modern tr:hover {
    background: var(--bg-secondary);
}

.standings-position {
    font-weight: 700;
    width: 40px;
    text-align: center;
}

.standings-position.first {
    color: var(--accent-gold);
}

.standings-position.top-three {
    color: var(--primary-red);
}

.standings-position.playoff {
    color: var(--primary-blue);
}

.standings-team {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.standings-team-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--logo-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.standings-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.standings-team-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */

.two-column-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

/* ============================================
   CALL TO ACTION SECTION - RED & BLUE GRADIENT
   ============================================ */

.cta-section-modern {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    text-align: center;
    color: white;
    margin-top: var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.cta-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title-modern {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle-modern {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-buttons-modern {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-modern {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    border: none;
    cursor: pointer;
}

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

.btn-primary-modern:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-secondary-modern {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-modern:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.text-blue {
    color: var(--primary-blue);
}

.text-navy {
    color: var(--secondary-navy);
}

.bg-red-gradient {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light));
}

.bg-blue-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.bg-patriotic-gradient {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   MODERN HEADER STYLES
   ============================================ */

.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-modern.scrolled {
    background: rgba(248, 250, 252, 0.98);
    box-shadow: var(--shadow-medium);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: var(--font-size-lg);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-icon {
    width: 20px;
    height: 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: rgba(220, 38, 38, 0.1);
}

.toggle-line {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.open .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.open .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-large);
    z-index: 999;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: var(--space-lg);
}

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    margin-bottom: var(--space-xs);
}

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

.mobile-nav-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
}

.skip-to-content {
    position: absolute;
    top: -100px;
    left: var(--space-md);
    z-index: 1001;
    background: var(--primary-red);
    color: white;
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.skip-to-content:focus {
    top: var(--space-md);
}

/* ============================================
   MODERN FOOTER STYLES
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, var(--secondary-navy), var(--primary-blue-dark));
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: var(--space-3xl);
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave .shape-fill {
    fill: var(--bg-primary);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.footer-main {
    position: relative;
    z-index: 2;
    padding: var(--space-3xl) 0 var(--space-xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-heading {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: white;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    border-radius: 2px;
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo-image {
    height: 60px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-links a:hover {
    color: var(--primary-red-light);
    transform: translateX(4px);
}

.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(4px);
}

.social-icon {
    font-size: var(--font-size-lg);
}

.footer-contact {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-contact p {
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--primary-red-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-xl) 0;
    text-align: center;
}

.copyright,
.disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin: var(--space-xs) 0;
}

.decoration-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

.decoration-dot.top-left {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.decoration-dot.top-right {
    top: 30%;
    right: 15%;
    background: var(--primary-blue);
    animation: float 6s ease-in-out infinite reverse;
}

.decoration-dot.bottom-left {
    bottom: 20%;
    left: 20%;
    background: var(--primary-blue);
    animation: float 8s ease-in-out infinite;
}

.decoration-dot.bottom-right {
    bottom: 30%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   LAYOUT ADJUSTMENTS FOR FIXED HEADER
   ============================================ */

.page-main {
    padding-top: 70px; /* Account for fixed header */
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Header Mobile Styles */
    .header-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-container {
        padding: 0 var(--space-md);
    }
    
    .logo-text {
        display: none;
    }
    
    /* Enhanced Hero Mobile Styles */
    .quick-nav {
        right: 1rem;
        padding: 0.5rem 0.25rem;
    }
    
    .quick-nav-item {
        padding: 0.5rem 0.25rem;
    }
    
    .quick-nav-item span {
        display: none;
    }
    
    .quick-nav-item .nav-icon {
        width: 18px;
        height: 18px;
        margin-bottom: 0;
    }
    
    .hero-content-enhanced {
        padding: 1rem;
        gap: 2rem;
    }
    
    .hero-branding {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-logo-compact {
        height: 60px;
    }
    
    .branding-text {
        text-align: center;
    }
    
    .league-title {
        font-size: 2rem;
    }
    
    .league-subtitle {
        font-size: 1rem;
    }
    
    .featured-match-protagonist {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .match-arena {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .team-avatar {
        width: 80px;
        height: 80px;
    }
    
    .team-name {
        font-size: 1.125rem;
    }
    
    .score {
        font-size: 2.5rem;
    }
    
    .battle-score {
        order: -1;
        padding: 1.5rem 1rem;
    }
    
    .quick-stats-dashboard {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Hero Mobile Styles */
    .hero-logo-image {
        height: 80px;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-match-score {
        margin: var(--space-lg) var(--space-md);
        padding: var(--space-lg);
    }
    
    .hero-team-logo {
        width: 48px;
        height: 48px;
    }
    
    .hero-score {
        font-size: var(--font-size-3xl);
    }
    
    .container-modern {
        padding: 0 var(--space-md);
    }
    
    .section-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .section-title-modern {
        font-size: var(--font-size-2xl);
    }
    
    .two-column-modern {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .matches-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .cta-title-modern {
        font-size: var(--font-size-3xl);
    }
    
    .cta-subtitle-modern {
        font-size: var(--font-size-lg);
    }
    
    .cta-buttons-modern {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-modern {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-lg);
    }
    
    .hero-logo-image {
        height: 60px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-match-teams {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .hero-score {
        font-size: var(--font-size-2xl);
        order: -1;
    }
    
    .page-content-modern {
        padding: var(--space-xl) 0;
    }
    
    .section-modern {
        margin-bottom: var(--space-xl);
    }
    
    .card-modern {
        padding: var(--space-lg);
    }
    
    .standings-table-modern th,
    .standings-table-modern td {
        padding: var(--space-sm);
        font-size: var(--font-size-xs);
    }
}

/* ============================================
   JORNADA STATUS STYLES
   ============================================ */

/* Jornada status header */
.jornada-status-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Jornada badges */
.jornada-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.jornada-badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.jornada-badge-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.jornada-badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

/* Row status indicators */
.jornada-late {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.02));
    border-left: 3px solid #f59e0b;
}

.jornada-very-late {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02));
    border-left: 3px solid #ef4444;
}

/* Enhanced table styling for jornada status */
.standings-table-modern th:last-child,
.standings-table-modern td:last-child {
    text-align: center;
    min-width: 80px;
}

/* Responsive adjustments for jornada display */
@media (max-width: 768px) {
    .jornada-status-header {
        padding: 8px 12px;
    }
    
    .jornada-status-header .flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .jornada-badge {
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .standings-table-modern th:last-child,
    .standings-table-modern td:last-child {
        min-width: 60px;
    }
}

/* ============================================
   CLICKABLE ELEMENTS STYLES
   ============================================ */

/* Team clickable elements */
.team-clickable {
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.team-clickable:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Hero team links */
.hero-team.team-clickable {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.hero-team.team-clickable:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Match clickable elements */
.match-clickable {
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.match-clickable:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero score link */
.hero-score.match-clickable {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.hero-score.match-clickable:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Match card clickable */
.match-card-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.match-card-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Player clickable elements */
.player-clickable {
    transition: all 0.3s ease;
    cursor: pointer;
}

.player-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Standings team links */
.standings-team.team-clickable {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    padding: 4px;
    border-radius: 6px;
}

.standings-team.team-clickable:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(2px);
}

/* Team link in player cards */
.team-link {
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: underline;
    text-decoration-color: transparent;
}

.team-link:hover {
    color: var(--primary-red);
    text-decoration-color: currentColor;
}

/* Match team links in upcoming matches */
.match-team-modern.team-clickable {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    padding: 4px;
    border-radius: 6px;
}

.match-team-modern.team-clickable:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.02);
}

/* Ensure proper cursor on all clickable elements */
.team-clickable,
.match-clickable,
.player-clickable,
.team-link {
    cursor: pointer;
}

/* Mobile responsiveness for clickable elements */
@media (max-width: 768px) {
    .team-clickable:hover,
    .match-clickable:hover,
    .player-clickable:hover {
        transform: none;
    }
    
    .team-clickable:active,
    .match-clickable:active,
    .player-clickable:active {
        transform: scale(0.98);
        opacity: 0.8;
    }
}