/**
 * DigiFest — motor de efectos.
 *
 * Cada partícula es un <span.df-p> posicionado por el JS; el comportamiento
 * se define con la clase .df-behavior-<tipo> y el vaivén interior con
 * .df-sway sobre el SVG.
 */

#df-stage {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

#df-stage .df-p {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    will-change: transform;
}

#df-stage .df-p svg {
    display: block;
    width: 100%;
    height: auto;
    will-change: transform;
}

/* ---------- Comportamientos ---------- */

/* Caída libre con vaivén horizontal (nieve, confeti, copos). */
.df-behavior-fall {
    animation-name: df-fall;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/* Subida flotante (corazones, fantasmas, serpentinas). */
.df-behavior-float {
    animation-name: df-float-up;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/* Cruce horizontal de pantalla (Papá Noel, gaviotas). */
.df-behavior-fly {
    animation-name: df-fly-across;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/* Rebote (calabazas, huevos, regalos). */
.df-behavior-bounce {
    animation-name: df-bounce;
    animation-timing-function: ease-in;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/* Estallido in situ (fuegos artificiales). */
.df-behavior-burst {
    animation-name: df-burst;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/* Vaivén interior aplicado al SVG. */
.df-sway {
    animation: df-sway ease-in-out infinite alternate;
}

/* ---------- Keyframes ---------- */

@keyframes df-fall {
    0%   { transform: translate3d(0, -12vh, 0) rotate(0deg); }
    100% { transform: translate3d(var(--df-drift, 0px), 112vh, 0) rotate(var(--df-spin, 360deg)); }
}

@keyframes df-float-up {
    0%   { transform: translate3d(0, 110vh, 0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translate3d(var(--df-drift, 0px), -12vh, 0); opacity: 0; }
}

@keyframes df-fly-across {
    0%   { transform: translate3d(-18vw, 0, 0); }
    100% { transform: translate3d(118vw, var(--df-dip, 0px), 0); }
}

@keyframes df-bounce {
    0%   { transform: translate3d(0, -12vh, 0); }
    100% { transform: translate3d(var(--df-drift, 0px), 100vh, 0); }
}

@keyframes df-sway {
    from { transform: translateX(calc(var(--df-sway, 24px) * -1)) rotate(-10deg); }
    to   { transform: translateX(var(--df-sway, 24px)) rotate(10deg); }
}

@keyframes df-burst {
    0%   { transform: scale(0.2); opacity: 0; }
    30%  { opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Zoom-susto ---------- */

#df-scare {
    position: fixed;
    inset: 0;
    z-index: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
    opacity: 0;
}

#df-scare.df-scare-show {
    animation: df-scare-vignette 2.4s ease-out forwards;
}

#df-scare .df-scare-inner {
    width: 40vmin;
    opacity: 0;
    filter: blur(6px);
}

#df-scare.df-scare-show .df-scare-inner {
    animation: df-scare-zoom 2.4s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}

#df-scare svg {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes df-scare-zoom {
    0%   { transform: scale(0.1); opacity: 0; filter: blur(6px); }
    15%  { opacity: 1; }
    70%  { transform: scale(3.2); opacity: 1; filter: blur(0); }
    85%  { transform: scale(3.6); opacity: 1; }
    100% { transform: scale(4); opacity: 0; filter: blur(4px); }
}

@keyframes df-scare-vignette {
    0%   { opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { opacity: 0; }
}

/* ---------- Banner temático WooCommerce ---------- */

.df-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 0.7em 2.5em 0.7em 1em;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 999998;
}

.df-banner-sticky {
    position: sticky;
    top: 0;
}

.df-banner-icon {
    font-size: 1.3em;
    line-height: 1;
}

.df-banner-close {
    position: absolute;
    right: 0.6em;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: inherit;
    font-size: 1.4em;
    line-height: 1;
    cursor: pointer;
    padding: 0.2em 0.4em;
    opacity: 0.8;
}

.df-banner-close:hover {
    opacity: 1;
}

/* ---------- Accesibilidad: sin animaciones si el usuario lo pidió ---------- */

@media (prefers-reduced-motion: reduce) {
    #df-stage,
    #df-scare,
    #df-ambient {
        display: none !important;
    }
}

/* =========================================================
   Capa de ambiente (decoración fija de pantalla) — Pro
   ========================================================= */

#df-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

/* --- Telarañas de esquina (Halloween) --- */

.df-web {
    position: absolute;
    width: 20vmin;
    height: 20vmin;
    opacity: 0.9;
}

.df-web svg {
    width: 100%;
    height: 100%;
    display: block;
}

.df-web-tl { top: 0; left: 0; transform-origin: top left; animation: df-web-sway 7s ease-in-out infinite alternate; }
.df-web-tr { top: 0; right: 0; transform: scaleX(-1); transform-origin: top right; animation: df-web-sway-r 8s ease-in-out infinite alternate; }

@keyframes df-web-sway {
    from { transform: rotate(0deg); }
    to   { transform: rotate(1.6deg); }
}

@keyframes df-web-sway-r {
    from { transform: scaleX(-1) rotate(0deg); }
    to   { transform: scaleX(-1) rotate(1.6deg); }
}

/* --- Araña que se descuelga (Halloween) --- */

.df-spider-rig {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.df-spider-thread {
    width: 2px;
    flex: 0 0 auto;
    background: rgba(230, 230, 230, 0.85);
    animation: df-spider-thread 6s ease-in-out forwards;
}

.df-spider-swing {
    animation: df-spider-swing 1.6s ease-in-out infinite alternate;
    transform-origin: top center;
}

.df-spider-swing svg {
    display: block;
    width: 56px;
    height: auto;
}

@keyframes df-spider-thread {
    0%   { height: 0; }
    25%  { height: 42vh; }
    75%  { height: 42vh; }
    100% { height: 0; }
}

@keyframes df-spider-swing {
    from { transform: rotate(-9deg); }
    to   { transform: rotate(9deg); }
}

/* --- Guirnaldas superiores (luces, corazones, banderines) --- */

.df-garland {
    position: absolute;
    top: var(--df-banner-offset, -2px);
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    transition: top 0.3s ease;
}

.df-garland svg {
    flex: 1 1 0;
    max-width: 340px;
    height: auto;
    display: block;
}

/* Luces de Navidad: parpadeo escalonado. */
.df-garland .df-bulb {
    animation: df-blink 1.5s ease-in-out infinite;
}

.df-garland svg:nth-child(odd) .df-bulb:nth-of-type(2n) { animation-delay: 0.4s; }
.df-garland svg:nth-child(even) .df-bulb:nth-of-type(2n+1) { animation-delay: 0.8s; }
.df-garland .df-bulb:nth-of-type(3n) { animation-delay: 1.1s; }

@keyframes df-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.2; }
}

/* Corazones y banderines: balanceo colgante. */
.df-hheart,
.df-flag {
    transform-box: fill-box;
    transform-origin: top center;
    animation: df-hang-sway 2.6s ease-in-out infinite alternate;
}

.df-hheart:nth-of-type(2n),
.df-flag:nth-of-type(2n) { animation-delay: 0.7s; }
.df-hheart:nth-of-type(3n),
.df-flag:nth-of-type(3n) { animation-delay: 1.3s; }

@keyframes df-hang-sway {
    from { transform: rotate(-5deg); }
    to   { transform: rotate(5deg); }
}

/* --- Cinta de oferta (Black Friday) --- */

.df-tape {
    position: absolute;
    width: 220px;
    opacity: 0.95;
}

.df-tape svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.df-tape-tl {
    top: 70px;
    left: -60px;
    transform: rotate(-35deg);
    animation: df-tape-float 5s ease-in-out infinite alternate;
}

.df-tape-br {
    bottom: 70px;
    right: -60px;
    transform: rotate(145deg);
    animation: df-tape-float 6s ease-in-out infinite alternate;
}

@keyframes df-tape-float {
    from { margin-top: 0; }
    to   { margin-top: 8px; }
}

/* --- Rincón de Pascua --- */

.df-easter {
    position: absolute;
    width: 20vmin;
    height: 20vmin;
}

.df-easter svg {
    width: 100%;
    height: 100%;
    display: block;
}

.df-easter-bl { bottom: 0; left: 0; }
.df-easter-br { bottom: 0; right: 0; transform: scaleX(-1); }

.df-easter .df-egg {
    transform-box: fill-box;
    transform-origin: bottom center;
    animation: df-egg-bob 3.4s ease-in-out infinite alternate;
}

.df-easter .df-egg:nth-of-type(2n) { animation-delay: 1.2s; }

@keyframes df-egg-bob {
    from { transform: translateY(0); }
    to   { transform: translateY(-5px); }
}

/* --- Olas de verano --- */

.df-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 54px;
    overflow: hidden;
}

