/* =========================================
   1. FONDO GLOBAL Y PARTÍCULAS
   ========================================= */

body.honor-body {
    /* Movimos el fondo oscuro aquí para que cubra toda la página */
    background: radial-gradient(circle at center, #1a1a2e 0%, #02050a 100%);
    background-attachment: fixed;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    overflow-x: hidden;
}

#particles-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    /* TRUCO 1: Fondo transparente para dejar ver la foto de atrás */
    background: transparent; 
    /* TRUCO 2: Z-index 1 hace que las partículas floten por encima de la foto */
    z-index: 1; 
    /* TRUCO 3: pointer-events none evita que las partículas bloqueen tus clics */
    pointer-events: none; 
}

/* =========================================
   2. HERO SECTION (FOTO + OVERLAY)
   ========================================= */

.honor-hero {
    height: 60vh;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    /* Quitamos el fondo de aquí porque ahora usamos las capas de abajo */
}

/* La Fotografía de fondo */
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-attachment: fixed; /* Le da el efecto Parallax elegante */
    z-index: 0; /* Se queda al fondo de todo */
}

/* El Degradado que la oscurece */
.hero-gradient {
    position: absolute; inset: 0;
    /* Funde la foto suavemente hacia el color súper negro de la página (#02050a) */
    background: linear-gradient(to bottom, rgba(2, 5, 10, 0.6) 0%, rgba(2, 5, 10, 1) 100%);
    z-index: 0;
}

/* El Contenedor del Texto */
.hero-content {
    position: relative; 
    z-index: 5; /* Z-index 5 asegura que el texto esté por encima de las partículas y la foto */
    padding: 20px;
}

