/*
 * Tema Pascua / Primavera - InkaBox Express
 * Tonos pastel, capa de efectos sin interferir con clicks
 */

:root {
    --easter-mint: #b8e0d2;
    --easter-blush: #f4c2c2;
    --easter-lilac: #d4c4f5;
    --easter-butter: #fff3bf;
    --easter-egg: #faf8f5;
}

body.easter-active {
    --easter-glow-mint: rgba(184, 224, 210, 0.35);
    --easter-glow-blush: rgba(244, 194, 194, 0.3);
}

.easter-effects-layer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.easter-falling {
    position: absolute;
    top: -32px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    animation-name: easterFall;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

@keyframes easterFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 40px)) translateX(var(--easter-drift, 0px)) rotate(var(--easter-rot, 180deg));
        opacity: 0.85;
    }
}

.easter-petal {
    position: absolute;
    top: -16px;
    /* width/height desde JS para variar tamaño */
    border-radius: 60% 40% 55% 45%;
    opacity: 0.85;
    pointer-events: none;
    animation-name: easterPetalDrift;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@keyframes easterPetalDrift {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(calc(100vh + 20px)) translateX(var(--petal-drift, 40px)) rotate(260deg);
        opacity: 0;
    }
}

.easter-sparkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation-name: easterSparkleFade;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes easterSparkleFade {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }
    20% {
        opacity: 0.95;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Toque muy suave en navbar cuando el tema está activo (no invasivo) */
body.easter-active .navbar {
    box-shadow: 0 2px 20px rgba(212, 196, 245, 0.15), 0 1px 0 rgba(184, 224, 210, 0.25);
}
