/*
 * Clash of the Barbarians 2026 - Dark Theme with Barbarian Gold
 * Mobile-First Responsive Design System
 * 
 * DESIGN TOKENS:
 * - Primary: Barbarian Black (#000000)
 * - Secondary: Dark Gray (#1a1a1a) 
 * - Accent: Barbarian Gold (#FFD700)
 * - Success: Emerald (#10B981)
 * - Text: White (#FFFFFF)
 * 
 * BREAKPOINTS:
 * - Mobile: 320px-767px (PRIMARY TARGET)
 * - Tablet: 768px-1023px
 * - Desktop: 1024px+
 */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Color Palette */
    --color-primary: #000000;
    --color-primary-light: #1a1a1a;
    --color-primary-dark: #000000;
    --color-secondary: #333333;
    --color-secondary-light: #666666;
    --color-secondary-dark: #1a1a1a;
    
    --color-accent: #FFD700;
    --color-accent-light: #FFC107;
    --color-accent-dark: #B8860B;
    --color-accent-hover: #FFE135;
    
    --color-success: #10B981;
    --color-success-light: #34D399;
    --color-danger: #EF4444;
    --color-warning: #F59E0B;
    
    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #CCCCCC;
    --color-text-muted: #999999;
    --color-text-accent: #FFD700;
    --color-text-inverse: #000000;
    
    /* Background Colors */
    --color-bg-primary: #000000;
    --color-bg-secondary: #1a1a1a;
    --color-bg-tertiary: #333333;
    --color-bg-card: #1a1a1a;
    --color-bg-overlay: rgba(0, 0, 0, 0.95);
    
    /* Border Colors */
    --color-border-primary: #334155;
    --color-border-secondary: #475569;
    --color-border-accent: #D4AF37;
    --color-border-light: rgba(241, 245, 249, 0.1);
    
    /* Spacing Scale (Mobile-First) */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 0.75rem;   /* 12px */
    --space-lg: 1rem;      /* 16px */
    --space-xl: 1.5rem;    /* 24px */
    --space-2xl: 2rem;     /* 32px */
    --space-3xl: 3rem;     /* 48px */
    --space-4xl: 4rem;     /* 64px */
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    
    /* Font Families */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Anton', 'Arial Black', sans-serif;
    --font-mono: 'SF Mono', Consolas, monospace;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Border Radius */
    --radius-sm: 0.25rem;  /* 4px */
    --radius-md: 0.5rem;   /* 8px */
    --radius-lg: 0.75rem;  /* 12px */
    --radius-xl: 1rem;     /* 16px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    
    /* Touch Targets (Minimum 48px) */
    --touch-target-min: 48px;
    --touch-target-comfortable: 56px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: var(--line-height-tight);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-xl);
}

h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--space-md);
    line-height: var(--line-height-normal);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover, a:focus {
    color: var(--color-accent-light);
}

strong {
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ===== LAYOUT COMPONENTS ===== */

/* Header */
.site-header {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    border-bottom: 2px solid var(--color-border-accent);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
}

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

.site-title h1 {
    font-size: var(--font-size-lg);
    margin: 0;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
}

.site-tagline {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    margin: 0;
    font-weight: 500;
}

/* Mobile Navigation */
.main-nav {
    width: 100%;
    order: 3;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.main-nav li {
    flex: 1;
    min-width: 120px;
}

.main-nav a {
    display: block;
    padding: var(--space-md) var(--space-sm);
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border-primary);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    background: linear-gradient(135deg, #E5C547 0%, #B8941F 100%);
    color: var(--color-text-inverse);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    min-height: calc(100vh - 200px);
}

.breadcrumb {
    margin-bottom: var(--space-xl);
}

.breadcrumb a {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    padding: var(--space-sm) 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--touch-target-min);
}

.page-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.page-title h1 {
    background: linear-gradient(135deg, #E5C547 0%, #D4AF37 50%, #B8941F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6)); }
}

/* ===== GAME TICKER ===== */
.game-ticker {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-text-inverse);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.ticker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.ticker-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-inverse);
    margin: 0;
}

.ticker-live-badge {
    background: var(--color-success);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    animation: pulse 2s infinite;
}

