:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-100: #ffedd5;
  --orange-600: #ea580c;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --radius-xl: 18px;
  --shadow-soft: 0 10px 30px rgba(41, 37, 36, 0.12);
  --shadow-strong: 0 25px 60px rgba(41, 37, 36, 0.22);
}

* {
  box-sizing: border-box;
}

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

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

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.94);
  border-bottom: 1px solid var(--amber-200);
  box-shadow: 0 1px 4px rgba(120, 53, 15, 0.08);
  backdrop-filter: blur(12px);
}

.nav-shell,
.footer-shell,
.section-shell,
.page-hero-inner,
.detail-hero-inner,
.hero-section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--amber-900);
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.28);
  font-size: 14px;
}

.logo-text {
  font-size: 20px;
  letter-spacing: 0.02em;
}

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

.nav-link,
.mobile-link {
  color: var(--amber-800);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--amber-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--amber-200);
  padding: 12px 16px 16px;
  background: var(--amber-50);
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.is-active {
  background: rgba(253, 230, 138, 0.5);
}

.hero-section {
  padding: 32px 0 54px;
}

.hero-slider {
  position: relative;
  min-height: clamp(460px, 58vw, 640px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--stone-900);
  box-shadow: var(--shadow-strong);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.8s ease;
}

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

.hero-slide img,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 25, 23, 0.9), rgba(28, 25, 23, 0.55) 42%, rgba(28, 25, 23, 0.08)),
    linear-gradient(0deg, rgba(28, 25, 23, 0.82), rgba(28, 25, 23, 0.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 92%);
  padding: clamp(36px, 7vw, 86px);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: var(--amber-200);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--stone-200);
  font-size: clamp(16px, 2vw, 20px);
}

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

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--amber-100);
  background: rgba(217, 119, 6, 0.82);
  font-size: 13px;
  font-weight: 650;
}

.hero-actions,
.detail-info .primary-button {
  margin-top: 28px;
}

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

.primary-button,
.home-search button {
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.28);
}

.ghost-button {
  margin-left: 10px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.primary-button:hover,
.ghost-button:hover,
.home-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(217, 119, 6, 0.28);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-control.prev {
  left: 18px;
}

.hero-control.next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 30px;
  background: var(--amber-300);
}

.hero-search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  gap: 18px;
  align-items: center;
  margin: -36px auto 0;
  width: min(1160px, calc(100% - 34px));
  position: relative;
  z-index: 4;
  padding: 20px;
  border: 1px solid rgba(253, 230, 138, 0.78);
  border-radius: 22px;
  background: rgba(255, 251, 235, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.hero-search-panel strong {
  display: block;
  color: var(--amber-900);
  font-size: 20px;
}

.hero-search-panel span {
  color: var(--stone-600);
}

.home-search {
  display: flex;
  gap: 10px;
}

.home-search input,
.search-box input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--stone-800);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search input:focus,
.search-box input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.hero-category-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-category-links a,
.category-chip,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  color: var(--amber-800);
  background: #fff;
  font-weight: 700;
}

.hero-category-links a:hover,
.category-chip:hover,
.category-chip.is-active,
.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  background: var(--amber-600);
  border-color: var(--amber-600);
}

.section-shell {
  padding: 52px 0;
}

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

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading.between {
  justify-content: space-between;
}

.section-heading.between > span,
.compact-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-heading h2 {
  margin: 0;
  color: var(--stone-800);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  font-weight: 900;
}

.text-link,
.compact-heading a {
  color: var(--amber-600);
  font-weight: 750;
}

.featured-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--stone-900);
  box-shadow: var(--shadow-soft);
}

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

.featured-card:hover img,
.movie-card:hover img,
.category-tile:hover img {
  transform: scale(1.06);
}

.featured-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.1));
}

.featured-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
  color: #fff;
}

.featured-content strong {
  display: block;
  margin: 14px 0 8px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
}

.featured-content > span:last-child {
  color: var(--stone-200);
}

.featured-play,
.poster-play,
.play-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(245, 158, 11, 0.92);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.2);
}

.featured-play {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
}

.recommend-band {
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

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

.movie-card {
  min-width: 0;
}

.movie-card.is-hidden,
.rank-item.is-hidden {
  display: none;
}

.movie-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(41, 37, 36, 0.1);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--stone-200);
}

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

.poster-year,
.poster-type {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.poster-year {
  right: 10px;
  background: rgba(0, 0, 0, 0.72);
}

.poster-type {
  left: 10px;
  background: var(--amber-600);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.movie-card-body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--stone-800);
  font-size: 16px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  transition: color 0.2s ease;
}

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

.movie-card-desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.movie-card-meta em {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--stone-600);
  background: var(--stone-100);
  font-size: 12px;
  font-style: normal;
}

.movie-card.is-compact .movie-card-body {
  padding: 12px;
}

.movie-card.is-compact .movie-card-desc {
  -webkit-line-clamp: 1;
}

