/* ==========================================================================
   LIGA VARONIL LIBRE DE FÚTBOL PLAN DE AYALA - TUXTLA GUTIÉRREZ, CHIAPAS
   Design System & Vibrant Sports Aesthetic (Colores Llamativos y Alta Energía)
   100% Responsive for all mobile phones, tablets, and desktop devices
   ========================================================================== */

:root {
    /* Brand Colors - High-Energy Stadium Night & Electric Palette */
    --bg-primary: #060b14;
    --bg-secondary: #0a1322;
    --bg-card: #0e1b30;
    --bg-card-hover: #152744;
    --bg-elevated: #1a3258;
    --bg-input: #08101d;

    /* Pitch Accents - Electric Neon Emerald */
    --accent-green: #00e676;
    --accent-green-neon: #00f076;
    --accent-green-light: #69f0ae;
    --accent-green-dim: rgba(0, 240, 118, 0.18);
    --accent-green-glow: 0 0 25px rgba(0, 240, 118, 0.45);
    
    /* Championship Hyper Gold */
    --accent-gold: #ffb703;
    --accent-gold-light: #ffd166;
    --accent-gold-bright: #fbbf24;
    --accent-gold-dim: rgba(255, 183, 3, 0.18);
    --accent-gold-glow: 0 0 25px rgba(255, 183, 3, 0.45);

    /* Goalkeeper Laser Cyan / Trofeo Zamora */
    --accent-cyan: #00e5ff;
    --accent-cyan-light: #38bdf8;
    --accent-cyan-dim: rgba(0, 229, 255, 0.18);
    --accent-cyan-glow: 0 0 25px rgba(0, 229, 255, 0.45);

    /* Disciplinary & Referee Radiant Crimson / Red */
    --accent-red: #ff2e54;
    --accent-red-bright: #ff4757;
    --accent-red-dim: rgba(255, 46, 84, 0.18);
    --accent-red-border: rgba(255, 46, 84, 0.5);
    --accent-red-glow: 0 0 25px rgba(255, 46, 84, 0.45);
    
    /* Vibrant Supporting Accents */
    --accent-yellow: #ffee32;
    --accent-purple: #9d4edd;
    --accent-purple-light: #c77dff;
    --accent-purple-dim: rgba(157, 78, 221, 0.2);
    --accent-orange: #ff7b00;

    /* Text Tones (High Contrast) */
    --text-pure: #ffffff;
    --text-main: #f8fafc;
    --text-muted: #a5b4fc;
    --text-dim: #64748b;

    /* Borders & Neon Lines */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);
    --border-accent: rgba(0, 240, 118, 0.45);
    --border-gold: rgba(255, 183, 3, 0.45);
    --border-cyan: rgba(0, 229, 255, 0.45);

    /* Shadows & Volumetric Glows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.75);

    /* Typography */
    --font-heading: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --container-max: 1260px;
}

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

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

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 8%, rgba(0, 240, 118, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 90% 15%, rgba(255, 183, 3, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 85%, rgba(157, 78, 221, 0.12) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 75px; /* Space for mobile bottom bar */
}

@media (min-width: 1025px) {
    body {
        padding-bottom: 0;
    }
}

/* Custom Scrollbar with Neon Glow */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #040810;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-green), var(--accent-cyan));
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Icons helper */
.icon-xs { width: 15px; height: 15px; vertical-align: middle; }
.icon-sm { width: 19px; height: 19px; vertical-align: middle; }
.icon-md { width: 24px; height: 24px; vertical-align: middle; }
.icon-lg { width: 30px; height: 30px; vertical-align: middle; }

/* Vibrant Color Utilities */
.text-gold { color: var(--accent-gold-light) !important; text-shadow: 0 0 10px rgba(255, 183, 3, 0.4); }
.text-green { color: var(--accent-green-neon) !important; text-shadow: 0 0 10px rgba(0, 240, 118, 0.4); }
.text-cyan { color: var(--accent-cyan) !important; text-shadow: 0 0 10px rgba(0, 229, 255, 0.4); }
.text-danger { color: var(--accent-red) !important; text-shadow: 0 0 10px rgba(255, 46, 84, 0.4); }
.text-purple { color: var(--accent-purple-light) !important; text-shadow: 0 0 10px rgba(157, 78, 221, 0.4); }
.text-muted { color: #94a3b8 !important; }
.text-pure { color: var(--text-pure) !important; }
.font-bold { font-weight: 800 !important; }
.text-center { text-align: center !important; }

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (VIBRANT STADIUM STRIP)
   ========================================================================== */
.top-announcement-bar {
    background: linear-gradient(90deg, #091829 0%, #112845 50%, #0d1e33 100%);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #00f076, #ffb703, #00e5ff, #ff2e54, #9d4edd) 1;
    font-size: 0.8125rem;
    padding: 0.5rem 0;
    color: #cbd5e1;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.top-info-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.top-info-item.highlight {
    color: var(--text-pure);
    font-weight: 700;
    background: linear-gradient(90deg, #ffd166, #00f076);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.top-link-btn {
    background: linear-gradient(135deg, var(--accent-gold), #e69500);
    color: #050b14;
    text-decoration: none;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.4);
    transition: all 0.2s;
}
.top-link-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(255, 183, 3, 0.7);
}

@media (max-width: 768px) {
    .top-announcement-bar {
        display: none;
    }
}

/* ==========================================================================
   MAIN NAVBAR (GLASSMORPHISM WITH NEON GLOW)
   ========================================================================== */
.main-navbar {
    background: rgba(8, 16, 29, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 240, 118, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--text-pure);
}
.logo-crest {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00f076 0%, #00a854 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 240, 118, 0.6);
    font-size: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.brand-logo:hover .logo-crest {
    transform: rotate(8deg) scale(1.08);
}
.crest-star {
    position: absolute;
    top: -6px;
    right: -6px;
    color: #ffe600;
    font-size: 0.9rem;
    text-shadow: 0 0 8px #ffb703;
    animation: starTwinkle 2s infinite ease-in-out;
}
@keyframes starTwinkle {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 3px #ffb703); }
    50% { transform: scale(1.3); filter: drop-shadow(0 0 8px #ffee32); }
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.league-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    letter-spacing: 1px;
    line-height: 1;
    color: var(--text-pure);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.league-subtitle {
    font-size: 0.72rem;
    color: var(--accent-green-neon);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(0, 240, 118, 0.4);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}
.mobile-menu-header {
    display: none;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 0.4rem;
    align-items: center;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-md);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.nav-link:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}
.nav-link.active {
    color: #040d1a;
    background: linear-gradient(135deg, #00f076, #00c853);
    border-color: #00f076;
    box-shadow: 0 0 15px rgba(0, 240, 118, 0.5);
}
.nav-link.active .nav-icon {
    color: #040d1a;
}
.nav-link.red-badge-nav {
    color: #fca5a5;
}
.nav-link.red-badge-nav:hover {
    background: var(--accent-red-dim);
    border-color: var(--accent-red);
    color: #fff;
}
.nav-link.admin-nav-btn {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.25), rgba(99, 102, 241, 0.25));
    border: 1px solid rgba(157, 78, 221, 0.6);
    color: #e0aaff;
}
.nav-link.admin-nav-btn:hover {
    background: linear-gradient(135deg, #9d4edd, #6366f1);
    color: #fff;
    box-shadow: 0 0 18px rgba(157, 78, 221, 0.6);
}

.mobile-toggle-btn {
    display: none;
    background: var(--bg-elevated);
    border: 1px solid var(--accent-green);
    color: var(--accent-green-neon);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 240, 118, 0.3);
}

/* ==========================================================================
   QUICK HORIZONTAL SUB-BAR (VIBRANT PILLS)
   ========================================================================== */
.quick-sub-nav {
    background: #08111e;
    border-bottom: 1px solid var(--border-medium);
    padding: 0.65rem 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.quick-sub-wrapper {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}
.sub-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.sub-pill:hover {
    background: var(--bg-elevated);
    color: var(--text-pure);
    border-color: var(--accent-green);
    box-shadow: 0 0 14px rgba(0, 240, 118, 0.3);
    transform: translateY(-2px);
}
.sub-pill.danger-sub-pill:hover {
    border-color: var(--accent-red);
    box-shadow: 0 0 14px rgba(255, 46, 84, 0.4);
}
.sub-pill.admin-sub-pill:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 14px rgba(157, 78, 221, 0.4);
}

/* ==========================================================================
   HERO SECTION (VIBRANT STADIUM ATMOSPHERE)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 4rem 0 3rem;
    background: radial-gradient(circle at 50% 20%, #152945 0%, #060b14 80%);
    border-bottom: 2px solid rgba(0, 240, 118, 0.25);
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00f076, #ffb703, #00e5ff, transparent);
}
.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.75rem;
    align-items: center;
}
.league-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 240, 118, 0.15);
    border: 1px solid rgba(0, 240, 118, 0.5);
    border-radius: var(--radius-full);
    color: var(--accent-green-neon);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 16px rgba(0, 240, 118, 0.3);
}
.live-pulse {
    width: 9px;
    height: 9px;
    background: var(--accent-green-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green-neon);
    animation: pulseGlow 1.8s infinite;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 6px #00f076); }
    50% { transform: scale(1.5); opacity: 0.6; filter: drop-shadow(0 0 12px #00f076); }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 0.95;
    letter-spacing: 1px;
    color: var(--text-pure);
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.text-gradient {
    background: linear-gradient(135deg, #00f076 0%, #ffb703 50%, #00e5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(0, 240, 118, 0.4));
}
.hero-description {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 600px;
}
.hero-cta-group {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Match Spotlight Card (Vibrant Neon Stadium Border) */
.match-spotlight-card {
    background: linear-gradient(145deg, #102138, #091322);
    border: 2px solid rgba(255, 183, 3, 0.5);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 183, 3, 0.25);
    position: relative;
    overflow: hidden;
}
.match-spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00f076, #ffb703, #00e5ff, #ff2e54);
}
.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.78rem;
    color: #cbd5e1;
}
.spotlight-tag {
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: #030812;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.5);
}
.spotlight-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-medium);
    border-bottom: 1px solid var(--border-medium);
    margin-bottom: 1.25rem;
}
.spotlight-team, .spotlight-away {
    text-align: center;
    flex: 1;
}
.team-badge-circle {
    width: 68px;
    height: 68px;
    background: radial-gradient(circle, #1a3558 0%, #0c1a2e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    margin: 0 auto 0.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 240, 118, 0.3);
    border: 2px solid var(--accent-green);
    transition: transform 0.25s ease;
}
.team-badge-circle:hover {
    transform: scale(1.1) rotate(5deg);
}
.team-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.2rem;
}
.team-record {
    font-size: 0.8rem;
    color: var(--accent-green-neon);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 240, 118, 0.4);
}
.spotlight-vs {
    text-align: center;
    padding: 0 0.75rem;
}
.match-time-badge {
    background: linear-gradient(135deg, #ffb703, #fb8500);
    color: #030812;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
    box-shadow: 0 0 16px rgba(255, 183, 3, 0.5);
    font-weight: 800;
}
.match-category-tag {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
    display: block;
}
.spotlight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #cbd5e1;
}
.btn-text {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}
.btn-text:hover {
    color: var(--accent-green-neon);
    text-decoration: underline;
    transform: translateX(3px);
}