.ticker-live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.ticker-games {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.ticker-game {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    min-width: 280px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.2);
}

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

.ticker-team {
    text-align: center;
    flex: 1;
}

.ticker-team-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-score {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text-inverse);
}

.ticker-vs {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    margin: 0 var(--space-sm);
}

.ticker-game-info {
    text-align: center;
    font-size: var(--font-size-xs);
    opacity: 0.9;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: var(--space-sm);
}

/* ===== SECTIONS ===== */
.section {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--space-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.section-header {
    background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
    border-bottom: 3px solid var(--color-accent);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37 0%, #E5C547 50%, #D4AF37 100%);
    border-radius: 2px;
}

.section-header h2 {
    margin: 0;
    color: var(--color-text-primary);
    font-size: var(--font-size-xl);
}

.section-content {
    padding: var(--space-xl) var(--space-lg);
}

/* ===== TEAM FILTER BANNER ===== */
.filter-banner {
    background: var(--color-accent);
    color: var(--color-text-inverse);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    box-shadow: var(--shadow-md);
}

.filter-text {
    font-weight: 600;
}

.clear-filter-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-text-inverse);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.clear-filter-btn:hover,
.clear-filter-btn:focus {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/* ===== RESPONSIVE TABLES TO CARDS ===== */
.standings-table,
.games-table {
    width: 100%;
    overflow: hidden;
}

/* Mobile-First: Cards by default, tables on larger screens */
.standings-table table,
.games-table table {
    width: 100%;
    border-collapse: collapse;
    display: table; /* Keep tables visible by default */
    font-size: var(--font-size-sm);
}

.mobile-cards {
    display: none; /* Hide cards by default, show on mobile via media query */
}

/* Mobile table styling for better mobile UX */
@media (max-width: 767px) {
    .standings-table table,
    .games-table table {
        font-size: var(--font-size-xs);
    }
    
    .standings-table th,
    .standings-table td,
    .games-table th, 
    .games-table td {
        padding: var(--space-sm);
        font-size: var(--font-size-xs);
    }
    
    /* Make team names more prominent on mobile */
    .team-name {
        font-weight: 700;
        color: var(--color-accent) !important;
    }
    
    /* Mobile responsive for index page custom elements */
    .matchup-display {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .vs-divider {
        order: 1;
        margin: var(--space-lg) 0;
    }
    
    .performer-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .stat-value-large {
        font-size: var(--font-size-3xl);
    }
    
    .featured-game-card {
        padding: var(--space-lg);
    }
}

.mobile-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.mobile-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
    backdrop-filter: blur(15px);
}

.mobile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.mobile-card-title {
    font-weight: 700;
    color: var(--color-text-primary);
    font-size: var(--font-size-lg);
    margin: 0;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.mobile-card-title:hover {
    color: var(--color-accent);
}

.mobile-card-badge {
    background: linear-gradient(135deg, #E5C547 0%, #B8941F 100%);
    color: var(--color-text-inverse);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.mobile-card-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.mobile-stat {
    text-align: center;
}

.mobile-stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    font-weight: 600;
}

.mobile-stat-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-primary);
}

.mobile-stat-value.positive {
    color: var(--color-success);
}

.mobile-stat-value.negative {
    color: var(--color-danger);
}

/* Game Cards */
.game-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-fast);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
    backdrop-filter: blur(12px);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.game-time {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 600;
}

