:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #162033;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --rose-500: #f43f5e;
  --blue-500: #3b82f6;
  --cyan-500: #06b6d4;
  --emerald-500: #10b981;
  --violet-500: #8b5cf6;
  --radius-xl: 1rem;
  --radius-2xl: 1.4rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.26);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.15rem;
  gap: 1rem;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.16);
}

.logo-mark span {
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.66rem solid var(--white);
}

.header-search {
  position: relative;
  width: min(20rem, 36vw);
}

.header-search input,
.inline-search input,
.filter-input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--slate-900);
  background: var(--white);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.35);
}

.header-search input {
  padding: 0.72rem 1rem 0.72rem 2.55rem;
  color: var(--white);
  background: rgba(51, 65, 85, 0.82);
}

.header-search input::placeholder {
  color: var(--slate-300);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  color: var(--slate-300);
  transform: translateY(-50%);
}

.mobile-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--white);
  border-radius: 99px;
}

.nav-bar {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.74rem 0 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  scrollbar-width: none;
}

.nav-bar::-webkit-scrollbar,
.movie-rail::-webkit-scrollbar {
  display: none;
}

.nav-link {
  flex: 0 0 auto;
  color: var(--slate-300);
  padding: 0.55rem 0.9rem;
  border-radius: 0.72rem;
  font-size: 0.94rem;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-400);
  background: rgba(51, 65, 85, 0.82);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(245, 158, 11, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.64) 48%, rgba(2, 6, 23, 0.08));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--amber-400);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--amber-600);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-summary {
  max-width: 650px;
  margin: 1.4rem 0 0;
  color: var(--slate-200);
  font-size: 1.12rem;
  line-height: 1.85;
}

.hero-tags {
  max-width: 650px;
  margin: 0.85rem 0 0;
  color: var(--slate-300);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn,
.inline-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn {
  padding: 0.88rem 1.6rem;
}

.btn-primary,
.inline-search button {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.32);
}

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

.btn:hover,
.inline-search button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.hero-dot {
  width: 0.62rem;
  height: 0.62rem;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 2.1rem;
  background: var(--amber-500);
}

.section,
.page-main {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 3.6rem 0 0;
}

.section-wide {
  margin-top: -3rem;
}

.intro-panel,
.page-hero,
.content-card,
.filter-panel,
.ranking-box {
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.intro-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 2rem;
  padding: 2rem;
}

.intro-panel h1,
.page-hero h1,
.section-head h2,
.editor-list h2,
.ranking-head h2 {
  margin: 0;
  color: var(--slate-900);
  letter-spacing: -0.03em;
}

.intro-panel h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.intro-panel p,
.page-hero p {
  margin: 0.8rem 0 0;
  color: var(--slate-600);
  line-height: 1.8;
}

.inline-search {
  display: grid;
  grid-template-columns: 1fr auto;
  align-self: center;
  gap: 0.85rem;
}

.inline-search input,
.filter-input {
  padding: 0.95rem 1.2rem;
}

.inline-search button {
  padding: 0.95rem 1.4rem;
}

.section-head,
.ranking-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.section-head.compact {
  margin-bottom: 1rem;
}

.section-head h2,
.editor-list h2,
.ranking-head h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
}

.section-head a,
.ranking-head a,
.breadcrumb a {
  color: var(--amber-600);
  font-weight: 800;
}

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

.movie-grid.dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.11);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.movie-card a {
  display: block;
  height: 100%;
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate-800);
}

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

.movie-card:hover .card-cover img {
  transform: scale(1.08);
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2, 6, 23, 0.78));
}

.card-year,
.card-region,
.rank-badge {
  position: absolute;
  z-index: 2;
  color: var(--white);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.card-year {
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.62rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(10px);
}

.card-region {
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.34rem 0.62rem;
  background: var(--amber-500);
}

.rank-badge {
  left: 0.75rem;
  top: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 2.1rem;
  background: linear-gradient(135deg, var(--rose-500), var(--amber-500));
}

.card-body {
  padding: 1rem;
}

.card-body h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: 1rem;
  line-height: 1.42;
  transition: color 0.25s ease;
}

.movie-card:hover h2 {
  color: var(--amber-600);
}

.card-meta,
.card-desc,
.card-tags {
  margin: 0.45rem 0 0;
  color: var(--slate-500);
  font-size: 0.86rem;
  line-height: 1.55;
}

.card-desc {
  color: var(--slate-600);
}

.card-tags {
  color: var(--amber-600);
  font-weight: 700;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.95;
  transition: opacity 0.25s ease;
}

