:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: #111827;
  --panel-2: #1e293b;
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --amber-dark: #b45309;
  --danger: #ef4444;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0f172a 40%, #020617 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-wrap {
  max-width: 1280px;
  height: 4.25rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #111827;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.32);
  font-weight: 900;
}

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

.brand-text em {
  display: block;
  color: var(--subtle);
  font-style: normal;
  font-size: 0.75rem;
  margin-top: 0.05rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > a {
  color: var(--muted);
  font-weight: 650;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.nav-dropdown:hover > a {
  color: var(--amber-2);
}

.nav-dropdown {
  position: relative;
  padding: 1.5rem 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 13.5rem;
  padding: 0.55rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  visibility: hidden;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  color: var(--muted);
}

.nav-dropdown-menu a:hover {
  background: rgba(245, 158, 11, 0.12);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: min(27vw, 23rem);
}

.header-search input,
.mobile-nav input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(30, 41, 59, 0.85);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-nav input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(251, 191, 36, 0.75);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.header-search button {
  border: 0;
  border-radius: 999px;
  padding: 0.73rem 1rem;
  background: var(--amber);
  color: #111827;
  font-weight: 800;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(30, 41, 59, 0.86);
  padding: 0.7rem;
  margin-left: auto;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 0.22rem 0;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: grid;
  gap: 0.65rem;
}

.mobile-nav a {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 500px;
  height: 70vh;
  overflow: hidden;
  background: #030712;
}

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.68) 42%, rgba(2, 6, 23, 0.18) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.1) 55%, rgba(2, 6, 23, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-copy {
  width: min(58rem, 68vw);
}

.hero-label,
.detail-label,
.page-hero span,
.section-kicker,
.player-heading span,
.panel-heading span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-2);
  border: 1px solid rgba(245, 158, 11, 0.32);
  padding: 0.42rem 0.78rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero h1 {
  margin: 1rem 0;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}

.hero p {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.8;
}

.hero-tags,
.detail-meta,
.movie-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags {
  margin-top: 1.1rem;
}

.hero-tags span,
.detail-meta span {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--muted);
  padding: 0.42rem 0.72rem;
  font-size: 0.85rem;
}

.hero-actions,
.detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.primary-button,
.ghost-button,
.panel-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  padding: 0.9rem 1.35rem;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #111827;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.28);
}

.ghost-button {
  padding: 0.86rem 1.25rem;
  border: 1px solid rgba(203, 213, 225, 0.28);
  color: var(--text);
  background: rgba(15, 23, 42, 0.48);
}

.primary-button:hover,
.ghost-button:hover,
.panel-link:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  width: min(22vw, 17rem);
  min-width: 13rem;
  aspect-ratio: 3 / 4;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: var(--amber);
  color: #111827;
  font-weight: 900;
}

.hero-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.hero-control.prev {
  left: 1rem;
}

.hero-control.next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}

.hero-dots button {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 2.1rem;
  background: var(--amber-2);
}

.content-section,
.page-main,
.detail-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.page-main,
.detail-main {
  padding-top: 2.2rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin: 0.5rem 0 0.15rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.section-heading span {
  color: var(--subtle);
}

.section-more,
.panel-link {
  padding: 0.65rem 1rem;
  color: var(--amber-2);
  border: 1px solid rgba(245, 158, 11, 0.36);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  align-items: start;
  gap: 1.6rem;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.2rem;
}

.featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 1.15rem;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.poster-shell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.36), transparent 35%),
    linear-gradient(135deg, #1e293b, #020617);
}

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

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

.poster-shell.no-image img,
.hero .no-image img {
  opacity: 0;
}

.image-fallback-title {
  position: absolute;
  inset: auto 0.75rem 0.85rem;
  display: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.poster-shell.no-image .image-fallback-title {
  display: block;
}

.type-badge,
.rank-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(245, 158, 11, 0.92);
  color: #111827;
}

.rank-badge {
  left: auto;
  right: 0.7rem;
  background: rgba(239, 68, 68, 0.92);
  color: white;
}

.movie-card-body {
  padding: 0.85rem;
}

.movie-card-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body p {
  min-height: 2.75rem;
  margin: 0.45rem 0 0.75rem;
  color: var(--subtle);
  font-size: 0.86rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  gap: 0.35rem;
  color: var(--subtle);
  font-size: 0.75rem;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.35rem;
  color: rgba(148, 163, 184, 0.7);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.tag-row span {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--muted);
  padding: 0.28rem 0.52rem;
  font-size: 0.72rem;
}

