:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #172033;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --orange-700: #c2410c;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-100: #ffedd5;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.35);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.14), transparent 32rem),
    linear-gradient(135deg, var(--slate-50), #fff7ed 46%, var(--slate-50));
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(18px);
}

.nav-shell,
.footer-inner,
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: white;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
  transition: transform 0.28s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(3deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--slate-400);
  font-size: 12px;
  margin-top: 4px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.mobile-link,
.quick-link {
  color: var(--slate-300);
  border-radius: 12px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 650;
}

.nav-link:hover,
.mobile-link:hover,
.quick-link:hover {
  color: var(--white);
  background: rgba(148, 163, 184, 0.15);
}

.nav-link.is-active,
.mobile-link.is-active {
  color: var(--white);
  background: var(--orange-500);
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.32);
}

.mobile-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 0;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.13);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--slate-200);
}

.mobile-panel {
  display: none;
  padding: 10px 16px 18px;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

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

.mobile-link {
  display: block;
  padding: 13px 16px;
  margin: 4px 0;
  font-weight: 650;
}

.mobile-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-link {
  padding: 8px 10px;
  background: rgba(148, 163, 184, 0.1);
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 620px;
  background: linear-gradient(120deg, var(--slate-950), #431407 55%, var(--slate-900));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(251, 146, 60, 0.34), transparent 22rem),
    radial-gradient(circle at 85% 12%, rgba(249, 115, 22, 0.22), transparent 20rem),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.52));
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.75s ease, transform 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.72) 44%, rgba(15, 23, 42, 0.22) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.76), transparent 38%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  align-items: center;
  gap: 44px;
}

.hero-copy {
  color: white;
  max-width: 720px;
  padding: 96px 0 144px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #fed7aa;
  font-weight: 750;
  border: 1px solid rgba(251, 146, 60, 0.4);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero h1,
.page-hero h1,
.detail-title h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero p,
.page-hero p {
  margin: 0;
  color: var(--slate-300);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.78;
}

.hero-actions,
.section-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 44px rgba(249, 115, 22, 0.38);
}

.btn-ghost {
  color: var(--slate-100);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: relative;
  z-index: 3;
  align-self: end;
  margin-bottom: 62px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.48);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-panel h2 {
  color: white;
  font-size: 18px;
  margin: 0 0 14px;
}

.hero-tabs {
  display: grid;
  gap: 10px;
}

.hero-tab {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: var(--slate-300);
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-tab img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-tab strong {
  display: block;
  color: white;
  line-height: 1.35;
  margin-bottom: 4px;
}

.hero-tab span {
  font-size: 12px;
  color: var(--slate-400);
}

.hero-tab.is-active,
.hero-tab:hover {
  background: rgba(249, 115, 22, 0.22);
  transform: translateX(3px);
}

.main-section {
  padding: 72px 0;
}

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

.section-kicker {
  margin: 0 0 10px;
  color: var(--orange-600);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.content-block h2,
.category-card h2,
.footer-column h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--slate-600);
  line-height: 1.75;
}

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

.category-card {
  position: relative;
  padding: 22px;
  min-height: 178px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, white, #fff7ed);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
}

.category-card h2 {
  position: relative;
  z-index: 1;
  font-size: 21px;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--slate-600);
  line-height: 1.7;
  font-size: 14px;
}

.category-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange-600);
  font-weight: 850;
}

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

.movie-grid.small-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 22px 62px rgba(15, 23, 42, 0.18);
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, var(--slate-800), var(--slate-700));
}

.movie-card-wide .poster-frame {
  height: 100%;
  min-height: 220px;
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.75));
  opacity: 0.75;
}

.play-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.94);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.28);
  transform: scale(0.9);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: scale(1);
}

