:root {
  --ancient-950: #2b2419;
  --ancient-900: #423a2c;
  --ancient-850: #4f4434;
  --ancient-800: #5c503d;
  --ancient-700: #75664d;
  --ancient-600: #8d7b5d;
  --ancient-500: #a89571;
  --ancient-400: #c4b28c;
  --ancient-300: #dacaa6;
  --ancient-200: #eee1bd;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-300: #fcd34d;
  --dark: #151008;
  --ink: #f7edcf;
  --muted: #b9aa86;
  --line: rgba(251, 191, 36, 0.18);
  --glass: rgba(43, 36, 25, 0.78);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.16), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(168, 149, 113, 0.13), transparent 30rem),
    linear-gradient(180deg, #1b140c 0%, var(--ancient-950) 42%, #120d07 100%);
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(251, 191, 36, 0.14);
  background: rgba(43, 36, 25, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #21190e;
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  border-radius: 13px;
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.28);
}

.brand-text {
  color: var(--amber-400);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.08rem, 2vw, 1.52rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

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

.nav-link {
  color: var(--ancient-200);
  font-size: 0.95rem;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-400);
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  width: 220px;
  flex: 0 0 auto;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(168, 149, 113, 0.38);
  color: var(--ink);
  background: rgba(21, 16, 8, 0.42);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  height: 42px;
  padding: 0 42px 0 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
  background: rgba(21, 16, 8, 0.64);
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  color: var(--ancient-300);
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 12px;
  background: rgba(66, 58, 44, 0.5);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--amber-400);
  border-radius: 99px;
}

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

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

.mobile-search {
  display: flex;
  gap: 8px;
}

.mobile-search input {
  height: 44px;
  padding: 0 14px;
}

.mobile-search button {
  border: 0;
  color: #21190e;
  background: var(--amber-400);
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
}

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

.spotlight {
  position: relative;
  min-height: clamp(620px, 76vh, 820px);
  overflow: hidden;
  border-bottom: 1px solid rgba(251, 191, 36, 0.14);
}

.spotlight-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 94px max(32px, calc((100vw - 1280px) / 2)) 70px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.9s ease;
}

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

.spotlight-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 16, 8, 0.95) 0%, rgba(43, 36, 25, 0.78) 45%, rgba(21, 16, 8, 0.48) 100%),
    linear-gradient(180deg, rgba(43, 36, 25, 0.18), rgba(21, 16, 8, 0.94)),
    var(--spotlight-image) center / cover no-repeat;
  filter: saturate(1.05);
}

.spotlight-content,
.spotlight-poster {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-300);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-content h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  color: var(--amber-400);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.spotlight-content p {
  max-width: 760px;
  margin: 0;
  color: var(--ancient-200);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

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

.spotlight-tags {
  margin: 26px 0 32px;
}

.spotlight-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--amber-300);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.ghost-button,
.text-button,
.panel-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.primary-button {
  color: #20170a;
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  padding: 0 24px;
  box-shadow: 0 16px 42px rgba(245, 158, 11, 0.26);
}

.ghost-button {
  color: var(--amber-300);
  background: rgba(66, 58, 44, 0.58);
  border: 1px solid rgba(251, 191, 36, 0.28);
  padding: 0 22px;
}

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

.spotlight-poster {
  aspect-ratio: 2 / 3;
  max-height: 560px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.spotlight-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.spotlight-dots {
  position: absolute;
  z-index: 3;
  left: max(32px, calc((100vw - 1280px) / 2));
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.spotlight-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  background: var(--ancient-500);
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.spotlight-dots button.active {
  width: 42px;
  background: var(--amber-400);
}

.content-section {
  padding: clamp(42px, 7vw, 78px) 0;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2,
.page-hero h1,
.category-head h1,
.detail-copy h1,
.detail-section h2,
.footer-links h2 {
  margin: 0;
  color: var(--amber-400);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 850;
}

.section-heading h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.section-heading h2::before {
  content: "";
  width: 5px;
  height: 32px;
  background: var(--amber-500);
  border-radius: 99px;
}

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

.compact-heading h2 {
  font-size: 1.55rem;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(168, 149, 113, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(66, 58, 44, 0.72), rgba(43, 36, 25, 0.72));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(251, 191, 36, 0.38);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.36);
  transform: translateY(-6px);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(21, 16, 8, 0.72);
}

.poster-link img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
}

.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  color: #20170a;
  background: var(--amber-400);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #20170a;
  background: rgba(251, 191, 36, 0.9);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ancient-300);
  font-size: 0.8rem;
}