.df-wave-track {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    width: 200%;
    animation: df-wave-slide 9s linear infinite;
}

.df-wave-track svg {
    width: 50%;
    height: 54px;
    display: block;
}

.df-wave-track.df-wave-back {
    opacity: 0.7;
    animation-duration: 14s;
    animation-direction: reverse;
}

@keyframes df-wave-slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --- Estrellas de Año Nuevo en guirnalda --- */
.df-garland .df-nstar {
    transform-box: fill-box;
    transform-origin: center;
    animation: df-nstar-twinkle 1.8s ease-in-out infinite alternate;
}
.df-garland svg:nth-child(odd) .df-nstar:nth-of-type(2n) { animation-delay: 0.5s; }
.df-garland svg:nth-child(even) .df-nstar:nth-of-type(2n+1) { animation-delay: 0.9s; }
@keyframes df-nstar-twinkle {
    0%   { transform: scale(0.85); opacity: 0.45; }
    100% { transform: scale(1.25); opacity: 1; filter: drop-shadow(0 0 6px #ffd60a); }
}

/* --- Esquinas de Otoño & Castanyada --- */
.df-autumn {
    position: absolute;
    width: 22vmin;
    height: 22vmin;
    opacity: 0.95;
}
.df-autumn svg { width: 100%; height: 100%; display: block; }
.df-autumn-tl { top: var(--df-banner-offset, 0px); left: 0; transform-origin: top left; animation: df-autumn-sway 8s ease-in-out infinite alternate; }
.df-autumn-tr { top: var(--df-banner-offset, 0px); right: 0; transform: scaleX(-1); transform-origin: top right; animation: df-autumn-sway 9s ease-in-out infinite alternate; }
@keyframes df-autumn-sway {
    from { transform: rotate(0deg); }
    to   { transform: rotate(1.8deg); }
}

/* --- Esquinas de Primavera & Sakura --- */
.df-spring {
    position: absolute;
    width: 22vmin;
    height: 22vmin;
    opacity: 0.95;
}
.df-spring svg { width: 100%; height: 100%; display: block; }
.df-spring-tl { top: 0; left: 0; transform-origin: top left; animation: df-spring-sway 7s ease-in-out infinite alternate; }
.df-spring-tr { top: 0; right: 0; transform: scaleX(-1); transform-origin: top right; animation: df-spring-sway 8s ease-in-out infinite alternate; }
@keyframes df-spring-sway {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-1.8deg); }
}

