:root {
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: #0f172a;
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --orange: #f97316;
  --green: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(6, 182, 212, 0.12), transparent 30%),
    radial-gradient(circle at 86% 2%, rgba(37, 99, 235, 0.14), transparent 32%),
    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;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.92));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.36);
}

.brand-text {
  font-size: 24px;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--soft);
  transition: 0.22s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.active,
.mobile-link.active {
  background: rgba(6, 182, 212, 0.16);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.22);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
}

.header-search input,
.mobile-search input {
  width: 150px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-search button,
.mobile-search button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.82);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: white;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

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

.mobile-brand {
  color: #67e8f9;
  font-weight: 800;
}

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

.hero-stage {
  position: relative;
  min-height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.68s ease;
}

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

.hero-bg,
.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) brightness(0.52);
  transform: scale(1.04);
}

.hero-overlay,
.detail-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.72) 44%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(0deg, #020617 0%, transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 360px;
  gap: 56px;
  align-items: center;
  min-height: 640px;
  padding: 80px 0 130px;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.62);
}

.hero p,
.sub-hero p,
.detail-copy p {
  max-width: 780px;
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.detail-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-tags span,
.detail-meta span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.62);
  font-size: 13px;
}

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

.btn-primary,
.btn-ghost,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.22s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 48px rgba(6, 182, 212, 0.36);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.48);
}

.btn-ghost,
.section-more {
  color: white;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.btn-ghost:hover,
.section-more:hover {
  border-color: rgba(103, 232, 249, 0.55);
  background: rgba(6, 182, 212, 0.14);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4.2;
  transform: rotate(2deg);
}

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

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-controls {
  position: relative;
  z-index: 4;
  margin-top: -118px;
}

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

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

.hero-dot.active {
  width: 42px;
  background: #22d3ee;
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.hero-thumb {
  position: relative;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  color: white;
  text-align: left;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
}

.hero-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-thumb span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 38px 12px 10px;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.hero-thumb.active {
  border-color: #22d3ee;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.45), 0 20px 55px rgba(6, 182, 212, 0.3);
}

.hero-quick-links {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 26px 0 38px;
}

.hero-quick-links a {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

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

.soft-bg {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.52), rgba(2, 6, 23, 0.1));
}

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

.section-head h2 {
  margin: 12px 0 6px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  transition: transform 0.28s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.86));
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 1;
}

.category-tile strong {
  bottom: 52px;
  font-size: 24px;
}

.category-tile em {
  bottom: 18px;
  color: #cbd5e1;
  font-size: 14px;
  font-style: normal;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 22px 62px rgba(6, 182, 212, 0.16);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 2.85;
  background: #111827;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .card-cover img {
  transform: scale(1.06);
}

.card-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(2, 6, 23, 0.88));
}

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: white;
  font-weight: 900;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(6, 182, 212, 0.92);
}

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.34);
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 700;
}

.card-body h2 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.card-body h2 a:hover {
  color: #67e8f9;
}

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

.tag-row {
  gap: 7px;
}

.horizontal-rail {
  display: grid;
  grid-auto-columns: minmax(240px, 280px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-snap-type: x mandatory;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 360px;
  gap: 30px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 44px 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  transition: 0.22s ease;
}

.ranking-row:hover {
  border-color: rgba(34, 211, 238, 0.42);
  transform: translateX(4px);
}

.list-rank {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.18);
  color: #67e8f9;
  font-weight: 900;
}

.list-rank.dot {
  width: 10px;
  height: 10px;
  background: #22d3ee;
}

.ranking-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-main {
  display: grid;
  gap: 4px;
}

.ranking-main strong {
  font-size: 17px;
}

.ranking-main em,
.ranking-info {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.feature-panel,
.side-panel,
.prose-card,
.watch-side,
.player-card,
.category-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.feature-panel {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 28px;
}

.feature-panel span {
  color: #67e8f9;
  font-weight: 800;
}

.feature-panel h2 {
  margin: 12px 0;
  font-size: 30px;
  line-height: 1.15;
}

.feature-panel p {
  color: var(--soft);
}

.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
}

.sub-hero h1 {
  margin-bottom: 16px;
}

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

.breadcrumb a:hover {
  color: #67e8f9;
}

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

