.vod-card,
.art-card,
.topic-card,
.rank-item a,
.btn,
.filter-list a,
.episode-list a,
.route-nav button,
.quick-types a,
.theme-switch button,
.back-top {
  transition:
    transform var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    background-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    opacity var(--duration) var(--ease);
}

.vod-poster img,
.art-cover img,
.topic-card img,
.hero-bg img {
  transition: transform 420ms var(--ease), opacity 260ms var(--ease);
}

.lazy {
  opacity: .72;
}

.lazy.is-loaded {
  opacity: 1;
}

.vod-card:hover .vod-poster img,
.vod-card:focus-within .vod-poster img,
.art-card:hover img,
.topic-card:hover img {
  transform: scale(1.035);
}

.vod-card:hover,
.art-card:hover,
.topic-card:hover,
.rank-item a:hover,
.btn:hover,
.quick-types a:hover,
.filter-list a:hover,
.episode-list a:hover,
.route-nav button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.vod-card:hover h3 a,
.vod-card:focus-within h3 a,
.art-card:hover h3 a,
.art-card:focus-within h3 a {
  color: var(--primary);
}

.hero-slide {
  animation: heroFade 520ms var(--ease) both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-list,
.episode-list,
.route-nav,
.quick-types {
  scroll-behavior: smooth;
}

html.no-js .lazy {
  opacity: 1;
}

@media (hover: none) {
  .vod-card:active .vod-poster img,
  .art-card:active img,
  .topic-card:active img {
    transform: scale(1.02);
  }

  .play-badge {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .vod-card:hover,
  .art-card:hover,
  .topic-card:hover,
  .rank-item a:hover,
  .btn:hover,
  .quick-types a:hover,
  .filter-list a:hover,
  .episode-list a:hover,
  .route-nav button:hover,
  .vod-card:hover .vod-poster img,
  .art-card:hover img,
  .topic-card:hover img {
    transform: none !important;
  }
}

