/* Login: estilos y animaciones de las fechas festivas (antes en línea en auth/login.blade.php) */
                        .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-addon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

.password-toggle-icon:hover {
    color: #4a5568;
}

.form-control {
    padding-right: 45px; /* Espacio para el icono de mostrar/ocultar */
}

/* ========================================
   DECORACIONES NAVIDEÑAS Y AÑO NUEVO
   ======================================== */

/* Contenedor de decoraciones */
.holiday-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

/* ===== NAVIDAD - DISEÑO ELEGANTE ===== */

/* Gorro de Papá Noel - Diseño simple */
.santa-hat {
    position: absolute;
    top: -28px;
    right: -8px;
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #d42426 0%, #b01c1c 100%);
    border-radius: 0 80% 10% 0;
    transform: rotate(20deg);
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.4));
    animation: hat-swing 4s ease-in-out infinite;
    z-index: 10;
}

/* Pompón */
.santa-hat::before {
    content: '';
    position: absolute;
    top: -6px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 35% 35%, #fff 0%, #f0f0f0 60%, #ddd 100%);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* Borde de pelusa */
.santa-hat::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -4px;
    width: 54px;
    height: 10px;
    background: linear-gradient(to bottom, #fff 0%, #f5f5f5 50%, #eee 100%);
    border-radius: 5px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.15);
}

@keyframes hat-swing {
    0%, 100% { transform: rotate(20deg); }
    50% { transform: rotate(25deg) translateY(-3px); }
}

/* Gorro de Santa para el Logo - Pequeño y superpuesto */
.logo-santa-hat {
  position: absolute;
  top: 0.4em;
  left: 65%;
  transform: translateX(-50%) rotate(15deg);
  width: 32px;
  height: 26px;
  filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.4));
  animation: hat-float 4s ease-in-out infinite;
  z-index: 9999;
}

/* Cuerpo principal del gorro */
.logo-santa-hat .hat-main {
    position: absolute;
    top: 5px;
    left: 2px;
    width: 28px;
    height: 18px;
    background: linear-gradient(150deg, #e52a2a 0%, #c41919 50%, #a01010 100%);
    border-radius: 0 0 5px 2px;
    clip-path: polygon(0% 100%, 0% 55%, 15% 25%, 45% 0%, 100% 20%, 95% 100%);
    box-shadow: inset -2px -2px 5px rgba(0,0,0,0.2);
}

/* Banda de pelo blanco */
.logo-santa-hat .hat-band {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #e5e5e5 100%);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Pompón */
.logo-santa-hat .hat-pom {
    position: absolute;
    top: 0;
    right: -1px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

@keyframes hat-float {
    0%, 100% { transform: translateX(-50%) rotate(15deg) translateY(0); }
    50% { transform: translateX(-50%) rotate(18deg) translateY(-1px); }
}

/* Copos de nieve cayendo */
.snowflakes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    top: -30px;
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
    animation: snowflake-fall linear infinite;
    opacity: 0;
}

/* Copos diminutos (caen rápido como polvo de nieve) */
.snowflake.tiny {
    font-size: 6px;
    text-shadow: 0 0 3px rgba(255,255,255,0.6);
    opacity: 0.7;
}
.snowflake.tiny:nth-child(1) { left: 8%; animation-duration: 5s; animation-delay: 0s; }
.snowflake.tiny:nth-child(2) { left: 22%; animation-duration: 4.5s; animation-delay: 1.2s; }
.snowflake.tiny:nth-child(3) { left: 48%; animation-duration: 5.5s; animation-delay: 0.7s; }
.snowflake.tiny:nth-child(4) { left: 68%; animation-duration: 4s; animation-delay: 2.3s; }
.snowflake.tiny:nth-child(5) { left: 88%; animation-duration: 5.2s; animation-delay: 1.8s; }

/* Copos pequeños */
.snowflake.small {
    font-size: 12px;
    text-shadow: 0 0 5px rgba(255,255,255,0.7);
}
.snowflake.small:nth-child(6) { left: 5%; animation-duration: 8s; animation-delay: 0.3s; }
.snowflake.small:nth-child(7) { left: 18%; animation-duration: 9s; animation-delay: 2s; }
.snowflake.small:nth-child(8) { left: 35%; animation-duration: 7.5s; animation-delay: 4s; }
.snowflake.small:nth-child(9) { left: 58%; animation-duration: 8.5s; animation-delay: 1s; }
.snowflake.small:nth-child(10) { left: 78%; animation-duration: 7s; animation-delay: 3.5s; }

/* Copos medianos */
.snowflake.medium {
    font-size: 18px;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
}
.snowflake.medium:nth-child(11) { left: 12%; animation-duration: 12s; animation-delay: 0.5s; }
.snowflake.medium:nth-child(12) { left: 42%; animation-duration: 11s; animation-delay: 2.5s; }
.snowflake.medium:nth-child(13) { left: 65%; animation-duration: 13s; animation-delay: 5s; }
.snowflake.medium:nth-child(14) { left: 90%; animation-duration: 10s; animation-delay: 1.5s; }

/* Copos grandes (caen lento y majestuosos) */
.snowflake.large {
    font-size: 28px;
    text-shadow: 0 0 15px rgba(255,255,255,0.9), 0 0 25px rgba(200,220,255,0.5);
}
.snowflake.large:nth-child(15) { left: 25%; animation-duration: 16s; animation-delay: 3s; }
.snowflake.large:nth-child(16) { left: 55%; animation-duration: 18s; animation-delay: 7s; }
.snowflake.large:nth-child(17) { left: 82%; animation-duration: 15s; animation-delay: 0s; }

@keyframes snowflake-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.9;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(30px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(105vh) rotate(360deg) translateX(-20px);
        opacity: 0;
    }
}

/* Esquina decorativa - Regalo */
.corner-decor {
    position: fixed;
    font-size: 50px;
    opacity: 0.9;
    animation: gift-bounce 2s ease-in-out infinite;
    z-index: 1002;
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.3));
}

.corner-decor.bottom-right {
    bottom: 20px;
    right: 20px;
}

@keyframes gift-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* Decoración interactiva */
.interactive-decor {
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.interactive-decor:hover {
    transform: scale(1.2) !important;
    animation-play-state: paused;
}

.interactive-decor:active {
    transform: scale(0.9) !important;
}

/* Indicador de clic */
.click-hint {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    padding: 4px 12px;
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: nowrap;
    font-family: sans-serif;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    pointer-events: none;
}

.click-hint::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #c0392b;
}

.interactive-decor:hover .click-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Año nuevo - hint con colores dorados */
#newyear-celebration .click-hint {
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
}

#newyear-celebration .click-hint::after {
    border-top-color: #d68910;
}

/* Contenedor de partículas */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1003;
    overflow: hidden;
}

/* Partículas de explosión */
.explosion-particle {
    position: absolute;
    pointer-events: none;
    animation: particle-explode var(--duration, 1.5s) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 1004;
}

/* Partículas de Navidad */
.particle-christmas {
    font-size: 28px;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    animation-name: particle-explode-christmas;
}

/* Partículas de Año Nuevo */
.particle-newyear {
    font-size: 24px;
    filter: drop-shadow(0 0 10px rgba(255,215,0,0.8));
    animation-name: particle-explode-glow;
}

