:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.88);
  --panel-solid: #0f172a;
  --panel-light: #1e293b;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --teal: #2dd4bf;
  --cyan: #22d3ee;
  --blue: #38bdf8;
  --danger: #f97316;
  --shadow: 0 25px 60px rgba(2, 6, 23, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.16), transparent 30rem),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, 80rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.34);
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-2deg);
}

.brand-text strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-link {
  color: var(--muted-strong);
  font-weight: 650;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active {
  text-shadow: 0 0 20px rgba(45, 212, 191, 0.55);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 18px;
  background: rgba(15, 23, 42, 0.98);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--muted-strong);
  font-weight: 650;
}

.mobile-nav.is-open {
  display: block;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg,
.page-hero-bg,
.detail-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.28), rgba(14, 165, 233, 0.12)),
    #0f172a;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.08);
  transition: transform 5.8s ease;
}

.hero-slide.is-active .hero-bg img {
  transform: scale(1.12);
}

.hero-bg.is-missing,
.poster.is-missing,
.detail-poster.is-missing {
  background:
    radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.24), transparent 35%),
    linear-gradient(135deg, #0f172a, #020617 70%);
}

.hero-bg.is-missing::after,
.poster.is-missing::after {
  content: attr(data-title);
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-overlay,
.page-hero-overlay,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #020617 4%, rgba(2, 6, 23, 0.82) 38%, rgba(2, 6, 23, 0.18) 100%),
    linear-gradient(to right, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.28) 58%, rgba(2, 6, 23, 0.78));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding-bottom: 64px;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-one-line,
.detail-one-line,
.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #e2e8f0;
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid rgba(45, 212, 191, 0.26);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.66);
  color: #d7fffb;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(20, 184, 166, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(226, 232, 240, 0.25);
  background: rgba(15, 23, 42, 0.54);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-dots {
  position: absolute;
  right: max(16px, calc((100vw - 80rem) / 2 + 16px));
  bottom: 54px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -34px;
  position: relative;
  z-index: 5;
}

.stats-strip div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: var(--shadow);
}

.stats-strip strong {
  display: block;
  font-size: 1.72rem;
  line-height: 1.1;
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-block {
  padding: 68px 0 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more {
  color: var(--teal);
  font-weight: 800;
  white-space: nowrap;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  transition: transform 0.45s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.2)),
    linear-gradient(135deg, rgba(20, 184, 166, 0.3), transparent 58%);
}

.category-card:hover .category-card-bg {
  transform: scale(1.12);
}

.category-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 20px;
}

.category-card strong {
  font-size: 1.18rem;
}

.category-card small,
.category-card em {
  color: var(--muted-strong);
  font-style: normal;
}

.category-card em {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 22px;
}

.rank-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.full-library {
  content-visibility: auto;
  contain-intrinsic-size: 1800px;
}

.movie-card {
  position: relative;
  min-width: 0;
}

.card-hover {
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px) scale(1.025);
  filter: drop-shadow(0 25px 50px rgba(20, 184, 166, 0.16));
}

.poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #0f172a;
  box-shadow: 0 20px 42px rgba(2, 6, 23, 0.42);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    opacity 0.25s ease;
}

.movie-card:hover .poster img,
.detail-poster:hover img {
  transform: scale(1.1);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.76), transparent 48%);
  opacity: 0.88;
}

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.78rem;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  min-height: 30px;
  padding: 0 12px;
  background: rgba(20, 184, 166, 0.95);
  color: #ffffff;
}

.rank-badge {
  top: 12px;
  left: 12px;
  min-height: 28px;
  padding: 0 10px;
  background: rgba(249, 115, 22, 0.95);
  color: #ffffff;
}

.movie-card-body {
  padding: 13px 2px 0;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.movie-card h3 {
  margin: 6px 0 4px;
  font-size: 1rem;
  line-height: 1.32;
}

.movie-card h3 a:hover,
.category-link:hover,
.breadcrumbs a:hover,
.detail-side-card a:hover {
  color: var(--teal);
}

.category-link {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 750;
}

.movie-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.card-tags {
  gap: 6px;
  margin-top: 10px;
}

.card-tags span {
  min-height: 24px;
  padding: 2px 8px;
  font-size: 0.68rem;
}

.movie-card.is-compact .movie-card-body p,
.movie-card.is-compact .card-tags {
  display: none;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.78);
}

.filter-panel label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.search-box input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  outline: none;
  background: rgba(2, 6, 23, 0.62);
  color: var(--text);
}

.search-box input {
  padding: 0 14px;
}

.filter-panel select {
  padding: 0 34px 0 12px;
}

.search-box input:focus,
.filter-panel select:focus {
  border-color: rgba(45, 212, 191, 0.72);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.14);
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-count {
  min-width: 160px;
  color: var(--muted);
  text-align: right;
}

