/* Motion mode helpers — scoped so full mode stays active by default */

html[data-motion="off"] .slide-title,
html[data-motion="off"] .slide-description,
html[data-motion="off"] .slide-subtitle,
html.motion-off .slide-title,
html.motion-off .slide-description,
html.motion-off .slide-subtitle {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

html[data-motion="off"] .hero-slider .slide:not(.active),
html.motion-off .hero-slider .slide:not(.active) {
  /* Keep first slide visible; JS disables autoplay when motion is off */
  transition: none !important;
}

html[data-motion="off"] .card:hover,
html[data-motion="off"] .movie-card:hover .movie-card-image img,
html.motion-off .card:hover,
html.motion-off .movie-card:hover .movie-card-image img {
  transform: none !important;
}

html[data-motion="off"] .movie-track {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
  html[data-motion-mode="auto"] .slide-title,
  html[data-motion-mode="auto"] .slide-description,
  html[data-motion-mode="auto"] .slide-subtitle {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html[data-motion-mode="auto"] .card:hover,
  html[data-motion-mode="auto"] .movie-card:hover .movie-card-image img {
    transform: none !important;
  }

  html[data-motion-mode="auto"] {
    scroll-behavior: auto;
  }

  html[data-motion-mode="auto"] .movie-track {
    scroll-behavior: auto;
  }
}