/* Estrellas brillantes */
.particle-star {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffec8b 50%, #ffd700 100%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    filter: drop-shadow(0 0 8px gold) drop-shadow(0 0 15px rgba(255,215,0,0.6));
    animation-name: particle-explode-spin;
}

/* Círculos de confeti */
.particle-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.25));
    animation-name: particle-explode-bounce;
}

/* Animación base de explosión */
@keyframes particle-explode {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.5) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.3), calc(var(--ty) * 0.3)) scale(1.2) rotate(calc(var(--rotation) * 0.2));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.2) rotate(var(--rotation));
    }
}

/* Animación navideña con rebote */
@keyframes particle-explode-christmas {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.3) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.3) rotate(calc(var(--rotation) * 0.3));
    }
    50% {
        opacity: 0.9;
        transform: translate(calc(var(--tx) * 0.7), calc(var(--ty) * 0.6)) scale(1) rotate(calc(var(--rotation) * 0.6));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 50px)) scale(0.4) rotate(var(--rotation));
    }
}

/* Animación con brillo para año nuevo */
@keyframes particle-explode-glow {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.5) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(255,215,0,1));
    }
    30% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.5), calc(var(--ty) * 0.5)) scale(1.4) rotate(calc(var(--rotation) * 0.4));
        filter: drop-shadow(0 0 30px rgba(255,215,0,0.8));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(var(--rotation));
        filter: drop-shadow(0 0 5px rgba(255,215,0,0.2));
    }
}

/* Animación con giro para estrellas */
@keyframes particle-explode-spin {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.5) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(720deg);
    }
}

/* Animación con rebote para círculos */
@keyframes particle-explode-bounce {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.3);
    }
    30% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.5), calc(var(--ty) * 0.4)) scale(1.2);
    }
    60% {
        opacity: 0.8;
        transform: translate(calc(var(--tx) * 0.8), calc(var(--ty) * 0.9)) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 80px)) scale(0.4);
    }
}

/* Animación de sacudida del regalo al hacer clic */
@keyframes gift-shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    50% { transform: rotate(-10deg); }
    60% { transform: rotate(10deg); }
    70% { transform: rotate(-5deg); }
    80% { transform: rotate(5deg); }
    90% { transform: rotate(0deg); }
}

.gift-shaking {
    animation: gift-shake 0.6s ease-in-out !important;
}

/* ===== AÑO NUEVO ===== */

/* Fuegos artificiales */
.fireworks {
    position: absolute;
    width: 100%;
    height: 100%;
}

.firework {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: firework 3s ease-out infinite;
}

.firework:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    --fw-color: #ffd700;
}

.firework:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
    --fw-color: #ff6b6b;
}

.firework:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
    --fw-color: #4ecdc4;
}

@keyframes firework {
    0% {
        bottom: 10%;
        opacity: 1;
        box-shadow: 0 0 10px var(--fw-color);
        background: var(--fw-color);
    }
    40% {
        bottom: 60%;
        opacity: 1;
    }
    50% {
        bottom: 65%;
        opacity: 1;
        box-shadow:
            0 0 30px var(--fw-color),
            -40px -40px 0 var(--fw-color),
            40px -40px 0 var(--fw-color),
            -40px 40px 0 var(--fw-color),
            40px 40px 0 var(--fw-color),
            0 -60px 0 var(--fw-color),
            0 60px 0 var(--fw-color),
            -60px 0 0 var(--fw-color),
            60px 0 0 var(--fw-color),
            -30px -50px 0 var(--fw-color),
            30px -50px 0 var(--fw-color),
            -30px 50px 0 var(--fw-color),
            30px 50px 0 var(--fw-color);
    }
    100% {
        bottom: 70%;
        opacity: 0;
        box-shadow:
            0 0 50px transparent,
            -80px -80px 0 transparent,
            80px -80px 0 transparent,
            -80px 80px 0 transparent,
            80px 80px 0 transparent,
            0 -100px 0 transparent,
            0 100px 0 transparent,
            -100px 0 0 transparent,
            100px 0 0 transparent,
            -60px -90px 0 transparent,
            60px -90px 0 transparent,
            -60px 90px 0 transparent,
            60px 90px 0 transparent;
    }
}

/* Confeti */
.confetti-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -20px;
    animation: confetti-fall linear infinite;
}

.confetti:nth-child(odd) { border-radius: 50%; }
.confetti:nth-child(even) { transform: rotate(45deg); }

