/* eliminatoriesinfantilfemeni.css - Estilos específicos para Eliminatorias Infantil Femení */
/* Estilo unificado con esquema de colores rojo #FF0000 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #00A651 0%, #00894A 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.categoria-titulo {
    font-size: 1.8em;
    font-weight: 700;
    background: #FF0000;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: block;
    text-align: center;
    margin: 15px auto 30px auto;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.header-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: black;
}

.header-content h3 {
    font-size: 1.8em;
    font-weight: 700;
    background: #FF0000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 25px 50px rgba(255, 0, 0, 0.4);
}

.club-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.club-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.club-logo:hover {
    transform: scale(1.1);
}

.club-info h1 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: black;
}

/* NAVEGACIÓN */
.navbar {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    background: white;
    color: #00894A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.nav-item.active .nav-link {
    background: white;
    color: #00894A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid white;
}

/* CONTENIDO PRINCIPAL */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    background: white;
    color: #00894A;
    transform: translateY(-2px);
}

/* INFORMACIÓN AUTOMÁTICA - NUEVO - ESQUEMA ROJO */
.info-automatica {
    margin-bottom: 30px;
}

.info-box {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 25px 30px;
    border-left: 6px solid #FF0000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,0,0,0.3);
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    border: 2px solid #FF0000;
}

.info-box i {
    color: #DC143C;
    font-size: 1.8em;
    flex-shrink: 0;
    background: #FFE5E5;
    padding: 12px;
    border-radius: 50%;
    border: 2px solid #FF0000;
    transition: all 0.3s ease;
}

.info-box:hover i {
    background: #FF0000;
    color: #fff;
    transform: scale(1.1);
}

.info-box p {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
    text-align: justify;
}

/* SECCIONES DE CONTENIDO */
.content-section {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.section-title {
    color: #FF0000;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-bottom: 3px solid #FF0000;
    padding-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

/* CONTENEDOR PRINCIPAL DE ELIMINATORIAS */
.eliminatorias-container {
    display: grid;
    gap: 30px;
}

/* TARJETAS DE ENFRENTAMIENTO - ESTILO INFANTIL FEMENÍ */
.enfrentamiento-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px 25px 25px 25px;
    border-left: 6px solid #FF0000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enfrentamiento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(255, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.enfrentamiento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FF5722, #F44336);
}

/* HEADER DEL ENFRENTAMIENTO */
.enfrentamiento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FFE5E5;
}

.enfrentamiento-tipo {
    font-size: 1.1em;
    font-weight: bold;
    color: #FF0000;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.enfrentamiento-grupo {
    background: #FF0000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* CONTENEDOR VS */
.vs-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    margin-top: 10px;
}

/* EQUIPOS EN ELIMINATORIAS - ESTILO INFANTIL FEMENÍ */
.equipo-eliminatoria {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
}

.equipo-eliminatoria:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.02);
    border: 2px solid #FF0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
}

.equipo-eliminatoria.ganador {
    background: #FFE5E5;
    border: 2px solid #FF0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.equipo-nombre {
    font-size: 1.2em;
    font-weight: bold;
    color: #DC143C;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.equipo-origen {
    font-size: 0.9em;
    color: #8B0000;
    background: #FFE5E5;
    padding: 4px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid #FF0000;
}

.equipo-stats {
    font-size: 0.8em;
    color: #666;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid #FF0000;
    background: #DC143C;
}

.stat-item:hover {
    background: #FF0000;
    color: #fff;
    transform: scale(1.05);
}

