:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --amber: #f59e0b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.11), transparent 34rem),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.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: rgba(2, 6, 23, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f8fafc;
  white-space: nowrap;
}

.brand:hover {
  color: var(--emerald);
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #001b12;
  background: linear-gradient(135deg, #34d399, #10b981 55%, #047857);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.26);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #cbd5e1;
  font-size: 15px;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--emerald);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 280px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
}

.header-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  padding: 8px 8px 8px 14px;
}

.header-search input::placeholder {
  color: #64748b;
}

.header-search button,
.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.header-search button,
.primary-button {
  background: var(--emerald);
  color: #022c22;
  box-shadow: 0 18px 36px rgba(16, 185, 129, 0.24);
}

.header-search button {
  padding: 8px 16px;
}

.primary-button {
  padding: 12px 24px;
}

.header-search button:hover,
.primary-button:hover {
  background: #34d399;
  transform: translateY(-1px);
}

.ghost-button,
.section-more {
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #d1fae5;
  background: rgba(15, 23, 42, 0.66);
}

.ghost-button {
  padding: 11px 22px;
}

.section-more {
  padding: 9px 16px;
  font-size: 14px;
}

.ghost-button:hover,
.section-more:hover {
  border-color: rgba(16, 185, 129, 0.66);
  color: #a7f3d0;
  transform: translateY(-1px);
}

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

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #cbd5e1;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.96);
}

.mobile-panel a {
  display: block;
  padding: 14px 24px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-track,
.hero-slide {
  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 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.08) contrast(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 32%, rgba(16, 185, 129, 0.2), transparent 28rem),
    linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.86) 38%, rgba(2, 6, 23, 0.38) 100%),
    linear-gradient(0deg, #020617 0%, transparent 36%);
}

.hero-content {
  position: relative;
  height: 100%;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
  padding-top: 48px;
  padding-bottom: 90px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 999px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 82px);
}

.hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.66);
  font-size: 13px;
}

.hero-tags span {
  padding: 7px 12px;
}

.tag-row span {
  padding: 4px 9px;
}

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

.hero-poster {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  border-radius: 24px;
  background: rgba(16, 185, 129, 0.24);
  filter: blur(34px);
}

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

.hero-control-row {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.hero-dots,
.hero-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.hero-arrows button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 50%;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.78);
  font-size: 30px;
  line-height: 1;
}

.category-strip {
  position: relative;
  z-index: 4;
  margin-top: -46px;
}

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

.category-grid a {
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.16), transparent 58%),
    rgba(15, 23, 42, 0.88);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.category-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.44);
  background-color: rgba(15, 23, 42, 0.96);
}

.category-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.category-grid span {
  color: var(--muted);
  font-size: 14px;
}

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

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

.section-heading h2,
.filter-panel h2,
.text-page h2,
.detail-panel h2,
.all-group h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.section-heading p,
.filter-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

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

.movie-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.58);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(15, 23, 42, 0.9)),
    #0f172a;
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent 58%);
}

.play-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #022c22;
  background: #34d399;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: translateY(0);
}

.card-content {
  padding: 18px;
}

.card-meta,
.compact-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.card-meta span:not(:last-child)::after,
.detail-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #475569;
}

.movie-card h2 {
  margin: 8px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h2 a:hover,
.compact-card h2 a:hover,
.all-links a:hover {
  color: #6ee7b7;
}

.movie-card p {
  min-height: 46px;
  margin: 0 0 14px;
  color: var(--muted-strong);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-band,
.split-showcase {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.54), rgba(15, 23, 42, 0.2));
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.horizontal-scroll {
  display: grid;
  grid-auto-columns: minmax(250px, 280px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
}

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

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

.movie-card-large {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
}

.movie-card-large .poster-frame {
  height: 100%;
  aspect-ratio: auto;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  padding: 76px 0;
}

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

.page-hero,
.detail-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(16, 185, 129, 0.22), transparent 32rem),
    linear-gradient(135deg, #020617, #0f172a);
}

.page-hero > img,
.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.page-hero-layer,
.detail-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #020617, rgba(2, 6, 23, 0.4) 52%, rgba(2, 6, 23, 0.68)),
    radial-gradient(circle at right, rgba(16, 185, 129, 0.18), transparent 26rem);
}