/* ==========================================================================
   CATEGORY STICKY BAR (COLORFUL ACTIVE PILLS)
   ========================================================================== */
.category-sticky-bar {
    background: #091422;
    border-bottom: 2px solid rgba(0, 229, 255, 0.2);
    padding: 0.85rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.category-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.category-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.category-pills {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
}
.cat-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    color: #cbd5e1;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.cat-pill:hover {
    background: var(--bg-elevated);
    color: var(--text-pure);
    border-color: var(--accent-green);
    transform: translateY(-1px);
}
.cat-pill.active {
    background: linear-gradient(135deg, #00f076, #00a854);
    color: #031409;
    border-color: #00f076;
    box-shadow: 0 0 20px rgba(0, 240, 118, 0.6);
}

/* ==========================================================================
   QUICK STATS BAR (RADIANT COLOR-CODED KPIS)
   ========================================================================== */
.stats-quick-bar {
    padding: 1.75rem 0;
    background: #070e1a;
    border-bottom: 1px solid var(--border-medium);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.15rem;
}
.stat-card {
    background: linear-gradient(145deg, #0d1b30, #091322);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-green);
    box-shadow: 0 8px 24px rgba(0, 240, 118, 0.25);
}
.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.stat-icon-wrapper.green { 
    background: linear-gradient(135deg, rgba(0, 240, 118, 0.25), rgba(0, 168, 84, 0.25)); 
    color: var(--accent-green-neon); 
    border: 1px solid var(--accent-green);
    box-shadow: 0 0 12px rgba(0, 240, 118, 0.3);
}
.stat-icon-wrapper.gold { 
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.25), rgba(217, 119, 6, 0.25)); 
    color: var(--accent-gold-light); 
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.3);
}
.stat-icon-wrapper.cyan { 
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(8, 145, 178, 0.25)); 
    color: var(--accent-cyan); 
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}
.stat-icon-wrapper.red { 
    background: linear-gradient(135deg, rgba(255, 46, 84, 0.25), rgba(185, 28, 28, 0.25)); 
    color: var(--accent-red); 
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 12px rgba(255, 46, 84, 0.3);
}
.stat-icon-wrapper.blue { 
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(30, 58, 138, 0.25)); 
    color: #38bdf8; 
    border: 1px solid #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.stat-data {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1;
    color: var(--text-pure);
}
.stat-name {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}