/* --- Esquinas de San Patricio --- */
.df-patrick {
    position: absolute;
    width: 22vmin;
    height: 22vmin;
    opacity: 0.95;
}
.df-patrick svg { width: 100%; height: 100%; display: block; }
.df-patrick-tl { top: 0; left: 0; transform-origin: top left; animation: df-patrick-bob 5s ease-in-out infinite alternate; }
.df-patrick-tr { top: 0; right: 0; transform: scaleX(-1); transform-origin: top right; animation: df-patrick-bob 6s ease-in-out infinite alternate; }
@keyframes df-patrick-bob {
    from { transform: translateY(0); }
    to   { transform: translateY(3px); }
}

/* --- Chispitas interactivas al hacer clic (Click Sparkles) --- */
.df-click-sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 10000000;
    width: 15px;
    height: 15px;
    transform: translate(-50%, -50%);
    animation: df-sparkle-pop 0.65s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
.df-click-sparkle svg {
    width: 100%;
    height: 100%;
    display: block;
}
@keyframes df-sparkle-pop {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) scale(0.3) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translate(var(--df-sx), var(--df-sy)) scale(1.15) rotate(var(--df-srot, 180deg));
        opacity: 0;
    }
}

/* ==========================================================================
   HALLOWEEN SPOOKY PLUS (PRO) — Postsvortex Native Animations
   ========================================================================== */
