/* Wild Rift Boost — reduced-motion safety layer.
   LOAD ORDER: this file MUST be the last <link rel="stylesheet"> on
   every page, after style.css, animations.css and bg-motion.css, so
   its !important rules win over all of them. It changes no prices,
   copy or function — it only stops movement for people who asked
   the OS/browser for reduced motion.
   Example (last stylesheet line in <head>):
     <link rel="stylesheet" href="style.css">
     <link rel="stylesheet" href="animations.css">
     <link rel="stylesheet" href="bg-motion.css">
     <link rel="stylesheet" href="reduced-motion.css">
   NOTE: the hero is the real clip (Tenor post 18978239) now
   SELF-HOSTED as hero-library.mp4 in a <video> element — the
   Tenor JS embed was dropped because its iframe rendered blank
   on the live site. For reduced-motion visitors the video is
   hidden and a static first-frame poster (hero-gif-poster.webp)
   is shown instead — see hero-library.css. motion.js must additionally
   call svg.pauseAnimations() on any inline <svg> when
   matchMedia('(prefers-reduced-motion: reduce)').matches is true
   (see hidden_files/animation-perf-a11y.md, fix A-2). This file
   does stop any CSS animation/transition inside an inline SVG. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    animation-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  /* Scroll-reveal must never hide content. motion.js / animations.css
     may hide .reveal elements only until IntersectionObserver fires;
     here they are forced to their final, visible state. The
     !important wins over inline opacity/transform set by JS too.
     Deliberately does NOT touch .hidden — that class hides auth /
     pay-gate cards on purpose and must keep working. */
  .reveal,
  .reveal-up,
  .reveal-in,
  .is-revealed,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  /* Keep the still frame visible if an SVG scene is ever inlined. */
  svg,
  svg * {
    animation: none !important;
    transition: none !important;
  }
}