.game-status {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.game-status.completed {
    background: var(--color-success);
    color: white;
}

.game-status.upcoming {
    background: var(--color-warning);
    color: var(--color-text-inverse);
}

.game-status.live {
    background: var(--color-danger);
    color: white;
    animation: pulse 2s infinite;
}

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

.game-team {
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.game-team:hover {
    color: var(--color-accent);
}

.game-team-name {
    font-weight: 700;
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.game-team-score {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
}

.game-team.winner .game-team-score {
    color: var(--color-success);
}

.game-vs {
    color: var(--color-text-muted);
    margin: 0 var(--space-md);
    font-weight: 600;
}

.game-details {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-primary);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ===== BUTTONS & FORM ELEMENTS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: var(--touch-target-min);
    background: none;
    font-family: inherit;
}

.btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #E5C547 0%, #B8941F 100%);
    color: var(--color-text-inverse);
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #D4AF37 0%, #A68827 100%);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: var(--color-text-primary);
    border-color: var(--color-border-primary);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
}

.btn-ghost {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background: var(--color-accent);
    color: var(--color-text-inverse);
}

/* Input Elements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-border-primary);
    border-radius: var(--radius-md);
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: border-color var(--transition-fast);
    min-height: var(--touch-target-min);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.leaderboard-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-fast);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.leaderboard-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
    transform: translateY(-4px);
    backdrop-filter: blur(16px);
}

.leaderboard-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--color-accent);
    font-size: var(--font-size-lg);
}

.leaderboard-list {
    list-style: none;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color var(--transition-fast);
}

.leaderboard-item:hover {
    background: var(--color-bg-primary);
}

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

.leaderboard-rank {
    font-weight: 700;
    color: var(--color-accent);
    min-width: 30px;
}

.leaderboard-player {
    flex: 1;
    padding: 0 var(--space-md);
    font-weight: 600;
    color: var(--color-text-primary);
}

.leaderboard-stat {
    font-weight: 700;
    color: var(--color-text-primary);
    font-size: var(--font-size-lg);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-bg-secondary);
    border-top: 2px solid var(--color-border-accent);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-4xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: center;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: var(--space-lg);
}

.footer-tagline {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    font-weight: 600;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-accent);
    font-weight: 600;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
}

.footer-links a:hover,
.footer-links a:focus {
    background: var(--color-accent);
    color: var(--color-text-inverse);
}

.copyright {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0;
}

/* ===== LOADING STATES ===== */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-3xl);
    color: var(--color-text-secondary);
    font-size: var(--font-size-lg);
}

.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-border-primary);
    border-radius: 50%;
    border-top-color: var(--color-accent);
    animation: spin 1s ease-in-out infinite;
    margin-right: var(--space-md);
}

/* ===== ANIMATIONS ===== */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

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

.animate-slide-up {
    animation: slideInUp 0.5s ease-out;
}

/* ========================================
   ESPN-QUALITY HOME PAGE GRADIENTS
   ======================================== */

/* Quick Stats Cards Enhancement */
.quick-stats {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    grid-template-columns: 1fr;
}

.stat-display-card {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-display-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37 0%, #E5C547 50%, #D4AF37 100%);
}

.stat-display-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2),
                inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

.stat-value-large {
    background: linear-gradient(135deg, #D4AF37 0%, #E5C547 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.stat-label-display {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.stat-context {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.trend-up {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
}

/* Weekend Top Performers Enhancement */
.card-grid .leaderboard-card {
    position: relative;
    overflow: hidden;
}

.card-grid .leaderboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37 0%, #E5C547 100%);
}

/* MVP card special emphasis */
.card-grid .leaderboard-card.mvp {
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        rgba(15, 23, 42, 0.95) 50%, 
        rgba(30, 41, 59, 0.95) 100%);
}

.card-grid .leaderboard-card.mvp::before {
    height: 6px;
    background: linear-gradient(90deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
}

.performer-name {
    color: #D4AF37;
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.performer-team {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
}

.performer-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-sm);
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.1);
    min-width: 60px;
}

.stat-value {
    color: #D4AF37;
    font-size: var(--font-size-xl);
    font-weight: 700;
    display: block;
    margin-bottom: var(--space-xs);
}

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

/* Schedule Cards Enhancement */
.game-card {
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37 0%, #E5C547 100%);
}

