:root {
  color-scheme: light;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --white: #ffffff;
  --ink: #2f1a05;
  --muted: #8a5a19;
  --line: rgba(217, 119, 6, 0.22);
  --shadow: 0 18px 45px rgba(120, 53, 15, 0.12);
  --soft-shadow: 0 10px 25px rgba(120, 53, 15, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(251, 191, 36, 0.28), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(251, 146, 60, 0.18), transparent 26rem),
    linear-gradient(180deg, var(--amber-50), #fffdf7 46%, var(--orange-50));
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.94), rgba(255, 247, 237, 0.94), rgba(255, 251, 235, 0.94));
  box-shadow: 0 8px 25px rgba(120, 53, 15, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand-mark,
.footer-brand span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.26);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--amber-900);
}

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

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

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: var(--amber-900);
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--amber-600);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.5);
  transition: 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-search,
.hero-search,
.inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.hero-search input,
.inline-search input,
.filter-bar input,
.filter-bar select,
.mobile-nav input,
.search-hero-card input {
  width: 100%;
  border: 1px solid var(--amber-300);
  color: var(--amber-900);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 230px;
  padding: 10px 14px;
}

.header-search button,
.hero-search button,
.inline-search button,
.filter-bar button {
  border: 0;
  color: var(--white);
  background: var(--amber-600);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
  padding: 10px 16px;
}

.header-search input:focus,
.hero-search input:focus,
.inline-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.mobile-nav input:focus {
  border-color: var(--amber-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.24);
}

.header-search button:hover,
.hero-search button:hover,
.inline-search button:hover {
  background: var(--amber-700);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.3);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--amber-900);
  background: var(--amber-100);
  border-radius: 12px;
}

.mobile-nav {
  display: none;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

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

.mobile-nav a {
  padding: 10px 0;
  font-weight: 700;
  color: var(--amber-900);
}

.mobile-nav form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.mobile-nav input {
  padding: 10px 12px;
  border-radius: 12px;
}

.mobile-nav button {
  border: 0;
  color: var(--white);
  background: var(--amber-600);
  border-radius: 12px;
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100), var(--amber-200));
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(82, 36, 4, 0.94) 0%, rgba(120, 53, 15, 0.74) 45%, rgba(120, 53, 15, 0.28) 100%),
    radial-gradient(circle at 22% 30%, rgba(251, 191, 36, 0.28), transparent 30rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1280px;
  min-height: 610px;
  margin: 0 auto;
  padding: 86px 24px 170px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--amber-100);
  border: 1px solid var(--amber-200);
  border-radius: 999px;
}

.hero .eyebrow {
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(254, 243, 199, 0.28);
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(42px, 8vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h2 {
  max-width: 700px;
  margin: 0 0 22px;
  color: var(--amber-100);
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.1;
}

.hero p {
  max-width: 720px;
  margin: 0 0 32px;
  color: rgba(255, 251, 235, 0.92);
  font-size: 19px;
  line-height: 1.8;
}

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

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

.primary-btn {
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 16px 35px rgba(217, 119, 6, 0.35);
}

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

.ghost-btn {
  color: var(--amber-100);
  border: 1px solid rgba(254, 243, 199, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.ghost-btn:hover {
  color: var(--amber-900);
  background: var(--amber-100);
}

.hero-tools {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 430px 24px 42px;
}

.hero-dots {
  display: flex;
  align-items: end;
  gap: 10px;
}

.hero-dot {
  width: 44px;
  height: 8px;
  padding: 0;
  border: 0;
  background: rgba(255, 251, 235, 0.35);
  border-radius: 999px;
  transition: 0.25s ease;
}

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

.hero-panel {
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search {
  margin-bottom: 16px;
}

.hero-search input,
.inline-search input {
  padding: 13px 16px;
}

.hero-search button,
.inline-search button {
  min-width: max-content;
  padding: 13px 18px;
}

.hero-rank h2 {
  margin: 0 0 10px;
  color: var(--amber-900);
  font-size: 18px;
}

.hero-rank a {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.hero-rank span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: var(--amber-600);
  border-radius: 8px;
}

.hero-rank strong {
  overflow: hidden;
  font-size: 14px;
  color: var(--amber-900);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-rank em {
  color: var(--amber-700);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px;
}

.inner-page {
  padding-top: 34px;
}

.stats-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: -32px auto 0;
  padding: 0 24px;
}

.stats-strip div {
  padding: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--soft-shadow);
}

.stats-strip strong {
  display: block;
  color: var(--amber-800);
  font-size: 28px;
}

.stats-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.section-heading h2 {
  margin: 0;
  color: var(--amber-900);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading a,
.text-link {
  min-width: max-content;
  color: var(--amber-700);
  background: var(--amber-100);
}

.section-heading a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.section-heading a:hover,
.text-link:hover {
  color: var(--white);
  background: var(--amber-600);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(130px, 190px));
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--soft-shadow);
}

.filter-bar input,
.filter-bar select {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
}

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

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

.movie-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(253, 230, 138, 0.86);
  border-radius: var(--radius-lg);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

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

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

.movie-card:hover .poster img,
.category-card:hover .category-cover img,
.ranking-item:hover .ranking-poster img {
  transform: scale(1.06);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(41, 18, 3, 0.74));
  opacity: 0;
  transition: 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.poster-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  background: rgba(120, 53, 15, 0.78);
  border-radius: 999px;
}

.card-body {
  padding: 16px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
}

.meta-line span {
  padding: 4px 8px;
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
  border-radius: 999px;
}

.movie-card h2,
.ranking-item h2 {
  margin: 0 0 8px;
  color: var(--amber-900);
  font-size: 18px;
  line-height: 1.35;
}

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

.movie-card p,
.ranking-item p,
.category-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
}

.card-foot a {
  color: var(--amber-800);
}

.compact-card .card-body {
  padding: 13px;
}

.compact-card h2 {
  font-size: 16px;
}

.compact-card p {
  min-height: 42px;
  font-size: 13px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 210px;
}

.horizontal-card .poster {
  aspect-ratio: auto;
  height: 100%;
}

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

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

.category-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--soft-shadow);
  transition: 0.25s ease;
}

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

