:root {
  --red-950: #3d0707;
  --red-900: #5f0f12;
  --red-800: #7f1d1d;
  --red-700: #991b1b;
  --red-600: #dc2626;
  --amber-950: #451a03;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-300: #fcd34d;
  --amber-200: #fde68a;
  --amber-100: #fef3c7;
  --paper: #fff7ed;
  --paper-soft: #fffbeb;
  --ink: #1f2937;
  --muted: #6b7280;
  --border: rgba(217, 119, 6, 0.22);
  --shadow: 0 18px 45px rgba(127, 29, 29, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper-soft), #fff7ed 45%, #fff);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 5%, rgba(245, 158, 11, 0.18), transparent 32rem),
    radial-gradient(circle at 90% 0%, rgba(220, 38, 38, 0.14), transparent 30rem);
  z-index: -1;
}

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

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

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(255, 251, 235, 0.96), rgba(254, 242, 242, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 2px solid rgba(180, 83, 9, 0.35);
  box-shadow: 0 10px 30px rgba(127, 29, 29, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red-800);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--amber-700);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  color: var(--red-800);
  font-weight: 650;
  padding: 8px 0;
  transition: color 0.2s ease;
}

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

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

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

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 20px rgba(127, 29, 29, 0.10);
}

.mobile-menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--red-800);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-slider {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-950), var(--red-900) 46%, var(--amber-900));
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 58px 58px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.12;
  }

  50% {
    opacity: 0.22;
  }
}

.hero-track {
  position: relative;
  min-height: 590px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: 48px;
  padding: 92px max(32px, calc((100vw - 1180px) / 2)) 88px;
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.hero-image-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(61, 7, 7, 0.94), rgba(61, 7, 7, 0.66) 42%, rgba(120, 53, 15, 0.48)),
    var(--hero-image) center / cover no-repeat;
  filter: saturate(1.05);
}

.hero-image-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 44%, rgba(252, 211, 77, 0.24), transparent 26rem);
}

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

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--amber-300);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 18px 0 18px;
  color: white;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.hero-content p {
  max-width: 760px;
  margin: 0 0 24px;
  color: #ffedd5;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.85;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(253, 230, 138, 0.32);
  backdrop-filter: blur(8px);
}

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

.primary-button,
.ghost-button,
.section-link,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 14px 26px rgba(220, 38, 38, 0.28);
}

.ghost-button {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(253, 230, 138, 0.35);
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover,
.hero-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(127, 29, 29, 0.24);
}

.hero-poster {
  justify-self: end;
  width: min(100%, 360px);
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: rotate(0) translateY(-6px);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.hero-bottom {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: -58px;
  padding-bottom: 40px;
}

.hero-search-card {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 251, 235, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.hero-search input,
.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(180, 83, 9, 0.28);
  background: white;
  color: var(--ink);
  outline: none;
  padding: 0 16px;
}

.hero-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.hero-search button {
  color: white;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-quick-links a,
.pill-link,
.detail-tag-links a,
.text-link {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--red-800);
  background: var(--amber-100);
  border: 1px solid rgba(180, 83, 9, 0.18);
  font-weight: 650;
}

.hero-picks {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px;
}

.hero-pick {
  display: grid;
  grid-template-columns: 48px 120px;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 66px;
  padding: 9px;
  border-radius: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(253, 230, 138, 0.25);
  backdrop-filter: blur(12px);
  opacity: 0.72;
}

.hero-pick.is-active,
.hero-pick:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.hero-pick img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-pick span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
}

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

.section {
  padding: 76px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.58), rgba(255, 247, 237, 0.3));
}

.no-padding-top {
  padding-top: 0;
}

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

.section-heading h2,
.page-hero h1,
.detail-intro h1 {
  margin: 8px 0 10px;
  color: var(--red-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p,
.detail-intro p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-link {
  color: white;
  background: var(--red-800);
  white-space: nowrap;
}

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

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

.category-card {
  display: block;
  min-height: 236px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(127, 29, 29, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.category-covers img {
  height: 116px;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.category-card h2,
.category-card h3 {
  margin: 0 0 8px;
  color: var(--red-900);
}

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

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

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

.movie-card {
  position: relative;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(180, 83, 9, 0.18);
  box-shadow: 0 14px 28px rgba(127, 29, 29, 0.08);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(217, 119, 6, 0.42);
  box-shadow: var(--shadow);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--amber-100);
}

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

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

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

.year-badge,
.rank-badge,
.play-badge {
  position: absolute;
  display: inline-grid;
  place-items: center;
  color: white;
  font-weight: 800;
  border-radius: 999px;
  z-index: 2;
}

.year-badge {
  top: 12px;
  left: 12px;
  min-width: 58px;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(127, 29, 29, 0.84);
  backdrop-filter: blur(8px);
}

.rank-badge {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--amber-500), var(--red-600));
  box-shadow: 0 10px 18px rgba(220, 38, 38, 0.28);
}

.play-badge {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  background: rgba(220, 38, 38, 0.92);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

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

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 8px;
}

.movie-card h3 {
  margin: 0 0 8px;
  color: var(--red-900);
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--amber-700);
}

.movie-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--red-800);
  background: var(--amber-100);
  font-size: 12px;
  font-weight: 650;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 48px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(180, 83, 9, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 24px rgba(127, 29, 29, 0.12);
}