.movie-card h3 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.36;
}

.movie-card h3 a:hover,
.ranking-copy h2 a:hover,
.category-overview-card h2 a:hover {
  color: var(--amber-400);
}

.movie-card p {
  min-height: 3.4em;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.compact-card h3 {
  font-size: 0.98rem;
}

.compact-card p {
  font-size: 0.84rem;
}

.category-panel {
  padding: 34px;
  border: 1px solid rgba(251, 191, 36, 0.16);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(66, 58, 44, 0.52), rgba(43, 36, 25, 0.7));
  box-shadow: var(--shadow);
}

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

.category-tile {
  position: relative;
  min-height: 136px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border: 1px solid rgba(168, 149, 113, 0.22);
  border-radius: 18px;
  background: rgba(21, 16, 8, 0.4);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
  border-color: rgba(251, 191, 36, 0.34);
  transform: translateY(-4px);
}

.category-image {
  position: absolute;
  inset: 0;
  opacity: 0.24;
}

.category-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 36, 25, 0.18), rgba(21, 16, 8, 0.9));
}

.category-copy {
  position: relative;
  display: grid;
  gap: 5px;
}

.category-copy strong {
  color: var(--amber-400);
  font-size: 1.16rem;
}

.category-copy em {
  color: var(--ancient-200);
  font-size: 0.88rem;
  font-style: normal;
}

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

.ranking-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid rgba(251, 191, 36, 0.16);
  border-radius: 24px;
  background: rgba(43, 36, 25, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(168, 149, 113, 0.14);
  border-radius: 16px;
  background: rgba(21, 16, 8, 0.3);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
  border-color: rgba(251, 191, 36, 0.32);
  background: rgba(66, 58, 44, 0.52);
}

.rank-number {
  color: var(--amber-400);
  font-weight: 900;
}

.rank-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 10px;
}

.rank-info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.rank-info strong,
.rank-info em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.rank-info em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.panel-more,
.text-button {
  color: var(--amber-400);
}

.panel-more {
  margin-top: 16px;
  width: 100%;
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.inner-page {
  padding-top: 34px;
  padding-bottom: 72px;
}

.page-hero,
.category-head {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(251, 191, 36, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(66, 58, 44, 0.78), rgba(21, 16, 8, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.22), transparent 28rem);
  box-shadow: var(--shadow);
}

.slim-hero {
  margin-bottom: 34px;
}

.page-hero h1,
.category-head h1 {
  margin-top: 10px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
}

.page-hero p,
.category-head p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ancient-200);
  font-size: 1.06rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--ancient-300);
  font-size: 0.92rem;
}

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

.category-head {
  margin-bottom: 38px;
  background:
    linear-gradient(90deg, rgba(21, 16, 8, 0.94), rgba(43, 36, 25, 0.72)),
    var(--category-image) center / cover no-repeat;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(168, 149, 113, 0.2);
  border-radius: 24px;
  background: rgba(43, 36, 25, 0.68);
}

.category-cover {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
}

.category-overview-card h2 {
  margin: 0 0 8px;
  color: var(--amber-400);
}

.category-overview-card p {
  margin: 0 0 12px;
  color: var(--ancient-200);
}

.mini-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.mini-link-list a {
  color: var(--ancient-300);
  font-size: 0.86rem;
}

.mini-link-list a:hover {
  color: var(--amber-400);
}

.ranking-grid {
  display: grid;
  gap: 18px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(168, 149, 113, 0.2);
  border-radius: 24px;
  background: rgba(43, 36, 25, 0.68);
}

.ranking-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
}