.confetti:nth-child(6n+1) { background: #ffd700; left: 5%; animation-duration: 4s; animation-delay: 0s; }
.confetti:nth-child(6n+2) { background: #ff6b6b; left: 15%; animation-duration: 5s; animation-delay: 0.5s; }
.confetti:nth-child(6n+3) { background: #4ecdc4; left: 25%; animation-duration: 4.5s; animation-delay: 1s; }
.confetti:nth-child(6n+4) { background: #a855f7; left: 35%; animation-duration: 5.5s; animation-delay: 0.2s; }
.confetti:nth-child(6n+5) { background: #3b82f6; left: 45%; animation-duration: 4.2s; animation-delay: 0.8s; }
.confetti:nth-child(6n) { background: #22c55e; left: 55%; animation-duration: 5.2s; animation-delay: 1.5s; }

.confetti:nth-child(n+7) { left: calc(60% + (var(--i, 1) * 5%)); }
.confetti:nth-child(7) { --i: 1; }
.confetti:nth-child(8) { --i: 2; }
.confetti:nth-child(9) { --i: 3; }
.confetti:nth-child(10) { --i: 4; }
.confetti:nth-child(11) { --i: 5; left: 70%; }
.confetti:nth-child(12) { --i: 6; left: 75%; }
.confetti:nth-child(13) { --i: 7; left: 80%; }
.confetti:nth-child(14) { --i: 8; left: 85%; }
.confetti:nth-child(15) { --i: 9; left: 90%; }
.confetti:nth-child(n+16) { left: calc((var(--j, 1) * 6.5%)); }
.confetti:nth-child(16) { --j: 1; animation-delay: 2s; }
.confetti:nth-child(17) { --j: 2; animation-delay: 2.2s; }
.confetti:nth-child(18) { --j: 3; animation-delay: 2.4s; }
.confetti:nth-child(19) { --j: 4; animation-delay: 2.6s; }
.confetti:nth-child(20) { --j: 5; animation-delay: 2.8s; }
.confetti:nth-child(21) { --j: 6; animation-delay: 3s; }
.confetti:nth-child(22) { --j: 7; animation-delay: 3.2s; }
.confetti:nth-child(23) { --j: 8; animation-delay: 3.4s; }
.confetti:nth-child(24) { --j: 9; animation-delay: 3.6s; }
.confetti:nth-child(25) { --j: 10; animation-delay: 3.8s; }
.confetti:nth-child(26) { --j: 11; animation-delay: 4s; }
.confetti:nth-child(27) { --j: 12; animation-delay: 4.2s; }
.confetti:nth-child(28) { --j: 13; animation-delay: 4.4s; }
.confetti:nth-child(29) { --j: 14; animation-delay: 4.6s; }
.confetti:nth-child(30) { --j: 15; animation-delay: 4.8s; }

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0.5;
    }
}

/* ===== ESTILOS COMUNES FESTIVOS ===== */

/* ===== OVERLAY TEMÁTICO - DISEÑO PROFESIONAL ===== */

/* Overlay Navideño - Solo Rojo y Verde */
.overlay-christmas {
    background: linear-gradient(
        145deg,
        rgba(180, 25, 40, 0.94) 0%,
        rgba(155, 20, 35, 0.92) 40%,
        rgba(25, 110, 55, 0.92) 60%,
        rgba(20, 90, 45, 0.94) 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.overlay-christmas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse at 10% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 35%),
        radial-gradient(ellipse at 90% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 35%);
    pointer-events: none;
}

/* Patrón sutil de estrellas blancas */
.overlay-christmas::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 45% 15%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 75% 85%, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 100% 100%;
    pointer-events: none;
    animation: stars-twinkle-white 3s ease-in-out infinite;
}

/* Borde decorativo superior - Rojo y Verde */
.christmas-theme .right-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        #c41e3a 0%,
        #c41e3a 48%,
        #ffffff 48%,
        #ffffff 52%,
        #1a6b35 52%,
        #1a6b35 100%
    );
    z-index: 10;
}

@keyframes stars-twinkle-white {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Overlay Año Nuevo - Amarillo y Dorado */
.overlay-newyear {
    background: linear-gradient(
        135deg,
        rgba(255, 200, 0, 0.93) 0%,
        rgba(255, 215, 50, 0.91) 25%,
        rgba(255, 230, 80, 0.89) 50%,
        rgba(255, 215, 50, 0.91) 75%,
        rgba(255, 200, 0, 0.93) 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.overlay-newyear::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(184, 134, 11, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(184, 134, 11, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: newyear-glow 4s ease-in-out infinite alternate;
}

/* Destellos dorados */
.overlay-newyear::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(184, 134, 11, 0.5) 2px, transparent 2px),
        radial-gradient(circle at 30% 70%, rgba(218, 165, 32, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 50% 30%, rgba(255, 215, 0, 0.5) 2px, transparent 2px),
        radial-gradient(circle at 70% 80%, rgba(184, 134, 11, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 90% 40%, rgba(218, 165, 32, 0.5) 2px, transparent 2px),
        radial-gradient(circle at 20% 90%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 10%, rgba(184, 134, 11, 0.4) 1px, transparent 1px);
    background-size: 100% 100%;
    pointer-events: none;
    animation: stars-twinkle 3s ease-in-out infinite;
}

/* Borde decorativo superior - Amarillo y Dorado */
.newyear-theme .right-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        #B8860B 0%,
        #FFD700 25%,
        #FFEC8B 50%,
        #FFD700 75%,
        #B8860B 100%
    );
    z-index: 10;
}

@keyframes newyear-glow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes stars-twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===== TIPOGRAFÍA Y TEXTOS ===== */

/* Texto en overlay navideño */
.overlay-christmas h3,
.overlay-christmas p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.overlay-christmas .sirepa-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.overlay-christmas .sirepa-i {
    color: #90EE90;
    text-shadow: 0 0 8px rgba(144, 238, 144, 0.4);
}

/* Texto en overlay año nuevo */
.overlay-newyear h3,
.overlay-newyear p {
    color: #D7C462;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
}

.overlay-newyear .sirepa-text {
    color: #D7C462;
    text-shadow: 0 0 5px rgba(184, 134, 11, 0.3);
}

.overlay-newyear .sirepa-i {
    color: #B8860B;
}

/* ===== CARDS TEMÁTICAS ===== */

/* Cards en tema navideño */
.christmas-theme .info-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.christmas-theme .info-card:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.christmas-theme .info-card i {
    color: #ffffff;
}

.christmas-theme .info-card-title {
    color: #ffffff;
}

.christmas-theme .info-card-text {
    color: rgba(255, 255, 255, 0.85);
}

/* Cards en tema año nuevo */
.newyear-theme .info-card {
    background: rgba(184, 134, 11, 0.2);
    border: 1px solid rgba(184, 134, 11, 0.4);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.newyear-theme .info-card:hover {
    background: rgba(184, 134, 11, 0.3);
    border-color: rgba(184, 134, 11, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 105, 20, 0.25);
}

.newyear-theme .info-card i {
    color: #6B4400;
}

.newyear-theme .info-card-title {
    color: #4a3000;
}

.newyear-theme .info-card-text {
    color: #5a4010;
}

/* ===== VERANO - DISEÑO TROPICAL ===== */

/* Sol animado */
.sun-container {
    position: absolute;
    top: -40px;
    right: 34%; /* antes 60px: quedaba encima de las flechas del calendario */
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 1001;
}

.sun {
    position: relative;
    width: 100%;
    height: 100%;
    animation: sun-pulse 4s ease-in-out infinite;
}

.sun-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 60%, #FF8C00 100%);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 165, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3);
}

.sun-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 55px;
    height: 3px;
    background: linear-gradient(to right, rgba(255, 215, 0, 0.8), transparent);
    transform-origin: 0 50%;
    border-radius: 2px;
}

.sun-ray:nth-child(2) { transform: rotate(0deg); }
.sun-ray:nth-child(3) { transform: rotate(45deg); }
.sun-ray:nth-child(4) { transform: rotate(90deg); }
.sun-ray:nth-child(5) { transform: rotate(135deg); }
.sun-ray:nth-child(6) { transform: rotate(180deg); }
.sun-ray:nth-child(7) { transform: rotate(225deg); }
.sun-ray:nth-child(8) { transform: rotate(270deg); }
.sun-ray:nth-child(9) { transform: rotate(315deg); }

@keyframes sun-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.08) rotate(15deg);
        filter: brightness(1.15);
    }
}

/* Burbujas flotantes de verano */
.summer-bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.summer-bubble {
    position: absolute;
    bottom: -50px;
    animation: summer-float linear infinite;
    opacity: 0;
}

.summer-bubble.small {
    font-size: 16px;
}
.summer-bubble.small:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.summer-bubble.small:nth-child(2) { left: 50%; animation-duration: 12s; animation-delay: 3s; }
.summer-bubble.small:nth-child(3) { left: 85%; animation-duration: 11s; animation-delay: 6s; }

.summer-bubble.medium {
    font-size: 22px;
}
.summer-bubble.medium:nth-child(4) { left: 20%; animation-duration: 14s; animation-delay: 1s; }
.summer-bubble.medium:nth-child(5) { left: 60%; animation-duration: 13s; animation-delay: 4s; }
.summer-bubble.medium:nth-child(6) { left: 75%; animation-duration: 15s; animation-delay: 7s; }

.summer-bubble.large {
    font-size: 28px;
}
.summer-bubble.large:nth-child(7) { left: 15%; animation-duration: 18s; animation-delay: 2s; }
.summer-bubble.large:nth-child(8) { left: 45%; animation-duration: 16s; animation-delay: 5s; }
.summer-bubble.large:nth-child(9) { left: 80%; animation-duration: 17s; animation-delay: 8s; }

@keyframes summer-float {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 0.85;
    }
    50% {
        transform: translateY(-50vh) rotate(15deg) translateX(25px) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-110vh) rotate(-10deg) translateX(-15px) scale(0.9);
        opacity: 0;
    }
}