.ranking-number {
  color: var(--red-700);
  font-weight: 900;
  font-size: 18px;
}

.ranking-row img {
  width: 58px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-title {
  color: var(--red-900);
  font-weight: 800;
}

.ranking-meta {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.feature-panel {
  position: sticky;
  top: 104px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(135deg, var(--red-900), var(--amber-900));
  box-shadow: var(--shadow);
}

.feature-panel h2 {
  margin: 10px 0;
  font-size: 30px;
}

.feature-panel p {
  color: #ffedd5;
  line-height: 1.75;
}

.page-main {
  padding: 34px 0 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--amber-800);
  font-size: 14px;
  margin: 12px 0 22px;
}

.breadcrumb a:hover {
  color: var(--red-800);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 30px;
  background:
    radial-gradient(circle at 82% 20%, rgba(252, 211, 77, 0.28), transparent 24rem),
    linear-gradient(135deg, rgba(95, 15, 18, 0.95), rgba(120, 53, 15, 0.92));
  color: white;
  box-shadow: var(--shadow);
}

.page-hero h1,
.page-hero p {
  color: white;
}

.page-hero p {
  color: #ffedd5;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(127, 29, 29, 0.08);
}

.filter-title {
  margin-bottom: 12px;
  color: var(--red-900);
  font-weight: 800;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 12px;
}

.filter-empty {
  display: none;
  margin-top: 16px;
  color: var(--red-700);
  font-weight: 700;
}

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

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(254, 243, 199, 0.62));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.detail-poster {
  border-radius: 28px;
  padding: 10px;
  background: white;
  box-shadow: 0 18px 38px rgba(127, 29, 29, 0.16);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.detail-meta span {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--red-800);
  background: var(--amber-100);
  font-weight: 750;
}

.detail-intro .detail-tags span {
  color: var(--red-800);
  background: white;
  border-color: var(--border);
}

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

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #050505;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

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

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

.player-cover-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-600), var(--amber-600));
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.35);
  font-size: 28px;
}

.player-cover strong {
  font-size: clamp(22px, 3vw, 34px);
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  display: none;
  color: white;
  background: rgba(127, 29, 29, 0.88);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}

.player-message.is-visible {
  display: block;
}

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

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

.detail-sidebar {
  position: sticky;
  top: 104px;
}

.content-card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(127, 29, 29, 0.08);
}

.content-card h2 {
  margin: 0 0 14px;
  color: var(--red-900);
  font-size: 23px;
}

.content-card p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

.info-card dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.info-card div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(180, 83, 9, 0.16);
  padding-bottom: 10px;
}

.info-card dt {
  color: var(--muted);
}

.info-card dd {
  margin: 0;
  color: var(--red-900);
  font-weight: 750;
}

.detail-tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-section {
  padding-bottom: 0;
}

.site-footer {
  color: #ffedd5;
  background: linear-gradient(90deg, var(--red-950), var(--amber-900), var(--red-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr;
  gap: 30px;
  padding: 44px 0;
}

.footer-brand {
  color: white;
  font-size: 22px;
  font-weight: 850;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--amber-200);
  line-height: 1.75;
}

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

.site-footer a:not(.footer-brand) {
  display: block;
  color: var(--amber-200);
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 230, 138, 0.18);
  padding: 18px 0;
  text-align: center;
  color: var(--amber-300);
  font-size: 14px;
}

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}

@media (max-width: 900px) {
  .mobile-menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 251, 235, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-slider {
    min-height: auto;
  }

  .hero-track {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding-top: 72px;
    text-align: left;
  }

  .hero-poster {
    justify-self: start;
    width: min(260px, 70vw);
  }

  .hero-bottom,
  .split-section,
  .detail-layout,
  .footer-grid,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    margin-top: 0;
  }

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

  .filter-controls {
    grid-template-columns: 1fr;
  }

  .detail-sidebar,
  .feature-panel {
    position: static;
  }
}

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

  .header-inner {
    height: 70px;
  }

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

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

  .hero-track {
    min-height: 720px;
  }

  .hero-slide {
    padding: 48px 18px 28px;
  }

  .hero-actions,
  .hero-search,
  .section-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    width: calc(100% - 22px);
    padding-bottom: 24px;
  }

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

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

  .movie-card h3 {
    font-size: 15px;
  }

  .movie-card p {
    -webkit-line-clamp: 2;
  }

  .category-covers img {
    height: 86px;
  }

  .page-hero,
  .detail-hero,
  .content-card {
    padding: 22px;
  }

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

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