* {
  box-sizing: border-box;
}

:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --rose-900: #881337;
  --teal-500: #14b8a6;
  --cyan-500: #06b6d4;
  --pink-500: #ec4899;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 20px 55px rgba(15, 23, 42, 0.18);
  --shadow-card: 0 16px 36px rgba(15, 23, 42, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--slate-800);
  background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 46%, #fffbeb 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.88), rgba(124, 45, 18, 0.88));
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.96), rgba(124, 45, 18, 0.96));
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.24);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #7c2d12;
  background: linear-gradient(135deg, var(--amber-200), white);
  box-shadow: 0 0 28px rgba(252, 211, 77, 0.45);
}

.brand-text {
  font-size: 1.55rem;
  background: linear-gradient(90deg, var(--amber-100), white);
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  color: var(--amber-50);
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.25s ease;
}

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

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(120, 53, 15, 0.96);
}

.mobile-link {
  display: block;
  color: var(--amber-50);
  padding: 13px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
  background: rgba(251, 191, 36, 0.16);
  color: var(--amber-200);
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: 720px;
  color: white;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, #9a3412 45%, #881337);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.02);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 35%, rgba(251, 191, 36, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.68) 45%, rgba(136, 19, 55, 0.32) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent 50%);
}

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

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(253, 230, 138, 0.45);
  border-radius: 999px;
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #fff7ed;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.75;
}

.hero-tags,
.detail-tags,
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.mini-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #7c2d12;
  background: linear-gradient(135deg, var(--amber-200), #fff7ed);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.primary-btn,
.ghost-btn,
.section-more,
.filter-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-700));
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.35);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover,
.filter-bar a:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-shell {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-search {
  display: flex;
  width: min(560px, 100%);
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: white;
  outline: none;
  padding: 0 18px;
  font-size: 1rem;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--amber-400);
  color: #7c2d12;
  font-weight: 900;
  cursor: pointer;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--amber-300);
}

.feature-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -36px auto 0;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-strip div {
  padding: 22px;
  border-radius: var(--radius-md);
  color: white;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  box-shadow: var(--shadow-soft);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.feature-strip span {
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 74px max(16px, calc((100% - 1180px) / 2));
}

.section-light {
  background: linear-gradient(135deg, #fff, #fff7ed);
}

.section-warm {
  background: linear-gradient(135deg, #fff7ed, #ffe4e6);
}

.section-dark {
  color: white;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800) 54%, #111827);
}

.section-rank {
  background: linear-gradient(135deg, #fffbeb, #fff1f2);
}

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

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--slate-800);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.section-dark .section-head h2 {
  color: white;
}

.section-head h2 span {
  color: var(--amber-500);
}

.section-head p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1rem;
}

.section-dark .section-head p {
  color: var(--slate-200);
}

.section-more,
.filter-bar a {
  color: #7c2d12;
  background: linear-gradient(135deg, var(--amber-200), white);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.2);
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--slate-900);
}

.movie-card-compact .poster {
  aspect-ratio: 3 / 4;
}

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

.movie-card:hover .poster img,
.wide-card:hover img,
.category-tile:hover img,
.category-panel:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.poster-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 999px;
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
}

.poster-year {
  right: 12px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink-500), var(--amber-500));
}

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

.meta-line {
  color: var(--teal-500);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 7px;
}

.movie-card h3,
.wide-card h3 {
  margin: 0 0 9px;
  color: var(--slate-800);
  font-size: 1.1rem;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.wide-card h3 a:hover {
  color: var(--teal-500);
}

.movie-card p,
.wide-card p {
  margin: 0 0 12px;
  color: var(--slate-600);
  line-height: 1.65;
  font-size: 0.92rem;
}

.mini-tags span {
  padding: 4px 8px;
  font-size: 0.7rem;
}

.wide-list,
.rank-list {
  display: grid;
  gap: 18px;
}

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

.wide-card {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
}

.wide-cover {
  position: relative;
  flex: 0 0 220px;
  min-height: 138px;
  overflow: hidden;
}

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

.wide-cover strong {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--rose-900), var(--amber-500));
}

.wide-info {
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wide-info span {
  color: var(--slate-600);
  font-size: 0.86rem;
}

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

.poster-row .movie-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.poster-row .movie-card h3,
.poster-row .movie-card p {
  color: white;
}

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

.category-tile,
.category-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  background: var(--slate-900);
}

.category-tile {
  min-height: 210px;
}

.category-tile img,
.category-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.category-tile:hover img,
.category-panel:hover img {
  opacity: 0.9;
}

.category-tile::after,
.category-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.1));
}

.category-tile span,
.category-tile small {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
}

.category-tile span {
  bottom: 58px;
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
}

.category-tile small {
  bottom: 24px;
  color: var(--amber-100);
  line-height: 1.5;
}

