:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --orange-50: #fff7ed;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-400: #f87171;
  --pink-400: #f472b6;
  --blue-400: #60a5fa;
  --indigo-400: #818cf8;
  --purple-400: #c084fc;
  --green-400: #4ade80;
  --teal-400: #2dd4bf;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(120, 53, 15, 0.12);
  --soft-shadow: 0 10px 28px rgba(120, 53, 15, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 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", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--amber-50), var(--orange-50) 48%, var(--amber-50));
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 235, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(146, 64, 14, 0.12);
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.site-nav {
  width: min(100% - 32px, var(--container));
  height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-400));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark,
.footer-logo:hover .brand-mark {
  transform: rotate(12deg);
}

.brand-mark span {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--white);
  margin-left: 3px;
}

.brand-text,
.footer-logo strong {
  font-size: 21px;
  line-height: 1;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link {
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.25s ease;
}

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

.nav-search {
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(217, 119, 6, 0.15);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(120, 53, 15, 0.08);
}

.nav-search input,
.mobile-search input,
.search-panel input,
.filter-bar input,
.search-panel select {
  border: 0;
  outline: 0;
  background: var(--white);
  color: var(--gray-800);
}

.nav-search input {
  width: 210px;
  padding: 11px 14px;
}

.nav-search button,
.mobile-search button {
  border: 0;
  color: var(--white);
  padding: 11px 16px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  font-weight: 700;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 2px;
  background: var(--gray-800);
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(217, 119, 6, 0.12);
}

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

.mobile-panel a {
  display: block;
  padding: 11px 4px;
  color: var(--gray-700);
  font-weight: 700;
}

.mobile-search {
  display: flex;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--white);
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--gray-900);
}

.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.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54) 46%, rgba(0, 0, 0, 0.05));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  max-width: 690px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-400);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.hero h1,
.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2.3vw, 23px);
  line-height: 1.7;
}

.hero-meta,
.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-meta span,
.detail-meta span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.90);
  color: var(--white);
  font-weight: 700;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.1);
  box-shadow: 0 20px 36px rgba(249, 115, 22, 0.34);
}

.primary-btn.full {
  width: 100%;
}

.ghost-btn {
  color: var(--amber-700, #b45309);
  background: var(--amber-50);
  box-shadow: none;
  border: 1px solid rgba(217, 119, 6, 0.18);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

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

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

.quick-cats {
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
}

.quick-cats-inner {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
}

.quick-cats strong {
  flex: 0 0 auto;
  color: var(--gray-800);
}

.quick-cats div div,
.category-chip-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-cats a,
.category-chip-grid a {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid rgba(217, 119, 6, 0.14);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(120, 53, 15, 0.06);
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.quick-cats a:hover,
.category-chip-grid a:hover {
  color: var(--amber-600);
  background: var(--amber-50);
  transform: translateY(-2px);
}

.page-stack {
  padding: 64px 0;
}

.page-stack > section + section {
  margin-top: 64px;
}

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

.title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-row h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(25px, 4vw, 36px);
  color: var(--gray-800);
}

.section-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  display: inline-flex;
  box-shadow: var(--soft-shadow);
}

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

.icon-red {
  background: linear-gradient(135deg, var(--red-400), var(--pink-400));
}

.icon-blue {
  background: linear-gradient(135deg, var(--blue-400), var(--indigo-400));
}

.icon-purple {
  background: linear-gradient(135deg, var(--purple-400), var(--pink-400));
}

.icon-green {
  background: linear-gradient(135deg, var(--green-400), var(--teal-400));
}

.icon-pink {
  background: linear-gradient(135deg, var(--pink-400), var(--orange-400));
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber-600);
  font-weight: 800;
}

.section-more span {
  font-size: 24px;
  line-height: 1;
}

.movie-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
}

.rail-item {
  width: 330px;
  min-width: 330px;
  scroll-snap-align: start;
}

.card-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

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

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

.movie-card:hover img,
.compact-card:hover img,
.list-row:hover img,
.rank-link:hover img {
  transform: scale(1.08);
}

.year-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

.movie-body {
  display: block;
  padding: 16px;
}

.movie-body strong {
  display: block;
  min-height: 2.8em;
  color: var(--gray-800);
  font-size: 17px;
  line-height: 1.4;
  transition: color 0.25s ease;
}

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

.movie-desc {
  display: -webkit-box;
  margin: 9px 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  min-height: 3.2em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.movie-meta em,
.movie-meta small {
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
}

.movie-meta em {
  color: var(--amber-600);
  background: var(--amber-50);
  font-weight: 800;
}

.movie-meta small {
  color: var(--gray-500);
  background: var(--gray-100);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel-card,
.category-box,
.content-card,
.side-card,
.page-hero,
.ranking-list,
.player-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--soft-shadow);
}

.panel-card {
  padding: 28px;
}

.panel-warm {
  background: linear-gradient(135deg, var(--white), #fff1f2);
}

.rank-mini {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rank-mini li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-200);
}

.rank-mini li:last-child {
  border-bottom: 0;
}

.rank-mini span,
.rank-num {
  font-weight: 900;
  color: var(--orange-500);
}

