/* ── The result band ──────────────────────────────────
   It rises from under the card's own foot, so it never crosses the poster. */
@keyframes strip-in {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}

/* ── Scroll-reveal base state ─────────────────────────
   Sections 3-6 only. NOT the duel: it is interactive from the first paint, and
   a control that fades in is a control you can miss. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

/* ── Focus ────────────────────────────────────────────
   Cream, not the accent: focus is the browser telling you where you are, not
   the app marking something you measured. */
.btn-appstore:focus-visible,
.btn-secondary:focus-visible,
.btn-download:focus-visible,
.lang__btn:focus-visible,
.disc:focus-visible,
.duel__neither:focus-visible,
.shot:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

/* ── Reduced motion ───────────────────────────────────
   The band still appears — it carries the result, so removing it would remove
   information. Only its travel goes. */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card__strip {
    animation: none;
  }

  .card {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
