:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-800: #9a3412;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --white: #ffffff;
  --black: #000000;
  --shadow-soft: 0 18px 45px rgba(41, 37, 36, 0.14);
  --shadow-card: 0 10px 30px rgba(41, 37, 36, 0.12);
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--stone-800);
  background: var(--stone-50);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-900), var(--orange-800), var(--amber-900));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.24);
}

.brand-text strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-text em {
  display: block;
  margin-top: 3px;
  color: var(--amber-100);
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav-link {
  position: relative;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

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

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-300);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(120, 53, 15, 0.96);
}

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

.mobile-nav-inner {
  display: grid;
  gap: 6px;
  padding: 14px 0 18px;
}

.mobile-nav .nav-link {
  padding: 8px 0;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay,
.page-hero-shade,
.detail-hero-shade,
.category-shade,
.cover-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.12));
}

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

.hero-copy {
  width: min(640px, 100%);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--amber-300);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--amber-100);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 14px 34px rgba(217, 119, 6, 0.34);
}

.button.primary:hover {
  background: var(--amber-700);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

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

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

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.search-strip {
  color: var(--white);
  background: linear-gradient(135deg, var(--stone-900), var(--amber-900));
}

.search-strip-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}

.search-strip h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.search-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.global-search {
  position: relative;
}

.global-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(120, 113, 108, 0.22);
  border-radius: 14px;
  background: var(--white);
  outline: none;
}

.global-search input {
  min-height: 54px;
  padding: 0 18px;
  color: var(--stone-800);
  box-shadow: var(--shadow-card);
}

.global-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 420px;
  overflow: auto;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.search-result-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 12px;
  color: var(--stone-800);
  border-bottom: 1px solid var(--stone-100);
}

.search-result-item:hover {
  background: var(--amber-50);
}

.search-result-item img {
  width: 56px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--stone-200);
}

.search-result-item strong,
.search-result-item em {
  display: block;
}

.search-result-item em {
  color: var(--stone-500);
  font-size: 12px;
  font-style: normal;
}

.search-result-empty {
  padding: 18px;
  color: var(--stone-600);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.stats-row div {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.stats-row strong {
  display: block;
  color: var(--amber-700);
  font-size: 34px;
  line-height: 1;
}

.stats-row span {
  display: block;
  margin-top: 8px;
  color: var(--stone-500);
}

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

.tinted-section {
  background: linear-gradient(180deg, var(--amber-50), var(--stone-50));
}

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

.section-heading h2,
.panel-heading h2 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--stone-800);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 10px;
  color: var(--white);
  background: var(--amber-600);
  font-weight: 900;
}

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

.section-more,
.panel-heading a {
  flex: 0 0 auto;
  color: var(--amber-700);
  font-weight: 800;
}

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

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

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

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--stone-200), var(--stone-100));
}

.movie-card.compact .card-cover {
  aspect-ratio: 16 / 9;
}

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

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

.cover-gradient {
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  transition: opacity 0.25s ease;
}

.movie-card:hover .cover-gradient {
  opacity: 1;
}

.card-type,
.rank-badge,
.category-count {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.66);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.rank-badge {
  right: auto;
  left: 12px;
  background: var(--amber-600);
}

.play-hover {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-one-line {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--white);
  opacity: 0;
  font-size: 13px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: opacity 0.25s ease;
}

.movie-card:hover .card-one-line {
  opacity: 1;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--stone-800);
  font-size: 17px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px;
  color: var(--stone-500);
  font-size: 13px;
}

.card-genre {
  margin: 0;
  color: var(--stone-500);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.78));
}

.category-card strong,
.category-card em,
.category-count {
  position: relative;
  z-index: 2;
}

.category-card strong {
  font-size: 22px;
}

.category-card em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-style: normal;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 48px 0;
}

.editor-panel,
.ranking-panel,
.prose-card,
.info-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.editor-panel {
  padding: 24px;
}

.editor-feature .movie-card .card-cover {
  aspect-ratio: 21 / 9;
}

.editor-small-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ranking-panel {
  align-self: start;
  padding: 22px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 34px 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stone-100);
}

.ranking-row img {
  width: 64px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--stone-200);
}

.ranking-number {
  color: var(--amber-700);
  font-weight: 900;
}

