:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --red-500: #ef4444;
  --green-500: #22c55e;
  --purple-500: #8b5cf6;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 25px 50px rgba(15, 23, 42, 0.18);
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--amber-50), var(--white) 38%, var(--slate-50));
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
  border-bottom: 1px solid rgba(217, 119, 6, 0.22);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.32);
}

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

.brand-text strong {
  color: #78350f;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.brand-text small {
  color: #b45309;
  font-size: 12px;
  margin-top: 4px;
}

.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.header-search input,
.mobile-search input,
.search-panel input,
.filter-bar input {
  border: 0;
  outline: 0;
  min-width: 0;
  width: 100%;
  color: var(--slate-700);
  background: transparent;
}

.header-search input {
  padding: 11px 16px;
}

.header-search button,
.mobile-search button,
.search-panel button {
  border: 0;
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-link {
  color: #78350f;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--amber-600);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 10px;
  background: #78350f;
}

.mobile-panel {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid rgba(217, 119, 6, 0.2);
  background: rgba(255, 251, 235, 0.98);
}

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

.mobile-search {
  display: flex;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 999px;
  background: var(--white);
}

.mobile-search input {
  padding: 11px 14px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  color: #78350f;
  font-weight: 700;
  border-radius: 12px;
}

.mobile-link:hover {
  background: var(--amber-100);
}

.hero-shell {
  width: 100%;
  padding: 32px 24px 48px;
}

.hero-carousel {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--slate-900);
  box-shadow: var(--shadow-xl);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.62) 42%, rgba(15, 23, 42, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 42%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 7vw, 88px);
  bottom: clamp(32px, 7vw, 86px);
  max-width: 650px;
  color: var(--white);
}

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

.hero-tags span,
.hero-mini-tags span,
.tag-cloud span {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span:first-child {
  background: var(--amber-500);
}

.hero-tags span:not(:first-child),
.hero-mini-tags span {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 600px;
  margin: 0 0 18px;
  color: var(--slate-200);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
}

.hero-actions,
.center-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

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

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn.text {
  color: var(--amber-300);
  padding-left: 4px;
}

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.88);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.hero-arrow:hover {
  background: var(--white);
}

.hero-arrow.left {
  left: 24px;
}

.hero-arrow.right {
  right: 24px;
}

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

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

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

.intro-strip,
.content-section,
.page-shell,
.detail-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.intro-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.intro-strip h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
}

.intro-strip p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.75;
}

.intro-strip a {
  color: var(--white);
  background: var(--slate-900);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.content-section {
  margin-bottom: 72px;
}

.warm-section {
  margin-bottom: 72px;
  padding: 64px 0;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

.warm-section .content-section {
  margin-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.section-title.orange .section-icon {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.section-title.red .section-icon {
  background: linear-gradient(135deg, var(--red-500), var(--orange-500));
}

.section-title.green .section-icon {
  background: linear-gradient(135deg, var(--green-500), #10b981);
}

.section-title.purple .section-icon {
  background: linear-gradient(135deg, var(--purple-500), #ec4899);
}

.section-title h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.section-title p {
  margin: 4px 0 0;
  color: var(--slate-600);
}

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

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

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate-200);
}

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

.movie-card:hover .poster-wrap img {
  transform: scale(1.09);
}

.poster-cover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}

.movie-card:hover .poster-cover {
  background: rgba(0, 0, 0, 0.3);
}

.play-dot,
.feature-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.92);
  color: var(--white);
  background: var(--amber-500);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-dot {
  width: 58px;
  height: 58px;
  font-size: 22px;
}

.movie-card:hover .play-dot,
.feature-card:hover .feature-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.duration,
.cat-badge {
  position: absolute;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.duration {
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
}

.cat-badge {
  left: 12px;
  bottom: 12px;
  background: var(--amber-500);
}

.card-body {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  padding: 16px;
}

.card-body strong {
  color: var(--slate-900);
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body small {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.55;
  margin: 8px 0 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  margin-top: auto;
  color: var(--slate-500);
  font-size: 13px;
}

.feature-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 21 / 9;
}

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

.feature-card:hover img {
  transform: scale(1.04);
}

.feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16));
}

.feature-play {
  width: 74px;
  height: 74px;
  font-size: 28px;
}

.feature-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: var(--white);
}