.game-division {
    background: linear-gradient(135deg, #D4AF37 0%, #E5C547 100%);
    color: var(--color-text-inverse);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.game-matchup {
    margin: var(--space-md) 0;
}

.game-matchup .team-name {
    color: var(--color-text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.game-matchup .team-name:hover {
    color: #D4AF37;
}

.game-matchup .score {
    color: #D4AF37;
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.game-status {
    background: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

/* Standings Table Enhancement */
.standings-table table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.standings-table thead {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.2) 0%, 
        rgba(212, 175, 55, 0.05) 100%);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.standings-table thead th {
    color: #D4AF37;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 1rem;
}

.standings-table tbody tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.standings-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

/* Rank display - plain numbers */
.standings-table .rank {
    font-weight: 700;
    font-size: 1rem;
    color: #FFD700;
}

.standings-table .division-badge {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Live Games Ticker Enhancement */
.game-ticker {
    background: linear-gradient(135deg, 
        #D4AF37 0%, 
        #E5C547 50%, 
        #D4AF37 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.game-ticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ticker-title {
    color: var(--color-text-inverse);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ticker-games {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 8px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.ticker-game {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.8) 0%, 
        rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.ticker-game:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(4px);
}

.ticker-game:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive Adjustments */
@media (min-width: 768px) {
    .quick-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .performer-stats {
        justify-content: center;
        gap: var(--space-2xl);
    }
}

/* ===== INDEX PAGE CUSTOM ELEMENTS ===== */
.featured-game-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}

.badge-featured {
    background: linear-gradient(135deg, #E5C547 0%, #B8941F 100%);
    color: var(--color-text-inverse);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.game-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.matchup-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.team-block {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.team-name-featured {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.team-record {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.win-streak {
    font-size: var(--font-size-sm);
    color: var(--color-success);
    font-weight: 600;
}

.vs-divider {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-accent);
    margin: 0 var(--space-lg);
}

.game-stakes {
    background: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    backdrop-filter: blur(8px);
}

.stakes-label {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.stakes-text {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.quick-stats {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-display-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
}

.stat-display-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
}

.stat-label-display {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.stat-value-large {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #E5C547 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-context {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.trend-up {
    color: var(--color-success);
    font-weight: 600;
}

.performer-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.performer-team {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.performer-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-division {
    background: linear-gradient(135deg, #E5C547 0%, #B8941F 100%);
    color: var(--color-text-inverse);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.division-badge {
    background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
    color: var(--color-text-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.rank {
    font-weight: 700;
    color: #FFD700;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet: 768px and up */
@media (min-width: 768px) {
    :root {
        --font-size-xs: 0.875rem;
        --font-size-sm: 1rem;
        --font-size-base: 1.125rem;
        --font-size-lg: 1.25rem;
        --font-size-xl: 1.5rem;
        --font-size-2xl: 1.875rem;
        --font-size-3xl: 2.25rem;
        --font-size-4xl: 3rem;
    }
    
    .header-container {
        flex-wrap: nowrap;
    }
    
    .main-nav {
        width: auto;
        order: initial;
    }
    
    .main-nav ul {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
    
    .main-nav li {
        flex: none;
        min-width: auto;
    }
    
    .page-title h1 {
        font-size: var(--font-size-3xl);
    }
    
    /* Show tables, hide mobile cards */
    .standings-table table,
    .games-table table {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }
    
    .mobile-cards {
        display: none;
    }
    
    .standings-table th,
    .standings-table td,
    .games-table th,
    .games-table td {
        padding: var(--space-md) var(--space-lg);
        text-align: left;
        border-bottom: 1px solid var(--color-border-primary);
    }
    
    .standings-table th,
    .games-table th {
        background: var(--color-bg-secondary);
        color: var(--color-text-primary);
        font-weight: 700;
        font-size: var(--font-size-sm);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border-bottom: 2px solid var(--color-accent);
    }
    
    .standings-table td,
    .games-table td {
        color: var(--color-text-secondary);
        transition: background-color var(--transition-fast);
    }
    
    .standings-table tr:hover td,
    .games-table tr:hover td {
        background: var(--color-bg-secondary);
    }
    
    .standings-table .team-name,
    .games-table .team-name {
        color: var(--color-text-primary);
        font-weight: 600;
        cursor: pointer;
    }
    
    .standings-table .team-name:hover,
    .games-table .team-name:hover {
        color: var(--color-accent);
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .matchup-display {
        flex-direction: row;
        gap: var(--space-2xl);
    }
    
    .quick-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .performer-stats {
        justify-content: center;
        gap: var(--space-2xl);
    }
    
    .ticker-games {
        gap: var(--space-2xl);
    }
    
    .ticker-game {
        min-width: 320px;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    :root {
        --font-size-xs: 0.875rem;
        --font-size-sm: 1rem;
        --font-size-base: 1.125rem;
        --font-size-lg: 1.375rem;
        --font-size-xl: 1.625rem;
        --font-size-2xl: 2rem;
        --font-size-3xl: 2.5rem;
        --font-size-4xl: 3.5rem;
    }
    
    .site-title h1 {
        font-size: var(--font-size-xl);
    }
    
    .site-tagline {
        font-size: var(--font-size-sm);
    }
    
    .page-title h1 {
        font-size: var(--font-size-4xl);
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ticker-games {
        gap: var(--space-3xl);
    }
    
    .ticker-game {
        min-width: 360px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .site-logo,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode detection (for additional OS-level dark mode support) */
@media (prefers-color-scheme: dark) {
    /* Already dark by default, no changes needed */
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
/* ===== DIVISION PAGES ESPN-QUALITY GRADIENTS ===== */

/* Division Page Specific Gradient Enhancements */
[data-page="division"] .section {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 50%, 
        rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

[data-page="division"] .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-accent) 20%, 
        var(--color-accent-light) 50%, 
        var(--color-accent) 80%, 
        transparent 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Division Games List Enhanced */
[data-page="division"] .game-card {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.9) 0%, 
        rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

[data-page="division"] .game-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

[data-page="division"] .game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-accent-light) 50%, 
        transparent 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0.7;
}

/* Division Standings Table Enhanced */
[data-page="division"] .standings-table table {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(30, 41, 59, 0.95) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

[data-page="division"] .standings-table thead {
    background: linear-gradient(135deg, 
        var(--color-accent) 0%, 
        var(--color-accent-light) 50%, 
        var(--color-accent) 100%);
    position: relative;
}

[data-page="division"] .standings-table thead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent 100%);
}

[data-page="division"] .standings-table tbody tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

[data-page="division"] .standings-table tbody tr:hover {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.05) 0%, 
        rgba(212, 175, 55, 0.02) 100%);
}

/* Top 3 Rankings Special Styling */
[data-page="division"] .standings-table tbody tr:nth-child(1) {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.08) 0%, 
        rgba(212, 175, 55, 0.05) 100%);
    border-left: 4px solid var(--color-accent);
}

[data-page="division"] .standings-table tbody tr:nth-child(2) {
    background: linear-gradient(135deg, 
        rgba(192, 192, 192, 0.06) 0%, 
        rgba(169, 169, 169, 0.03) 100%);
    border-left: 4px solid #C0C0C0;
}

[data-page="division"] .standings-table tbody tr:nth-child(3) {
    background: linear-gradient(135deg, 
        rgba(205, 127, 50, 0.06) 0%, 
        rgba(184, 115, 51, 0.03) 100%);
    border-left: 4px solid #CD7F32;
}

/* Division Leaderboard Cards Enhanced */
[data-page="division"] .leaderboard-card {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 50%, 
        rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

[data-page="division"] .leaderboard-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

[data-page="division"] .leaderboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-accent) 20%, 
        var(--color-accent-light) 50%, 
        var(--color-accent) 80%, 
        transparent 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

[data-page="division"] .leaderboard-title {
    color: var(--color-accent-light);
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

/* Division Filter Banner Enhanced */
[data-page="division"] .filter-banner {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(229, 197, 71, 0.1) 50%, 
        rgba(212, 175, 55, 0.15) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

/* Division Breadcrumb Enhanced */
[data-page="division"] .breadcrumb a {
    color: var(--color-accent-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        transparent 100%);
}

[data-page="division"] .breadcrumb a:hover {
    color: var(--color-accent);
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.2) 0%, 
        rgba(229, 197, 71, 0.1) 100%);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

/* Mobile Responsive Division Page Adjustments */
@media (max-width: 768px) {
    [data-page="division"] .section {
        padding: var(--space-lg);
        margin-bottom: var(--space-lg);
    }
    
    [data-page="division"] .game-card {
        padding: var(--space-md);
    }
    
    [data-page="division"] .leaderboard-card {
        padding: var(--space-lg);
    }
    
    [data-page="division"] .standings-table {
        font-size: var(--font-size-sm);
    }
}

/* ========================================
   TICKER STYLES - WEST VALLEY HORIZONTAL SCROLL
   ======================================== */

.ticker-wrapper,
.ticker-container {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5C3 100%);
  padding: 12px 0;
  overflow: hidden;
  width: 100%;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  position: relative;
}

.ticker-content {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scroll 90s linear infinite;
  gap: 30px;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-track span {
  display: inline-block;
  color: #0F172A;
  font-size: 16px;
  font-weight: 600;
  padding: 0 15px;
}

.ticker-separator {
  color: #0F172A;
  opacity: 0.5;
  font-weight: 400;
}

/* Barbarian support for old ticker-item class */
.ticker-item {
  flex: 0 0 auto;
  padding: 0 15px;
  white-space: nowrap;
  color: #0F172A;
  font-weight: 600;
  font-size: 16px;
}

/* Scroll Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Barbarian scroll-ticker animation */
@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .ticker-wrapper,
  .ticker-container {
    margin: 15px 0;
    padding: 10px 0;
  }
  
  .ticker-track span,
  .ticker-item {
    font-size: 14px;
    padding: 0 10px;
  }
  
  .ticker-track {
    gap: 20px;
  }
}

/* ========================================
   DIVISION PAGE GRADIENTS
   ======================================== */

/* Division Page Header */
.division-header,
main > h1 {
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(212, 175, 55, 0.15) 50%, 
    rgba(15, 23, 42, 0.95) 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-align: center;
  margin-bottom: 2rem;
}

main > h1 {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5C3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Containers */
.section,
main > div {
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

/* Section Headers */
main > div > h2 {
  color: #D4AF37;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Game Cards */
.game-card {
  background: linear-gradient(135deg, 
    rgba(30, 41, 59, 0.8) 0%, 
    rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

/* Standings Table */
.standings-table,
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.95) 100%);
  border-radius: 12px;
  overflow: hidden;
}

table thead {
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.2) 0%, 
    rgba(212, 175, 55, 0.05) 100%);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

table thead th {
  padding: 1rem;
  color: #D4AF37;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
}

table tbody tr {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

table tbody td {
  padding: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Rank Badges */
table tbody tr:nth-child(1) td:first-child,
table tbody tr:nth-child(2) td:first-child,
table tbody tr:nth-child(3) td:first-child {
  font-weight: 800;
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5C3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Leader Cards */
.leader-card {
  background: linear-gradient(135deg, 
    rgba(30, 41, 59, 0.8) 0%, 
    rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.leader-card h3 {
  color: #D4AF37;
  margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  main > div {
    padding: 1.5rem;
  }
  
  table {
    font-size: 0.875rem;
  }
  
  table thead th,
  table tbody td {
    padding: 0.75rem 0.5rem;
  }
}

/* Standings Diff Colors */
.positive-diff {
  color: #10B981 !important;
  font-weight: 600;
}

.negative-diff {
  color: #EF4444 !important;
  font-weight: 600;
}

/* ========================================
   TOP PERFORMERS - EXACT MATCH TO REFERENCE
   ======================================== */

.top-performers {
  padding: 40px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.top-performers h2 {
  font-size: 32px;
  font-weight: 800;
  color: #D4AF37;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.performers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

/* PERFORMER CARD - EXACT MATCH */
.performer-card {
  position: relative;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 16px;
  padding: 28px 24px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

/* MASSIVE JERSEY NUMBER IN BACKGROUND - EXACT MATCH TO REFERENCE */
.performer-card::before {
  content: "#" attr(data-jersey);
  position: absolute;
  font-size: 220px;
  font-weight: 900;
  color: rgba(212, 175, 55, 0.05);          /* Very subtle 5% opacity */
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 0.85;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.08em;
}

/* Hover effect - slightly more visible number */
.performer-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.2);
}

.performer-card:hover::before {
  color: rgba(212, 175, 55, 0.08);
}

/* Position badge (PG, SG, C, etc.) */
.performer-position-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5C3 100%);
  color: #0F172A;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* All content above the background number */
.performer-badge,
.performer-name,
.performer-team,
.performer-stats {
  position: relative;
  z-index: 1;
}

.performer-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.performer-name {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.performer-team {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.performer-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.stat-pill {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  min-width: 75px;
  flex: 1;
  transition: all 0.2s ease;
}

.stat-pill:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.stat-pill .stat-value {
  font-size: 26px;
  font-weight: 800;
  color: #D4AF37;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-pill .stat-label {
  font-size: 10px;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .performers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .performer-card {
    min-height: 280px;
  }
  
  .performer-card::before {
    font-size: 160px;
    right: -15px;
  }
  
  .performer-name {
    font-size: 22px;
  }
  
  .stat-pill .stat-value {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .performer-card::before {
    font-size: 140px;
    right: -10px;
  }
  
  .performer-stats {
    gap: 8px;
  }
  
  .stat-pill {
    min-width: 65px;
    padding: 12px 14px;
  }
}

/* Standings Differential Colors */
.positive-diff {
  color: #10B981 !important;
  font-weight: 600;
}

.negative-diff {
  color: #EF4444 !important;
  font-weight: 600;
}

/* ========================================
   DIVISION LEADERS - SQUARE CARD LAYOUT
   ======================================== */

.leaders-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.leader-card-square {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.leader-card-square:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.15);
}

.leader-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.leader-title {
  font-size: 16px;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.leaders-list-compact {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leader-item-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.2s ease;
}

.leader-item-compact:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.leader-rank-compact {
  font-size: 18px;
  font-weight: 800;
  color: #D4AF37;
  min-width: 26px;
  text-align: center;
}

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

.leader-name-compact {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leader-team-compact {
  font-size: 11px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leader-stat-compact {
  font-size: 20px;
  font-weight: 700;
  color: #D4AF37;
  text-align: right;
  min-width: 45px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .leaders-grid-compact {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .leader-card-square {
    min-height: 280px;
    padding: 20px;
  }
  
  .leader-icon {
    font-size: 28px;
  }
  
  .leader-title {
    font-size: 14px;
  }
}

@media print {
    .site-header,
    .site-footer,
    .game-ticker,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* ========================================
   CHAMPIONSHIP SPOTLIGHT - CARD LAYOUT
   ======================================== */

.championship-spotlight {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.championship-spotlight h2 {
  font-size: 28px;
  font-weight: 800;
  color: #D4AF37;
  margin-bottom: 24px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spotlight-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Featured Matchup Card */
.featured-matchup-card {
  background: rgba(212, 175, 55, 0.05);
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 24px;
}

.matchup-header {
  text-align: center;
  margin-bottom: 24px;
}

.matchup-badge {
  display: inline-block;
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5A1 100%);
  color: #0F172A;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.matchup-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

/* Team Matchup Layout */
.matchup-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 24px 0;
}

.team-spotlight {
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-spotlight:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.team-name {
  font-size: 18px;
  font-weight: 800;
  color: #D4AF37;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-record {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.team-division {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-streak {
  font-size: 14px;
  color: #F59E0B;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item {
  font-size: 13px;
  color: #94A3B8;
  font-weight: 600;
}

.stat-divider {
  color: #475569;
}

/* VS Divider */
.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-text {
  font-size: 32px;
  font-weight: 900;
  color: #D4AF37;
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5A1 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Stakes Section */
.matchup-stakes {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.stakes-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.stakes-text {
  font-size: 14px;
  line-height: 1.6;
  color: #CBD5E1;
}

.stakes-text strong {
  color: #D4AF37;
  font-weight: 700;
}

/* Stats Grid */
.spotlight-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 36px;
  font-weight: 900;
  color: #D4AF37;
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-detail {
  font-size: 11px;
  color: #64748B;
}

.trend-up {
  color: #10B981;
  font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .spotlight-content {
    grid-template-columns: 1fr;
  }
  
  .spotlight-stats-grid {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .matchup-teams {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .vs-divider {
    transform: rotate(90deg);
  }
  
  .spotlight-stats-grid {
    flex-direction: column;
  }
  
  .championship-spotlight {
    padding: 20px;
  }
  
  .team-name {
    font-size: 16px;
  }
  
  .stat-value {
    font-size: 28px;
  }

  /* Game of the Week Mobile Responsive */
  .game-result {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .final-badge {
    transform: rotate(0deg);
  }
  
  .team-result .team-name {
    font-size: 18px;
  }
  
  .team-result .team-score {
    font-size: 36px;
  }
  
  .game-summary {
    flex-direction: column;
    text-align: center;
  }
  
  .summary-icon {
    margin: 0 auto;
  }
}

/* ========================================
   GAME OF THE WEEK STYLES
   ======================================== */

/* Game Result Display */
.game-result {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 24px 0;
  padding: 24px;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 12px;
  border: 2px solid rgba(212, 175, 55, 0.2);
}

.team-result {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.team-result.winner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
}

.team-result.loser {
  background: rgba(100, 116, 139, 0.1);
  border: 2px solid rgba(100, 116, 139, 0.2);
}

.team-result .team-name {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-result.winner .team-name {
  color: #D4AF37;
}

.team-result .team-score {
  font-size: 48px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1;
}

.team-result.winner .team-score {
  color: #D4AF37;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.team-result .team-record {
  font-size: 16px;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 12px;
}

.result-badge {
  display: inline-block;
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5A1 100%);
  color: #0F172A;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.final-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 8px;
}

/* Game Summary */
.game-summary {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 20px;
}

.summary-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.summary-text {
  font-size: 15px;
  line-height: 1.7;
  color: #E2E8F0;
  font-weight: 400;
}

.game-location {
  text-align: center;
  font-size: 13px;
  color: #94A3B8;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* ===== ENHANCED MOBILE NAVIGATION ===== */

/* Hamburger Menu Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--color-accent);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Styles */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
        z-index: 1000;
        transition: left 0.3s ease;
        padding: 80px 20px 20px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .main-nav.open {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .main-nav li {
        min-width: 100%;
    }

    .main-nav a {
        padding: 16px 20px;
        font-size: 16px;
        justify-content: flex-start;
        text-align: left;
    }

    /* Overlay when nav is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }

    .nav-overlay.open {
        display: block;
    }

    /* Header adjustments */
    .header-container {
        flex-wrap: nowrap;
    }

    .site-logo {
        width: 36px;
        height: 36px;
    }

    .site-title h1 {
        font-size: 14px;
    }

    .site-tagline {
        display: none;
    }

    /* Content adjustments */
    .main-content {
        padding: 16px 12px;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }

    /* Game cards mobile */
    .games-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .game-card {
        padding: 16px;
    }

    .game-info {
        flex-direction: column;
        gap: 4px;
    }

    .game-teams {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .team-name {
        font-size: 15px;
    }

    .vs {
        text-align: center;
        padding: 4px 0;
    }

    /* Standings table mobile */
    .standings-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .standings-table table {
        min-width: 500px;
    }

    .standings-table th,
    .standings-table td {
        padding: 10px 8px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.25rem;
    }

    /* Filter buttons */
    .schedule-filters,
    .standings-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 0;
    }

    .schedule-filters button,
    .standings-tabs button {
        flex: 1;
        min-width: calc(33% - 6px);
        padding: 12px 8px;
        font-size: 12px;
        min-height: 44px;
    }

    /* Venue info */
    .venue-info {
        padding: 15px !important;
    }

    .venue-info h3 {
        font-size: 16px !important;
    }

    .venue-info p {
        font-size: 13px !important;
    }

    /* Footer */
    .site-footer {
        padding: 30px 15px;
    }

    .footer-content {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links a {
        padding: 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small phone breakpoint */
@media (max-width: 375px) {
    .site-title h1 {
        font-size: 12px;
    }

    .schedule-filters button,
    .standings-tabs button {
        min-width: calc(50% - 4px);
        font-size: 11px;
        padding: 10px 6px;
    }

    .standings-table th,
    .standings-table td {
        padding: 8px 6px;
        font-size: 12px;
    }

    .game-time {
        font-size: 14px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .main-nav a:active,
    .schedule-filters button:active,
    .standings-tabs button:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    /* Larger touch targets */
    a, button {
        min-height: 44px;
    }
}

/* Prevent iOS zoom on input focus */
@media screen and (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ===== TICKER GAME STATUS STYLES ===== */
.ticker-final {
    color: #22c55e;
    font-weight: 600;
}

.ticker-live {
    color: #ef4444;
    font-weight: 700;
    animation: pulse-text 1.5s infinite;
}

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

/* Ticker status styles are defined above - keeping only status-specific styles here */