/* Fixed, progressively enhanced 25-frame background from the applied v1 theme. */

.image-sequence {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, rgba(91, 111, 230, 0.34), transparent 35%),
    linear-gradient(145deg, #1b2950, #0d1528 72%);
  pointer-events: none;
}

.video-scroll-bg,
.video-scroll-overlay {
  position: absolute;
  inset: 0;
}

.video-scroll-bg {
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.image-sequence.is-ready .video-scroll-bg { opacity: 1; }

.video-scroll-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.video-scroll-overlay {
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,.5) 50%, rgba(0,0,0,.72));
}

.image-sequence__fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1b2950, #0d1528 72%);
}

.video-scroll-content {
  position: relative;
  z-index: 10;
}

@media (prefers-reduced-motion: reduce) {
  .video-scroll-bg { transition: none; }
}