.filter-count strong {
  color: var(--teal);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: #020617;
}

.compact-page-hero {
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.24), transparent 34rem),
    linear-gradient(135deg, #0f172a, #020617);
}

.compact-page-hero .container,
.page-hero-content {
  position: relative;
  z-index: 2;
}

.category-page-hero {
  min-height: 430px;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.page-hero-content {
  padding: 96px 0 64px;
}

.category-overview-list {
  display: grid;
  gap: 24px;
  padding-top: 56px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.72);
}

.category-overview-info h2 {
  margin: 0;
  font-size: 2rem;
}

.category-overview-info p {
  margin: 12px 0 24px;
  color: var(--muted);
}

.category-overview-samples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.podium-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.1fr;
  gap: 18px;
  margin-top: -38px;
  position: relative;
  z-index: 5;
}

.podium-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.podium-2 {
  transform: translateY(-22px);
}

.podium-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.52;
  transition: transform 0.35s ease;
}

.podium-card:hover .podium-poster {
  transform: scale(1.08);
}

.podium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(2, 6, 23, 0.98), transparent 62%),
    linear-gradient(135deg, rgba(20, 184, 166, 0.35), transparent 48%);
}

.podium-info {
  position: absolute;
  inset: auto 22px 22px;
  z-index: 2;
}

.podium-info em {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.podium-info strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.2;
}

.podium-info small {
  color: var(--muted-strong);
}

.detail-hero {
  min-height: 620px;
}

.detail-hero-bg {
  background-size: cover;
  background-position: center;
  filter: blur(3px) saturate(1.15);
  transform: scale(1.04);
}

.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  min-height: 620px;
  padding: 100px 0 64px;
}

.detail-poster {
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.62);
}

.detail-hero-copy h1 {
  max-width: 860px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.detail-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.detail-metrics span {
  min-height: 54px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.62);
  color: var(--muted-strong);
}

.detail-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
}

.detail-main {
  padding-top: 58px;
}

.player-card,
.detail-article,
.detail-side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: var(--shadow);
}

.player-card {
  overflow: hidden;
}

.player-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.player-heading h2 {
  margin: 0;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.source-btn {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.45);
  color: var(--muted-strong);
  cursor: pointer;
}

.source-btn.is-active,
.source-btn:hover {
  border-color: rgba(45, 212, 191, 0.7);
  background: rgba(20, 184, 166, 0.18);
  color: #ffffff;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.video-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(20, 184, 166, 0.22), transparent 34%),
    rgba(2, 6, 23, 0.64);
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.video-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-cover-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.35);
  font-size: 1.4rem;
}

.video-cover strong {
  font-size: 1.3rem;
}

.video-cover small,
.player-message {
  color: var(--muted-strong);
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 4;
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  pointer-events: none;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-top: 24px;
}

.detail-article,
.detail-side-card {
  padding: 26px;
}

.detail-article h2 {
  margin: 0 0 16px;
  font-size: 1.8rem;
}

.detail-article p {
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: 1.02rem;
}

.detail-side-card h2 {
  margin: 0 0 18px;
}

.detail-side-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

.detail-side-card dt {
  color: var(--muted);
}

.detail-side-card dd {
  margin: 0;
  color: var(--text);
}

.related-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.site-footer {
  margin-top: 76px;
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  gap: 28px;
  padding: 46px 0;
}

.footer-brand {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 850;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-links.vertical {
  flex-direction: column;
}

.footer-links a:hover {
  color: var(--teal);
}

.animate-fade-in {
  animation: fadeIn 0.7s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .desktop-nav {
    gap: 14px;
  }

  .detail-hero-grid {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    padding-bottom: 74px;
  }

  .hero-dots {
    left: 16px;
    right: auto;
    bottom: 34px;
  }

  .stats-strip,
  .category-grid,
  .podium-grid,
  .footer-grid,
  .category-overview-card,
  .detail-hero-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .category-overview-samples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .filter-count {
    text-align: left;
  }

  .podium-2 {
    transform: none;
  }

  .detail-hero-grid {
    align-items: end;
    gap: 24px;
    padding-top: 72px;
  }

  .detail-poster {
    width: min(240px, 70vw);
  }

  .player-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-list {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 80rem);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .hero {
    height: 540px;
  }

  .hero h1,
  .page-hero h1,
  .detail-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .stats-strip {
    margin-top: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-grid,
  .rank-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .category-grid,
  .category-overview-samples {
    grid-template-columns: 1fr;
  }

  .filter-selects {
    flex-direction: column;
  }

  .filter-panel select {
    min-width: 100%;
  }

  .detail-metrics {
    flex-direction: column;
  }

  .detail-side-card dl {
    grid-template-columns: 1fr;
  }
}

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