/* Olas de mar */
.ocean-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    pointer-events: none;
}

.wave-ocean {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    border-radius: 45% 48% 0 0;
}

.wave-ocean-1 {
    background: rgba(0, 150, 200, 0.15);
    animation: wave-move 6s ease-in-out infinite;
    bottom: -10px;
    height: 60px;
}

.wave-ocean-2 {
    background: rgba(0, 180, 220, 0.12);
    animation: wave-move 8s ease-in-out infinite reverse;
    bottom: -5px;
    height: 50px;
}

.wave-ocean-3 {
    background: rgba(0, 200, 240, 0.08);
    animation: wave-move 10s ease-in-out infinite;
    bottom: 0;
    height: 40px;
}

@keyframes wave-move {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(25%);
    }
}

/* Hint de verano con colores tropicales */
#summer-beach .click-hint {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6347 100%);
}

#summer-beach .click-hint::after {
    border-top-color: #FF6347;
}

/* Partículas de Verano */
.particle-summer {
    font-size: 26px;
    filter: drop-shadow(0 3px 8px rgba(255, 140, 0, 0.5));
    animation-name: particle-explode-summer;
}

@keyframes particle-explode-summer {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.3) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.3) rotate(calc(var(--rotation) * 0.3));
    }
    50% {
        opacity: 0.85;
        transform: translate(calc(var(--tx) * 0.7), calc(var(--ty) * 0.6)) scale(1) rotate(calc(var(--rotation) * 0.6));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 30px)) scale(0.4) rotate(var(--rotation));
    }
}

/* Overlay Verano - Tropical */
.overlay-summer {
    background: linear-gradient(
        145deg,
        rgba(0, 150, 200, 0.90) 0%,
        rgba(0, 180, 220, 0.88) 30%,
        rgba(255, 140, 0, 0.85) 70%,
        rgba(255, 100, 50, 0.90) 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.overlay-summer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse at 80% 10%, rgba(255, 215, 0, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 200, 255, 0.12) 0%, transparent 40%);
    pointer-events: none;
}

.overlay-summer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 45% 80%, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 100% 100%;
    pointer-events: none;
    animation: summer-shimmer 5s ease-in-out infinite;
}

@keyframes summer-shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Borde decorativo superior - Tropical */
.summer-theme .right-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        #0096C8 0%,
        #00B4DC 25%,
        #FFD700 50%,
        #FF8C00 75%,
        #FF6347 100%
    );
    z-index: 10;
}

/* Texto en overlay verano */
.overlay-summer h3,
.overlay-summer p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.overlay-summer .sirepa-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.overlay-summer .sirepa-i {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Cards en tema verano */
.summer-theme .info-card {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.summer-theme .info-card:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.summer-theme .info-card i {
    color: #ffffff;
}

.summer-theme .info-card-title {
    color: #ffffff;
}

.summer-theme .info-card-text {
    color: rgba(255, 255, 255, 0.85);
}

/* Mensaje festivo verano */
.summer-message {
    background: linear-gradient(135deg, #0096C8 0%, #FF8C00 50%, #FF6347 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Efecto glow verano en logo */
.summer .holiday-glow {
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5), 0 0 40px rgba(0, 150, 200, 0.3);
}

/* ===== OTOÑO - HOJAS CAYENDO ===== */

/* Contenedor de hojas */
.autumn-leaves-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.autumn-leaf {
    position: absolute;
    top: -40px;
    animation: leaf-fall linear infinite;
    opacity: 0;
}

.autumn-leaf.small {
    font-size: 16px;
}
.autumn-leaf.small:nth-child(1) { left: 8%; animation-duration: 8s; animation-delay: 0s; }
.autumn-leaf.small:nth-child(2) { left: 25%; animation-duration: 9s; animation-delay: 2s; }
.autumn-leaf.small:nth-child(3) { left: 50%; animation-duration: 7.5s; animation-delay: 4s; }
.autumn-leaf.small:nth-child(4) { left: 70%; animation-duration: 8.5s; animation-delay: 1s; }
.autumn-leaf.small:nth-child(5) { left: 90%; animation-duration: 9.5s; animation-delay: 3s; }

.autumn-leaf.medium {
    font-size: 22px;
}
.autumn-leaf.medium:nth-child(6) { left: 15%; animation-duration: 11s; animation-delay: 1.5s; }
.autumn-leaf.medium:nth-child(7) { left: 40%; animation-duration: 12s; animation-delay: 3.5s; }
.autumn-leaf.medium:nth-child(8) { left: 60%; animation-duration: 10s; animation-delay: 5.5s; }
.autumn-leaf.medium:nth-child(9) { left: 82%; animation-duration: 11.5s; animation-delay: 0.5s; }

.autumn-leaf.large {
    font-size: 30px;
}
.autumn-leaf.large:nth-child(10) { left: 20%; animation-duration: 15s; animation-delay: 2.5s; }
.autumn-leaf.large:nth-child(11) { left: 55%; animation-duration: 14s; animation-delay: 6s; }
.autumn-leaf.large:nth-child(12) { left: 78%; animation-duration: 16s; animation-delay: 0s; }

@keyframes leaf-fall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 0.9;
    }
    25% {
        transform: translateY(25vh) rotate(90deg) translateX(40px);
        opacity: 0.85;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(-30px);
        opacity: 0.75;
    }
    75% {
        transform: translateY(75vh) rotate(270deg) translateX(20px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(110vh) rotate(360deg) translateX(-10px);
        opacity: 0;
    }
}

/* Hint de otoño */
#autumn-leaf .click-hint {
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
}
#autumn-leaf .click-hint::after {
    border-top-color: #8B4513;
}

/* Partículas de Otoño */
.particle-autumn {
    font-size: 26px;
    filter: drop-shadow(0 3px 8px rgba(210, 105, 30, 0.5));
    animation-name: particle-explode-autumn;
}

@keyframes particle-explode-autumn {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.3) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.3) rotate(calc(var(--rotation) * 0.3));
    }
    50% {
        opacity: 0.85;
        transform: translate(calc(var(--tx) * 0.7), calc(var(--ty) * 0.6)) scale(1) rotate(calc(var(--rotation) * 0.6));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 40px)) scale(0.4) rotate(var(--rotation));
    }
}

/* Overlay Otoño */
.overlay-autumn {
    background: linear-gradient(
        145deg,
        rgba(210, 105, 30, 0.92) 0%,
        rgba(180, 90, 20, 0.90) 30%,
        rgba(139, 69, 19, 0.90) 70%,
        rgba(160, 82, 45, 0.92) 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.overlay-autumn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(255, 215, 0, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 165, 0, 0.10) 0%, transparent 40%);
    pointer-events: none;
}

.overlay-autumn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 100% 100%;
    pointer-events: none;
    animation: autumn-shimmer 5s ease-in-out infinite;
}

@keyframes autumn-shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

/* Borde decorativo Otoño */
.autumn-theme .right-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        #D2691E 0%, #FF8C00 25%, #DAA520 50%, #8B4513 75%, #A0522D 100%
    );
    z-index: 10;
}

