:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-strong: rgba(15, 23, 42, 0.95);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(34, 211, 238, 0.34);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --blue: #3b82f6;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 32rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.26);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ecfeff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.35);
}

.brand-copy strong,
.footer-brand {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

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

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

.nav-link {
  padding: 10px 13px;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--cyan);
  background: rgba(51, 65, 85, 0.55);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search,
.mobile-search,
.large-search,
.page-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search input,
.mobile-search input,
.large-search input,
.page-filter input {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-search input {
  width: 230px;
  padding: 11px 14px;
}

.mobile-search input,
.large-search input,
.page-filter input {
  width: 100%;
  padding: 14px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.page-filter input:focus {
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.13);
  background: rgba(15, 23, 42, 0.95);
}

.header-search button,
.mobile-search button,
.large-search button,
.search-page-form button {
  border: 0;
  border-radius: 14px;
  padding: 11px 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
  box-shadow: 0 14px 34px rgba(8, 145, 178, 0.26);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(30, 41, 59, 0.7);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 13px 14px;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #020617;
}

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

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.15);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.70) 42%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.10) 0%, #020617 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 118px;
  max-width: 1180px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 720px;
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-meta,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span,
.meta-badge,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 999px;
  color: #cffafe;
  background: rgba(8, 145, 178, 0.13);
}

.hero-meta span,
.meta-badge {
  padding: 7px 12px;
  font-size: 13px;
}

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

.primary-button,
.ghost-button,
.text-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.primary-button {
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
  box-shadow: 0 20px 45px rgba(8, 145, 178, 0.38);
}

.ghost-button {
  min-height: 48px;
  padding: 0 24px;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.62);
}

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

.primary-button:hover {
  box-shadow: 0 24px 54px rgba(34, 211, 238, 0.42);
}

.hero-poster {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 84px;
  width: min(300px, 26vw);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

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

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
}

.hero-controls button {
  border: 0;
  color: var(--text);
  background: transparent;
}

.hero-controls > button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.hero-controls > button:hover {
  background: rgba(34, 211, 238, 0.16);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
}

.hero-dot.is-active {
  width: 28px;
  background: var(--cyan);
}

.search-band {
  padding: 0 16px;
  margin-top: -44px;
  position: relative;
  z-index: 5;
}

.search-band-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-band h2,
.section-head h2,
.page-hero h1,
.detail-copy h1,
.prose-card h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.search-band h2 {
  font-size: clamp(24px, 4vw, 36px);
}

.search-band p,
.section-head p,
.page-hero p,
.movie-card-body p,
.category-card-body p,
.prose-card p,
.detail-one-line {
  color: var(--muted);
  line-height: 1.75;
}

.large-search button,
.search-page-form button {
  min-width: 112px;
  padding: 14px 18px;
}

.content-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(15, 23, 42, 0.48);
}

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

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p {
  margin: 8px 0 0;
}

.section-link,
.text-button {
  color: var(--cyan);
}

.movie-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.movie-rail::-webkit-scrollbar {
  height: 8px;
}

.movie-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.35);
}

.rail-card {
  width: min(360px, 78vw);
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.rail-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.28);
}

.rail-image img,
.movie-poster img,
.category-card-covers img,
.timeline-item img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.rail-image span,
.play-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
  box-shadow: 0 14px 28px rgba(8, 145, 178, 0.28);
}

.rail-card strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
}

.rail-card small,
.movie-card-meta,
.timeline-item small {
  color: var(--muted);
}

.rail-card:hover img,
.movie-card:hover .movie-poster img,
.category-card:hover img,
.timeline-item:hover img,
.detail-poster:hover img {
  transform: scale(1.08);
}

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

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

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

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.22);
}

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

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

.movie-card-body h3 {
  margin: 6px 0 6px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.movie-card-body h3 a:hover,
.rail-card:hover strong,
.timeline-item:hover strong,
.category-card h2 a:hover {
  color: var(--cyan);
}

.movie-card-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-row span,
.detail-tags span {
  padding: 5px 9px;
  font-size: 12px;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.28);
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-card);
}

.movie-card-wide .movie-poster {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
}

.movie-card-wide .movie-card-body {
  padding-top: 0;
  align-self: center;
}

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

.category-tile,
.category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.10), transparent 42%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.18);
  transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.category-tile {
  padding: 24px;
}

.category-tile:hover,
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.42);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.16), transparent 42%),
    rgba(15, 23, 42, 0.9);
}

.category-tile span,
.category-card h2 {
  display: block;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.category-tile strong {
  display: block;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.7;
}

.category-tile small,
.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-tile small a,
.category-samples a {
  color: var(--cyan);
  font-size: 13px;
}

.category-card {
  overflow: hidden;
}

.category-card-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 180px;
  overflow: hidden;
}

.category-card-body {
  padding: 22px;
}

.category-card-body p {
  margin: 0;
}

.timeline-list {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 220px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.timeline-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
}

.timeline-item img {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}

.timeline-copy strong,
.timeline-copy small,
.timeline-copy em {
  display: block;
}

.timeline-copy strong {
  font-size: 20px;
}

.timeline-copy em {
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.page-hero {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 28px;
}

.compact-hero {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  gap: 28px;
  align-items: end;
}

.compact-hero h1 {
  margin-top: 8px;
  font-size: clamp(36px, 6vw, 62px);
}

.compact-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 18px;
}

.page-filter {
  align-self: end;
}

.page-filter button {
  border: 0;
}

.search-summary {
  margin-bottom: 22px;
  color: var(--muted-strong);
  font-size: 18px;
}

.empty-state {
  display: none;
  padding: 44px;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.66);
}

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

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.detail-bg,
.detail-shade {
  position: absolute;
  inset: 0;
}

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) saturate(1.05);
  transform: scale(1.04);
}

.detail-shade {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.36)),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), #020617);
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 78px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr;
  gap: 42px;
  align-items: end;
  min-height: 480px;
}

.detail-poster {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
}

.detail-copy h1 {
  max-width: 850px;
  margin-top: 14px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
}

.detail-one-line {
  max-width: 860px;
  margin: 18px 0 0;
  font-size: 20px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 28px;
  align-items: start;
}

.player-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.72));
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--blue));
  box-shadow: 0 22px 54px rgba(8, 145, 178, 0.45);
  font-size: 34px;
}

.player-overlay strong {
  font-size: 18px;
}

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

.prose-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.18);
}

.prose-card h2 {
  margin-top: 0;
  font-size: 26px;
}

.prose-card h2 + p {
  margin-top: 12px;
}

.prose-card p + h2 {
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.92);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 26px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 30px;
}

.footer-inner p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-wrap {
  flex-flow: row wrap;
  align-content: start;
}

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

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

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #64748b;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

  .menu-toggle {
    display: block;
  }

  .hero-poster {
    opacity: 0.34;
    right: 16px;
    width: 260px;
  }

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

  .wide-grid,
  .detail-content,
  .compact-hero,
  .search-band-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
  }

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

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

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

  .hero-poster {
    display: none;
  }

  .hero-actions,
  .detail-actions,
  .large-search,
  .page-filter,
  .search-page-form {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

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

  .section-muted {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

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

  .timeline-item {
    grid-template-columns: 42px 1fr;
  }

  .timeline-item img {
    display: none;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    padding-top: 48px;
  }

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

  .detail-hero {
    min-height: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .movie-card-wide {
    grid-template-columns: 1fr;
  }

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