@keyframes dfBatFly1 {
    0% { transform: translate(-10vw, 15vh) scale(0.6) rotate(10deg); opacity: 0; }
    20% { opacity: 0.9; }
    80% { opacity: 0.9; }
    100% { transform: translate(110vw, 5vh) scale(0.9) rotate(-10deg); opacity: 0; }
}
@keyframes dfBatFly2 {
    0% { transform: translate(110vw, 45vh) scale(0.8) rotate(-15deg); opacity: 0; }
    25% { opacity: 0.85; }
    75% { opacity: 0.85; }
    100% { transform: translate(-10vw, 25vh) scale(0.5) rotate(15deg); opacity: 0; }
}
@keyframes dfGhostFloatLeft {
    0%, 100% { transform: translateY(0px) rotate(-3deg); }
    50% { transform: translateY(-18px) rotate(4deg); }
}
@keyframes dfGhostFloatRight {
    0%, 100% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-22px) rotate(-4deg); }
}
@keyframes dfSkeletonDance {
    0%, 100% { transform: translateY(0px) rotate(-6deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
}
@keyframes dfCastanyaSmoke {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.08); }
}
@keyframes dfSpookyZoomTowardsScreen {
    0% {
        transform: translate(-50%, -50%) scale(0.05) rotate(-15deg);
        opacity: 0;
        filter: blur(10px) drop-shadow(0 0 0px rgba(249, 115, 22, 0));
    }
    15% {
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 40px rgba(249, 115, 22, 0.9));
    }
    70% {
        transform: translate(-50%, -50%) scale(5.5) rotate(8deg);
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 60px rgba(239, 68, 68, 1));
    }
    100% {
        transform: translate(-50%, -50%) scale(11) rotate(16deg);
        opacity: 0;
        filter: blur(15px);
    }
}

.df-spooky-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999998;
    overflow: hidden;
    user-select: none;
}
.df-spooky-spiderweb {
    position: absolute;
    top: 0;
    font-size: 2.8rem;
    opacity: 0.75;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.df-spooky-spiderweb-left { left: 0; transform: translate(-4px, -4px); }
.df-spooky-spiderweb-right { right: 0; transform: translate(4px, -4px); }

.df-spooky-bat {
    position: fixed;
    font-size: 2.2rem;
    pointer-events: none;
    z-index: 999998;
}
.df-spooky-bat-1 {
    animation: dfBatFly1 16s linear infinite;
    top: 5vh;
}
.df-spooky-bat-2 {
    animation: dfBatFly2 20s linear infinite 7s;
    top: 30vh;
}
.df-spooky-ghost {
    position: fixed;
    pointer-events: none;
    z-index: 999998;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.df-spooky-ghost-left {
    bottom: 40px;
    left: 20px;
    animation: dfGhostFloatLeft 5s ease-in-out infinite;
}
.df-spooky-ghost-right {
    top: 130px;
    right: 24px;
    animation: dfGhostFloatRight 6s ease-in-out infinite 1s;
}
.df-spooky-skeleton {
    position: fixed;
    top: 90px;
    left: 40px;
    pointer-events: none;
    z-index: 999998;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: dfSkeletonDance 4s ease-in-out infinite;
}
.df-spooky-castanya {
    position: fixed;
    bottom: 35px;
    left: 120px;
    pointer-events: none;
    z-index: 999998;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: dfCastanyaSmoke 5s ease-in-out infinite 1.5s;
}
.df-spooky-tag {
    font-size: 10px;
    font-weight: 900;
    background: rgba(15, 23, 42, 0.88);
    padding: 2px 8px;
    border-radius: 9999px;
    margin-top: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}
.df-tag-boo { color: #f97316; border: 1px solid rgba(249, 115, 22, 0.4); }
.df-tag-tots { color: #cbd5e1; border: 1px solid rgba(203, 213, 225, 0.4); }
.df-tag-castanya { color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.4); }

.df-spooky-pumpkin-corner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    pointer-events: none;
    z-index: 999998;
    display: flex;
    align-items: center;
    gap: 4px;
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.5));
    font-size: 2rem;
}
.df-spooky-pumpkin-corner .sparkle {
    font-size: 14px;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.df-spooky-jumpscare-container {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    will-change: transform, opacity;
}
.df-spooky-jumpscare-container.active {
    animation: dfSpookyZoomTowardsScreen 1.3s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
.df-spooky-jumpscare-icon {
    font-size: 7rem;
    filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.9));
}
.df-spooky-jumpscare-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #f97316;
    text-shadow: 0 0 20px #ef4444, 0 0 35px #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* ==========================================================================
   NAVIDAD PLUS & REYES MAGOS (PRO) — Postsvortex Native Animations
   ========================================================================== */