.page-hero-content {
  position: relative;
  padding: 110px 0 72px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #cbd5e1;
  font-size: 18px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.stat-row span {
  padding: 8px 13px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(15, 23, 42, 0.72);
  font-size: 14px;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  min-width: 300px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

.filter-panel input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  outline: 0;
  color: var(--text);
  background: rgba(2, 6, 23, 0.7);
  padding: 13px 15px;
}

.filter-panel input:focus {
  border-color: rgba(16, 185, 129, 0.66);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

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

.compact-card {
  display: grid;
  grid-template-columns: auto 128px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.6);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #022c22;
  background: linear-gradient(135deg, #fbbf24, #10b981);
  font-weight: 900;
}

.compact-poster {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
}

.compact-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.compact-card h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.compact-card p {
  margin: 0 0 8px;
  color: var(--muted-strong);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.detail-hero-inner {
  position: relative;
  padding: 96px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: #94a3b8;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #6ee7b7;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.detail-copy h1 {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 76px);
}

.lead {
  max-width: 760px;
  margin: 20px 0 16px;
  color: #e2e8f0;
  font-size: 20px;
}

.detail-tags {
  margin: 22px 0 28px;
}

.player-section {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
}

.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: #f8fafc;
  background:
    radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 18rem),
    rgba(2, 6, 23, 0.52);
  text-align: center;
}

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

.play-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 22px 50px rgba(16, 185, 129, 0.34);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid #022c22;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border-radius: 999px;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.86);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
}

.player-message.is-visible {
  opacity: 1;
}

.detail-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  padding: 54px 0 10px;
}

.detail-panel {
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.68);
}

.detail-panel:first-child {
  grid-row: span 2;
}

.detail-panel p {
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.9;
}

.info-list dl {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 18px 0 0;
}

.info-list dt {
  color: #94a3b8;
}

.info-list dd {
  margin: 0;
  color: #e2e8f0;
}

.text-page {
  display: grid;
  gap: 22px;
  padding: 76px 0;
}

.text-page section {
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.68);
}

.text-page p {
  margin: 14px 0 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.all-group {
  margin-bottom: 30px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.58);
}

.all-group small {
  color: #6ee7b7;
  font-size: 16px;
}

.all-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 18px;
}

.all-links a {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.42);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.all-links a:hover {
  background: rgba(16, 185, 129, 0.1);
}

.all-links span {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-brand {
  margin-bottom: 12px;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p,
.site-footer a {
  color: #94a3b8;
  font-size: 14px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #f8fafc;
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

.site-footer a:hover {
  color: #6ee7b7;
}

.footer-bottom {
  padding: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  text-align: center;
  font-size: 13px;
}

[data-filter-card].is-hidden {
  display: none;
}

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

  .menu-button {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

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

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

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

  .header-search {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 28px;
    padding-bottom: 88px;
  }

  .hero p {
    font-size: 16px;
    -webkit-line-clamp: 5;
  }

  .hero-control-row,
  .section-heading,
  .filter-panel {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .category-grid,
  .movie-grid,
  .dense-grid,
  .featured-grid,
  .split-grid,
  .mini-grid,
  .footer-grid,
  .detail-body,
  .all-links {
    grid-template-columns: 1fr;
  }

  .content-section,
  .split-grid,
  .text-page {
    padding: 52px 0;
  }

  .movie-card-large,
  .detail-grid,
  .compact-card {
    grid-template-columns: 1fr;
  }

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

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

  .detail-poster {
    display: none;
  }

  .lead {
    font-size: 17px;
  }

  .compact-card {
    align-items: start;
  }

  .rank-number {
    position: absolute;
    margin: 8px;
  }

  .play-icon {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.03em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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