: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;
  --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;
  --shadow-soft: 0 20px 45px rgba(28, 25, 23, 0.13);
  --shadow-card: 0 14px 30px rgba(28, 25, 23, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--stone-800);
  background: linear-gradient(180deg, var(--stone-50), rgba(255, 251, 235, 0.45));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, var(--amber-100), var(--stone-200));
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.86), rgba(120, 53, 15, 0));
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(120, 53, 15, 0.96);
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.2);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amber-50);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-200), var(--amber-500));
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.28);
}

.brand-mark.small {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

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

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

.nav-link {
  color: rgba(255, 251, 235, 0.9);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-200);
  transform: translateY(-1px);
}

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

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

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  border: 1px solid rgba(253, 230, 138, 0.18);
  border-radius: 18px;
  background: rgba(120, 53, 15, 0.96);
  box-shadow: var(--shadow-card);
}

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

.mobile-link {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--amber-50);
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--amber-200);
  background: rgba(146, 64, 14, 0.65);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.95s 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-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 25, 23, 0.98), rgba(28, 25, 23, 0.55) 48%, rgba(120, 53, 15, 0.25));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 10%;
  width: min(720px, calc(100% - 48px));
  color: white;
  z-index: 2;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(217, 119, 6, 0.92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow {
  color: var(--amber-900);
  background: var(--amber-100);
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(245, 245, 244, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 245, 244, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
}

.tag-row span,
.detail-tags span {
  color: var(--stone-600);
  background: var(--stone-100);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.primary-button,
.home-search-form button {
  color: white;
  background: var(--amber-600);
  box-shadow: 0 18px 35px rgba(217, 119, 6, 0.28);
}

.primary-button:hover,
.home-search-form button:hover {
  background: var(--amber-700);
  transform: translateY(-2px);
}

.ghost-button {
  color: var(--amber-50);
  border: 1px solid rgba(255, 251, 235, 0.36);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

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

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

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

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 46px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

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

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

.quick-search,
.category-strip {
  background: white;
}

.quick-search-inner,
.category-strip-inner,
.page-shell,
.detail-shell,
.watch-shell,
.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.quick-search h2,
.section-heading h2,
.page-hero h1,
.related-panel h2,
.detail-content h2 {
  margin: 0;
  color: var(--stone-800);
  font-weight: 900;
  line-height: 1.15;
}

.quick-search h2,
.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
}

.quick-search p,
.section-heading p,
.page-hero p {
  margin: 10px 0 0;
  color: var(--stone-600);
}

.home-search-form {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--stone-200);
  border-radius: 18px;
  background: var(--stone-50);
  box-shadow: var(--shadow-card);
}

.home-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: var(--stone-800);
  background: transparent;
}

.category-strip-inner {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 14px;
  padding: 8px 0 38px;
  overflow-x: auto;
}

.category-tile {
  position: relative;
  min-height: 90px;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
  box-shadow: var(--shadow-card);
}

.category-tile img,
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 25, 23, 0.78), rgba(28, 25, 23, 0.18));
}

.category-tile span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: white;
  font-weight: 900;
}

.page-shell {
  padding: 46px 0 72px;
}

.top-space {
  padding-top: 116px;
}

.content-section {
  margin-bottom: 66px;
}

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

.section-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.section-more {
  flex-shrink: 0;
  color: var(--amber-700);
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(231, 229, 228, 0.85);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 52%);
}

.type-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  background: rgba(217, 119, 6, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  left: 10px;
  right: auto;
  background: rgba(28, 25, 23, 0.72);
}

.poster-title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: white;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.card-content {
  padding: 14px;
}

.card-content h2,
.update-card h2,
.ranking-card h2 {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  color: var(--stone-800);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-content h2 a:hover,
.ranking-card h2 a:hover {
  color: var(--amber-700);
}

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

.card-desc,
.update-card p,
.ranking-card p {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: start;
}

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

.update-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.update-card img {
  width: 112px;
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
}

.update-card span {
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 800;
}

.ranking-panel {
  position: sticky;
  top: 98px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, white, var(--amber-50));
  box-shadow: var(--shadow-card);
}

.compact-heading {
  margin-bottom: 18px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: white;
}

.rank-row span {
  color: var(--amber-700);
  font-weight: 900;
}

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

.rank-row strong,
.rank-row em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row strong {
  color: var(--stone-800);
  font-size: 14px;
}

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