.tag-row.large span {
  font-size: 0.84rem;
  padding: 0.42rem 0.68rem;
}

.movie-card.wide {
  flex: 0 0 17rem;
}

.movie-card.wide .poster-shell {
  aspect-ratio: 16 / 10;
}

.horizontal-scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem 1rem;
  scroll-snap-type: x proximity;
}

.horizontal-scroller .movie-card {
  scroll-snap-align: start;
}

.dark-strip {
  max-width: none;
  padding-left: max(1.25rem, calc((100vw - 1280px) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100vw - 1280px) / 2 + 1.25rem));
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.65), rgba(30, 41, 59, 0.38));
  border-block: 1px solid rgba(148, 163, 184, 0.12);
}

.ranking-panel {
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.sticky-panel {
  position: sticky;
  top: 5.5rem;
}

.panel-heading h2 {
  margin: 0.5rem 0 1rem;
  font-size: 1.6rem;
}

.rank-item {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.rank-num {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber-2);
  font-weight: 900;
}

.rank-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
}

.rank-score {
  color: var(--amber-2);
  font-weight: 900;
}

.panel-link {
  width: 100%;
  margin-top: 1rem;
}

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

.category-tile,
.category-overview-card a {
  display: block;
  height: 100%;
  padding: 1.2rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.13), transparent),
    rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-overview-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
}

.category-tile strong,
.category-overview-body h2 {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.category-tile span,
.category-overview-body p,
.category-overview-body span {
  color: var(--subtle);
  line-height: 1.65;
}

.category-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.category-collage img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.75rem;
  background: rgba(30, 41, 59, 0.8);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.26), transparent 24rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.75));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.page-hero.compact {
  min-height: 15rem;
}

.page-hero h1 {
  margin: 0.9rem 0;
  max-width: 58rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 46rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem;
  gap: 0.8rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.72);
}

.filter-bar.multi {
  grid-template-columns: minmax(0, 1fr) 13rem 10rem;
}

.empty-state {
  display: none;
  padding: 2.2rem;
  text-align: center;
  color: var(--subtle);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 1.2rem;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--subtle);
}

.breadcrumb a {
  color: var(--amber-2);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr);
  gap: 2rem;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border-radius: 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  filter: blur(18px);
  transform: scale(1.08);
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-poster,
.detail-info {
  position: relative;
  z-index: 1;
}

.detail-poster {
  border-radius: 1.2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.detail-info h1 {
  margin: 0.9rem 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.detail-one-line {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 58rem;
}

.detail-meta {
  margin: 1rem 0;
}

.player-section {
  margin-top: 2rem;
  padding: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
}

.player-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.player-heading h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.player-heading a {
  color: var(--amber-2);
  font-weight: 800;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 1.15rem;
  background: #000;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.55rem;
  border: 0;
  color: white;
  background:
    linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.42)),
    radial-gradient(circle at center, rgba(245, 158, 11, 0.22), transparent 19rem);
  cursor: pointer;
  text-align: center;
}

.play-overlay.is-hidden {
  display: none;
}

.play-circle {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 0.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #111827;
  font-size: 2rem;
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.35);
}

.play-overlay strong {
  font-size: 1.35rem;
}

.play-overlay em,
.player-tip {
  color: var(--subtle);
  font-style: normal;
}

.player-tip {
  margin: 0.85rem 0 0;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.story-card {
  padding: 1.3rem;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.story-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
}

.story-card p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

.search-summary {
  margin: 0 0 1.1rem;
  color: var(--subtle);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.7);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem;
  color: var(--subtle);
}

.footer-inner strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.footer-inner p {
  margin: 0;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
}

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

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

@media (max-width: 1120px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

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

  .hero-content {
    gap: 1.5rem;
  }

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

  .split-layout,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 560px;
    height: auto;
  }

  .hero-content {
    padding-top: 3.2rem;
    padding-bottom: 4.6rem;
    align-items: flex-end;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-poster {
    display: none;
  }

  .hero-control {
    display: none;
  }

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

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

  .detail-hero,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 16rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-wrap {
    height: 4rem;
    padding: 0 0.9rem;
  }

  .brand-text em {
    display: none;
  }

  .content-section,
  .page-main,
  .detail-main {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .movie-grid,
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .movie-card-body {
    padding: 0.72rem;
  }

  .movie-card-body p,
  .tag-row {
    display: none;
  }

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

  .page-hero,
  .detail-hero,
  .player-section,
  .story-card {
    border-radius: 1.1rem;
  }
}