/* Texto overlay otoño */
.overlay-autumn h3,
.overlay-autumn p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
.overlay-autumn .sirepa-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.overlay-autumn .sirepa-i {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Cards otoño */
.autumn-theme .info-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.autumn-theme .info-card:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.autumn-theme .info-card i { color: #ffffff; }
.autumn-theme .info-card-title { color: #ffffff; }
.autumn-theme .info-card-text { color: rgba(255, 255, 255, 0.85); }

/* Mensaje otoño */
.autumn-message {
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 50%, #DAA520 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Glow otoño */
.autumn .holiday-glow {
    box-shadow: 0 0 20px rgba(210, 105, 30, 0.5), 0 0 40px rgba(218, 165, 32, 0.3);
}

/* Formulario otoño */
.autumn .holiday-form::before {
    content: '🍁';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    animation: leaf-sway 3s ease-in-out infinite;
}

@keyframes leaf-sway {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

/* ===== INVIERNO - LLUVIA Y NIEBLA ===== */

/* Gotas de lluvia */
.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.raindrop {
    position: absolute;
    top: -20px;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, transparent, rgba(174, 194, 224, 0.6));
    border-radius: 0 0 2px 2px;
    animation: rain-fall linear infinite;
    opacity: 0;
}

.raindrop:nth-child(4n+1) { left: 5%; animation-duration: 0.8s; animation-delay: 0s; height: 12px; }
.raindrop:nth-child(4n+2) { left: 12%; animation-duration: 0.9s; animation-delay: 0.2s; height: 18px; }
.raindrop:nth-child(4n+3) { left: 18%; animation-duration: 0.7s; animation-delay: 0.4s; height: 14px; }
.raindrop:nth-child(4n) { left: 25%; animation-duration: 1s; animation-delay: 0.1s; height: 16px; }
.raindrop:nth-child(5n+1) { left: 32%; animation-duration: 0.85s; animation-delay: 0.3s; }
.raindrop:nth-child(5n+2) { left: 38%; animation-duration: 0.95s; animation-delay: 0.5s; }
.raindrop:nth-child(5n+3) { left: 45%; animation-duration: 0.75s; animation-delay: 0.15s; }
.raindrop:nth-child(5n+4) { left: 52%; animation-duration: 0.88s; animation-delay: 0.35s; }
.raindrop:nth-child(5n) { left: 58%; animation-duration: 0.92s; animation-delay: 0.55s; }
.raindrop:nth-child(6n+1) { left: 65%; animation-duration: 0.78s; animation-delay: 0.25s; }
.raindrop:nth-child(6n+2) { left: 72%; animation-duration: 0.82s; animation-delay: 0.45s; }
.raindrop:nth-child(6n+3) { left: 78%; animation-duration: 0.98s; animation-delay: 0.6s; }
.raindrop:nth-child(6n+4) { left: 85%; animation-duration: 0.73s; animation-delay: 0.08s; }
.raindrop:nth-child(6n+5) { left: 92%; animation-duration: 0.87s; animation-delay: 0.42s; }
.raindrop:nth-child(6n) { left: 98%; animation-duration: 0.93s; animation-delay: 0.18s; }

@keyframes rain-fall {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(105vh);
        opacity: 0.3;
    }
}

/* Niebla */
.fog-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.fog {
    position: absolute;
    width: 200%;
    height: 120px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(200, 210, 220, 0.15) 20%,
        rgba(200, 210, 220, 0.25) 50%,
        rgba(200, 210, 220, 0.15) 80%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(20px);
}

.fog-1 {
    bottom: 5%;
    left: -50%;
    animation: fog-drift 20s ease-in-out infinite;
    opacity: 0.6;
}
.fog-2 {
    bottom: 15%;
    left: -30%;
    animation: fog-drift 25s ease-in-out infinite reverse;
    opacity: 0.4;
    height: 80px;
}
.fog-3 {
    bottom: 25%;
    left: -70%;
    animation: fog-drift 30s ease-in-out infinite;
    opacity: 0.3;
    height: 60px;
}

@keyframes fog-drift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30%); }
}

/* Hint invierno */
#winter-rain .click-hint {
    background: linear-gradient(135deg, #4682B4 0%, #2F4F6F 100%);
}
#winter-rain .click-hint::after {
    border-top-color: #2F4F6F;
}

/* Partículas de Invierno */
.particle-winter {
    font-size: 26px;
    filter: drop-shadow(0 3px 8px rgba(70, 130, 180, 0.5));
    animation-name: particle-explode-winter;
}

@keyframes particle-explode-winter {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.3) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.3) rotate(calc(var(--rotation) * 0.3));
    }
    50% {
        opacity: 0.85;
        transform: translate(calc(var(--tx) * 0.7), calc(var(--ty) * 0.6)) scale(1) rotate(calc(var(--rotation) * 0.6));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 30px)) scale(0.4) rotate(var(--rotation));
    }
}

/* Overlay Invierno */
.overlay-winter {
    background: linear-gradient(
        145deg,
        rgba(70, 130, 180, 0.92) 0%,
        rgba(100, 120, 140, 0.90) 30%,
        rgba(80, 100, 120, 0.90) 70%,
        rgba(47, 79, 111, 0.92) 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.overlay-winter::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(174, 194, 224, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(200, 210, 220, 0.10) 0%, transparent 40%);
    pointer-events: none;
}

.overlay-winter::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 100% 100%;
    pointer-events: none;
    animation: winter-shimmer 6s ease-in-out infinite;
}

@keyframes winter-shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Borde decorativo Invierno */
.winter-theme .right-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        #4682B4 0%, #6C8EAD 25%, #AEC2D4 50%, #6C8EAD 75%, #2F4F6F 100%
    );
    z-index: 10;
}

/* Texto overlay invierno */
.overlay-winter h3,
.overlay-winter p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
.overlay-winter .sirepa-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.overlay-winter .sirepa-i {
    color: #AEC2D4;
    text-shadow: 0 0 8px rgba(174, 194, 224, 0.4);
}