.page-hero {
  margin-bottom: 30px;
  padding: clamp(32px, 6vw, 58px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.soft-hero {
  background: linear-gradient(135deg, white, var(--amber-50));
}

.rank-hero {
  color: white;
  background: radial-gradient(circle at top left, rgba(252, 211, 77, 0.35), transparent 30%), linear-gradient(135deg, var(--stone-900), var(--amber-900));
}

.rank-hero h1,
.rank-hero p {
  color: white;
}

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

.category-card {
  position: relative;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 25, 23, 0.84), rgba(28, 25, 23, 0.2));
}

.category-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
}

.category-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 900;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.search-panel {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
  padding: 12px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
}

.search-box {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 10px;
  padding: 0 12px;
}

.search-box span {
  color: var(--amber-700);
  font-size: 24px;
  line-height: 1;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 12px 0;
  color: var(--stone-800);
  background: transparent;
}

.filter-select {
  min-height: 44px;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--stone-700);
  background: var(--stone-50);
}

.searchable-card.is-hidden {
  display: none;
}

.ranking-grid {
  display: grid;
  gap: 18px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.ranking-cover img {
  width: 130px;
  height: 170px;
  object-fit: cover;
}

.ranking-cover span {
  position: absolute;
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 32px;
  border-radius: 999px;
  color: white;
  background: rgba(217, 119, 6, 0.95);
  font-weight: 900;
}

.detail-main {
  background: linear-gradient(180deg, var(--stone-900) 0, var(--stone-900) 540px, var(--stone-50) 541px);
}

.watch-hero {
  color: white;
}

.watch-shell {
  padding-bottom: 42px;
}

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

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

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: black;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
  aspect-ratio: 16 / 9;
}

.player-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: black;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.62));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: var(--amber-900);
  background: linear-gradient(135deg, var(--amber-200), var(--amber-500));
  font-size: 34px;
  box-shadow: 0 20px 46px rgba(245, 158, 11, 0.3);
}

.play-overlay strong {
  font-size: 18px;
  letter-spacing: 0.06em;
}

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

.watch-title {
  width: min(900px, 100%);
  margin-top: 28px;
}

.watch-title h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.14;
}

.watch-title p {
  margin: 0;
  color: rgba(245, 245, 244, 0.9);
  font-size: 18px;
}

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

.detail-content,
.related-panel {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
}

.detail-content {
  padding: clamp(24px, 4vw, 38px);
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--stone-200);
}

.detail-meta-grid div {
  padding: 14px;
  border-radius: 14px;
  background: var(--stone-50);
}

.detail-meta-grid span {
  display: block;
  color: var(--stone-500);
  font-size: 12px;
  font-weight: 800;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--stone-800);
  font-size: 15px;
}

.detail-tags {
  margin-bottom: 28px;
}

.detail-content section {
  margin-top: 28px;
}

.detail-content h2,
.related-panel h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.detail-content p {
  margin: 0 0 12px;
  color: var(--stone-700);
  font-size: 16px;
}

.lead-text {
  font-weight: 800;
}

.related-panel {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 22px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.related-card:hover {
  background: var(--amber-50);
}

.related-card img {
  width: 106px;
  height: 76px;
  border-radius: 10px;
  object-fit: cover;
}

.related-card span,
.related-card em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.related-card span {
  color: var(--stone-800);
  font-weight: 900;
}

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

.site-footer {
  color: var(--stone-300);
  background: linear-gradient(180deg, var(--stone-900), #0c0a09);
}

.footer-shell {
  padding: 42px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 28px;
}

.footer-brand {
  margin-bottom: 12px;
  color: var(--amber-100);
  font-size: 20px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--amber-100);
  font-size: 17px;
}

.site-footer p {
  margin: 0;
  color: var(--stone-400);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.footer-links a {
  color: var(--stone-400);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--amber-200);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(87, 83, 78, 0.5);
  color: var(--stone-500);
  text-align: center;
  font-size: 13px;
}

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

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

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

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

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

  .menu-button {
    display: block;
  }

  .hero-slider {
    min-height: 82vh;
  }

  .hero-content {
    bottom: 11%;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    left: 24px;
    right: auto;
    bottom: 24px;
  }

  .quick-search-inner,
  .update-grid,
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .ranking-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .ranking-cover img {
    width: 104px;
    height: 144px;
  }

  .top-space {
    padding-top: 96px;
  }
}

@media (max-width: 520px) {
  .brand-text {
    font-size: 18px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 38px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid {
    gap: 14px;
  }

  .card-content {
    padding: 12px;
  }

  .update-card,
  .related-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .update-card img,
  .related-card img {
    width: 92px;
    height: 92px;
  }
}