.category-card {
  overflow: hidden;
}

.category-card a {
  display: block;
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 160px;
}

.category-covers img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

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

.category-card-body span {
  color: #67e8f9;
  font-weight: 800;
}

.category-card-body h2 {
  margin: 8px 0 6px;
  font-size: 28px;
}

.category-card-body p {
  margin: 0;
  color: var(--muted);
}

.layout-with-side {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
}

.side-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 18px;
}

.side-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.side-links {
  display: grid;
  gap: 8px;
}

.side-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--soft);
}

.side-link:hover,
.side-link.active {
  background: rgba(6, 182, 212, 0.16);
  color: white;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.7);
}

.filter-bar input,
.filter-bar select,
.filter-bar button {
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.72);
}

.filter-bar input {
  flex: 1 1 260px;
  padding: 0 14px;
  outline: 0;
}

.filter-bar select,
.filter-bar button {
  padding: 0 12px;
}

.filter-bar button.active {
  border-color: #22d3ee;
  background: rgba(6, 182, 212, 0.2);
}

.filterable-grid.list-view {
  display: grid;
  grid-template-columns: 1fr;
}

.filterable-grid.list-view .movie-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.filterable-grid.list-view .card-cover {
  aspect-ratio: 1 / 1.32;
}

.empty-state {
  padding: 34px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--muted);
  text-align: center;
}

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

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 92px 0 72px;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 2.9;
}

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

.detail-copy h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.detail-meta {
  margin-bottom: 14px;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background:
    radial-gradient(circle at center, rgba(6, 182, 212, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.76));
  text-align: center;
}

.play-layer.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.play-orb {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.46);
  font-size: 30px;
  padding-left: 4px;
}

.play-layer strong {
  max-width: 80%;
  font-size: clamp(22px, 3vw, 34px);
}

.play-layer em {
  color: #cbd5e1;
  font-style: normal;
}

.watch-side {
  padding: 24px;
}

.watch-side h2,
.prose-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.watch-side p,
.prose-card p {
  color: var(--soft);
}

.prose-card {
  padding: 32px;
}

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

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.38), #020617);
}

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

.footer-grid p {
  max-width: 420px;
  color: var(--muted);
}

.footer-grid h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-links a:hover {
  color: #67e8f9;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
  color: var(--muted);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.accent-violet { --cyan: #8b5cf6; --blue: #6366f1; }
.accent-orange { --cyan: #f97316; --blue: #ef4444; }
.accent-red { --cyan: #ef4444; --blue: #f97316; }
.accent-yellow { --cyan: #eab308; --blue: #f97316; }
.accent-green { --cyan: #22c55e; --blue: #10b981; }
.accent-pink { --cyan: #ec4899; --blue: #8b5cf6; }
.accent-blue { --cyan: #3b82f6; --blue: #06b6d4; }
.accent-amber { --cyan: #f59e0b; --blue: #d97706; }
.accent-slate { --cyan: #94a3b8; --blue: #475569; }
.accent-emerald { --cyan: #10b981; --blue: #14b8a6; }
.accent-indigo { --cyan: #6366f1; --blue: #2563eb; }

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-content,
  .two-column,
  .player-layout,
  .detail-topline,
  .layout-with-side,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

  .side-panel,
  .feature-panel {
    position: static;
  }

  .player-layout {
    gap: 20px;
  }
}

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

  .brand-text {
    font-size: 19px;
  }

  .hero {
    min-height: 650px;
  }

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

  .hero-content {
    padding: 54px 0 132px;
  }

  .hero h1,
  .sub-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.045em;
  }

  .hero-thumbs {
    display: none;
  }

  .hero-controls {
    margin-top: -88px;
  }

  .hero-quick-links {
    padding-top: 46px;
  }

  .section-head {
    display: grid;
  }

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

  .horizontal-rail {
    grid-auto-columns: minmax(220px, 78vw);
  }

  .ranking-row {
    grid-template-columns: 36px 56px minmax(0, 1fr);
  }

  .ranking-info {
    grid-column: 3;
  }

  .detail-topline {
    gap: 24px;
  }

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

  .filterable-grid.list-view .movie-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .footer-bottom {
    display: grid;
  }
}
