:root {
  color-scheme: dark;
  --night-950: #0a1929;
  --night-900: #102a43;
  --night-850: #162f4a;
  --night-800: #243b53;
  --night-700: #334e68;
  --night-500: #627d98;
  --night-300: #9fb3c8;
  --night-200: #bcccdc;
  --night-100: #d9e2ec;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --shadow-night: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 36px rgba(251, 191, 36, 0.28);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--night-100);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 26rem),
    radial-gradient(circle at 80% 18%, rgba(59, 130, 246, 0.12), transparent 28rem),
    linear-gradient(180deg, #081421 0%, var(--night-950) 36%, #07111d 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 25, 41, 0.76);
  border-bottom: 1px solid rgba(188, 204, 220, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 25, 41, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--night-100);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: var(--night-950);
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  box-shadow: var(--shadow-glow);
  font-size: 18px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--amber-400), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  color: var(--night-500);
  font-style: normal;
  font-size: 12px;
  margin-top: 4px;
}

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

.nav-link {
  position: relative;
  color: var(--night-200);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--amber-500);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-400);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(188, 204, 220, 0.14);
  border-radius: 14px;
  background: rgba(36, 59, 83, 0.6);
  cursor: pointer;
}

.mobile-menu-button span {
  width: 18px;
  height: 2px;
  background: var(--night-100);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid rgba(188, 204, 220, 0.1);
  border-radius: 18px;
  background: rgba(16, 42, 67, 0.96);
}

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

.hero-slider {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: #050d16;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 1.4s ease;
  pointer-events: none;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 78vh;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 25, 41, 0.98) 0%, rgba(10, 25, 41, 0.72) 42%, rgba(10, 25, 41, 0.2) 100%),
    linear-gradient(0deg, var(--night-950) 0%, rgba(10, 25, 41, 0.18) 38%, rgba(10, 25, 41, 0.2) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(96px, 13vh, 150px);
  padding-top: 120px;
}

.hero-copy {
  width: min(680px, 100%);
}

.hero-tags,
.movie-meta,
.filter-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.movie-meta span,
.detail-tag,
.filter-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-400);
  font-size: 12px;
  line-height: 1;
  padding: 7px 11px;
  text-decoration: none;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
  max-width: 620px;
  color: var(--night-200);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
  margin: 0 0 30px;
}

.hero-actions,
.category-overview-head,
.section-title,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--night-950);
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  color: var(--night-100);
  border-color: rgba(188, 204, 220, 0.16);
  background: rgba(16, 42, 67, 0.55);
  backdrop-filter: blur(12px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(10, 25, 41, 0.54);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.hero-prev {
  left: 28px;
}

.hero-next {
  right: 28px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 6;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--amber-400);
  box-shadow: var(--shadow-glow);
}

.section-spacing {
  padding: clamp(54px, 7vw, 96px) 0;
}

.surface-section {
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.34), rgba(16, 42, 67, 0.1));
  border-top: 1px solid rgba(188, 204, 220, 0.08);
  border-bottom: 1px solid rgba(188, 204, 220, 0.08);
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2,
.panel-title h2,
.category-overview-head h2,
.detail-article h2,
.detail-side-panel h2 {
  margin: 0;
  color: var(--night-100);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.section-title p,
.category-overview-head p,
.page-hero p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--night-400);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--amber-400);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-more {
  color: var(--amber-400);
  font-weight: 800;
  text-decoration: none;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(188, 204, 220, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(16, 42, 67, 0.74);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: var(--shadow-night);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  color: inherit;
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.88) 100%);
}

.play-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--night-950);
  background: var(--amber-400);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--night-950);
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  font-weight: 900;
}

.movie-card-body {
  padding: 14px;
}

.movie-card h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}

.movie-card h2 a {
  color: var(--night-100);
  text-decoration: none;
}

.movie-card p {
  min-height: 42px;
  margin: 0 0 12px;
  color: var(--night-400);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact .movie-card-body {
  padding: 12px;
}

.compact h2 {
  font-size: 15px;
}

.movie-meta span {
  padding: 5px 8px;
  color: var(--night-300);
  border-color: rgba(188, 204, 220, 0.1);
  background: rgba(36, 59, 83, 0.68);
}

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

.category-tile {
  min-height: 238px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  border: 1px solid rgba(188, 204, 220, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(16, 42, 67, 0.9), rgba(36, 59, 83, 0.55));
  color: var(--night-100);
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.34);
}

.category-covers {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0.28;
}

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

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 25, 41, 0.98) 0%, rgba(10, 25, 41, 0.62) 55%, rgba(10, 25, 41, 0.35) 100%);
}

.category-tile strong,
.category-tile span {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  font-size: 22px;
  font-weight: 900;
}

.category-tile span {
  color: var(--night-300);
  line-height: 1.55;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 32px;
  align-items: start;
}