/* ==========================================================================
   BUTTONS SYSTEM (VIBRANT COLORFUL GRADIENTS)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    font-family: var(--font-body);
}
.btn-primary {
    background: linear-gradient(135deg, #00f076 0%, #00b34d 100%);
    color: #031409;
    box-shadow: 0 4px 18px rgba(0, 240, 118, 0.45);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #00ff7f 0%, #00cc55 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 240, 118, 0.65);
}
.btn-primary-full {
    width: 100%;
    background: linear-gradient(135deg, #00f076 0%, #00a854 100%);
    color: #031409;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 240, 118, 0.4);
}
.btn-primary-full:hover {
    background: #00ff7f;
    box-shadow: 0 6px 22px rgba(0, 240, 118, 0.6);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-pure);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
    background: #244372;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.btn-gold-outline {
    background: rgba(255, 183, 3, 0.12);
    color: var(--accent-gold-light);
    border: 1px solid var(--accent-gold);
}
.btn-gold-outline:hover {
    background: var(--accent-gold);
    color: #040810;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.6);
    transform: translateY(-2px);
}
.btn-gold-full {
    width: 100%;
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    color: #040810;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 183, 3, 0.45);
}
.btn-gold-full:hover {
    background: linear-gradient(135deg, #ffd166 0%, #ff9e00 100%);
    box-shadow: 0 6px 24px rgba(255, 183, 3, 0.65);
}

.btn-cyan-outline {
    background: rgba(0, 229, 255, 0.12);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}
.btn-cyan-outline:hover {
    background: var(--accent-cyan);
    color: #040810;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
}
.btn-cyan-full {
    width: 100%;
    background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%);
    color: #040810;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.45);
}
.btn-cyan-full:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
    box-shadow: 0 6px 24px rgba(0, 229, 255, 0.65);
}

.btn-danger-outline {
    background: var(--accent-red-dim);
    color: #fca5a5;
    border: 1px solid var(--accent-red-border);
}
.btn-danger-outline:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 46, 84, 0.6);
}
.btn-danger-full {
    width: 100%;
    background: linear-gradient(135deg, #ff2e54 0%, #dc2626 100%);
    color: #fff;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 46, 84, 0.45);
}
.btn-danger-full:hover {
    background: #b91c1c;
    box-shadow: 0 6px 22px rgba(255, 46, 84, 0.65);
}

.btn-outline-sm {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium);
    color: var(--text-main);
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
}
.btn-outline-sm:hover {
    background: var(--bg-elevated);
    color: var(--text-pure);
    border-color: var(--accent-green);
}
.btn-primary-sm {
    background: linear-gradient(135deg, #00f076 0%, #00a854 100%);
    border: 1px solid #00f076;
    color: #031409;
    padding: 0.5rem 1.05rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    box-shadow: 0 2px 12px rgba(0, 240, 118, 0.4);
}
.btn-primary-sm:hover {
    background: #00ff7f;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0, 240, 118, 0.6);
}
.btn-results-sm {
    background: linear-gradient(135deg, rgba(0, 240, 118, 0.18), rgba(0, 229, 255, 0.18));
    border: 1px solid var(--accent-green);
    color: var(--accent-green-neon);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 240, 118, 0.2);
}
.btn-results-sm:hover {
    background: linear-gradient(135deg, #00f076, #00e5ff);
    color: #031409;
    border-color: #00f076;
    box-shadow: 0 0 18px rgba(0, 240, 118, 0.6);
    transform: scale(1.04);
}
.text-danger-btn {
    color: #ff6b81 !important;
    border-color: rgba(255, 46, 84, 0.4) !important;
}
.text-danger-btn:hover {
    background: var(--accent-red) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(255, 46, 84, 0.5) !important;
}

.btn-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent-green);
    color: var(--accent-green-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 12px rgba(0, 240, 118, 0.3);
}
.btn-circle:hover {
    background: var(--accent-green);
    color: #031409;
    box-shadow: 0 0 20px rgba(0, 240, 118, 0.6);
    transform: scale(1.08);
}

.btn-whatsapp-full {
    width: 100%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.95rem;
    border-radius: var(--radius-md);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp-full:hover {
    background: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

/* ==========================================================================
   MAIN CONTENT WRAPPER & SECTION HEADERS
   ========================================================================== */