.card-rank {
  position: absolute;
  left: 14px;
  top: 14px;
  min-width: 42px;
  padding: 7px 8px;
  color: white;
  text-align: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-row em,
.card-tags span,
.detail-tags span,
.breadcrumb a,
.breadcrumb span {
  font-style: normal;
  border-radius: 999px;
}

.meta-row em {
  padding: 5px 9px;
  color: var(--orange-700);
  font-size: 12px;
  font-weight: 800;
  background: var(--orange-100);
}

.card-body strong {
  color: var(--slate-900);
  font-size: 20px;
  line-height: 1.34;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.movie-card:hover .card-body strong {
  color: var(--orange-600);
}

.card-desc {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.7;
}

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span,
.detail-tags span {
  padding: 6px 9px;
  color: var(--slate-600);
  font-size: 12px;
  background: var(--slate-100);
}

.dark-band {
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
  color: white;
}

.dark-band .section-head h2,
.dark-band .section-head p {
  color: white;
}

.dark-band .section-head p {
  color: var(--slate-300);
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 56px 74px minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.dark-band .rank-row {
  color: var(--slate-100);
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(148, 163, 184, 0.2);
}

.rank-row:hover {
  transform: translateX(5px);
  border-color: rgba(249, 115, 22, 0.45);
}

.rank-no {
  color: var(--orange-500);
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.rank-row img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--slate-800);
}

.rank-copy {
  min-width: 0;
}

.rank-copy strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-copy small,
.rank-genre {
  color: var(--slate-500);
}

.dark-band .rank-copy small,
.dark-band .rank-genre {
  color: var(--slate-400);
}

.rank-genre {
  font-size: 14px;
}

.orange-panel {
  position: relative;
  overflow: hidden;
  padding: 42px;
  color: white;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 24px 70px rgba(249, 115, 22, 0.25);
}

.orange-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.orange-panel h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.orange-panel p,
.orange-panel .section-actions {
  position: relative;
  z-index: 1;
}

.orange-panel p {
  margin: 0;
  color: #ffedd5;
  max-width: 720px;
  line-height: 1.8;
}

.page-hero {
  color: white;
  background:
    linear-gradient(110deg, rgba(2, 6, 23, 0.94), rgba(124, 45, 18, 0.82)),
    linear-gradient(135deg, var(--slate-950), #7c2d12);
}

.page-hero .container {
  padding: 70px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 14px;
}

.breadcrumb a,
.breadcrumb span {
  padding: 6px 10px;
  color: var(--slate-200);
  background: rgba(255, 255, 255, 0.1);
}

.breadcrumb a:hover {
  color: white;
  background: rgba(249, 115, 22, 0.35);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  margin-bottom: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.filter-bar input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: var(--slate-900);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  outline: 0;
  background: var(--slate-50);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-bar input:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-bar span {
  color: var(--slate-500);
  font-size: 14px;
  white-space: nowrap;
}

.empty-state {
  display: none;
  padding: 34px;
  text-align: center;
  color: var(--slate-500);
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--slate-200);
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(30, 41, 59, 0.8)),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
  color: white;
}

.detail-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, var(--slate-800), var(--slate-700));
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-title h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.detail-title p {
  color: var(--slate-300);
  font-size: 18px;
  line-height: 1.75;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 360px;
  gap: 26px;
  align-items: start;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-950);
  box-shadow: var(--shadow-strong);
  aspect-ratio: 16 / 9;
}

.player-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: black;
  object-fit: contain;
  z-index: 1;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: black;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1), rgba(2, 6, 23, 0.72));
}

.player-card.is-playing .player-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-ring {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.95);
  box-shadow: 0 18px 50px rgba(249, 115, 22, 0.38);
  transition: transform 0.25s ease;
}

.player-cover:hover .play-ring {
  transform: scale(1.08);
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 27px solid white;
}

.side-card,
.content-block {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
}

.side-card {
  padding: 24px;
}

.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.info-list dt {
  color: var(--slate-500);
}

.info-list dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 700;
}

.content-grid {
  display: grid;
  gap: 24px;
}

.content-block {
  padding: 30px;
}

.content-block h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.content-block p {
  color: var(--slate-700);
  line-height: 1.9;
  font-size: 16px;
  margin: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.site-footer {
  margin-top: 76px;
  color: var(--slate-300);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 1fr 1fr;
  gap: 42px;
  padding: 48px 0;
}

.footer-brand p {
  max-width: 520px;
  color: var(--slate-400);
  line-height: 1.8;
}

.footer-column h2 {
  color: white;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--slate-400);
  transition: color 0.25s ease;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--slate-500);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

[data-filter-item].is-hidden {
  display: none !important;
}

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

  .movie-grid,
  .movie-grid.small-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-inner,
  .watch-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }

  .hero-copy {
    padding-bottom: 96px;
  }
}

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

  .mobile-toggle {
    display: block;
  }

  .hero,
  .hero-inner {
    min-height: 560px;
  }

  .hero-copy {
    padding: 74px 0 88px;
  }

  .category-grid,
  .movie-grid,
  .movie-grid.small-grid,
  .related-grid,
  .footer-inner,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

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

  .rank-row {
    grid-template-columns: 46px 58px minmax(0, 1fr);
  }

  .rank-row img {
    width: 58px;
    height: 78px;
  }

  .rank-genre {
    display: none;
  }

  .movie-card-wide {
    grid-template-columns: 120px 1fr;
  }

  .movie-card-wide .poster-frame {
    min-height: 190px;
  }

  .detail-hero-inner {
    padding: 34px 0;
  }

  .detail-poster {
    max-width: 260px;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .footer-inner,
  .container,
  .detail-hero-inner,
  .hero-inner,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .hero h1,
  .page-hero h1,
  .detail-title h1 {
    font-size: 36px;
  }

  .hero-actions,
  .section-actions,
  .detail-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .main-section {
    padding: 52px 0;
  }

  .content-block,
  .side-card,
  .orange-panel {
    padding: 22px;
  }

  .movie-card-wide {
    grid-template-columns: 1fr;
  }
}
