:root {
  --sand-50: #fbf7ef;
  --sand-100: #f3eadb;
  --sand-200: #e6d3b8;
  --dune-500: #b77739;
  --dune-600: #955b2c;
  --desert-400: #f0a95a;
  --desert-500: #d88434;
  --desert-600: #b96522;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --shadow-soft: 0 20px 45px rgba(41, 37, 36, 0.12);
  --shadow-card: 0 16px 30px rgba(41, 37, 36, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--stone-800);
  background: linear-gradient(180deg, var(--sand-50), var(--stone-50));
  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%;
}

img.is-empty {
  opacity: 0;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(251, 247, 239, 0.96), rgba(243, 234, 219, 0.96));
  border-bottom: 1px solid rgba(230, 211, 184, 0.9);
  box-shadow: 0 8px 22px rgba(87, 83, 78, 0.08);
  backdrop-filter: blur(18px);
}

.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--desert-500), var(--dune-600));
  box-shadow: 0 10px 22px rgba(216, 132, 52, 0.28);
}

.brand-text {
  font-size: 20px;
  color: var(--stone-800);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.nav-link {
  font-size: 15px;
  font-weight: 650;
  color: var(--stone-700);
  transition: color 0.2s ease;
}

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

.header-search {
  position: relative;
  width: min(280px, 26vw);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-box span {
  position: absolute;
  left: 14px;
  color: var(--stone-500);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 38px;
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--stone-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: var(--desert-500);
  box-shadow: 0 0 0 3px rgba(216, 132, 52, 0.16);
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: min(420px, 92vw);
  max-height: 420px;
  overflow: auto;
  border: 1px solid rgba(230, 211, 184, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
  padding: 8px;
}

.search-results a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
}

.search-results a:hover {
  background: var(--sand-100);
}

.search-results strong {
  display: block;
  font-size: 14px;
  color: var(--stone-800);
}

.search-results span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--stone-500);
}

.mobile-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  background: var(--sand-100);
  color: var(--stone-800);
}

.mobile-panel {
  border-top: 1px solid var(--sand-200);
  background: rgba(251, 247, 239, 0.98);
}

.mobile-panel-inner {
  position: relative;
  padding: 14px 0 18px;
  display: grid;
  gap: 10px;
}

.mobile-link {
  padding: 10px 4px;
  color: var(--stone-700);
  font-weight: 700;
}

.mobile-link.active {
  color: var(--desert-600);
}

.mobile-search-box {
  margin-top: 6px;
}

.home-hero {
  position: relative;
  min-height: 560px;
  height: 72vh;
  overflow: hidden;
  background: var(--stone-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-media,
.detail-backdrop,
.poster-frame,
.compact-cover,
.full-rank-cover,
.detail-poster,
.category-cover-row,
.tile-images {
  background: radial-gradient(circle at 30% 20%, rgba(240, 169, 90, 0.42), transparent 38%), linear-gradient(135deg, #3a2f2b, #1c1917);
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.15)), linear-gradient(0deg, rgba(28, 25, 23, 0.32), transparent 42%);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
  padding-top: 20px;
}

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

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.hero-tags,
.detail-meta,
.detail-tags,
.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.detail-meta span,
.detail-tags span,
.tag-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

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

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

.primary-btn {
  color: #fff;
  background: var(--desert-500);
  box-shadow: 0 14px 24px rgba(216, 132, 52, 0.32);
}

.primary-btn:hover {
  background: var(--desert-600);
  transform: translateY(-2px);
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.hero-dot {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--desert-400);
}

.hero-overlap {
  position: relative;
  z-index: 10;
  margin-top: -72px;
}

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

.compact-card {
  display: flex;
  gap: 14px;
  min-height: 118px;
  padding: 12px;
  border: 1px solid rgba(230, 211, 184, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.compact-cover {
  width: 150px;
  flex: 0 0 150px;
  border-radius: 16px;
  overflow: hidden;
}

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

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

.compact-copy strong {
  color: var(--stone-800);
  font-size: 18px;
  line-height: 1.3;
}

.compact-copy em {
  margin-top: 8px;
  color: var(--stone-500);
  font-style: normal;
  font-size: 13px;
}

.content-section {
  padding: 72px 0;
}

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

.section-heading h2,
.panel-heading h2,
.story-card h2,
.footer-column h2 {
  margin: 0;
  color: var(--stone-800);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--stone-600);
}

.section-link,
.panel-heading a {
  color: var(--desert-600);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(230, 211, 184, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 22px rgba(41, 37, 36, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 132, 52, 0.36);
  box-shadow: var(--shadow-soft);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.65));
  opacity: 0.76;
}

.corner-badge,
.play-chip {
  position: absolute;
  z-index: 3;
}

.corner-badge {
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.play-chip {
  left: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  background: var(--desert-500);
  box-shadow: 0 10px 20px rgba(216, 132, 52, 0.32);
}

.card-copy {
  display: block;
  padding: 16px;
}

.card-meta {
  display: flex;
  gap: 8px;
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 700;
}

.card-copy strong {
  display: -webkit-box;
  margin-top: 9px;
  min-height: 44px;
  overflow: hidden;
  color: var(--stone-800);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.card-copy em {
  display: -webkit-box;
  min-height: 42px;
  margin-top: 8px;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-strip {
  margin-top: 12px;
}

.tag-strip span {
  color: var(--stone-700);
  background: var(--sand-100);
}

.warm-band {
  background: linear-gradient(90deg, rgba(243, 234, 219, 0.86), rgba(251, 247, 239, 0.96));
}

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

.category-tile {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.tile-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 128px;
  overflow: hidden;
}

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

.tile-copy {
  display: block;
  padding: 18px;
}

.tile-copy strong {
  display: block;
  color: var(--stone-800);
  font-size: 20px;
  font-weight: 900;
}

.tile-copy em {
  display: block;
  margin-top: 8px;
  color: var(--stone-600);
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

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

.rank-panel {
  position: sticky;
  top: 86px;
  padding: 22px;
  border-radius: 24px;
  background: var(--stone-800);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.panel-heading h2,
.dark-band .section-heading h2,
.dark-band .section-heading p {
  color: #fff;
}

.rank-list {
  display: grid;
  gap: 8px;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--desert-500), var(--dune-600));
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
}

.rank-meta {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.dark-band {
  background: linear-gradient(180deg, var(--stone-800), var(--stone-900));
}

.dark-band .movie-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.page-hero {
  position: relative;
  padding: 84px 0;
  color: #fff;
  background: radial-gradient(circle at 14% 12%, rgba(240, 169, 90, 0.45), transparent 32%), linear-gradient(135deg, var(--stone-800), var(--stone-900));
  overflow: hidden;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 900;
  letter-spacing: -0.05em;
}

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

.small-hero {
  padding: 68px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--desert-400);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.category-cover-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 220px;
}

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

.category-overview-copy {
  padding: 22px;
}

.category-overview-copy h2 {
  margin: 0;
  color: var(--stone-800);
  font-size: 24px;
  font-weight: 900;
}

.category-overview-copy p {
  margin: 10px 0 16px;
  color: var(--stone-600);
  line-height: 1.7;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--stone-700);
  background: var(--sand-100);
  font-size: 12px;
  font-weight: 700;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(128px, 180px));
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid rgba(230, 211, 184, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(41, 37, 36, 0.06);
}

.filter-search {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-search span {
  position: absolute;
  left: 14px;
  color: var(--stone-500);
}

.filter-search input,
.filter-bar select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  outline: none;
  color: var(--stone-800);
  background: #fff;
}

.filter-search input {
  padding: 0 14px 0 38px;
}

.filter-bar select {
  padding: 0 12px;
}

.filter-empty {
  padding: 22px;
  text-align: center;
  color: var(--stone-600);
  border-radius: 18px;
  background: var(--sand-100);
}

.full-rank-list {
  display: grid;
  gap: 10px;
}

.full-rank-row {
  display: grid;
  grid-template-columns: 56px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(230, 211, 184, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.full-rank-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.full-rank-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--desert-500), var(--dune-600));
  font-weight: 900;
}

.full-rank-cover {
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
}

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

.full-rank-main strong {
  display: block;
  color: var(--stone-800);
  font-size: 18px;
  font-weight: 900;
}

.full-rank-main em {
  display: block;
  margin-top: 6px;
  color: var(--stone-600);
  font-style: normal;
  line-height: 1.5;
}

.full-rank-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.full-rank-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--stone-700);
  background: var(--sand-100);
  font-size: 12px;
  font-weight: 800;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  padding: 70px 0 48px;
  overflow: hidden;
  color: #fff;
  background: var(--stone-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  transform: scale(1.04);
  opacity: 0.48;
}

.detail-backdrop span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.55)), linear-gradient(0deg, rgba(28, 25, 23, 0.88), rgba(28, 25, 23, 0.12));
}

.detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 62px);
}

.detail-meta {
  margin-top: 22px;
}

.detail-meta span,
.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-one-line {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.detail-tags {
  margin-top: 24px;
}

.player-section {
  padding: 64px 0 24px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(216, 132, 52, 0.22), rgba(0, 0, 0, 0.52));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.video-play-button {
  min-width: 180px;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--desert-500);
  box-shadow: 0 14px 28px rgba(216, 132, 52, 0.36);
  font-weight: 900;
  cursor: pointer;
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 42px 0 0;
}

.story-card {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.story-card p {
  margin: 16px 0 0;
  color: var(--stone-600);
  line-height: 1.9;
}

.site-footer {
  padding: 54px 0;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, var(--stone-800), var(--stone-900));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer-brand .brand-text,
.footer-column h2 {
  color: #fff;
}

.footer-main p {
  max-width: 560px;
  line-height: 1.8;
}

.footer-column {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-column h2 {
  margin-bottom: 6px;
  font-size: 18px;
}

.footer-column a:hover {
  color: var(--desert-400);
}

[hidden] {
  display: none !important;
}

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

  .header-search {
    margin-left: auto;
    width: min(320px, 42vw);
  }

  .mobile-toggle {
    display: block;
  }

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

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

  .rank-panel {
    position: static;
  }

  .detail-poster {
    max-width: 360px;
  }

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

@media (max-width: 760px) {
  .site-container {
    width: min(100% - 24px, 1180px);
  }

  .nav-inner {
    gap: 12px;
  }

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

  .header-search {
    display: none;
  }

  .home-hero {
    height: auto;
    min-height: 620px;
  }

  .hero-copy {
    padding-top: 88px;
  }

  .hero-overlap {
    margin-top: -42px;
  }

  .spotlight-grid,
  .movie-grid.four-cols,
  .movie-grid.three-cols,
  .category-grid,
  .filter-bar,
  .category-overview-card,
  .full-rank-row {
    grid-template-columns: 1fr;
  }

  .compact-card {
    min-height: 104px;
  }

  .compact-cover {
    width: 116px;
    flex-basis: 116px;
  }

  .content-section {
    padding: 46px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .tile-images {
    height: 112px;
  }

  .category-cover-row {
    min-height: 150px;
  }

  .full-rank-tags {
    justify-content: start;
  }

  .detail-hero {
    padding-top: 42px;
  }

  .detail-layout {
    gap: 28px;
  }

  .detail-poster {
    max-width: 260px;
  }

  .story-card {
    padding: 22px;
  }
}
