#imn-snow-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 99990; opacity: .82;
}
.imn-flight {
  position: fixed; left: -520px; pointer-events: none; z-index: 99991;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  will-change: transform; filter: drop-shadow(0 3px 5px rgba(0,0,0,.20));
}
#imn-santa-flight {
  top: 2px; width: min(650px, 58vw); height: min(112px, 10vw);
  min-height: 74px; background-image: url('../img/santa.webp');
  animation: imn-santa-cross 32s linear infinite;
}
#imn-magi-flight {
  bottom: 2px; width: min(532px, 50vw); height: min(178px, 17vw);
  min-height: 150px; background-image: url('../img/reyes-magos.webp');
  animation: imn-magi-cross 40s linear infinite; animation-delay: -14s;
}
@keyframes imn-santa-cross {
  0% { transform: translate3d(-700px, 0, 0) rotate(-1deg); }
  22% { transform: translate3d(20vw, 7px, 0) rotate(1deg); }
  48% { transform: translate3d(48vw, -3px, 0) rotate(-.5deg); }
  74% { transform: translate3d(74vw, 5px, 0) rotate(1deg); }
  100% { transform: translate3d(calc(100vw + 720px), 0, 0) rotate(-1deg); }
}
@keyframes imn-magi-cross {
  0% { transform: translate3d(-740px, 0, 0); }
  24% { transform: translate3d(22vw, -4px, 0); }
  50% { transform: translate3d(50vw, 3px, 0); }
  76% { transform: translate3d(76vw, -3px, 0); }
  100% { transform: translate3d(calc(100vw + 760px), 0, 0); }
}
@media (max-width: 767px) {
  #imn-santa-flight { width: 310px; height: 76px; min-height: 0; top: 3px; }
  #imn-magi-flight { width: 300px; height: 100px; min-height: 0; bottom: 2px; }
  #imn-snow-canvas { opacity: .68; }
}
@media (prefers-reduced-motion: reduce) {
  .imn-flight, #imn-snow-canvas { display: none !important; }
}

/* Gentle golden shimmer for the star at the end of the Magi procession. */
#imn-magi-flight {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.18))
          drop-shadow(0 0 5px rgba(255,190,55,.20));
}
@media (max-width: 767px) {
  #imn-magi-flight {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.16))
            drop-shadow(0 0 4px rgba(255,190,55,.16));
  }
}
