/* Lightweight looping motion over the existing concept artwork. */
.game-scene {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  animation: arcade-scene-drift 8s ease-in-out infinite alternate;
  will-change: transform;
}
.game-cover--shooter .game-scene { animation-delay: -3.4s; animation-duration: 9s; }
@keyframes arcade-scene-drift {
  from { transform: scale(1.06) translate(-1%, -.5%); }
  to { transform: scale(1.06) translate(1%, .5%); }
}

.futures-motion {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  /* Normal alpha compositing also remains legible over the warm original art. */
}
.futures-tracer {
  opacity: 0;
  animation: futures-tracer-visibility 10s linear infinite;
}
.futures-trail-halo,
.futures-trail-core {
  stroke-dasharray: 24 976;
  stroke-dashoffset: 0;
  animation: futures-tracer-travel 10s linear infinite;
}
.futures-trail-halo {
  stroke: #ffad54;
  stroke-width: 17;
  opacity: .35;
}
.futures-trail-core {
  stroke: #fff3d2;
  stroke-width: 6;
  opacity: .87;
}
.futures-wick {
  opacity: .04;
  animation: futures-wick-breathe 7s ease-in-out infinite;
}
.futures-wick-b { animation-delay: -2.2s; }
.futures-wick-c { animation-delay: -4.4s; }
@keyframes futures-tracer-travel {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -1000; }
}
@keyframes futures-tracer-visibility {
  0%, 100% { opacity: 0; }
  6%, 94% { opacity: 1; }
}
@keyframes futures-wick-breathe {
  0%, 100% { opacity: .04; }
  50% { opacity: .26; }
}
.motion-paused .futures-tracer,
.motion-paused .futures-trail-halo,
.motion-paused .futures-trail-core,
.motion-paused .futures-wick {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  .futures-motion { display: none; }
  .futures-motion * { animation: none !important; }
}

.game-cover--shooter .shooter-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  shape-rendering: crispEdges;
}
.shooter-bolt {
  opacity: 0;
  animation: shooter-energy-flight 6.6s linear infinite;
  transform-box: view-box;
}
.shooter-bolt--orange { --shot-distance: 550px; --shot-end: 595px; }
.shooter-bolt--cyan {
  --shot-distance: -550px;
  --shot-end: -595px;
  animation-delay: -3.3s;
}
.shooter-sparks { opacity: 0; animation: shooter-energy-scatter 6.6s linear infinite; }
.shooter-spark { animation: shooter-spark-drift 6.6s linear infinite; }
.shooter-sparks--cyan,
.shooter-sparks--cyan .shooter-spark { animation-delay: -3.3s; }
@keyframes shooter-energy-flight {
  0%, 8% { opacity: 0; transform: translateX(0); }
  12% { opacity: .75; transform: translateX(0); }
  29% { opacity: .7; transform: translateX(var(--shot-distance)); }
  34%, 100% { opacity: 0; transform: translateX(var(--shot-end)); }
}
@keyframes shooter-energy-scatter {
  0%, 28% { opacity: 0; }
  30% { opacity: .55; }
  38%, 100% { opacity: 0; }
}
@keyframes shooter-spark-drift {
  0%, 28% { transform: translate(0, 0); }
  38%, 100% { transform: translate(var(--spark-x), var(--spark-y)); }
}
/* Existing global .motion-paused already pauses descendants; keep this explicit
   so the overlay also works if moved to another page later. */
.motion-paused .shooter-motion * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .game-cover--shooter .shooter-motion { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .game-scene { animation: none !important; transform: none; will-change: auto; }
  .futures-motion, .shooter-motion { display: none; }
}
