:root {
  color-scheme: light;
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --red: #dc2626;
  --yellow: #f59e0b;
  --blue: #2563eb;
  --green: #16a34a;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--orange) 0%, var(--red) 100%);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.22);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 68px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  min-width: max-content;
}

.brand:hover {
  opacity: 0.92;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 21px;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.88;
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.search-controls input,
.filter-panel select,
.search-controls select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: #fff;
}

.nav-search input {
  color: #fff;
  background: transparent;
  padding: 10px 14px;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.nav-search button {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  padding: 10px 14px;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 12px 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
}

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

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

.mobile-link:hover,
.mobile-link.is-active {
  background: rgba(255, 255, 255, 0.16);
}

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

.mobile-search input {
  padding: 12px 14px;
  border-radius: 999px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--orange);
  background: #fff;
  font-weight: 800;
}

.hero-slider {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s 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-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 22px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red));
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
}

.hero-content h1 {
  margin: 18px 0 14px;
  max-width: 720px;
  color: #fff;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.75;
}

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

.btn-primary,
.btn-ghost,
.section-link,
.filter-panel button,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red));
  padding: 13px 26px;
  box-shadow: 0 16px 35px rgba(234, 88, 12, 0.32);
}

.btn-primary:hover,
.btn-ghost:hover,
.section-link:hover,
.filter-panel button:hover,
.hero-search button:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #fff;
}

.stats-strip {
  max-width: var(--max);
  margin: -36px auto 0;
  padding: 0 22px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats-strip div {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.stats-strip strong {
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
}

.stats-strip span {
  color: var(--muted);
  font-weight: 700;
}

.content-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 22px;
}

.home-section,
.page-section {
  margin-bottom: 62px;
}

.soft-section {
  border-radius: 26px;
  padding: 30px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef2f2 100%);
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.16);
}

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

.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
}

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

.section-link {
  color: var(--orange);
  background: #fff;
  padding: 10px 16px;
  box-shadow: var(--shadow-soft);
}

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