/* Cards invierno */
.winter-theme .info-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.winter-theme .info-card:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.winter-theme .info-card i { color: #ffffff; }
.winter-theme .info-card-title { color: #ffffff; }
.winter-theme .info-card-text { color: rgba(255, 255, 255, 0.85); }

/* Mensaje invierno */
.winter-message {
    background: linear-gradient(135deg, #4682B4 0%, #6C8EAD 50%, #2F4F6F 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Glow invierno */
.winter .holiday-glow {
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.5), 0 0 40px rgba(174, 194, 224, 0.3);
}

/* Formulario invierno */
.winter .holiday-form::before {
    content: '☔';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    animation: rain-sway 3s ease-in-out infinite;
}

@keyframes rain-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* ===== PRIMAVERA - MARIPOSAS Y PETALOS ===== */

/* Mariposas */
.butterflies-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.butterfly {
    position: absolute;
    animation: butterfly-float ease-in-out infinite;
    opacity: 0;
}

.butterfly.small {
    font-size: 18px;
}
.butterfly.small:nth-child(1) { left: 10%; top: 20%; animation-duration: 8s; animation-delay: 0s; }
.butterfly.small:nth-child(2) { left: 80%; top: 60%; animation-duration: 9s; animation-delay: 3s; }

.butterfly.medium {
    font-size: 24px;
}
.butterfly.medium:nth-child(3) { left: 30%; top: 40%; animation-duration: 10s; animation-delay: 1.5s; }
.butterfly.medium:nth-child(4) { left: 65%; top: 15%; animation-duration: 11s; animation-delay: 4.5s; }

.butterfly.large {
    font-size: 32px;
}
.butterfly.large:nth-child(5) { left: 50%; top: 70%; animation-duration: 12s; animation-delay: 2.5s; }

@keyframes butterfly-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.85; }
    25% {
        transform: translate(30px, -20px) rotate(5deg);
        opacity: 0.9;
    }
    50% {
        transform: translate(-20px, -40px) rotate(-5deg);
        opacity: 0.85;
    }
    75% {
        transform: translate(40px, -15px) rotate(3deg);
        opacity: 0.7;
    }
    90% { opacity: 0.3; }
    100% {
        transform: translate(-10px, -60px) rotate(0deg);
        opacity: 0;
    }
}

/* Pétalos cayendo */
.petals-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.petal {
    position: absolute;
    top: -30px;
    animation: petal-fall linear infinite;
    opacity: 0;
}

.petal.small {
    font-size: 14px;
}
.petal.small:nth-child(1) { left: 10%; animation-duration: 9s; animation-delay: 0s; }
.petal.small:nth-child(2) { left: 30%; animation-duration: 10s; animation-delay: 2s; }
.petal.small:nth-child(3) { left: 55%; animation-duration: 8.5s; animation-delay: 4s; }
.petal.small:nth-child(4) { left: 85%; animation-duration: 9.5s; animation-delay: 1s; }

.petal.medium {
    font-size: 20px;
}
.petal.medium:nth-child(5) { left: 20%; animation-duration: 12s; animation-delay: 1.5s; }
.petal.medium:nth-child(6) { left: 45%; animation-duration: 13s; animation-delay: 3.5s; }
.petal.medium:nth-child(7) { left: 75%; animation-duration: 11s; animation-delay: 5s; }

.petal.large {
    font-size: 26px;
}
.petal.large:nth-child(8) { left: 35%; animation-duration: 15s; animation-delay: 2.5s; }
.petal.large:nth-child(9) { left: 65%; animation-duration: 14s; animation-delay: 6s; }

@keyframes petal-fall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
        opacity: 0;
    }
    5% { opacity: 0.85; }
    25% {
        transform: translateY(25vh) rotate(45deg) translateX(25px);
    }
    50% {
        transform: translateY(50vh) rotate(120deg) translateX(-20px);
        opacity: 0.7;
    }
    75% {
        transform: translateY(75vh) rotate(200deg) translateX(15px);
    }
    100% {
        transform: translateY(110vh) rotate(300deg) translateX(-10px);
        opacity: 0;
    }
}

/* Hint primavera */
#spring-butterfly .click-hint {
    background: linear-gradient(135deg, #FF69B4 0%, #9370DB 100%);
}
#spring-butterfly .click-hint::after {
    border-top-color: #9370DB;
}

/* Partículas de Primavera */
.particle-spring {
    font-size: 26px;
    filter: drop-shadow(0 3px 8px rgba(255, 105, 180, 0.5));
    animation-name: particle-explode-spring;
}

@keyframes particle-explode-spring {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.3) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.3) rotate(calc(var(--rotation) * 0.3));
    }
    50% {
        opacity: 0.85;
        transform: translate(calc(var(--tx) * 0.7), calc(var(--ty) * 0.6)) scale(1) rotate(calc(var(--rotation) * 0.6));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 20px)) scale(0.4) rotate(var(--rotation));
    }
}

/* Overlay Primavera */
.overlay-spring {
    background: linear-gradient(
        145deg,
        rgba(50, 160, 80, 0.90) 0%,
        rgba(70, 180, 100, 0.88) 30%,
        rgba(200, 100, 160, 0.85) 70%,
        rgba(180, 130, 200, 0.90) 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.overlay-spring::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(255, 182, 193, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(144, 238, 144, 0.10) 0%, transparent 40%);
    pointer-events: none;
}

.overlay-spring::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        radial-gradient(circle at 85% 60%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 100% 100%;
    pointer-events: none;
    animation: spring-shimmer 5s ease-in-out infinite;
}

@keyframes spring-shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Borde decorativo Primavera */
.spring-theme .right-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        #32A050 0%, #90EE90 25%, #FF69B4 50%, #DDA0DD 75%, #9370DB 100%
    );
    z-index: 10;
}

/* Texto overlay primavera */
.overlay-spring h3,
.overlay-spring p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
.overlay-spring .sirepa-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.overlay-spring .sirepa-i {
    color: #FFB6C1;
    text-shadow: 0 0 8px rgba(255, 182, 193, 0.4);
}

/* Cards primavera */
.spring-theme .info-card {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.spring-theme .info-card:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.42);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.spring-theme .info-card i { color: #ffffff; }
.spring-theme .info-card-title { color: #ffffff; }
.spring-theme .info-card-text { color: rgba(255, 255, 255, 0.85); }

/* Mensaje primavera */
.spring-message {
    background: linear-gradient(135deg, #32A050 0%, #FF69B4 50%, #9370DB 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Glow primavera */
.spring .holiday-glow {
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5), 0 0 40px rgba(50, 160, 80, 0.3);
}

/* Formulario primavera */
.spring .holiday-form::before {
    content: '🌸';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    animation: petal-spin 4s ease-in-out infinite;
}

@keyframes petal-spin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.1); }
}

/* ===== SEMANA SANTA - SOLEMNE ===== */

/* Cruces luminosas */
.holyweek-elements-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.holy-cross {
    position: absolute;
    font-size: 40px;
    opacity: 0.3;
    animation: cross-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(128, 0, 128, 0.5));
}

.holy-cross.cross-1 { top: 8%; left: 10%; animation-delay: 0s; }
.holy-cross.cross-2 { top: 5%; left: 50%; animation-delay: 1.5s; font-size: 50px; }
.holy-cross.cross-3 { top: 10%; right: 10%; animation-delay: 3s; }

@keyframes cross-glow {
    0%, 100% { opacity: 0.2; filter: drop-shadow(0 0 10px rgba(128, 0, 128, 0.3)); }
    50% { opacity: 0.5; filter: drop-shadow(0 0 25px rgba(218, 165, 32, 0.6)); }
}

/* Palomas y velas flotantes */
.holyweek-float-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.holy-float {
    position: absolute;
    bottom: -40px;
    animation: holy-rise linear infinite;
    opacity: 0;
}

.holy-float.small {
    font-size: 18px;
}
.holy-float.small:nth-child(1) { left: 12%; animation-duration: 12s; animation-delay: 0s; }
.holy-float.small:nth-child(2) { left: 45%; animation-duration: 14s; animation-delay: 3s; }
.holy-float.small:nth-child(3) { left: 80%; animation-duration: 13s; animation-delay: 6s; }

.holy-float.medium {
    font-size: 24px;
}
.holy-float.medium:nth-child(4) { left: 25%; animation-duration: 16s; animation-delay: 1.5s; }
.holy-float.medium:nth-child(5) { left: 60%; animation-duration: 15s; animation-delay: 4.5s; }

.holy-float.large {
    font-size: 32px;
}
.holy-float.large:nth-child(6) { left: 35%; animation-duration: 18s; animation-delay: 2.5s; }
.holy-float.large:nth-child(7) { left: 70%; animation-duration: 17s; animation-delay: 7s; }