.ranking-info strong,
.ranking-info em {
  display: block;
}

.ranking-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-info em {
  color: var(--stone-500);
  font-size: 12px;
  font-style: normal;
}

.ranking-score {
  color: var(--amber-700);
  font-size: 20px;
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--stone-900);
  background-size: cover;
  background-position: center;
}

.page-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.compact-page-hero {
  min-height: 280px;
  background: linear-gradient(135deg, var(--stone-900), var(--amber-900));
}

.page-hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.32));
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 150px auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-panel label,
.filter-panel span {
  display: grid;
  gap: 6px;
}

.filter-panel label > span {
  color: var(--stone-500);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  min-height: 42px;
  padding: 0 12px;
  color: var(--stone-800);
}

.filter-panel button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--stone-800);
  cursor: pointer;
}

.filter-empty {
  padding: 22px;
  border-radius: var(--radius-md);
  color: var(--stone-600);
  background: var(--amber-50);
}

.category-overview-grid {
  display: grid;
  gap: 22px;
  padding: 48px 0;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.category-overview-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  background: var(--stone-200);
}

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

.category-overview-cover span {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
  font-size: 12px;
  font-weight: 800;
}

.category-overview-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--stone-500);
}

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

.mini-card-row a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--amber-800);
  background: var(--amber-50);
  font-size: 13px;
  font-weight: 700;
}

.ranking-table {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.ranking-table-row {
  display: grid;
  grid-template-columns: 60px 1fr 220px 120px 100px 80px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--stone-100);
}

.ranking-table-row:hover {
  background: var(--amber-50);
}

.ranking-table-row span,
.ranking-table-row b {
  color: var(--amber-700);
  font-weight: 900;
}

.ranking-table-row em {
  overflow: hidden;
  color: var(--stone-500);
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-hero {
  min-height: 580px;
}

.detail-hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.25));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 38px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  background: var(--stone-200);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info h1 {
  max-width: 820px;
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 48px 0 0;
}

.player-shell {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: 22px;
  background: var(--black);
  box-shadow: var(--shadow-soft);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--amber-600);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  font-size: 30px;
}

.player-start.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  pointer-events: none;
}

.prose-card,
.info-card {
  padding: 26px;
}

.prose-card h2,
.info-card h2 {
  margin: 0 0 14px;
  color: var(--stone-800);
  font-size: 24px;
}

.prose-card p {
  margin: 0 0 24px;
  color: var(--stone-700);
  font-size: 16px;
  line-height: 1.9;
}

.info-card {
  align-self: start;
}

.info-card dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.info-card dt {
  color: var(--stone-500);
  font-weight: 800;
}

.info-card dd {
  margin: 0;
  color: var(--stone-800);
}

.info-card a {
  color: var(--amber-700);
  font-weight: 800;
}

.site-footer {
  margin-top: 56px;
  color: var(--stone-200);
  background: linear-gradient(180deg, var(--stone-800), var(--stone-900));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 46px 0;
}

.footer-grid p {
  max-width: 430px;
  color: var(--stone-400);
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--white);
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
  color: var(--stone-400);
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--amber-300);
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--stone-500);
  text-align: center;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

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

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

  .split-section,
  .detail-main {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    width: 100%;
  }

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

  .ranking-table-row {
    grid-template-columns: 50px 1fr 100px 80px;
  }

  .ranking-table-row em:nth-of-type(1) {
    display: none;
  }
}

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

  .mobile-menu-button {
    display: block;
  }

  .hero {
    min-height: 560px;
  }

  .hero-arrow {
    display: none;
  }

  .search-strip-inner,
  .detail-grid,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

  .detail-poster {
    width: min(280px, 100%);
  }

  .detail-main {
    padding-top: 28px;
  }
}

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

  .brand-text em {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 34px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .stats-row,
  .movie-grid,
  .category-grid,
  .footer-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .card-body h3 {
    min-height: auto;
  }

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

  .ranking-score {
    display: none;
  }

  .ranking-table-row {
    grid-template-columns: 42px 1fr 60px;
  }

  .ranking-table-row em {
    display: none;
  }

  .detail-hero-inner {
    padding-top: 24px;
  }

  .prose-card,
  .info-card {
    padding: 20px;
  }
}