.inner-hero {
  padding: 154px max(16px, calc((100% - 1180px) / 2)) 78px;
  color: white;
  background:
    radial-gradient(circle at 82% 22%, rgba(251, 191, 36, 0.24), transparent 34%),
    linear-gradient(135deg, var(--slate-950), var(--orange-800) 54%, var(--rose-900));
}

.inner-hero h1 {
  margin: 18px 0 12px;
  max-width: 820px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.inner-hero p {
  max-width: 780px;
  margin: 0;
  color: #fffbeb;
  font-size: 1.15rem;
  line-height: 1.8;
}

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

.category-panel {
  min-height: 260px;
}

.category-panel div {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: white;
}

.category-panel h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.category-panel p {
  margin: 0;
  color: var(--amber-100);
  line-height: 1.6;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-card);
}

.dark-filter {
  background: rgba(255, 255, 255, 0.1);
}

.filter-bar input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  outline: none;
  padding: 0 20px;
  color: var(--slate-800);
  font-size: 1rem;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.filter-bar input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.16);
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--slate-600);
  background: white;
  box-shadow: var(--shadow-card);
}

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

.detail-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: white;
  background: var(--slate-950);
}

.detail-bg,
.detail-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(12px) scale(1.08);
  opacity: 0.5;
}

.detail-mask {
  background:
    radial-gradient(circle at 72% 28%, rgba(251, 191, 36, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.78) 55%, rgba(136, 19, 55, 0.52));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 650px;
  padding-top: 120px;
  display: grid;
  grid-template-columns: minmax(230px, 340px) 1fr;
  align-items: center;
  gap: 52px;
}

.detail-poster {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--amber-100);
  font-weight: 800;
}

.breadcrumb a:hover {
  color: white;
}

.detail-info h1 {
  margin: 20px 0;
  max-width: 780px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.detail-info p {
  margin: 0 0 20px;
  max-width: 780px;
  color: #fff7ed;
  font-size: 1.18rem;
  line-height: 1.8;
}

.detail-info .primary-btn {
  margin-top: 30px;
}

.player-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: stretch;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: black;
  min-height: 480px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.video-player {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 0;
  color: white;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7c2d12;
  background: linear-gradient(135deg, var(--amber-200), white);
  box-shadow: 0 0 45px rgba(252, 211, 77, 0.45);
  font-size: 2.1rem;
}

.player-overlay strong {
  font-size: 1.25rem;
}

.play-meta {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-meta h2 {
  margin: 0 0 12px;
  color: var(--amber-300);
}

.play-meta h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.play-meta p {
  color: var(--slate-200);
  line-height: 1.75;
}

.play-meta dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.play-meta dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.play-meta dt {
  color: var(--amber-200);
  font-weight: 900;
}

.play-meta dd {
  margin: 0;
  text-align: right;
  color: white;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.content-card,
.content-side,
.prose-section {
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-card);
}

.content-card,
.prose-section {
  padding: 34px;
}

.content-card h2,
.content-side h2,
.prose-section h2 {
  margin: 0 0 16px;
  color: var(--slate-800);
  font-size: 1.6rem;
}

.content-card p,
.prose-section p {
  margin: 0 0 28px;
  color: var(--slate-600);
  line-height: 1.9;
  font-size: 1.04rem;
}

.content-card p:last-child,
.prose-section p:last-child {
  margin-bottom: 0;
}

.content-side {
  padding: 28px;
  height: fit-content;
}

.content-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-side li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}

.content-side li:last-child {
  border-bottom: 0;
}

.content-side strong {
  color: var(--slate-700);
}

.content-side span,
.content-side a {
  text-align: right;
  color: var(--teal-500);
  font-weight: 800;
}

.site-footer {
  padding: 64px max(16px, calc((100% - 1180px) / 2)) 28px;
  color: #cbd5e1;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

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

.site-footer h2,
.site-footer h3 {
  margin: 0 0 18px;
  color: var(--amber-300);
}

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--amber-300);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #94a3b8;
}

@media (max-width: 1100px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .player-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav-toggle {
    display: block;
  }

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

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

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 4.5rem);
  }

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

  .hero-dots {
    justify-content: center;
  }

  .section-head,
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .rank-grid,
  .category-panels,
  .detail-wrap {
    grid-template-columns: 1fr;
  }

  .detail-wrap {
    padding-top: 108px;
    gap: 28px;
  }

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

@media (max-width: 680px) {
  .site-nav {
    min-height: 66px;
  }

  .brand-text {
    font-size: 1.32rem;
  }

  .feature-strip,
  .movie-grid,
  .poster-row,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    display: block;
  }

  .wide-cover {
    min-height: 190px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .inner-hero {
    padding-top: 130px;
    padding-bottom: 58px;
  }

  .player-box,
  .video-player {
    min-height: 260px;
  }

  .content-card,
  .content-side,
  .prose-section {
    padding: 24px;
  }
}