@keyframes holy-rise {
    0% {
        transform: translateY(0) translateX(0) scale(0.8);
        opacity: 0;
    }
    5% { opacity: 0.8; }
    50% {
        transform: translateY(-50vh) translateX(15px) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-110vh) translateX(-10px) scale(0.9);
        opacity: 0;
    }
}

/* Hint Semana Santa */
#holyweek-dove .click-hint {
    background: linear-gradient(135deg, #800080 0%, #DAA520 100%);
}
#holyweek-dove .click-hint::after {
    border-top-color: #DAA520;
}

/* Partículas de Semana Santa */
.particle-holyweek {
    font-size: 26px;
    filter: drop-shadow(0 3px 8px rgba(128, 0, 128, 0.5));
    animation-name: particle-explode-holyweek;
}

@keyframes particle-explode-holyweek {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.3) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.3) rotate(calc(var(--rotation) * 0.3));
    }
    50% {
        opacity: 0.85;
        transform: translate(calc(var(--tx) * 0.7), calc(var(--ty) * 0.6)) scale(1) rotate(calc(var(--rotation) * 0.6));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 20px)) scale(0.4) rotate(var(--rotation));
    }
}

/* Overlay Semana Santa */
.overlay-holyweek {
    background: linear-gradient(
        145deg,
        rgba(128, 0, 128, 0.92) 0%,
        rgba(100, 0, 100, 0.90) 30%,
        rgba(160, 120, 40, 0.88) 70%,
        rgba(218, 165, 32, 0.90) 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.overlay-holyweek::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(218, 165, 32, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.overlay-holyweek::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 85% 70%, rgba(218, 165, 32, 0.20) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 100% 100%;
    pointer-events: none;
    animation: holyweek-shimmer 5s ease-in-out infinite;
}

@keyframes holyweek-shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

/* Borde decorativo Semana Santa */
.holyweek-theme .right-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        #800080 0%, #9B30FF 25%, #DAA520 50%, #9B30FF 75%, #800080 100%
    );
    z-index: 10;
}

/* Texto overlay Semana Santa */
.overlay-holyweek h3,
.overlay-holyweek p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.overlay-holyweek .sirepa-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.overlay-holyweek .sirepa-i {
    color: #DAA520;
    text-shadow: 0 0 8px rgba(218, 165, 32, 0.4);
}

/* Cards Semana Santa */
.holyweek-theme .info-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(218, 165, 32, 0.30);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.holyweek-theme .info-card:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(218, 165, 32, 0.50);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.holyweek-theme .info-card i { color: #DAA520; }
.holyweek-theme .info-card-title { color: #ffffff; }
.holyweek-theme .info-card-text { color: rgba(255, 255, 255, 0.85); }

/* Mensaje Semana Santa */
.holyweek-message {
    background: linear-gradient(135deg, #800080 0%, #9B30FF 50%, #DAA520 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Glow Semana Santa */
.holyweek .holiday-glow {
    box-shadow: 0 0 20px rgba(128, 0, 128, 0.5), 0 0 40px rgba(218, 165, 32, 0.3);
}

/* Formulario Semana Santa */
.holyweek .holiday-form::before {
    content: '🕊️';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    animation: dove-float 3s ease-in-out infinite;
}

@keyframes dove-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(3deg); }
}

/* ===== FIESTAS PATRIAS - PERU ===== */

/* Banderas ondeando */
.patriotic-flags-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.patriotic-flag {
    position: absolute;
    font-size: 40px;
    animation: flag-wave 3s ease-in-out infinite;
}

.patriotic-flag.flag-1 { top: 5%; left: 5%; animation-delay: 0s; }
.patriotic-flag.flag-2 { top: 3%; left: 50%; animation-delay: 1s; font-size: 50px; }
.patriotic-flag.flag-3 { top: 5%; right: 5%; animation-delay: 2s; }

@keyframes flag-wave {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    25% { transform: rotate(3deg) scale(1.05); }
    50% { transform: rotate(-3deg) scale(1); }
    75% { transform: rotate(5deg) scale(1.05); }
}

/* Escarapelas y fuegos artificiales */
.patriotic-elements-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.patriotic-element {
    position: absolute;
    bottom: -40px;
    animation: patriotic-rise linear infinite;
    opacity: 0;
}

.patriotic-element.small {
    font-size: 18px;
}
.patriotic-element.small:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.patriotic-element.small:nth-child(2) { left: 45%; animation-duration: 12s; animation-delay: 2s; }
.patriotic-element.small:nth-child(3) { left: 80%; animation-duration: 11s; animation-delay: 4s; }

.patriotic-element.medium {
    font-size: 24px;
}
.patriotic-element.medium:nth-child(4) { left: 25%; animation-duration: 14s; animation-delay: 1.5s; }
.patriotic-element.medium:nth-child(5) { left: 60%; animation-duration: 13s; animation-delay: 3.5s; }

.patriotic-element.large {
    font-size: 30px;
}
.patriotic-element.large:nth-child(6) { left: 35%; animation-duration: 16s; animation-delay: 2.5s; }
.patriotic-element.large:nth-child(7) { left: 75%; animation-duration: 15s; animation-delay: 5.5s; }

@keyframes patriotic-rise {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    5% { opacity: 0.85; }
    50% {
        transform: translateY(-50vh) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-110vh) scale(0.9);
        opacity: 0;
    }
}

/* Hint Fiestas Patrias */
#patriotic-flag .click-hint {
    background: linear-gradient(135deg, #D91023 0%, #FFFFFF 50%, #D91023 100%);
    color: #D91023;
}
#patriotic-flag .click-hint::after {
    border-top-color: #D91023;
}

/* Partículas Fiestas Patrias */
.particle-patriotic {
    font-size: 26px;
    filter: drop-shadow(0 3px 8px rgba(217, 16, 35, 0.5));
    animation-name: particle-explode-patriotic;
}

@keyframes particle-explode-patriotic {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.3) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.4), calc(var(--ty) * 0.4)) scale(1.3) rotate(calc(var(--rotation) * 0.3));
    }
    50% {
        opacity: 0.9;
        transform: translate(calc(var(--tx) * 0.7), calc(var(--ty) * 0.6)) scale(1) rotate(calc(var(--rotation) * 0.6));
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), calc(var(--ty) + 30px)) scale(0.4) rotate(var(--rotation));
    }
}

/* Overlay Fiestas Patrias */
.overlay-patriotic {
    background: linear-gradient(
        145deg,
        rgba(217, 16, 35, 0.92) 0%,
        rgba(200, 10, 30, 0.90) 40%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(200, 10, 30, 0.90) 60%,
        rgba(217, 16, 35, 0.92) 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

.overlay-patriotic::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.overlay-patriotic::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.20) 1px, transparent 1px),
        radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 100% 100%;
    pointer-events: none;
    animation: patriotic-shimmer 4s ease-in-out infinite;
}

@keyframes patriotic-shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Borde decorativo Fiestas Patrias */
.patriotic-theme .right-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        #D91023 0%, #D91023 40%, #FFFFFF 40%, #FFFFFF 60%, #D91023 60%, #D91023 100%
    );
    z-index: 10;
}