.category-tile.warm::before {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.category-tile.blue::before {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.category-tile.rose::before {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.category-tile.gold::before {
  background: linear-gradient(135deg, #f59e0b, #eab308);
}

.category-tile.violet::before {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.category-tile.emerald::before {
  background: linear-gradient(135deg, #059669, #22c55e);
}

.category-tile.cyan::before {
  background: linear-gradient(135deg, #0891b2, #14b8a6);
}

.category-tile.slate::before {
  background: linear-gradient(135deg, #0f172a, #475569);
}

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

.category-icon,
.category-tile strong,
.category-tile p,
.category-samples {
  position: relative;
  z-index: 1;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.category-tile strong {
  display: block;
  font-size: 1.3rem;
}

.category-tile p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
}

.category-samples span {
  max-width: 100%;
  overflow: hidden;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.editor-layout,
.split-block {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
}

.editor-feature a {
  position: relative;
  display: block;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

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

.editor-feature:hover img {
  transform: scale(1.05);
}

.editor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.86));
}

.play-round {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  color: var(--white);
  background: var(--amber-500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 50px rgba(245, 158, 11, 0.36);
}

.editor-text {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  color: var(--white);
}

.editor-text em,
.editor-text small {
  display: block;
  color: var(--slate-200);
  font-style: normal;
}

.editor-text strong {
  display: block;
  margin: 0.4rem 0;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.editor-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.side-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.85rem;
  overflow: hidden;
  padding: 0.6rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.side-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}

.side-card img {
  width: 112px;
  height: 74px;
  border-radius: 0.75rem;
  object-fit: cover;
}

.side-card span {
  min-width: 0;
}

.side-card strong,
.side-card em {
  display: block;
}

.side-card strong {
  color: var(--slate-900);
  line-height: 1.35;
}

.side-card em {
  margin-top: 0.45rem;
  color: var(--amber-600);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.ranking-box {
  align-self: start;
  padding: 1.25rem;
  color: var(--white);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-800));
}

.ranking-box .side-card {
  margin-top: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.ranking-box .side-card strong {
  color: var(--white);
}

.ranking-box .side-card em {
  color: var(--amber-400);
}

.ranking-head {
  margin-bottom: 0.4rem;
}

.ranking-head h2,
.ranking-head a {
  color: var(--white);
}

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scrollbar-width: none;
}

.compact-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--white);
  background: var(--slate-800);
  box-shadow: var(--shadow-soft);
}

.compact-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 0.36s ease;
}

.compact-card:hover img {
  transform: scale(1.08);
}

.compact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(2, 6, 23, 0.88));
}

.compact-card span,
.compact-card small {
  position: absolute;
  z-index: 1;
  left: 0.85rem;
  right: 0.85rem;
}

.compact-card span {
  bottom: 2.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.compact-card small {
  bottom: 0.85rem;
  color: var(--amber-400);
}

.page-main {
  padding-top: 2rem;
}

.page-hero {
  padding: clamp(2rem, 6vw, 4.5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 158, 11, 0.26), transparent 28%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.page-hero p {
  max-width: 720px;
  color: var(--slate-200);
}

.category-hero.warm {
  background: linear-gradient(135deg, #7f1d1d, #f97316);
}

.category-hero.blue {
  background: linear-gradient(135deg, #172554, #06b6d4);
}

.category-hero.rose {
  background: linear-gradient(135deg, #831843, #f43f5e);
}

.category-hero.gold {
  background: linear-gradient(135deg, #713f12, #f59e0b);
}

.category-hero.violet {
  background: linear-gradient(135deg, #3b0764, #8b5cf6);
}

.category-hero.emerald {
  background: linear-gradient(135deg, #064e3b, #10b981);
}

.category-hero.cyan {
  background: linear-gradient(135deg, #164e63, #14b8a6);
}

.category-hero.slate {
  background: linear-gradient(135deg, #020617, #475569);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1.2rem;
  color: var(--slate-500);
  font-size: 0.95rem;
}

.breadcrumb strong {
  color: var(--slate-800);
}

.filter-panel {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.filter-input {
  border-radius: 1rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-chip {
  border: 0;
  padding: 0.52rem 0.86rem;
  color: var(--slate-700);
  background: var(--slate-100);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  background: var(--amber-500);
  transform: translateY(-1px);
}

.hidden-card {
  display: none;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.72fr);
  gap: 1.5rem;
  align-items: stretch;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--slate-950);
  box-shadow: var(--shadow-hover);
}

.player-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--slate-950);
  object-fit: cover;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.64));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(4rem, 10vw, 6rem);
  height: clamp(4rem, 10vw, 6rem);
  padding-left: 0.3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  box-shadow: 0 18px 45px rgba(245, 158, 11, 0.35);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
}

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

.detail-info,
.content-card {
  padding: 1.5rem;
}

.detail-info {
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-info h1 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-line {
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.8;
}

.detail-meta,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.detail-meta span,
.tag-cloud span {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.detail-meta span {
  color: var(--white);
  background: var(--slate-800);
}

.tag-cloud {
  margin-top: 1rem;
}

.tag-cloud span {
  color: var(--amber-700, #b45309);
  background: #fef3c7;
}

.content-card h2 {
  margin: 0 0 0.9rem;
  color: var(--slate-900);
}

.content-card h2:not(:first-child) {
  margin-top: 1.8rem;
}

.content-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.92;
}

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

.ranking-grid .movie-card .card-cover {
  aspect-ratio: 16 / 10;
}

.site-footer {
  margin-top: 4rem;
  color: var(--slate-300);
  background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-950));
}

.footer-inner {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1fr;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.25rem;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p,
.site-footer li {
  color: var(--slate-300);
  line-height: 1.8;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a {
  transition: color 0.2s ease;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--slate-400);
  text-align: center;
}

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

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

  .split-block,
  .editor-layout,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .ranking-box {
    order: -1;
  }
}

@media (max-width: 760px) {
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-bar {
    display: none;
    flex-direction: column;
    padding: 0.9rem 0 1.2rem;
  }

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

  .nav-link {
    width: 100%;
  }

  .site-logo {
    font-size: 1.25rem;
  }

  .hero {
    height: 560px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.94));
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 5.4rem;
  }

  .intro-panel,
  .inline-search {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .movie-grid.dense,
  .category-grid,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-main,
  .footer-inner {
    width: min(100% - 1.4rem, 1280px);
  }

  .section {
    padding-top: 2.5rem;
  }

  .section-head,
  .ranking-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .side-card {
    grid-template-columns: 96px 1fr;
  }

  .side-card img {
    width: 96px;
  }

  .editor-feature a,
  .editor-feature img {
    min-height: 360px;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-summary {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

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

  .player-card,
  .detail-info,
  .content-card,
  .page-hero,
  .intro-panel {
    border-radius: 1rem;
  }
}