@keyframes dfSantaFly {
    0% { transform: translate(-20vw, 12vh) scale(0.7) rotate(-3deg); opacity: 0; }
    15% { opacity: 0.95; }
    85% { opacity: 0.95; }
    100% { transform: translate(115vw, 6vh) scale(1) rotate(2deg); opacity: 0; }
}
@keyframes dfChristmasZoomSurprise {
    0% {
        transform: translate(-50%, -50%) scale(0.05) rotate(-10deg);
        opacity: 0;
        filter: blur(8px);
    }
    15% {
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 35px rgba(239, 68, 68, 0.9));
    }
    70% {
        transform: translate(-50%, -50%) scale(5.5) rotate(5deg);
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 60px rgba(16, 185, 129, 0.9));
    }
    100% {
        transform: translate(-50%, -50%) scale(11) rotate(12deg);
        opacity: 0;
        filter: blur(15px);
    }
}
@keyframes dfTioFloat {
    0%, 100% { transform: translateY(0px) rotate(-3deg); }
    50% { transform: translateY(-16px) rotate(4deg); }
}

.df-christmas-sleigh {
    position: fixed;
    font-size: 2.2rem;
    pointer-events: none;
    z-index: 999998;
    animation: dfSantaFly 22s linear infinite;
    top: 8vh;
    filter: drop-shadow(0 0 15px rgba(239, 68, 68, 0.6));
}
.df-christmas-caga-tio {
    position: fixed;
    bottom: 30px;
    left: 20px;
    pointer-events: none;
    z-index: 999998;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: dfTioFloat 5s ease-in-out infinite;
}
.df-christmas-caganer {
    position: fixed;
    bottom: 25px;
    right: 25px;
    pointer-events: none;
    z-index: 999998;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: dfTioFloat 6s ease-in-out infinite 1s;
}
.df-christmas-kings {
    position: fixed;
    top: 75px;
    right: 20px;
    font-size: 1.8rem;
    pointer-events: none;
    z-index: 999998;
    animation: dfTioFloat 7s ease-in-out infinite 2s;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.8));
}
.df-christmas-surprise-container {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    will-change: transform, opacity;
}
.df-christmas-surprise-container.active {
    animation: dfChristmasZoomSurprise 1.4s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
.df-christmas-surprise-icon {
    font-size: 7rem;
    filter: drop-shadow(0 0 30px rgba(239, 68, 68, 0.9));
}
.df-christmas-surprise-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ef4444;
    text-shadow: 0 0 20px #10b981, 0 0 35px #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .df-spooky-ghost,
    .df-spooky-castanya,
    .df-spooky-skeleton,
    .df-spooky-bat-2,
    .df-christmas-caga-tio,
    .df-christmas-caganer,
    .df-christmas-kings {
        display: none !important;
    }
    .df-spooky-bat-1 { font-size: 1.3rem; top: 2vh; }
    .df-spooky-pumpkin-corner { bottom: 12px; right: 12px; transform: scale(0.85); }
    .df-spooky-jumpscare-icon, .df-christmas-surprise-icon { font-size: 4.5rem; }
    .df-spooky-jumpscare-text, .df-christmas-surprise-text { font-size: 1.3rem; }
    .df-christmas-sleigh { font-size: 1.4rem; top: 2vh; }
    .df-jet-flyover { transform: scale(0.75); }
    .df-autumn { width: 16vmin; height: 16vmin; }
    .df-thanksgiving-sign { width: 165px; height: 52px; }
    .df-thanksgiving-cornucopia { width: 95px; height: 75px; bottom: 8px; right: 8px; }
    .df-thanksgiving-candle { font-size: 22px; right: 105px; bottom: 12px; }
}