.pill-row em,
.pill-row i {
  font-style: normal;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

.pill-row em {
  background: var(--amber-500);
}

.pill-row i {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.feature-content strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.2;
}

.feature-content small {
  display: block;
  max-width: 720px;
  margin-top: 8px;
  color: var(--slate-200);
  line-height: 1.6;
}

.meta-line {
  display: block;
  margin-top: 10px;
  color: var(--slate-300);
  font-size: 13px;
}

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

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

.compact-card {
  position: relative;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  min-height: 104px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.compact-card img {
  width: 128px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.compact-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compact-info strong {
  color: var(--slate-900);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-info small {
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.45;
  margin: 5px 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-info i {
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

.rank-num {
  position: absolute;
  z-index: 3;
  left: 6px;
  top: 6px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-500), var(--amber-500));
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.category-tile,
.category-hero-link {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 190px;
  border-radius: var(--radius-xl);
  background: var(--slate-900);
  box-shadow: var(--shadow-md);
}

.category-tile img,
.category-hero-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-tile:hover img,
.category-hero-link:hover img {
  opacity: 0.72;
  transform: scale(1.06);
}

.category-tile span,
.category-hero-link span {
  position: absolute;
  inset: auto 18px 18px 18px;
  color: var(--white);
}

.category-tile strong,
.category-hero-link strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.category-tile small,
.category-hero-link small {
  color: var(--slate-200);
  line-height: 1.55;
}

.page-shell {
  padding-top: 42px;
  padding-bottom: 40px;
}

.page-heading {
  margin: 0 0 32px;
  padding: 36px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--white), var(--amber-50));
  box-shadow: var(--shadow-md);
}

.page-heading.compact {
  padding: 28px 32px;
}

.page-heading p {
  margin: 0 0 10px;
  color: var(--amber-600);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.05em;
}

.page-heading span {
  display: block;
  max-width: 780px;
  margin-top: 12px;
  color: var(--slate-600);
  line-height: 1.75;
}

.category-panels {
  display: grid;
  gap: 28px;
}

.category-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.filter-bar,
.search-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.filter-bar input,
.search-panel form {
  min-height: 52px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.filter-bar input {
  padding: 0 20px;
}

.filter-bar a {
  color: var(--white);
  background: var(--slate-900);
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 800;
  white-space: nowrap;
}

.search-panel form {
  width: min(720px, 100%);
  display: flex;
  overflow: hidden;
}

.search-panel input {
  padding: 0 20px;
}

.search-panel button {
  padding-left: 28px;
  padding-right: 28px;
}

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

.empty-result {
  display: none;
  padding: 42px;
  border-radius: var(--radius-xl);
  color: var(--slate-600);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

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

.rank-list.full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0 20px;
  color: var(--slate-500);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--amber-600);
  font-weight: 700;
}

.detail-shell {
  padding-top: 12px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: stretch;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl);
  background: #000000;
  box-shadow: var(--shadow-xl);
}

.player-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.player-overlay span {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.32);
  font-size: 34px;
  padding-left: 4px;
}

.detail-info {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.detail-cover {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-200);
}

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

.detail-text {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--amber-600);
  font-size: 13px;
  font-weight: 900;
}

.detail-text h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.lead {
  color: var(--slate-600);
  line-height: 1.75;
  margin: 14px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.info-grid span {
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--slate-50);
  color: var(--slate-700);
  font-size: 13px;
}

.info-grid strong {
  display: block;
  color: var(--slate-400);
  font-size: 12px;
  margin-bottom: 3px;
}

.tag-cloud span {
  color: #92400e;
  background: var(--amber-100);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  margin: 32px 0 62px;
}

.detail-content article,
.detail-content aside {
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.detail-content article {
  padding: 32px;
}

.detail-content article h2,
.detail-content aside h2 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.detail-content article p {
  color: var(--slate-700);
  font-size: 16px;
  line-height: 1.95;
  margin: 0 0 28px;
}

.detail-content aside {
  padding: 26px;
  align-self: start;
}

.detail-content dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.detail-content dt {
  color: var(--slate-400);
  font-weight: 800;
}

.detail-content dd {
  margin: 0;
  color: var(--slate-700);
}

.related-section {
  padding: 0;
}

.site-footer {
  margin-top: 80px;
  color: var(--slate-300);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 32px;
}

.footer-inner h2 {
  margin: 0 0 12px;
  color: var(--amber-400);
}

.footer-inner p {
  margin: 0;
  max-width: 520px;
  line-height: 1.75;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
}

.footer-inner nav a {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-copy {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--slate-400);
  text-align: center;
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .header-search {
    margin-left: auto;
  }

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

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

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

@media (max-width: 820px) {
  .header-inner {
    height: 66px;
    padding: 0 16px;
  }

  .brand-text small,
  .header-search {
    display: none;
  }

  .hero-shell {
    padding: 18px 16px 34px;
  }

  .hero-carousel {
    min-height: 560px;
    aspect-ratio: auto;
  }

  .hero-content {
    left: 22px;
    right: 22px;
    bottom: 70px;
  }

  .hero-arrow {
    display: none;
  }

  .intro-strip,
  .content-section,
  .page-shell,
  .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .intro-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .movie-grid,
  .page-grid,
  .category-grid,
  .rank-list,
  .rank-list.full,
  .compact-grid,
  .compact-grid.two {
    grid-template-columns: 1fr;
  }

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

  .compact-card {
    grid-template-columns: 118px 1fr;
  }

  .compact-card img {
    width: 118px;
  }

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

  .detail-cover {
    max-height: 260px;
  }

  .detail-content article,
  .detail-content aside,
  .page-heading {
    padding: 24px;
  }

  .filter-bar,
  .search-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-bar a {
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 36px 16px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 15px;
  }

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

  .btn {
    width: 100%;
  }

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