.main-content-wrapper {
    padding: 3.5rem 1.25rem;
}
.content-section {
    margin-bottom: 4.5rem;
    scroll-margin-top: 90px;
}
.section-header-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.section-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.section-icon-badge {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(0, 240, 118, 0.25), rgba(0, 168, 84, 0.25));
    color: var(--accent-green-neon);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-green);
    box-shadow: 0 0 18px rgba(0, 240, 118, 0.35);
    flex-shrink: 0;
}
.section-icon-badge.gold {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.25), rgba(217, 119, 6, 0.25));
    color: var(--accent-gold-light);
    border-color: var(--accent-gold);
    box-shadow: 0 0 18px rgba(255, 183, 3, 0.35);
}
.section-icon-badge.cyan {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(8, 145, 178, 0.25));
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}
.section-icon-badge.danger {
    background: linear-gradient(135deg, rgba(255, 46, 84, 0.25), rgba(185, 28, 28, 0.25));
    color: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 0 18px rgba(255, 46, 84, 0.35);
}
.section-icon-badge.purple {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.25), rgba(99, 102, 241, 0.25));
    color: #e0aaff;
    border-color: var(--accent-purple);
    box-shadow: 0 0 18px rgba(157, 78, 221, 0.35);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--text-pure);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.section-subtitle {
    font-size: 0.9rem;
    color: #a5b4fc;
    margin-top: 0.3rem;
}
.section-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Radiant Badges for sections */
.badge-gold-tag, .badge-cyan-tag, .badge-danger-tag, .badge-admin-tag, .badge-success {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}
.badge-gold-tag { background: linear-gradient(90deg, #ffb703, #fb8500); color: #040810; box-shadow: 0 0 12px rgba(255, 183, 3, 0.5); }
.badge-cyan-tag { background: linear-gradient(90deg, #00e5ff, #0284c7); color: #040810; box-shadow: 0 0 12px rgba(0, 229, 255, 0.5); }
.badge-danger-tag { background: linear-gradient(90deg, #ff2e54, #dc2626); color: #fff; box-shadow: 0 0 12px rgba(255, 46, 84, 0.5); }
.badge-admin-tag { background: linear-gradient(90deg, #9d4edd, #6366f1); color: #fff; box-shadow: 0 0 12px rgba(157, 78, 221, 0.5); }
.badge-success { background: linear-gradient(90deg, #00f076, #00a854); color: #031409; box-shadow: 0 0 12px rgba(0, 240, 118, 0.5); }

/* Search Inputs */
.search-input-box {
    position: relative;
    min-width: 230px;
}
.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
    width: 17px;
    height: 17px;
    pointer-events: none;
}
.search-input-box input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0.55rem 0.85rem 0.55rem 2.45rem;
    color: var(--text-pure);
    font-size: 0.88rem;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.search-input-box input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 240, 118, 0.35);
}
.select-control {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0.55rem 0.95rem;
    color: var(--text-pure);
    font-size: 0.88rem;
    font-family: var(--font-body);
    cursor: pointer;
}
.select-control:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 240, 118, 0.35);
}

/* Mobile Table Hint */
.mobile-table-hint {
    display: none;
    font-size: 0.78rem;
    color: var(--accent-gold-light);
    padding: 0.45rem 0.85rem;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 0.65rem;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}
@media (max-width: 768px) {
    .mobile-table-hint {
        display: flex;
    }
}

/* ==========================================================================
   1. TEAM STATS HIGHLIGHTS & STANDINGS TABLE (HIGH ENERGY)
   ========================================================================== */
.team-stats-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.5rem;
}
.highlight-stat-card {
    background: linear-gradient(145deg, #0f1f36, #091322);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}
.highlight-stat-card.top-team { 
    border-left: 5px solid var(--accent-green); 
    box-shadow: 0 0 20px rgba(0, 240, 118, 0.2);
}
.highlight-stat-card.offense { 
    border-left: 5px solid var(--accent-gold); 
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.2);
}
.highlight-stat-card.defense { 
    border-left: 5px solid var(--accent-cyan); 
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.highlight-stat-icon {
    font-size: 1.8rem;
}
.highlight-stat-details {
    display: flex;
    flex-direction: column;
}
.highlight-stat-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.highlight-stat-team {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-pure);
}
.highlight-stat-metric {
    font-size: 0.85rem;
    color: var(--accent-green-neon);
    font-weight: 700;
}

/* Standings Card & Table */
.standings-card {
    background: #091424;
    border: 1px solid rgba(0, 240, 118, 0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.sports-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
    white-space: nowrap;
}
.sports-table thead {
    background: linear-gradient(90deg, #0d1e33 0%, #152945 100%);
    border-bottom: 2px solid var(--accent-green);
}
.sports-table th {
    padding: 0.95rem 1rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #cbd5e1;
    text-transform: uppercase;
}
.sports-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease;
}
.sports-table tbody tr:hover {
    background: rgba(0, 240, 118, 0.06);
}
.sports-table td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
}

/* Rank Badges with Vibrant Glows */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-pure);
}
.rank-badge.pos-liguilla {
    background: linear-gradient(135deg, #00f076, #00a854);
    color: #031409;
    box-shadow: 0 0 12px rgba(0, 240, 118, 0.6);
}
.rank-badge.pos-repechaje {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: #031409;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}
.rank-badge.pos-out {
    background: #1e293b;
    color: #64748b;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.table-team-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #13243a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid var(--border-medium);
}
.team-cell-info {
    display: flex;
    flex-direction: column;
}
.team-cell-name {
    font-weight: 800;
    color: var(--text-pure);
    cursor: pointer;
    font-size: 0.95rem;
}
.team-cell-name:hover {
    color: var(--accent-green-neon);
    text-decoration: underline;
}
.team-cell-colony {
    font-size: 0.75rem;
    color: #94a3b8;
}

.pts-col {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-green-neon);
    background: rgba(0, 240, 118, 0.1);
    text-shadow: 0 0 10px rgba(0, 240, 118, 0.5);
}

/* Form Streak Dots */
.form-streak {
    display: flex;
    gap: 4px;
    justify-content: center;
}
.form-dot {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.form-dot.win { background: linear-gradient(135deg, #00f076, #00a854); color: #031409; }
.form-dot.loss { background: linear-gradient(135deg, #ff2e54, #dc2626); }
.form-dot.draw { background: linear-gradient(135deg, #ffb703, #d97706); color: #000; }

.standings-legend {
    display: flex;
    gap: 1.75rem;
    padding: 1rem 1.35rem;
    background: #060e1a;
    border-top: 1px solid var(--border-medium);
    font-size: 0.8rem;
    color: #cbd5e1;
    flex-wrap: wrap;
    font-weight: 700;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.legend-indicator {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}
.legend-indicator.liguilla { background: #00f076; box-shadow: 0 0 8px #00f076; }
.legend-indicator.repechaje { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.legend-indicator.eliminado { background: #475569; }

/* ==========================================================================
   2. GOLEO INDIVIDUAL CON FOTOS (SHINING GOLD THEME)
   ========================================================================== */
.view-toggle-group {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 3px;
}
.view-btn {
    background: transparent;
    border: none;
    color: #cbd5e1;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.view-btn.active {
    background: var(--accent-gold);
    color: #030812;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.5);
}

/* Top 3 Podium (Glowing Golden, Silver & Bronze) */
.top-scorers-podium, .top-gk-podium {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-end;
}
.podium-card {
    background: linear-gradient(145deg, #0e1b30, #08101d);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}
.podium-card:hover {
    transform: translateY(-6px);
}
.podium-card.gold-card {
    background: radial-gradient(circle at 50% 30%, #3d2c05 0%, #101c2e 80%);
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 35px rgba(255, 183, 3, 0.4), 0 12px 30px rgba(0, 0, 0, 0.8);
    order: 2;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}
.podium-card.silver-card {
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #0d1828 80%);
    order: 1;
    border-color: #cbd5e1;
    box-shadow: 0 0 20px rgba(203, 213, 225, 0.25);
}
.podium-card.bronze-card {
    background: radial-gradient(circle at 50% 30%, #301704 0%, #0d1828 80%);
    order: 3;
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.podium-rank-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}
.gold-card .podium-rank-badge { background: linear-gradient(135deg, #ffee32, #ffb703); color: #000; box-shadow: 0 0 16px #ffb703; }
.silver-card .podium-rank-badge { background: linear-gradient(135deg, #ffffff, #94a3b8); color: #000; }
.bronze-card .podium-rank-badge { background: linear-gradient(135deg, #f59e0b, #b45309); color: #fff; }

.scorer-photo-frame, .gk-photo-frame {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin: 0.5rem auto 0.85rem;
    overflow: hidden;
    border: 3px solid var(--border-medium);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    position: relative;
    background: var(--bg-elevated);
}
.gold-card .scorer-photo-frame {
    width: 115px;
    height: 115px;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.6);
}
.gold-card .gk-photo-frame {
    width: 115px;
    height: 115px;
    border: 4px solid var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}
.scorer-photo-img, .gk-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.scorer-name, .gk-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.2rem;
}
.scorer-team, .gk-team {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0.85rem;
}
.scorer-goals-count {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent-gold-light);
    letter-spacing: 1px;
    text-shadow: 0 0 18px rgba(255, 183, 3, 0.5);
}
.gk-stats-count {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent-cyan);
    text-shadow: 0 0 18px rgba(0, 229, 255, 0.5);
}
.scorer-goals-label, .gk-stats-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Scorers Cards Grid View */
.scorers-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.35rem;
}
.scorer-card-item {
    background: linear-gradient(145deg, #0e1b30, #08111e);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1.35rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.scorer-card-item:hover {
    transform: translateY(-4px);
    background: #142540;
    border-color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.35);
}
.scorer-card-rank {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-gold);
    width: 32px;
    text-align: center;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.5);
}
.scorer-card-thumb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-gold);
    flex-shrink: 0;
    background: var(--bg-elevated);
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.3);
}
.scorer-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.scorer-card-details {
    flex: 1;
    min-width: 0;
}
.scorer-card-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-pure);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.scorer-card-team {
    font-size: 0.8rem;
    color: #cbd5e1;
}
.scorer-card-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.25), rgba(217, 119, 6, 0.25));
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold-light);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 0.35rem;
}

.player-thumb-sm {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-medium);
    vertical-align: middle;
}

/* ==========================================================================
   3. PORTEROS (GUANTE DE ORO - ELECTRIC CYAN THEME)
   ========================================================================== */
.cyan-accent-table thead {
    border-bottom: 2px solid var(--accent-cyan);
}
.cyan-accent-table tbody tr:hover {
    background: rgba(0, 229, 255, 0.08);
}

/* ==========================================================================
   4. CALENDARIO & ROL DE JUEGOS (FIXTURES)
   ========================================================================== */
.jornada-pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.current-jornada-badge {
    background: linear-gradient(135deg, #00f076, #00a854);
    color: #031409;
    padding: 0.6rem 1.35rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 240, 118, 0.45);
}
.jornada-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 800;
}
.jornada-date {
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0.9;
}
.select-jornada-dropdown {
    background: var(--bg-card);
    border: 2px solid var(--accent-green);
    color: var(--text-pure);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    cursor: pointer;
    font-size: 0.9rem;
}

.matches-filter-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    align-items: center;
}
.match-filter-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    color: #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}
.match-filter-chip:hover {
    background: var(--bg-elevated);
    color: var(--text-pure);
}
.match-filter-chip.active {
    background: linear-gradient(135deg, #00f076, #00a854);
    color: #031409;
    border-color: #00f076;
    box-shadow: 0 0 16px rgba(0, 240, 118, 0.45);
}
.match-team-select-wrapper {
    margin-left: auto;
}

/* Matches Grid & Match Cards */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.35rem;
}
.match-card {
    background: linear-gradient(145deg, #0e1b30, #091322);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.match-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 28px rgba(0, 240, 118, 0.25);
}
.match-card.finished {
    border-color: rgba(0, 240, 118, 0.35);
}
.match-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    color: #94a3b8;
}
.match-field {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.match-status-badge {
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.match-status-badge.scheduled {
    background: rgba(255, 183, 3, 0.15);
    color: var(--accent-gold-light);
    border: 1px solid var(--accent-gold);
}
.match-status-badge.final {
    background: rgba(0, 240, 118, 0.15);
    color: var(--accent-green-neon);
    border: 1px solid var(--accent-green);
}
.match-status-badge.live {
    background: rgba(255, 46, 84, 0.2);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
    animation: liveBlink 1.5s infinite;
}
@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.match-teams-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}
.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.match-team-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #13243a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    border: 1px solid var(--border-medium);
}
.match-team-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-pure);
}
.match-score-box {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-green-neon);
    padding: 0 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.match-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #cbd5e1;
}

/* ==========================================================================
   5. TRIBUNAL DE EXPULSADOS & SANCIONES (CRIMSON WARNING THEME)
   ========================================================================== */
.referee-alert-banner {
    background: linear-gradient(135deg, rgba(255, 46, 84, 0.18), rgba(185, 28, 28, 0.18));
    border: 2px solid var(--accent-red);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fecaca;
    box-shadow: 0 0 20px rgba(255, 46, 84, 0.25);
}
.disciplinary-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.75rem;
}
.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.95rem;
}
.kpi-card.danger { border-left: 5px solid var(--accent-red); box-shadow: 0 0 15px rgba(255, 46, 84, 0.25); }
.kpi-card.red-direct { border-left: 5px solid #dc2626; }
.kpi-card.yellow-double { border-left: 5px solid #facc15; }
.kpi-card.warning { border-left: 5px solid var(--accent-gold); }

.kpi-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-pure);
}
.kpi-label {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}

.penalty-card-badge {
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.penalty-card-badge.direct-red {
    background: linear-gradient(135deg, #ff2e54, #b91c1c);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 46, 84, 0.4);
}
.penalty-card-badge.double-yellow {
    background: linear-gradient(135deg, #facc15, #ca8a04);
    color: #000;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}
.badge-status-pill {
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
}
.badge-status-pill.banned {
    background: rgba(255, 46, 84, 0.18);
    color: #ff6b81;
    border: 1px solid var(--accent-red);
}
.badge-status-pill.served {
    background: rgba(0, 240, 118, 0.18);
    color: var(--accent-green-neon);
    border: 1px solid var(--accent-green);
}
.penalty-matches-badge {
    background: #1e293b;
    color: var(--text-pure);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.8rem;
}
.penalty-meter {
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--accent-green-neon);
}

/* ==========================================================================
   6. DIRECTORIO DE CLUBES (TEAM CARDS)
   ========================================================================== */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.35rem;
}
.team-profile-card {
    background: linear-gradient(145deg, #0e1b30, #08111e);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}
.team-profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 240, 118, 0.3);
}
.team-crest-large {
    width: 72px;
    height: 72px;
    background: radial-gradient(circle, #193456 0%, #0a1628 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    margin: 0 auto 0.85rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 240, 118, 0.3);
    border: 2px solid var(--accent-green);
}
.team-profile-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.25rem;
}
.team-profile-delegate {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 1.15rem;
}
.team-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: #081220;
    padding: 0.75rem;
    border-radius: var(--radius-md);
}
.mini-stat-val {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
}
.mini-stat-lbl {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* ==========================================================================
   7. INSCRIPCIONES & REGLAMENTO
   ========================================================================== */
.enrollment-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
}
.enrollment-card, .league-rules-card {
    background: linear-gradient(145deg, #0e1b30, #091322);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.enroll-title, .rules-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: var(--text-pure);
    line-height: 1;
    margin: 0.4rem 0 0.75rem;
}
.enroll-desc, .rules-subtitle {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 1.75rem;
}
.form-group {
    margin-bottom: 1.15rem;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
}
.form-row {
    display: flex;
    gap: 1rem;
}
.form-row .form-group {
    flex: 1;
}
.form-control {
    width: 100%;
    background: #060e1a;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-pure);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 240, 118, 0.4);
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #cbd5e1;
}
.field-location-box {
    background: #060e1a;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.field-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   8. MESA DE CONTROL (ADMIN PROTEGIDA POR PIN)
   ========================================================================== */
.admin-section {
    background: linear-gradient(145deg, #0d1527, #060c18);
    border: 2px solid rgba(157, 78, 221, 0.4);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

/* Lock Screen */
.admin-lock-card {
    text-align: center;
    max-width: 540px;
    margin: 1.5rem auto;
    padding: 2.75rem 2rem;
    background: radial-gradient(circle at 50% 30%, #1e1338 0%, #0a0f1d 100%);
    border: 2px solid var(--accent-purple);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(157, 78, 221, 0.4);
}
.admin-lock-crest {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.2);
    border: 3px solid var(--accent-purple);
    color: #e0aaff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.5);
}
.lock-shield-icon {
    width: 42px;
    height: 42px;
}
.admin-lock-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--text-pure);
    margin-bottom: 0.85rem;
}
.admin-lock-desc {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.admin-lock-form {
    max-width: 400px;
    margin: 0 auto;
}
.admin-pin-input-group {
    position: relative;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}
.pin-input-icon {
    position: absolute;
    left: 1.15rem;
    color: var(--accent-purple-light);
    width: 22px;
    height: 22px;
    pointer-events: none;
}
.admin-pin-input {
    width: 100%;
    background: #060a14;
    border: 2px solid var(--accent-purple);
    border-radius: var(--radius-md);
    padding: 0.95rem 3.25rem 0.95rem 3.15rem;
    color: var(--text-pure);
    font-size: 1.25rem;
    font-family: var(--font-mono);
    text-align: center;
    letter-spacing: 3px;
    transition: all 0.2s;
}
.admin-pin-input:focus {
    outline: none;
    border-color: #e0aaff;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}
.btn-toggle-visibility {
    position: absolute;
    right: 0.85rem;
    background: none;
    border: none;
    color: #a5b4fc;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-large-auth {
    font-size: 1.05rem;
    padding: 1rem;
    background: linear-gradient(135deg, #9d4edd 0%, #6366f1 100%);
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.5);
    color: #fff;
}
.btn-large-auth:hover {
    background: linear-gradient(135deg, #c77dff 0%, #4f46e5 100%);
    box-shadow: 0 6px 28px rgba(157, 78, 221, 0.75);
}
.admin-pin-hint {
    margin-top: 1.15rem;
    font-size: 0.78rem;
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.admin-tabs-nav {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 2px solid var(--border-medium);
    padding-bottom: 0.85rem;
    margin-bottom: 1.75rem;
}
.admin-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    color: #cbd5e1;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s;
    flex-shrink: 0;
}
.admin-tab-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-pure);
}
.admin-tab-btn.active {
    background: linear-gradient(135deg, #9d4edd, #6366f1);
    color: #ffffff;
    border-color: #c77dff;
    box-shadow: 0 0 16px rgba(157, 78, 221, 0.5);
}

.admin-tab-pane {
    display: none;
}
.admin-tab-pane.active {
    display: block;
    animation: fadeInPane 0.25s ease;
}
@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-card {
    background: #08111e;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.admin-card.gold-card-border { border-color: var(--accent-gold); box-shadow: 0 0 15px rgba(255, 183, 3, 0.2); }
.admin-card.cyan-card-border { border-color: var(--accent-cyan); box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }
.admin-card.red-card-border { border-color: var(--accent-red); box-shadow: 0 0 15px rgba(255, 46, 84, 0.2); }

.admin-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-medium);
}
.admin-card-header h4 {
    font-size: 1.25rem;
    color: var(--text-pure);
    font-weight: 800;
}
.admin-card-sub {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}
.bold-input {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 800;
}

/* ==========================================================================
   MODALES (POPUPS & FICHA DE RESULTADOS POR EQUIPO)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 8, 16, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.modal-backdrop.open {
    display: flex;
}
.modal-box {
    background: linear-gradient(145deg, #0e1b30, #08111e);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.25rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 240, 118, 0.2);
    animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScale {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-close-btn {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    color: var(--text-pure);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close-btn:hover {
    background: var(--accent-red);
    box-shadow: 0 0 12px var(--accent-red);
}

.player-modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.player-modal-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.85rem;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.5);
}
.player-modal-avatar.gk-avatar {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}
.player-modal-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-pure);
    line-height: 1;
}
.player-modal-team {
    font-size: 0.95rem;
    color: var(--accent-gold-light);
    font-weight: 800;
}
.player-modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    background: #060e1a;
    border-radius: var(--radius-md);
    padding: 1.15rem;
    text-align: center;
    margin-bottom: 1.35rem;
    border: 1px solid var(--border-medium);
}
.player-modal-stat-val {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-pure);
}
.player-modal-stat-lbl {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* Modal de Resultados e Historial de Equipo */
.team-results-modal-box {
    max-width: 700px;
    border-color: var(--accent-green);
    box-shadow: 0 0 35px rgba(0, 240, 118, 0.3);
}
.team-selector-chips {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.85rem;
    margin-bottom: 1.35rem;
    border-bottom: 1px solid var(--border-medium);
}
.team-chip-btn {
    background: #081220;
    border: 1px solid var(--border-medium);
    color: #cbd5e1;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}
.team-chip-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-pure);
}
.team-chip-btn.active {
    background: linear-gradient(135deg, #00f076, #00a854);
    color: #031409;
    border-color: #00f076;
    box-shadow: 0 0 12px rgba(0, 240, 118, 0.5);
}
.team-match-result-item {
    background: #081220;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.15rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.2s;
}
.team-match-result-item:hover {
    border-color: var(--accent-green);
    transform: translateX(4px);
    background: #0d1e34;
}
.team-match-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.team-match-pairing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-pure);
}
.team-match-score-badge {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    background: #040912;
    border: 1px solid var(--accent-green);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--accent-green-neon);
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 240, 118, 0.3);
}
.team-match-res-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    flex-shrink: 0;
}
.team-match-res-badge.win-res {
    background: linear-gradient(135deg, #00f076, #00a854);
    color: #031409;
    box-shadow: 0 0 10px rgba(0, 240, 118, 0.4);
}
.team-match-res-badge.draw-res {
    background: linear-gradient(135deg, #ffb703, #d97706);
    color: #000;
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.4);
}
.team-match-res-badge.loss-res {
    background: linear-gradient(135deg, #ff2e54, #dc2626);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 46, 84, 0.4);
}
.team-match-res-badge.scheduled-res {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.roster-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.roster-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #060e1a;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    border: 1px solid var(--border-subtle);
}
.roster-num {
    font-family: var(--font-mono);
    font-weight: 800;
    color: var(--accent-green-neon);
    margin-right: 0.5rem;
}

/* ==========================================================================
   TOAST NOTIFICATION (VIBRANT GLOW POPUP)
   ========================================================================== */
.toast-notification {
    position: fixed;
    bottom: 2.25rem;
    right: 2.25rem;
    background: linear-gradient(135deg, #091f14, #04120b);
    border: 2px solid var(--accent-green);
    color: #fff;
    padding: 0.95rem 1.45rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 118, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 700;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   MOBILE FLOATING BOTTOM NAV (FOR PHONES)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(6, 12, 22, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 2px solid var(--accent-green);
    z-index: 1500;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
}
.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    gap: 3px;
    transition: color 0.2s;
    flex: 1;
    padding: 0.35rem 0;
}
.mobile-bottom-item i {
    width: 22px;
    height: 22px;
}
.mobile-bottom-item:hover, .mobile-bottom-item.active {
    color: var(--accent-green-neon);
    text-shadow: 0 0 10px var(--accent-green-neon);
}

/* ==========================================================================
   MAIN FOOTER
   ========================================================================== */
.main-footer {
    background: #040810;
    border-top: 2px solid rgba(0, 240, 118, 0.25);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.75rem;
    margin-bottom: 2.75rem;
}
.footer-brand .brand-logo {
    margin-bottom: 1.15rem;
}
.footer-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.35rem;
}
.footer-badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.f-badge {
    background: #08111e;
    border: 1px solid var(--border-medium);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: #cbd5e1;
    font-weight: 700;
}
.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--text-pure);
    margin-bottom: 1.15rem;
    letter-spacing: 0.5px;
}
.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
}
.footer-nav a:hover {
    color: var(--accent-green-neon);
    transform: translateX(4px);
    display: inline-block;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
}
.footer-bottom {
    border-top: 1px solid var(--border-medium);
    padding-top: 1.75rem;
    font-size: 0.78rem;
    color: #64748b;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (MOBILE PHONES & TABLETS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .enrollment-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle-btn {
        display: flex;
    }
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Navigation Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 84%;
        max-width: 330px;
        height: 100vh;
        background: #08111e;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.9);
        border-left: 2px solid var(--accent-green);
        padding: 1.75rem;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 2500;
        overflow-y: auto;
    }
    .nav-menu.open {
        right: 0;
    }
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 1.75rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-medium);
    }
    .mobile-close-btn {
        background: var(--bg-elevated);
        border: 1px solid var(--border-medium);
        color: var(--text-pure);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
    }
    .nav-link {
        width: 100%;
        padding: 0.85rem 1.15rem;
        font-size: 1rem;
    }

    .hero-headline {
        font-size: 2.75rem;
    }
    .hero-section {
        padding: 2.5rem 0;
    }
    
    /* Top 3 Podium Stack on Mobile */
    .top-scorers-podium, .top-gk-podium {
        grid-template-columns: 1fr;
    }
    .podium-card.gold-card { order: 1; }
    .podium-card.silver-card { order: 2; }
    .podium-card.bronze-card { order: 3; }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .section-title {
        font-size: 1.95rem;
    }
    .match-team-select-wrapper {
        margin-left: 0;
        width: 100%;
    }
    .search-input-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }
    .hero-headline {
        font-size: 2.3rem;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
    .spotlight-body {
        flex-direction: column;
        gap: 1.15rem;
    }
    .team-badge-circle {
        width: 58px;
        height: 58px;
        font-size: 1.6rem;
    }
    .admin-section {
        padding: 1.35rem 0.95rem;
    }
    .modal-box {
        padding: 1.5rem;
    }
    .player-modal-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   PRINT STYLESHEET (OFFICIAL LEAGUE PDF / PRINT GENERATOR)
   ========================================================================== */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
        padding: 0 !important;
    }
    .top-announcement-bar, .main-navbar, .quick-sub-nav, .mobile-bottom-nav,
    .hero-section, .category-sticky-bar, .stats-quick-bar, #inscripciones, #admin,
    .main-footer, .section-actions, .mobile-table-hint, .btn-circle, .btn-results-sm {
        display: none !important;
    }
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    .standings-card, .expelled-table-wrapper {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    .sports-table th {
        background: #f1f5f9 !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
    }
    .sports-table td {
        color: #000 !important;
        border: 1px solid #eee !important;
    }
    .rank-badge, .pts-col, .form-dot {
        color: #000 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}