.category-tile,
.category-overview-card {
  min-height: 176px;
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:nth-child(4n + 2),
.category-overview-card:nth-child(4n + 2) {
  background: linear-gradient(135deg, var(--blue), #0ea5e9);
}

.category-tile:nth-child(4n + 3),
.category-overview-card:nth-child(4n + 3) {
  background: linear-gradient(135deg, var(--green), #22c55e);
}

.category-tile:nth-child(4n + 4),
.category-overview-card:nth-child(4n + 4) {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.category-tile:hover,
.category-overview-card:hover,
.movie-card:hover,
.ranking-row:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.tile-icon,
.category-overview-card span {
  font-size: 38px;
  line-height: 1;
}

.category-tile strong,
.category-overview-card strong {
  display: block;
  margin-top: 18px;
  font-size: 21px;
}

.category-tile em,
.category-overview-card em {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.5;
}

.category-tile small,
.category-overview-card small {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

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

.compact-grid,
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card a,
.movie-card-body,
.compact-copy,
.ranking-copy {
  display: flex;
  flex-direction: column;
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #374151);
}

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

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

.poster-wide {
  width: 132px;
  min-width: 132px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.poster-rank {
  width: 94px;
  min-width: 94px;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
}

.poster-chip,
.poster-year {
  position: absolute;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.poster-chip {
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  background: rgba(234, 88, 12, 0.92);
}

.poster-year {
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.62);
}

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

.movie-card-body strong,
.compact-copy strong,
.ranking-copy strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body small,
.compact-copy em,
.ranking-copy small {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.movie-card-body em,
.compact-copy small {
  color: #4b5563;
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
}

.tag-line span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.movie-card-compact {
  box-shadow: none;
  border: 1px solid var(--line);
}

.movie-card-compact a {
  flex-direction: row;
  gap: 14px;
  padding: 12px;
  align-items: center;
}

.compact-copy {
  gap: 5px;
  min-width: 0;
}

.rank-section {
  border-radius: 26px;
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.ranking-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ranking-row {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ranking-row a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.rank-number {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  font-size: 20px;
  font-weight: 900;
}

.ranking-copy {
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.view-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--orange);
  background: #fff7ed;
  padding: 7px 11px;
  font-weight: 900;
  white-space: nowrap;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  color: #fff;
  background: linear-gradient(135deg, #111827 0%, #7c2d12 45%, var(--red) 100%);
  padding: 74px 22px;
  text-align: center;
}

.page-hero h1 {
  margin: 18px auto 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.hero-mini-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-mini-stats span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.filter-panel,
.search-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.filter-panel label,
.search-controls label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.filter-panel input,
.filter-panel select,
.search-controls input,
.search-controls select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-controls input:focus,
.search-controls select:focus,
.hero-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.filter-panel button,
.hero-search button {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red));
  padding: 12px 18px;
}

.filter-empty,
.search-summary {
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--muted);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.search-hero {
  padding-bottom: 88px;
}

.hero-search {
  max-width: 680px;
  margin: 28px auto 0;
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-search input {
  border-radius: 999px;
  padding: 14px 18px;
}

.hero-search button {
  min-width: 110px;
}

.detail-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 64px;
}

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

.breadcrumb a {
  color: var(--orange);
  font-weight: 800;
}

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

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

.detail-main-card,
.related-panel {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.player-stage {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}

.player-stage video {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.64));
}

.play-circle {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.95);
  font-size: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  padding-left: 4px;
}

.player-cover strong {
  font-size: 20px;
}

.player-loading,
.player-error {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.player-loading span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.34);
  border-top-color: var(--orange);
  animation: spin 0.9s linear infinite;
}

.player-error {
  z-index: 5;
  color: #fff;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.78);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.detail-info {
  padding: 26px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.detail-title-row .eyebrow {
  color: #fff;
}

.detail-info h1 {
  margin: 18px 0 12px;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.detail-view {
  margin-top: 6px;
}

.lead-text {
  color: #374151;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.detail-tags span:first-child {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red));
}

.text-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.text-block h2,
.related-panel h2,
.text-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.text-block p,
.text-card p,
.faq-list p {
  margin: 0;
  color: #374151;
  line-height: 1.9;
}

.review-block {
  border-top: 0;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

.related-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.text-card,
.faq-list details {
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

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

.stats-card div {
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  background: #f9fafb;
}

.stats-card strong {
  display: block;
  color: var(--orange);
  font-size: 38px;
}

.stats-card span {
  color: var(--muted);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin-top: 12px;
}

.not-found-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 22px;
  text-align: center;
}

.not-found-page strong {
  color: var(--orange);
  font-size: clamp(82px, 15vw, 160px);
  line-height: 0.9;
}

.not-found-page h1 {
  margin: 12px 0;
  font-size: 36px;
}

.not-found-page p {
  margin: 0 0 26px;
  color: var(--muted);
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
  padding: 48px 22px 24px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

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

.site-footer a {
  color: #d1d5db;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #9ca3af;
}

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

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .stats-strip,
  .category-grid,
  .overview-grid,
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .related-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    padding: 0 16px;
  }

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

  .brand-copy small {
    display: none;
  }

  .hero-slider {
    min-height: 560px;
  }

  .hero-content {
    padding: 74px 18px 94px;
  }

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

  .stats-strip,
  .category-grid,
  .overview-grid,
  .movie-grid,
  .compact-grid,
  .ranking-grid,
  .featured-grid,
  .filter-panel,
  .search-controls,
  .stats-card {
    grid-template-columns: 1fr;
  }

  .section-title,
  .detail-title-row,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .soft-section,
  .rank-section {
    padding: 20px;
  }

  .movie-card-compact a,
  .ranking-row a {
    align-items: flex-start;
  }

  .poster-wide {
    width: 110px;
    min-width: 110px;
  }

  .view-badge {
    display: none;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 20px;
  }

  .hero-search input,
  .hero-search button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .poster-wide,
  .poster-rank {
    width: 88px;
    min-width: 88px;
  }

  .rank-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 16px;
  }
}