.category-cover {
  position: relative;
  overflow: hidden;
  height: 190px;
  background: var(--amber-100);
  border-radius: var(--radius-md);
}

.category-cover span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  background: rgba(120, 53, 15, 0.82);
  border-radius: 999px;
}

.category-card h2 {
  margin: 6px 0 10px;
  color: var(--amber-900);
  font-size: 22px;
}

.category-card .text-link {
  margin-top: 18px;
  min-height: 40px;
  padding: 0 15px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--amber-700);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a::after {
  margin-left: 8px;
  color: var(--amber-400);
  content: "/";
}

.page-hero-card {
  margin-bottom: 34px;
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(circle at right top, rgba(251, 191, 36, 0.22), transparent 23rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.page-hero-card h1 {
  margin: 0 0 14px;
  color: var(--amber-900);
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.04em;
}

.page-hero-card p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.inline-search {
  max-width: 680px;
  margin-top: 24px;
}

.result-line {
  margin: -8px 0 18px;
  color: var(--amber-700);
  font-weight: 800;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 76px 130px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--soft-shadow);
  transition: 0.25s ease;
}

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

.ranking-num {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
  border-radius: 18px;
}

.ranking-poster {
  display: block;
  overflow: hidden;
  width: 130px;
  height: 180px;
  background: var(--amber-100);
  border-radius: var(--radius-md);
}

.ranking-score {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.ranking-score strong {
  color: var(--amber-700);
  font-size: 28px;
}

.ranking-score span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
}

.player-card,
.detail-copy,
.cover-card,
.info-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #120904;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(18, 9, 4, 0.18), rgba(18, 9, 4, 0.66));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer span {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  padding-left: 6px;
  color: var(--white);
  font-size: 34px;
  background: rgba(217, 119, 6, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.movie-player.is-playing .play-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.detail-copy h1 {
  margin: 0 0 18px;
  color: var(--amber-900);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
}

.detail-copy h2,
.info-card h2 {
  margin: 26px 0 12px;
  color: var(--amber-900);
  font-size: 22px;
}

.detail-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.detail-copy .lead-text {
  color: var(--amber-800);
  font-size: 19px;
  font-weight: 800;
}

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

.tag-row a,
.keyword-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 800;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 999px;
}

.tag-row a:hover,
.keyword-cloud a:hover {
  color: var(--white);
  background: var(--amber-600);
}

.cover-card {
  padding: 12px;
}

.cover-card img {
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
}

.info-card {
  padding: 22px;
}

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

.info-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-card li:last-child {
  border-bottom: 0;
}

.info-card span {
  color: var(--muted);
}

.info-card strong {
  color: var(--amber-900);
  text-align: right;
}

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

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--amber-50), var(--orange-100));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.footer-brand {
  color: var(--amber-900);
  font-size: 20px;
  font-weight: 900;
}

.site-footer p {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.8;
}

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

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

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

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

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

  .desktop-nav {
    gap: 18px;
  }

  .header-search input {
    width: 190px;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    min-height: 540px;
    padding-bottom: 230px;
  }

  .hero-tools {
    grid-template-columns: 1fr;
    padding-top: 470px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .detail-side {
    grid-template-columns: minmax(0, 280px) 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

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

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

  .brand-text em {
    font-size: 11px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 62px 18px 260px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-tools {
    padding: 500px 18px 30px;
  }

  .hero-search,
  .inline-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-wrap {
    padding: 34px 16px;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
    padding: 0 16px;
  }

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

  .category-card,
  .ranking-item,
  .horizontal-card,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .category-cover,
  .ranking-poster {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .horizontal-card .poster {
    aspect-ratio: 2 / 3;
    height: auto;
  }

  .ranking-num {
    width: 48px;
    height: 48px;
  }

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

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

  .footer-grid {
    padding: 36px 16px;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .hero-dots {
    justify-content: center;
  }
}