.ranking-panel,
.detail-info-card,
.detail-article,
.detail-side-panel,
.category-overview-block {
  border: 1px solid rgba(188, 204, 220, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(16, 42, 67, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.ranking-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
}

.rank-list,
.side-recommend-list,
.wide-rank-list {
  display: grid;
  gap: 12px;
}

.rank-row,
.side-recommend-list a,
.wide-rank-row {
  display: grid;
  align-items: center;
  grid-template-columns: 34px 54px minmax(0, 1fr) auto;
  gap: 12px;
  color: var(--night-100);
  text-decoration: none;
  padding: 10px;
  border-radius: 16px;
  background: rgba(36, 59, 83, 0.46);
  transition: background 0.25s ease, transform 0.25s ease;
}

.rank-row:hover,
.side-recommend-list a:hover,
.wide-rank-row:hover {
  background: rgba(36, 59, 83, 0.86);
  transform: translateX(4px);
}

.rank-row img,
.side-recommend-list img,
.wide-rank-row img {
  width: 54px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-number,
.wide-rank-number {
  color: var(--amber-400);
  font-weight: 900;
  font-size: 20px;
}

.rank-text,
.side-recommend-list span,
.wide-rank-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-text strong,
.side-recommend-list strong,
.wide-rank-copy strong {
  color: var(--night-100);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-text em,
.side-recommend-list em,
.wide-rank-copy em {
  color: var(--night-500);
  font-style: normal;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score,
.wide-rank-meta {
  color: var(--amber-400);
  font-weight: 900;
}

.page-main {
  padding-top: 74px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) 0 clamp(44px, 6vw, 82px);
  background:
    radial-gradient(circle at 18% 14%, rgba(245, 158, 11, 0.18), transparent 28rem),
    linear-gradient(145deg, rgba(16, 42, 67, 0.92), rgba(10, 25, 41, 0.98));
}

.compact-hero {
  padding-bottom: 54px;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.search-bar {
  max-width: 720px;
  margin-top: 26px;
}

.search-bar input {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(188, 204, 220, 0.14);
  border-radius: 18px;
  outline: none;
  padding: 0 18px;
  color: var(--night-100);
  background: rgba(10, 25, 41, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.search-bar input:focus {
  border-color: rgba(245, 158, 11, 0.62);
  box-shadow: var(--shadow-glow);
}

.filter-row {
  margin-top: 18px;
}

.filter-chip {
  cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: var(--night-950);
  background: var(--amber-400);
}

.category-overview {
  display: grid;
  gap: 30px;
  padding: 56px 0 90px;
}

.category-overview-block {
  padding: 26px;
}

.category-overview-head {
  margin-bottom: 22px;
}

.ranking-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.wide-rank-row {
  grid-template-columns: 42px 72px minmax(0, 1fr) auto;
}

.wide-rank-row img {
  width: 72px;
  height: 96px;
}

.detail-hero {
  padding-bottom: 76px;
}

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

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(2px) saturate(1.06);
}

.detail-bg-shade {
  background:
    linear-gradient(90deg, rgba(10, 25, 41, 0.98) 0%, rgba(10, 25, 41, 0.82) 55%, rgba(10, 25, 41, 0.6) 100%),
    linear-gradient(0deg, var(--night-950) 0%, transparent 50%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

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

.breadcrumb a {
  color: var(--amber-400);
  text-decoration: none;
}

.breadcrumb strong {
  color: var(--night-200);
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: var(--shadow-night);
}

.movie-video,
.player-cover,
.player-cover img {
  width: 100%;
  height: 100%;
}

.movie-video {
  display: block;
  background: #000;
}

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

.player-cover img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.56;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
}

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

.play-circle {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: inline-grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  color: var(--night-950);
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  box-shadow: var(--shadow-glow);
  font-size: 34px;
}

.detail-info-card {
  padding: 26px;
}

.detail-info-card h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.detail-info-card p {
  color: var(--night-300);
  line-height: 1.72;
}

.detail-score {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 18px 0 22px;
}

.detail-score strong {
  color: var(--amber-400);
  font-size: 42px;
  line-height: 1;
}

.detail-score span {
  color: var(--night-500);
  padding-bottom: 5px;
}

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

.detail-meta-list div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
}

.detail-meta-list dt {
  color: var(--night-500);
}

.detail-meta-list dd {
  margin: 0;
  color: var(--night-200);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

.detail-article,
.detail-side-panel {
  padding: 28px;
}

.detail-article p {
  color: var(--night-300);
  line-height: 1.9;
  font-size: 17px;
  margin: 16px 0 28px;
}

.detail-tags {
  margin-top: 8px;
}

.detail-side-panel h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.side-recommend-list a {
  grid-template-columns: 58px minmax(0, 1fr);
}

.side-recommend-list img {
  width: 58px;
  height: 78px;
}

.site-footer {
  border-top: 1px solid rgba(188, 204, 220, 0.08);
  background: rgba(6, 14, 24, 0.74);
}

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

.footer-brand p {
  max-width: 420px;
  color: var(--night-500);
  line-height: 1.7;
}

.footer-links h2 {
  color: var(--night-200);
  font-size: 16px;
  margin: 0 0 14px;
}

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

.footer-links a {
  color: var(--night-500);
  text-decoration: none;
}

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

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(188, 204, 220, 0.06);
  color: var(--night-500);
  text-align: center;
  font-size: 13px;
}

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

@media (max-width: 1180px) {
  .movie-grid,
  .compact-grid,
  .all-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-panel {
    position: static;
  }
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-header-inner {
    height: 68px;
  }

  .hero-slider,
  .hero-image {
    min-height: 84vh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, var(--night-950) 0%, rgba(10, 25, 41, 0.7) 58%, rgba(10, 25, 41, 0.24) 100%),
      linear-gradient(90deg, rgba(10, 25, 41, 0.82), rgba(10, 25, 41, 0.3));
  }

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

  .hero-control {
    display: none;
  }

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

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

@media (max-width: 640px) {
  .container-custom,
  .site-header-inner,
  .mobile-nav {
    width: min(100% - 24px, 1280px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .movie-grid,
  .compact-grid,
  .all-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-card-body {
    padding: 11px;
  }

  .movie-card p {
    min-height: 0;
  }

  .section-title,
  .category-overview-head,
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-overview-block,
  .detail-article,
  .detail-side-panel,
  .detail-info-card {
    padding: 20px;
  }

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

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

  .wide-rank-meta {
    grid-column: 3;
    font-size: 13px;
  }
}