/* =========================================================
   4 de Julio Ambient (Banderolas americanas, Jets & Cohetes)
   ========================================================= */
.df-jet-flyover {
    position: fixed;
    top: calc(var(--df-banner-offset, 0px) + 25px);
    left: -240px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    z-index: 999999;
    animation: dfJetFly 5.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.df-jet {
    font-size: 30px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
    display: inline-block;
}
.df-jet-lead { transform: rotate(15deg); margin-left: 20px; }
.df-jet-wing { transform: rotate(15deg); }
.df-jet-smoke-trail {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 280px;
    height: 14px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, #dc2626 30%, #ffffff 60%, #2563eb 90%);
    border-radius: 9999px;
    filter: blur(2px);
    opacity: 0.85;
}
@keyframes dfJetFly {
    0% { transform: translate3d(-10vw, 8vh, 0) scale(0.85); opacity: 0; }
    10% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translate3d(125vw, -6vh, 0) scale(1.15); opacity: 0; }
}

/* =========================================================
   Thanksgiving Ambient (Cornucopia, Follaje & Letrero Give Thanks)
   ========================================================= */
.df-thanksgiving-cornucopia {
    position: absolute;
    bottom: 12px;
    right: 16px;
    width: 140px;
    height: 110px;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
    animation: df-cornucopia-float 4.5s ease-in-out infinite alternate;
    pointer-events: none;
}
.df-thanksgiving-cornucopia svg {
    width: 100%;
    height: 100%;
    display: block;
}
@keyframes df-cornucopia-float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-6px) rotate(2deg); }
}

.df-thanksgiving-sign {
    position: absolute;
    top: var(--df-banner-offset, 0px);
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 70px;
    display: block;
    pointer-events: none;
    z-index: 999999;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
    animation: df-sign-sway 4s ease-in-out infinite alternate;
    transform-origin: top center;
}
.df-thanksgiving-sign svg {
    width: 100%;
    height: 100%;
    display: block;
}
@keyframes df-sign-sway {
    0% { transform: translateX(-50%) rotate(-2.5deg); }
    100% { transform: translateX(-50%) rotate(2.5deg); }
}

.df-thanksgiving-candle {
    position: absolute;
    bottom: 22px;
    right: 165px;
    font-size: 28px;
    filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.85));
    animation: df-candle-flicker 2s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 999998;
}
@keyframes df-candle-flicker {
    0% { transform: scale(0.95); opacity: 0.85; }
    100% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.95)); }
}

/* =========================================================
   Houston & Texas Ambient (Despegue Espacial NASA)
   ========================================================= */
.df-houston-shuttle {
    position: fixed;
    bottom: -80px;
    right: 12vw;
    font-size: 36px;
    z-index: 999998;
    pointer-events: none;
    animation: dfShuttleLaunch 6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.df-shuttle-flame {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 45px;
    background: linear-gradient(180deg, #f97316, #ef4444, transparent);
    border-radius: 9999px;
    filter: blur(2px);
    animation: dfFlameFlicker 0.2s linear infinite alternate;
}
@keyframes dfFlameFlicker {
    0% { height: 40px; opacity: 0.85; }
    100% { height: 55px; opacity: 1; }
}
@keyframes dfShuttleLaunch {
    0% { transform: translateY(0) rotate(-15deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-115vh) rotate(-15deg); opacity: 0; }
}