/* (El resto de tus clases como .laurel-icon, .giant-title, etc., se quedan igualitas) */
.laurel-icon { font-size: 4rem; color: var(--accent-gold); margin-bottom: 10px; animation: float 3s ease-in-out infinite; }
.giant-title { font-family: 'Teko', sans-serif; font-size: 5rem; margin: 0; line-height: 0.9; text-shadow: 0 0 30px rgba(251, 191, 36, 0.4); }
.hero-subtitle { color: #ccc; font-size: 1.1rem; letter-spacing: 2px; margin-top: 15px; }

.year-badge {
    display: inline-block; margin-top: 25px;
    padding: 8px 25px; border: 1px solid var(--accent-cyan);
    border-radius: 50px; color: var(--accent-cyan); font-family: 'Teko', sans-serif;
    font-size: 1.3rem; letter-spacing: 2px;
    background: rgba(6, 182, 212, 0.1);
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- SECCIONES --- */
.honor-section { padding: 80px 0; }
.honor-section.alt-bg { background: rgba(255,255,255,0.02); }

.section-title { font-family: 'Teko', sans-serif; font-size: 3.5rem; color: #fff; margin-bottom: 10px; }
.line-decor.center { margin: 0 auto 50px auto; width: 80px; height: 4px; }
.line-decor.gold { background: var(--accent-gold); box-shadow: 0 0 15px var(--accent-gold); }
.line-decor.cyan { background: var(--accent-cyan); box-shadow: 0 0 15px var(--accent-cyan); }


/* ... (Mantén tu CSS del body, canvas, hero header igual) ... */

/* =========================================
   PODIO HEROICO Y TARJETAS GIGANTES
   ========================================= */

.podium-container {
    display: flex; justify-content: center; align-items: flex-end;
    gap: 25px; margin-bottom: 80px; /* Más margen abajo */
    flex-wrap: wrap;
    padding-top: 40px; /* Espacio para las coronas flotantes */
}

/* TARJETA BASE (Ahora es un marco para la foto gigante) */
.honor-card {
    background: rgba(25, 35, 55, 0.6); /* Fondo un poco más sólido */
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 25px; 
    text-align: center; position: relative;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%; max-width: 320px; /* Un poco más anchas */
    overflow: hidden; /* Crucial para contener la foto */
    display: flex; flex-direction: column;
}

/* --- LA NUEVA CAJA DE IMAGEN HEROICA --- */
.honor-hero-img {
    width: 100%;
    position: relative;
    /* Altura base para escoltas */
    height: 350px; 
    overflow: hidden;
}
/* Altura especial para la abanderada */
.honor-hero-img.main-photo { height: 450px; }
/* Altura para los estandartes normales */
.honor-hero-img.standard-height { height: 300px; }


.honor-hero-img img {
    width: 100%; height: 100%;
    object-fit: cover; /* Rellena el espacio sin deformarse */
    object-position: top center; /* Enfoca siempre las caras */
    transition: transform 0.5s ease;
}
.honor-card:hover .honor-hero-img img { transform: scale(1.05); }

/* EL DEGRADADO MÁGICO (Dark Fade) */
/* Esto hace que la foto se funda con la tarjeta en la parte de abajo */
.honor-hero-img::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; 
    height: 60%; /* Cubre el 60% inferior de la foto */
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 10%, transparent);
    z-index: 1;
}

/* --- INFORMACIÓN Y TEXTOS --- */
.honor-info {
    padding: 20px 25px 30px 25px;
    position: relative; z-index: 2; /* Para estar sobre el degradado */
    background: rgba(15, 23, 42, 1); /* Fondo sólido para el texto */
    flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-end;
}

.honor-info h3 {
    font-family: 'Teko', sans-serif; font-size: 2.2rem;
    margin: 0 0 5px 0; color: #fff; line-height: 1; letter-spacing: 1px;
}
.honor-info p {
    font-size: 0.9rem; color: var(--accent-cyan);
    letter-spacing: 2px; font-weight: 600; text-transform: uppercase; margin: 0;
}
.honor-info p.highlight { color: var(--accent-gold); }

/* --- ESTILOS DE RANGO (Bordes y Resplandores) --- */
/* ORO (Abanderada) */
.honor-card.gold { border-color: var(--accent-gold); }
.honor-card.gold:hover { 
    transform: translateY(-15px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(251, 191, 36, 0.3);
}
/* PLATA & BRONCE */
.honor-card.silver, .honor-card.bronze { border-color: rgba(255,255,255,0.3); }
.honor-card.silver:hover, .honor-card.bronze:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(6, 182, 212, 0.2);
    border-color: var(--accent-cyan);
}

/* MVP (La Abanderada Central) */
.honor-card.mvp { 
    max-width: 360px; /* Más ancha */
    z-index: 10;
    margin-bottom: 40px; /* Se eleva visualmente más alto */
}

/* --- ELEMENTOS FLOTANTES (GPA y Coronas) --- */
.gpa-floating {
    position: absolute; top: 20px; right: 20px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    padding: 5px 15px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.3);
    font-weight: 700; color: #fff; z-index: 10; font-family: 'Teko', sans-serif; font-size: 1.2rem;
}
.gpa-floating.gold { background: var(--accent-gold); color: #000; border: none; }
.gpa-floating.small { font-size: 1rem; padding: 3px 10px; }

.rank-badge, .crown-badge {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-weight: bold; font-family: 'Teko', sans-serif; font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4); z-index: 12;
}
.rank-badge { background: #fff; color: #000; border: 3px solid var(--bg-dark); }
.crown-badge { background: var(--accent-gold); color: #000; width: 60px; height: 60px; font-size: 2rem; top: -30px; border: 3px solid var(--bg-dark); }


/* --- GRID ESTÁNDAR (Para las secciones inferiores) --- */
.standard-grid {
    display: grid;
    /* Usamos el truco de las 4 columnas forzadas que te gustó antes */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.honor-card.standard { max-width: 100%; } /* Ocupan todo el ancho de su celda */
.role-gold { color: var(--accent-gold) !important; }
.role-cyan { color: var(--accent-cyan) !important; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .podium-container { flex-direction: column; align-items: center; gap: 60px; }
    .honor-card.mvp { order: -1; margin-bottom: 0; } /* MVP primero en celular */
    /* Ajustamos alturas en móvil para que no sean tan exageradas */
    .honor-hero-img { height: 300px; }
    .honor-hero-img.main-photo { height: 380px; }
    .left-escolta, .right-escolta { margin-top: 20px; }
}