/* ==========================================================
   CONCURSOS Y BATALLAS (GANADOR/A & BATALLA MUSICAL)
   ========================================================== */

/* --------------------------------------
   Módulo Ganador/a (Blanco y Dorado)
-------------------------------------- */
.ganador-glass {
    max-width: 450px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid #ffd700 !important;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.ganador-light-effect {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.ganador-title {
    font-family: var(--font-heading, sans-serif);
    color: #222 !important;
    font-size: 1.6rem;
    text-transform: uppercase;
    margin: 0 0 20px;
    letter-spacing: 2px;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.ganador-title-star {
    color: #ffd700;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8));
}

.ganador-img-container {
    display: inline-block;
    padding: 5px;
    background: linear-gradient(135deg, #ffd700, #fff, #b8860b, #ffd700);
    background-size: 300% 300%;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    animation: goldShimmerBorder 4s ease infinite;
    position: relative;
    z-index: 1;
}

.ganador-img-container img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    display: block;
}

/* Efecto Dorado en Movimiento para el Nombre */
.winner-name-gold {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 900;
    background: linear-gradient(
        to right,
        #b8860b 20%,
        #ffd700 40%,
        #fff8b0 50%,
        #ffd700 60%,
        #b8860b 80%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shineGold 3s linear infinite;
    position: relative;
    z-index: 1;
    /* Sombras para mejorar legibilidad si hace falta */
    text-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}

.ganador-subtitle {
    color: #555 !important;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Animaciones */
@keyframes shineGold {
    to {
        background-position: 200% center;
    }
}

@keyframes goldShimmerBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
