/* CONFIGURACIÓN VISUAL (CSS) */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    /* FONDO DE HOCKEY */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('imagenes/Fondo_hockey.jpeg'); /* ASEGÚRATE DE QUE EL NOMBRE SEA EXACTO */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #000; /* Color de respaldo */
    
    color: #ffffff; 
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.6;
}

/* NAVBAR */
nav.navbar { 
    background: rgba(17, 17, 17, 0.9); 
    padding: 15px; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 2px solid #ff0000;
    backdrop-filter: blur(10px);
}
nav.navbar ul { display: flex; justify-content: center; gap: 20px; list-style: none; }
nav.navbar a { color: white; text-decoration: none; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
nav.navbar a:hover { color: #ff0000; }

/* SECCIONES */
.section { padding: 80px 20px; max-width: 900px; margin: auto; }
.section-title { 
    color: #ff0000; 
    text-align: center; 
    font-size: 3rem; 
    margin-bottom: 50px; 
    text-transform: uppercase; 
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* HEADER PRINCIPAL - PORTADA CORREGIDA */
/* --- PORTADA (HERO) MÁS GRANDE --- */
.hero-header { 
    height: 100vh; /* Ocupa el 100% de la altura de la ventana */
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden;
}

/* --- PORTADA TRANSPARENTE SOBRE EL HIELO --- */
.hero-header { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    /* Mantenemos el fondo aquí por si acaso, pero el body ya lo tiene */
}

.hero-container { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 50px; 
    background: transparent; /* ELIMINAMOS EL FONDO NEGRO */
    padding: 20px; 
    width: 100%;
    max-width: 1200px;
}

.logo-equipo { 
    height: 280px; /* Un poco más grandes para compensar el espacio */
    width: auto;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8)); /* Sombra negra para despegar del hielo */
}

.titulo-principal { 
    color: #ff0000; 
    font-size: 8rem; 
    font-weight: 900; 
    line-height: 0.8; 
    text-align: center;
    text-transform: uppercase;
    /* TRUCO PARA LEGIBILIDAD SOBRE BLANCO: */
    text-shadow: 
        -2px -2px 0 #000,  
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
         5px  5px 20px rgba(0,0,0,1); /* Sombra difusa pesada */
    letter-spacing: -3px;
}

/* Ajuste para que se vea bien en laptops */
@media (max-width: 1024px) {
    .titulo-principal { font-size: 5rem; }
    .logo-equipo { height: 180px; }
    .hero-container { gap: 20px; }
}

/* ACORDEÓN DE CAPÍTULOS */
.cap-desplegable { 
    background: rgba(26, 26, 26, 0.85); /* Un poco transparente para ver el fondo */
    margin-bottom: 12px; 
    border: 1px solid #444; 
    border-left: 5px solid #ff0000;
    border-radius: 4px; 
    overflow: hidden; 
    backdrop-filter: blur(5px);
}
.cap-header-trigger { padding: 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.cap-header-trigger:hover { background: rgba(255, 0, 0, 0.1); }
.cap-tag { background: #ff0000; color: white; padding: 3px 10px; font-size: 0.75rem; text-transform: uppercase; font-weight: bold; border-radius: 2px; }
.cap-content-body { display: none; padding: 25px; background: rgba(0, 0, 0, 0.6); border-top: 1px solid #333; }
.activo .cap-content-body { display: block; }
.activo .icon-flecha { transform: rotate(180deg); color: #ff0000; }

/* MOMENTOS Y MODALES (FRAGMENTOS) */
.momentos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.momento-card { 
    background: rgba(20, 20, 20, 0.9); 
    border: 2px solid #ff0000; 
    padding: 30px; 
    text-align: center; 
    cursor: pointer; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.momento-card:hover { transform: scale(1.03); box-shadow: 0 10px 30px rgba(255,0,0,0.3); background: #ff0000; color: white; }
.momento-card:hover .leer-mas { color: white; }
.leer-mas { color: #ff0000; font-weight: 800; text-transform: uppercase; margin-top: 15px; display: block; letter-spacing: 1px; }

/* VENTANAS EMERGENTES (FRAGMENTOS) */
.modal-overlay { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.9); 
    z-index: 9999; 
    backdrop-filter: blur(10px); 
}
.modal-body { 
    background: #111; 
    border: 3px solid #ff0000; 
    width: 90%; max-width: 550px; 
    margin: 10% auto; 
    padding: 50px 40px; 
    position: relative; 
    border-radius: 0; /* Estilo más rudo, tipo hockey */
    text-align: center; 
}
.modal-cerrar { position: absolute; top: 15px; right: 25px; font-size: 40px; color: #ff0000; cursor: pointer; }

/* GALERÍA */
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.fanart-card img { width: 100%; height: 550px; object-fit: cover; border: 2px solid #333; filter: grayscale(50%); transition: 0.4s; }
.fanart-card:hover img { filter: grayscale(0%); border-color: #ff0000; }

/* FOOTER */
.footer-section { background: rgba(0,0,0,0.9); padding: 50px; text-align: center; border-top: 4px solid #ff0000; }
/* --- MARCADOR DE HOCKEY INTERACTIVO --- */
.scoreboard {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #0a0a0a;
    border: 4px solid #333;
    padding: 40px;
    border-radius: 10px;
    box-shadow: inset 0 0 20px #000, 0 0 15px rgba(255,0,0,0.2);
    font-family: 'Courier New', Courier, monospace; /* Fuente tipo digital */
}

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

.team-name { color: #fff; font-size: 1.5rem; margin-bottom: 15px; letter-spacing: 2px; }

.score-number { 
    font-size: 5rem; 
    color: #ff0000; 
    background: #000; 
    display: inline-block; 
    padding: 10px 30px; 
    border-radius: 5px; 
    border: 2px solid #222;
    text-shadow: 0 0 15px #ff0000;
    margin-bottom: 20px;
}

.timer-panel { flex: 0.5; text-align: center; border-left: 2px solid #222; border-right: 2px solid #222; }
.period { color: #888; font-size: 0.8rem; }
.clock { font-size: 2.5rem; color: #ffeb3b; text-shadow: 0 0 10px #fbc02d; }

.vote-btn {
    padding: 12px 25px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    border-radius: 3px;
}

.btn-shane { background: #ce1126; color: white; } /* Rojo Montreal */
.btn-ilya { background: #ffb81c; color: black; } /* Dorado Boston */

.vote-btn:hover { transform: scale(1.1); filter: brightness(1.3); }
.vote-btn:active { transform: scale(0.9); }