/* DIVISOR VS - ESTILO INFANTIL FEMENÍ */
.vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.vs-text {
    font-size: 2em;
    font-weight: bold;
    color: #DC143C;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.resultado-elimintoria {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #FF0000 0%, #DC143C 100%);
    border-radius: 15px;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ESTADOS DE ENFRENTAMIENTO - ESTILO INFANTIL FEMENÍ */
.estado-enfrentamiento {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    border-radius: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.estado-programado {
    background: #FFE5E5;
    color: #8B0000;
    border: 2px solid #FF0000;
}

.estado-jugado {
    background: #FFE5E5;
    color: #8B0000;
    border: 2px solid #FF0000;
}

.estado-pendiente {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

/* ID del partido - Estilo minimalista */
.partido-id {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    background: rgba(255,255,255,0.9);
    color: #666;
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 0;
    display: inline-block;
    border: none;
    z-index: 10;
}

/* DETALLES DEL PARTIDO - ESTILO INFANTIL FEMENÍ */
.detalles-partido {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
    flex-wrap: wrap;
}

.detalle-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #FFE5E5;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #FF0000;
    transition: all 0.2s ease;
    font-weight: 500;
}

.detalle-item:hover {
    background: #FF0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 0, 0, 0.3);
}

.detalle-item i {
    color: #DC143C;
    transition: all 0.2s ease;
}

.detalle-item:hover i {
    color: #fff;
}

/* UBICACIÓN COMPLETA MEJORADA - ESTILO INFANTIL FEMENÍ */
.detalle-ubicacion-completa {
    background: #FFE5E5;
    border: 1px solid #FF0000;
    font-weight: 500;
}

.detalle-ubicacion-completa i {
    color: #DC143C;
}

.ubicacion-completa {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ubicacion-completa .pabellon {
    color: #666;
    font-weight: 500;
}

.ubicacion-completa .separador {
    color: #666;
    margin: 0 4px;
    font-weight: 500;
}

.ubicacion-completa .pista {
    color: #666;
    font-weight: 500;
}

.detalle-ubicacion-completa:hover {
    background: #FF0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 0, 0, 0.3);
}

.detalle-ubicacion-completa:hover .pabellon,
.detalle-ubicacion-completa:hover .pista,
.detalle-ubicacion-completa:hover .separador,
.detalle-ubicacion-completa:hover i {
    color: #fff;
}

/* RESUMEN DE CLASIFICACIONES - ESTILO INFANTIL FEMENÍ */
.clasificaciones-resumen {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.clasificaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* CLASIFICACIÓN MINI - ESTILO INFANTIL FEMENÍ */
.clasificacion-mini {
    background: #FFF8F8;
    border-radius: 15px;
    padding: 20px;
    border: 3px solid #FF0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.clasificacion-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
    border-color: #FF0000;
}

.clasificacion-mini h4 {
    color: #FF0000;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

/* ITEMS DE POSICIÓN - ESTILO INFANTIL FEMENÍ */
.posicion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 8px;
    background: white;
    border-radius: 12px;
    border-left: 3px solid #ddd;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.posicion-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.posicion-item.destacado {
    border-left-color: #DC143C;
    background: #FFF8F8;
    font-weight: bold;
    border: 2px solid #DC143C;
    border-left: 4px solid #DC143C;
}

.posicion-numero {
    background: #6c757d;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.posicion-numero.destacado {
    background: #DC143C;
    color: #fff;
    transform: scale(1.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.equipo-nombre-mini {
    flex: 1;
    margin-left: 15px;
    font-size: 0.95em;
    color: #DC143C;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.equipo-puntos-mini {
    background: #DC143C;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    border: 1px solid #DC143C;
    box-shadow: 0 2px 5px rgba(220, 20, 60, 0.3);
}

/* EFECTOS DE HOVER MEJORADOS */
.enfrentamiento-card:hover .equipo-eliminatoria {
    transform: scale(1.01);
}

.enfrentamiento-card:hover .vs-text {
    color: #FF0000;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.enfrentamiento-card:hover .resultado-elimintoria {
    background: #FF0000;
    transform: scale(1.05);
}

/* ANIMACIONES SUAVES */
.equipo-eliminatoria {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vs-text {
    transition: all 0.3s ease;
}

.resultado-elimintoria {
    transition: all 0.3s ease;
}

.detalle-item {
    transition: all 0.3s ease;
}

/* ESTADOS CON ICONOS MEJORADOS */
.estado-enfrentamiento::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 1.1em;
}

.estado-jugado::before {
    content: "\f00c"; /* check */
}

.estado-programado::before {
    content: "\f073"; /* calendar */
}

.estado-pendiente::before {
    content: "\f017"; /* clock */
}

/* FOOTER */
footer {
    background: rgba(0,0,0,0.3);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    backdrop-filter: blur(10px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2em;
    }
    
    .header-content h3 {
        font-size: 1.4em;
    }
    
    .categoria-titulo {
        font-size: 1.4em;
        padding: 8px 15px;
        margin: 10px auto 25px auto;
        width: fit-content;
        max-width: 90%;
        text-align: center;
        display: block;
    }
    
    .club-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .club-logo {
        width: 60px;
        height: 60px;
    }
    
    .nav-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .nav-link {
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        min-height: 65px;
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .vs-container {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Orden correcto en móvil - Equipo 1, VS, Equipo 2 */
    .equipo-eliminatoria:first-child {
        order: 1;
    }
    
    .vs-divider {
        order: 2;
        margin: 15px 0;
        align-self: center;
    }
    
    .equipo-eliminatoria:last-child {
        order: 3;
    }
    
    .equipo-eliminatoria {
        margin: 0;
    }
    
    .clasificaciones-grid {
        grid-template-columns: 1fr;
    }
    
    .enfrentamiento-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .equipo-stats {
        justify-content: center;
        gap: 5px;
    }
    
    .detalles-partido {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .detalle-item {
        min-width: auto;
        justify-content: center;
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    .enfrentamiento-card {
        padding: 25px 15px 15px 15px;
    }
    
    .vs-text {
        font-size: 1.5em;
    }
    
    .resultado-elimintoria {
        font-size: 1.4em;
        min-width: 60px;
    }
    
    .section-title {
        font-size: 1.5em;
        flex-direction: column;
        gap: 10px;
    }
    
    .partido-id {
        position: absolute;
        top: 8px;
        left: 8px;
        font-size: 0.8em;
        padding: 3px 6px;
        border-radius: 4px;
    }
    
    /* 🔥 NUEVO: Info automática responsive */
    .info-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    
    .info-box i {
        font-size: 1.5em;
        padding: 10px;
    }
    
    .info-box p {
        font-size: 1em;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 10px;
    }
    
    .categoria-titulo {
        font-size: 1.2em;
        padding: 6px 12px;
        margin: 8px auto 20px auto;
        width: fit-content;
        max-width: 95%;
        text-align: center;
        display: block;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .eliminatorias-container {
        gap: 20px;
    }
    
    .enfrentamiento-card {
        padding: 25px 10px 15px 10px;
    }
    
    .equipo-eliminatoria {
        padding: 15px;
    }
    
    .equipo-nombre {
        font-size: 1em;
    }
    
    .equipo-origen {
        font-size: 0.8em;
    }
    
    .equipo-stats {
        font-size: 0.7em;
    }
    
    .clasificacion-mini {
        padding: 15px;
    }
    
    .posicion-item {
        padding: 8px 10px;
    }
    
    .posicion-numero {
        width: 25px;
        height: 25px;
        font-size: 0.8em;
    }
    
    .ubicacion-completa .pabellon,
    .ubicacion-completa .pista {
        font-size: 0.8em;
    }
    
    .detalle-item {
        padding: 4px 8px;
        font-size: 0.75em;
    }
    
    .breadcrumb a {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    /* 🔥 NUEVO: Info automática en pantallas pequeñas */
    .info-box {
        padding: 15px;
        gap: 10px;
    }
    
    .info-box i {
        font-size: 1.3em;
        padding: 8px;
    }
    
    .info-box p {
        font-size: 0.9em;
    }
}

/* EFECTOS PARA DISPOSITIVOS TÁCTILES */
@media (hover: none) and (pointer: coarse) {
    .club-logo:hover,
    .enfrentamiento-card:hover,
    .equipo-eliminatoria:hover,
    .detalle-item:hover,
    .clasificacion-mini:hover,
    .info-box:hover {
        transform: none;
    }
    
    .info-box:hover i {
        transform: none;
        background: #FFE5E5;
        color: #DC143C;
    }
    
    .nav-link:hover,
    .breadcrumb a:hover,
    .detalle-item:hover {
        transform: none;
    }
    
    .enfrentamiento-card:hover .vs-text {
        color: #FF0000;
        text-shadow: none;
    }
    
    .enfrentamiento-card:hover .resultado-elimintoria {
        background: #FF0000;
        transform: none;
    }
}

/* ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
    .club-logo,
    .enfrentamiento-card,
    .equipo-eliminatoria,
    .vs-text,
    .resultado-elimintoria,
    .detalle-item,
    .clasificacion-mini,
    .posicion-item,
    .nav-link,
    .breadcrumb a {
        transition: none !important;
    }
    
    .enfrentamiento-card:hover,
    .detalle-item:hover,
    .clasificacion-mini:hover,
    .info-box:hover {
        transform: none !important;
    }
    
    .info-box i {
        transition: none !important;
    }
}

/* MEJORAS DE CONTRASTE PARA ACCESIBILIDAD */
@media (prefers-contrast: high) {
    .enfrentamiento-card {
        border: 3px solid #000;
    }
    
    .equipo-eliminatoria {
        border: 2px solid #666;
    }
    
    .vs-text {
        text-shadow: 2px 2px 0 #000;
    }
    
    .detalle-item {
        border: 2px solid #000;
    }
    
    .clasificacion-mini {
        border: 3px solid #000;
    }
    
    .info-box {
        border: 3px solid #000;
    }
    
    .info-box i {
        border: 3px solid #000;
    }
}

/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    }
    
    .content-section,
    .clasificaciones-resumen {
        background: rgba(45, 55, 72, 0.95);
        color: #e2e8f0;
    }
    
    .enfrentamiento-card {
        background: rgba(45, 55, 72, 0.95);
        color: #e2e8f0;
        border-left-color: #FF0000;
    }
    
    .equipo-eliminatoria {
        background: rgba(45, 55, 72, 0.8);
        color: #e2e8f0;
    }
    
    .equipo-origen {
        background: #8B0000;
        color: #FFB3B3;
    }
    
    .stat-item {
        background: #FF0000;
        color: #fff;
    }
    
    .detalle-item {
        background: #8B0000;
        color: #FFB3B3;
    }
    
    .clasificacion-mini {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .posicion-item {
        background: rgba(45, 55, 72, 0.8);
        color: #e2e8f0;
    }
    
    .equipo-nombre-mini {
        color: #FF0000;
    }
    
    /* 🔥 NUEVO: Info automática en dark mode */
    .info-box {
        background: rgba(45, 55, 72, 0.95);
        color: #e2e8f0;
        border-left-color: #FF0000;
        border-color: rgba(255,0,0,0.3);
    }
    
    .info-box:hover {
        border-color: #FF0000;
    }
    
    .info-box i {
        background: #8B0000;
        color: #FF0000;
        border-color: #FF0000;
    }
    
    .info-box:hover i {
        background: #FF0000;
        color: #fff;
    }
    
    .info-box p {
        color: #e2e8f0;
    }
}