.ranking-panel,
.side-recommend,
.related-panel {
  position: sticky;
  top: 88px;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.rank-item a {
  display: grid;
  grid-template-columns: 48px 70px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--stone-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item a:hover {
  background: var(--amber-50);
  transform: translateX(3px);
}

.rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  font-weight: 900;
}

.rank-item img {
  width: 70px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
}

.rank-text {
  min-width: 0;
}

.rank-text strong,
.rank-text span,
.rank-text em {
  display: block;
}

.rank-text strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--stone-800);
}

.rank-text span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-text em {
  margin-top: 4px;
  color: var(--amber-700);
  font-size: 12px;
  font-style: normal;
}

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

.category-tile {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 112px;
  overflow: hidden;
}

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

.category-tile strong {
  margin: 16px 16px 6px;
  color: var(--stone-800);
  font-size: 18px;
}

.category-tile > span:last-child {
  margin: 0 16px 18px;
  color: var(--stone-600);
  font-size: 14px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
}

.page-hero {
  padding: 70px 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -70px auto auto 52%;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(10px);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--amber-100);
  font-size: 18px;
}

.category-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--stone-200);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(41, 37, 36, 0.06);
}

.search-box {
  display: grid;
  min-width: min(480px, 100%);
  gap: 8px;
  color: var(--stone-700);
  font-weight: 750;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-chip {
  border: 0;
}

.category-preview {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.category-preview > p {
  margin: -10px 0 22px;
  color: var(--stone-600);
}

.stacked-sections {
  display: grid;
  gap: 28px;
}

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

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

.top-three-grid .featured-card {
  min-height: 360px;
}

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

.detail-hero {
  min-height: 620px;
  background: var(--stone-900);
}

.detail-bg {
  filter: blur(4px) saturate(1.1);
  transform: scale(1.03);
}

.detail-bg-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 25, 23, 0.95), rgba(28, 25, 23, 0.72), rgba(28, 25, 23, 0.48)),
    linear-gradient(0deg, rgba(28, 25, 23, 0.92), rgba(28, 25, 23, 0.25));
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--stone-300);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

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

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.detail-info p {
  max-width: 820px;
  margin: 0 0 20px;
  color: var(--stone-200);
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.detail-section {
  padding-bottom: 16px;
}

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

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

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(0, 0, 0, 0.32);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-orb {
  width: 84px;
  height: 84px;
  font-size: 30px;
  transform: scale(1);
  transition: transform 0.22s ease;
}

.video-overlay:hover .play-orb {
  transform: scale(1.08);
}

.movie-article {
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.movie-article h2 {
  margin: 0 0 14px;
  color: var(--stone-800);
  font-size: 26px;
}

.movie-article p {
  margin: 0 0 26px;
  color: var(--stone-600);
  font-size: 16px;
  line-height: 1.85;
  white-space: pre-line;
}

.info-table {
  display: grid;
  gap: 10px;
}

.info-table div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--stone-50);
}

.info-table span {
  color: var(--stone-500);
}

.info-table strong {
  color: var(--stone-800);
}

.site-footer {
  margin-top: 56px;
  color: var(--stone-300);
  background: var(--stone-800);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 32px;
  padding: 52px 0 36px;
}

.footer-logo {
  color: var(--amber-100);
}

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

.footer-links h2 {
  margin: 0 0 14px;
  color: var(--amber-100);
  font-size: 16px;
}

.footer-link-grid {
  display: grid;
  gap: 9px;
}

.footer-link-grid a {
  color: var(--stone-400);
}

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

.footer-bottom {
  padding: 22px 16px;
  border-top: 1px solid var(--stone-700);
  color: var(--stone-500);
  text-align: center;
  font-size: 14px;
}

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

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

  .section-split,
  .ranking-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .ranking-panel,
  .side-recommend,
  .related-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-section,
  .section-shell {
    width: min(100% - 24px, 1280px);
  }

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

  .hero-content {
    padding: 34px 22px 84px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  .ghost-button {
    margin-left: 0;
  }

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

  .home-search,
  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-chips {
    justify-content: flex-start;
  }

  .movie-grid,
  .preview-grid,
  .side-grid,
  .top-three-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .detail-hero {
    min-height: unset;
  }

  .rank-item a {
    grid-template-columns: 42px 64px 1fr;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-shell,
  .footer-shell,
  .section-shell,
  .page-hero-inner,
  .detail-hero-inner,
  .hero-section {
    width: min(100% - 22px, 1280px);
  }

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

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

  .hero-control {
    display: none;
  }

  .movie-grid,
  .preview-grid,
  .side-grid,
  .top-three-grid {
    gap: 12px;
  }

  .movie-card-body {
    padding: 10px;
  }

  .movie-card-desc,
  .movie-card-meta {
    display: none;
  }

  .page-hero {
    padding: 46px 0;
  }

  .article-layout {
    gap: 20px;
  }

  .movie-article,
  .related-panel,
  .ranking-panel,
  .side-recommend {
    padding: 18px;
    border-radius: 18px;
  }
}
