/* A transparent viewport overlay: decorative only, with no layout footprint. */
.landing .halloween-sky {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: layout paint;
}
.landing .halloween-sky * { pointer-events: none; }
.landing.is-checkout .halloween-sky,
.landing.modal-open .halloween-sky { visibility: hidden; }
.landing .halloween-bat {
  position: absolute;
  left: -96px;
  top: calc(78vh - var(--bat-size) * .3);
  width: var(--bat-size);
  height: calc(var(--bat-size) * .6);
  color: #000;
  opacity: 0;
  animation: halloween-cross var(--bat-duration) linear both;
  animation-delay: var(--bat-delay);
}
.landing .halloween-bat svg { display: block; width: 100%; height: 100%; }
.landing .halloween-wing { transform-box: fill-box; transform-origin: center; animation: halloween-flap var(--flap-duration) ease-in-out infinite alternate; }
@keyframes halloween-cross {
  0% { transform: translate3d(0, 0, 0) scale(.15); opacity: 0; }
  10% { transform: translate3d(calc(10vw + 16px), calc((var(--bat-y) - 78vh) * .25), 0) scale(.75); opacity: 1; }
  35% { transform: translate3d(calc(35vw + 44px), calc(var(--bat-y) - 78vh), 0) rotate(var(--bat-tilt)); }
  65% { transform: translate3d(calc(65vw + 84px), calc(var(--bat-y) - 78vh + var(--bat-sway)), 0) rotate(0deg); opacity: 1; }
  100% { transform: translate3d(calc(100vw + 192px), calc(var(--bat-y) - 78vh), 0) rotate(var(--bat-tilt)); opacity: 0; }
}
@keyframes halloween-flap { to { transform: scaleY(.55); } }
@media (prefers-reduced-motion: reduce) {
  .landing .halloween-sky { display: none; }
  .landing .halloween-bat, .landing .halloween-wing { animation: none; }
}