.rank-mini a {
  color: var(--gray-800);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-mini a:hover {
  color: var(--amber-600);
}

.rank-mini em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

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

.list-row {
  display: flex;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(120, 53, 15, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.list-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.list-row img {
  width: 132px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.list-row span {
  min-width: 0;
}

.list-row strong,
.compact-card strong {
  display: block;
  color: var(--gray-800);
  font-weight: 850;
}

.list-row small,
.compact-card small {
  display: block;
  margin: 7px 0;
  color: var(--gray-500);
}

.list-row em {
  display: block;
  color: var(--gray-600);
  font-style: normal;
  line-height: 1.5;
}

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

.compact-card {
  display: block;
}

.compact-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.compact-card span {
  display: block;
  margin-top: 10px;
}

.compact-card:hover strong {
  color: var(--amber-600);
}

.inner-page {
  padding: 48px 0 70px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--gray-500);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--amber-600);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 44px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--white), var(--amber-50));
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.32), transparent 65%);
}

.page-hero h1 {
  position: relative;
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  z-index: 1;
}

.page-hero p {
  position: relative;
  margin: 0;
  max-width: 760px;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.8;
  z-index: 1;
}

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

.category-box {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
}

.category-box h2 {
  margin: 14px 0 10px;
  color: var(--gray-800);
}

.category-box p {
  color: var(--gray-600);
  line-height: 1.7;
}

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

.category-preview .compact-card small,
.category-preview .compact-card strong {
  display: none;
}

.filter-bar {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.filter-bar input {
  width: min(100%, 520px);
  padding: 16px 18px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.18);
  box-shadow: 0 10px 20px rgba(120, 53, 15, 0.06);
}

.category-grid {
  align-items: start;
}

.search-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.search-panel input,
.search-panel select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(217, 119, 6, 0.16);
  box-shadow: 0 8px 18px rgba(120, 53, 15, 0.05);
}

.search-result-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 24px;
}

.search-result-head h2 {
  margin: 0;
  font-size: 28px;
}

.search-result-head span {
  color: var(--gray-500);
  font-weight: 800;
}

.ranking-list {
  list-style: none;
  padding: 16px;
  margin: 0;
}

.ranking-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

.ranking-row:last-child {
  border-bottom: 0;
}

.rank-num {
  font-size: 22px;
  text-align: center;
}

.rank-link {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 14px 0;
}

.rank-link img {
  width: 130px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.35s ease;
}

.rank-link span {
  min-width: 0;
}

.rank-link strong {
  display: block;
  color: var(--gray-800);
  font-size: 18px;
  margin-bottom: 6px;
}

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

.rank-link small,
.rank-link em {
  display: block;
  color: var(--gray-500);
  font-style: normal;
  line-height: 1.5;
}

.detail-page {
  padding: 32px 0 70px;
}

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

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

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

.main-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.70));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding-left: 4px;
  border-radius: 50%;
  font-size: 32px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.player-overlay strong {
  max-width: 80%;
  font-size: 22px;
  text-align: center;
}

.content-card {
  margin-top: 24px;
  padding: 28px;
}

.content-card h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.15;
}

.content-card h2,
.side-card h2 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.content-card p {
  color: var(--gray-700);
  line-height: 1.9;
  font-size: 16px;
}

.lead-text {
  color: var(--gray-800) !important;
  font-size: 18px !important;
  font-weight: 700;
}

.detail-meta {
  margin-bottom: 18px;
}

.detail-meta span {
  background: var(--amber-50);
  color: var(--amber-600);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-list span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-weight: 700;
}

.detail-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 92px;
}

.side-card {
  padding: 20px;
}

.poster-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
}

.side-card h2 {
  margin-top: 0;
}

.side-related {
  display: grid;
  gap: 14px;
}

.side-related .compact-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
}

.side-related .compact-card img {
  border-radius: 12px;
}

.related-section {
  margin-top: 52px;
}

.site-footer {
  border-top: 1px solid rgba(217, 119, 6, 0.15);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.95), rgba(255, 247, 237, 0.95));
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
}

.footer-brand p,
.site-footer a,
.site-footer li {
  color: var(--gray-600);
  line-height: 1.8;
}

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

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

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

.footer-bottom {
  text-align: center;
  color: var(--gray-500);
  padding: 18px 0 24px;
  border-top: 1px solid rgba(217, 119, 6, 0.12);
}

.is-hidden-by-filter {
  display: none !important;
}

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

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

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

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

  .detail-side {
    position: static;
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav {
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 560px;
    height: 76vh;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.84));
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 86px;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 32px;
  }

  .quick-cats-inner,
  .section-head,
  .split-layout,
  .footer-inner,
  .detail-side,
  .search-panel,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .quick-cats-inner,
  .section-head {
    display: block;
  }

  .section-more {
    margin-top: 12px;
  }

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

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

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

  .page-hero {
    padding: 30px 22px;
  }
}

@media (max-width: 560px) {
  .container,
  .site-nav,
  .footer-inner {
    width: min(100% - 24px, var(--container));
  }

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

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

  .hero-copy {
    width: min(100% - 28px, var(--container));
  }

  .hero-meta span {
    padding: 7px 11px;
  }

  .page-stack {
    padding: 44px 0;
  }

  .page-stack > section + section {
    margin-top: 44px;
  }

  .rail-item {
    width: 285px;
    min-width: 285px;
  }

  .four-col,
  .three-col,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-small .poster-wrap,
  .poster-wrap {
    aspect-ratio: 16 / 10;
  }

  .list-row,
  .rank-link {
    align-items: flex-start;
  }

  .list-row img,
  .rank-link img {
    width: 96px;
    height: 72px;
  }

  .ranking-row {
    grid-template-columns: 48px 1fr;
  }

  .content-card,
  .panel-card,
  .category-box {
    padding: 20px;
  }

  .player-overlay strong {
    font-size: 18px;
  }
}