/* Texto overlay Fiestas Patrias */
.overlay-patriotic h3,
.overlay-patriotic p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.overlay-patriotic .sirepa-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.overlay-patriotic .sirepa-i {
    color: #D91023;
    text-shadow: 0 0 8px rgba(217, 16, 35, 0.4);
}

/* Cards Fiestas Patrias */
.patriotic-theme .info-card {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.patriotic-theme .info-card:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.patriotic-theme .info-card i { color: #D91023; }
.patriotic-theme .info-card-title { color: #ffffff; }
.patriotic-theme .info-card-text { color: rgba(255, 255, 255, 0.85); }

/* Mensaje Fiestas Patrias */
.patriotic-message {
    background: linear-gradient(135deg, #D91023 0%, #FFFFFF 50%, #D91023 100%);
    color: #D91023;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Bandera del Perú dibujada con CSS (20/11/2026): el emoji 🇵🇪 no existe en Windows y se veía como «PE».
   Mide 1.5em × 1em, así toma el tamaño de letra de donde se use (banderas flotantes, cinta, partículas) */
.bandera-pe {
    display: inline-block; width: 1.5em; height: 1em; vertical-align: -0.12em; border-radius: .12em;
    background: linear-gradient(90deg, #D91023 0 33.33%, #fff 33.33% 66.66%, #D91023 66.66%);
    box-shadow: 0 0 0 .04em rgba(0, 0, 0, .18), 0 .05em .15em rgba(0, 0, 0, .2);
}

/* Glow Fiestas Patrias */
.patriotic .holiday-glow {
    box-shadow: 0 0 20px rgba(217, 16, 35, 0.5), 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Formulario Fiestas Patrias */
.patriotic .holiday-form::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 36px;
    height: 24px;
    border-radius: 3px;
    background: linear-gradient(90deg, #D91023 0 33.33%, #fff 33.33% 66.66%, #D91023 66.66%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    animation: flag-wave 3s ease-in-out infinite;
}

/* Formulario verano */
.summer .holiday-form::before {
    content: '🌴';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    animation: palm-sway 3s ease-in-out infinite;
}

@keyframes palm-sway {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

/* Mensaje festivo */
.holiday-message {
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    animation: pulse-message 2s ease-in-out infinite;
}

.christmas-message {
    background: linear-gradient(135deg, #c41e3a 0%, #1a472a 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.christmas-message i {
    color: #ff6b6b;
}

.newyear-message {
    background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 50%, #a855f7 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes pulse-message {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Efecto glow en logo */
.holiday-glow {
    animation: logo-glow 2s ease-in-out infinite alternate;
}

.christmas .holiday-glow {
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.5), 0 0 40px rgba(26, 71, 42, 0.3);
}

.newyear .holiday-glow {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.3);
}

@keyframes logo-glow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.1); }
}

/* ===== ESTRELLAS FUGACES REALISTAS ===== */
.shooting-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.shooting-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0;
    animation: meteor-fall linear forwards;
}

/* Cola del meteoro - sigue la trayectoria diagonal */
.shooting-star::before {
    content: '';
    position: absolute;
    width: var(--tail-length, 100px);
    height: 2px;
    top: 50%;
    right: 0;
    transform-origin: right center;
    transform: translateY(-50%) rotate(0deg);
    background: linear-gradient(to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.8) 5%,
        rgba(255, 248, 220, 0.5) 20%,
        rgba(255, 248, 220, 0.2) 50%,
        transparent 100%
    );
    border-radius: 0 50% 50% 0;
}

/* Resplandor suave externo */
.shooting-star::after {
    content: '';
    position: absolute;
    width: var(--glow-length, 60px);
    height: 6px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(to left,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 100%
    );
    filter: blur(2px);
    border-radius: 0 50% 50% 0;
}

/* Variantes de tamaño */
.shooting-star.small {
    width: 2px;
    height: 2px;
    --tail-length: 60px;
    --glow-length: 35px;
}

.shooting-star.small::before {
    height: 1.5px;
}

.shooting-star.small::after {
    height: 4px;
}

.shooting-star.medium {
    width: 3px;
    height: 3px;
    --tail-length: 100px;
    --glow-length: 60px;
}

.shooting-star.large {
    width: 4px;
    height: 4px;
    --tail-length: 150px;
    --glow-length: 90px;
}

.shooting-star.large::before {
    height: 2.5px;
}

.shooting-star.large::after {
    height: 8px;
}

/* Brillante - raro pero espectacular */
.shooting-star.bright {
    width: 5px;
    height: 5px;
    --tail-length: 200px;
    --glow-length: 120px;
    box-shadow: 0 0 10px 3px rgba(255,255,255,0.9);
}

.shooting-star.bright::before {
    height: 3px;
    background: linear-gradient(to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 10%,
        rgba(255, 248, 200, 0.6) 30%,
        rgba(255, 248, 200, 0.2) 60%,
        transparent 100%
    );
}

.shooting-star.bright::after {
    height: 12px;
    filter: blur(3px);
}

/* Colores sutiles (composición del meteoro) */
.shooting-star.iron {
    background: radial-gradient(circle, #fffaf0 0%, rgba(255,250,240,0.8) 50%, transparent 100%);
}

.shooting-star.iron::before {
    background: linear-gradient(to left,
        rgba(255, 250, 240, 1) 0%,
        rgba(255, 200, 150, 0.5) 30%,
        rgba(255, 180, 120, 0.2) 60%,
        transparent 100%
    );
}

.shooting-star.stone {
    background: radial-gradient(circle, #fff 0%, rgba(220,255,220,0.8) 50%, transparent 100%);
}

.shooting-star.stone::before {
    background: linear-gradient(to left,
        rgba(255, 255, 255, 1) 0%,
        rgba(200, 255, 200, 0.5) 30%,
        rgba(180, 255, 180, 0.2) 60%,
        transparent 100%
    );
}

/* Animación realista del meteoro */
@keyframes meteor-fall {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }
    3% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    60% {
        opacity: 0.9;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateX(var(--move-x)) translateY(var(--move-y));
    }
}

/* Flash terminal (algunos meteoros brillan antes de desaparecer) */
.shooting-star.terminal-flash {
    animation: meteor-fall-flash linear forwards;
}

@keyframes meteor-fall-flash {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0);
        filter: brightness(1);
    }
    3% {
        opacity: 1;
    }
    70% {
        opacity: 0.9;
        filter: brightness(1);
    }
    85% {
        opacity: 1;
        filter: brightness(1.5);
        box-shadow: 0 0 15px 5px rgba(255,255,255,0.8);
    }
    100% {
        opacity: 0;
        transform: translateX(var(--move-x)) translateY(var(--move-y));
        filter: brightness(0.5);
    }
}

/* ===== PAPÁ NOEL VOLANDO (Canvas) ===== */
.santa-flying-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.santa-flying-container canvas {
    width: 100%;
    height: 100%;
}

/* Formulario festivo */
.holiday-form {
    position: relative;
}

.christmas .holiday-form::before {
    content: '🎄';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 30px;
    animation: tree-sway 3s ease-in-out infinite;
}

.newyear .holiday-form::before {
    content: '🎉';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 28px;
    animation: party-pop 1s ease-in-out infinite;
}

@keyframes tree-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes party-pop {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(10deg); }
}