.ranking-cover span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  color: #20170a;
  background: var(--amber-400);
  border-radius: 999px;
  font-weight: 900;
}

.ranking-copy h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.ranking-copy p {
  margin: 0 0 12px;
  color: var(--ancient-200);
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(251, 191, 36, 0.16);
  border-radius: 22px;
  background: rgba(43, 36, 25, 0.68);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--ancient-200);
  font-weight: 700;
}

.filter-panel input,
.filter-panel select {
  min-height: 48px;
  padding: 0 14px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  margin-bottom: 34px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(251, 191, 36, 0.16);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(66, 58, 44, 0.78), rgba(21, 16, 8, 0.82));
  box-shadow: var(--shadow);
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 26px;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.4);
}

.detail-copy h1 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 860px;
  margin: 0 0 18px;
  color: var(--ancient-200);
  font-size: 1.1rem;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.detail-meta div {
  padding: 14px;
  border: 1px solid rgba(168, 149, 113, 0.18);
  border-radius: 16px;
  background: rgba(21, 16, 8, 0.32);
}

.detail-meta dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-meta dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.detail-meta a {
  color: var(--amber-400);
}

.player-section {
  margin: 34px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 30px;
  background: #050403;
  box-shadow: var(--shadow);
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #050403;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  color: #21190e;
  background: #050403;
  cursor: pointer;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.player-cover-bg,
.player-cover-mask {
  position: absolute;
  inset: 0;
}

.player-cover-bg {
  background-position: center;
  background-size: cover;
  filter: blur(4px) saturate(0.9);
  transform: scale(1.04);
  opacity: 0.55;
}

.player-cover-mask {
  background: linear-gradient(135deg, rgba(21, 16, 8, 0.7), rgba(43, 36, 25, 0.42));
}

.player-icon {
  position: relative;
  z-index: 2;
  width: clamp(72px, 11vw, 104px);
  height: clamp(72px, 11vw, 104px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #21190e;
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  border-radius: 50%;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 22px 58px rgba(245, 158, 11, 0.28);
}

.detail-content {
  display: grid;
  gap: 22px;
}

.detail-section {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(168, 149, 113, 0.18);
  border-radius: 24px;
  background: rgba(43, 36, 25, 0.64);
}

.detail-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.detail-section p {
  margin: 0;
  color: var(--ancient-200);
  font-size: 1.02rem;
  white-space: pre-wrap;
}

.related-section {
  padding-bottom: 10px;
}

.site-footer {
  border-top: 1px solid rgba(251, 191, 36, 0.14);
  background: rgba(21, 16, 8, 0.64);
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 1fr 1fr;
  gap: 32px;
}

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

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links h2 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.footer-links a {
  color: var(--ancient-300);
  font-size: 0.94rem;
}

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

.footer-bottom {
  padding: 18px 16px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(168, 149, 113, 0.12);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 12px;
  }

  .header-search {
    display: none;
  }

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

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

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

  .spotlight-slide {
    grid-template-columns: 1fr;
    padding: 92px 24px 84px;
  }

  .spotlight-poster {
    display: none;
  }

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

  .category-grid,
  .category-overview-grid,
  .split-layout,
  .footer-inner,
  .detail-hero,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(100% - 24px, 1280px);
    min-height: 64px;
  }

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

  .page-wrap,
  .mobile-nav,
  .footer-inner {
    width: min(100% - 24px, 1280px);
  }

  .spotlight {
    min-height: 600px;
  }

  .spotlight-slide {
    padding: 78px 18px 72px;
  }

  .spotlight-content h1 {
    font-size: clamp(2.2rem, 13vw, 3.4rem);
  }

  .spotlight-dots {
    left: 18px;
    bottom: 24px;
  }

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

  .movie-card {
    border-radius: 18px;
  }

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

  .movie-card p {
    display: none;
  }

  .category-panel,
  .page-hero,
  .category-head,
  .detail-hero,
  .detail-section {
    padding: 20px;
    border-radius: 22px;
  }

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

  .category-overview-card,
  .ranking-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .ranking-copy p,
  .mini-link-list {
    display: none;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .player-shell {
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .small-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

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