:root {
  --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;
  --amber-950: #451a03;
  --orange-50: #fff7ed;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --paper: #fffaf0;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(120, 53, 15, 0.14);
  --soft-shadow: 0 8px 20px rgba(120, 53, 15, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--amber-950);
  background: linear-gradient(180deg, var(--amber-50), var(--orange-50) 45%, var(--amber-50));
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark,
.footer-logo span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--amber-50);
  background: linear-gradient(135deg, var(--amber-700), var(--orange-600));
  box-shadow: 0 10px 20px rgba(180, 83, 9, 0.28);
}

.brand-text strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  color: var(--amber-900);
  letter-spacing: 0.03em;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--amber-600);
}

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

.nav-link {
  color: var(--amber-800);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  position: relative;
  width: 230px;
}

.search-input,
.hero-search input,
.filter-field input,
.filter-field select,
.search-page-box input {
  width: 100%;
  height: 44px;
  border: 2px solid var(--amber-200);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--amber-950);
  background: rgba(255, 255, 255, 0.88);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus,
.hero-search input:focus,
.filter-field input:focus,
.filter-field select:focus,
.search-page-box input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  padding: 10px;
  border: 1px solid var(--amber-100);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  max-height: 420px;
  overflow-y: auto;
}

.search-panel.is-open {
  display: block;
}

.search-result-link {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

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

.search-result-link img {
  width: 58px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-50));
}

.search-result-link strong {
  display: block;
  font-size: 14px;
  color: var(--amber-950);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-result-link span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--amber-600);
}

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

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

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

.mobile-link {
  display: block;
  padding: 10px 0;
  color: var(--amber-800);
  font-weight: 600;
}

.hero,
.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(110deg, var(--amber-900), var(--orange-700), var(--amber-900));
}

.hero {
  min-height: 520px;
  padding: 88px 24px 132px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px), radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.8) 0 1px, transparent 3px);
  background-size: 64px 64px, 96px 96px;
}

.hero::after,
.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16), transparent 35%), linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(253, 230, 138, 0.45);
  border-radius: 999px;
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-lead,
.page-hero p {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--amber-100);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

.hero-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 720px;
  margin: 34px auto 0;
}

.hero-search input {
  height: 58px;
  border-color: rgba(253, 230, 138, 0.8);
  background: rgba(255, 255, 255, 0.96);
}

.hero-search a,
.search-page-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  border: 0;
  border-radius: 999px;
  color: var(--amber-950);
  background: var(--white);
  font-weight: 800;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.hero-panel {
  top: calc(100% + 12px);
  z-index: 5;
  text-align: left;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

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

.primary-btn {
  color: var(--amber-950);
  background: var(--white);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
}

.secondary-btn {
  color: var(--amber-50);
  border: 1px solid rgba(253, 230, 138, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.primary-btn:hover,
.secondary-btn:hover,
.movie-card:hover,
.horizontal-card:hover,
.category-tile:hover,
.category-card-large:hover,
.hero-card:hover {
  transform: translateY(-3px);
}

.featured-overlap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: -86px auto 0;
  padding: 0 24px;
}

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

.hero-card,
.movie-card,
.horizontal-card,
.category-card-large,
.side-card,
.story-card,
.player-card {
  border: 1px solid var(--amber-100);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.hero-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover,
.movie-card:hover,
.horizontal-card:hover,
.category-card-large:hover {
  box-shadow: var(--shadow);
}

.hero-card-cover,
.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-50));
}

.hero-card-cover {
  height: 235px;
}

.hero-card-cover img,
.card-cover img,
.horizontal-cover img,
.category-hero-cover img,
.detail-poster img,
.rank-poster img,
.podium-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-card:hover img,
.movie-card:hover img,
.horizontal-card:hover img,
.category-hero-cover:hover img,
.podium-card:hover img {
  transform: scale(1.06);
}

.hero-card-info,
.card-body {
  padding: 18px;
}

.card-meta,
.card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--amber-600);
  font-size: 13px;
}

.card-meta span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-800);
  font-size: 12px;
  font-weight: 700;
}

.hero-card h2,
.movie-card h3,
.horizontal-card h3,
.rank-info h2 {
  margin: 12px 0 8px;
  color: var(--amber-950);
  font-weight: 800;
  line-height: 1.25;
}

.hero-card h2 {
  font-size: 22px;
}

.movie-card h3,
.horizontal-card h3 {
  font-size: 19px;
}

.hero-card p,
.movie-card p,
.horizontal-card p,
.rank-info p {
  margin: 0;
  color: var(--amber-800);
  line-height: 1.65;
}

.movie-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-foot {
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--amber-100);
}

.content-section {
  max-width: 1280px;
  margin: 82px auto 0;
  padding: 0 24px;
}

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

.section-head h2 {
  margin: 0;
  color: var(--amber-950);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--amber-700);
}

.section-more {
  color: var(--amber-700);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-cover {
  aspect-ratio: 16 / 10;
}

.play-pill,
.rank-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(69, 26, 3, 0.74);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

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

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

.horizontal-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.horizontal-cover {
  display: block;
  height: 132px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-50));
}

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

.category-tile {
  min-height: 168px;
  padding: 24px 18px;
  border: 1px solid var(--amber-100);
  border-radius: var(--radius);
  text-align: center;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile span {
  display: block;
  font-size: 34px;
}

.category-tile strong {
  display: block;
  margin-top: 10px;
  color: var(--amber-950);
  font-size: 18px;
}

.category-tile small {
  display: block;
  margin-top: 8px;
  color: var(--amber-700);
  line-height: 1.5;
}

.wide-cta {
  max-width: 1280px;
  margin: 88px auto 0;
  padding: 56px 24px;
  border-radius: 28px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(110deg, var(--amber-800), var(--orange-700));
  box-shadow: var(--shadow);
}

.wide-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.wide-cta p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--amber-100);
  font-size: 18px;
  line-height: 1.7;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: 1280px;
  min-height: 320px;
  margin: 36px auto 0;
  padding: 56px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

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

.compact-hero {
  display: block;
  text-align: center;
}

.category-hero-cover {
  position: relative;
  width: 330px;
  height: 210px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.category-hero-cover strong {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: var(--white);
  font-size: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

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

.category-card-large {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card-main {
  display: block;
  padding: 28px;
  background: linear-gradient(135deg, var(--white), var(--amber-50));
}

.category-card-main span {
  font-size: 38px;
}

.category-card-main h2 {
  margin: 12px 0 8px;
  font-size: 28px;
}

.category-card-main p {
  margin: 0;
  color: var(--amber-700);
  line-height: 1.7;
}

.category-sample {
  display: grid;
  gap: 8px;
  padding: 18px 28px 24px;
}

.category-sample a,
.side-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--amber-100);
  color: var(--amber-900);
  font-weight: 700;
}

.category-sample span,
.side-links span {
  color: var(--amber-600);
  font-size: 13px;
  font-weight: 600;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 16px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid var(--amber-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  border-radius: 14px;
  background: var(--amber-50);
}

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

.podium-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.podium-card a {
  position: relative;
  display: block;
  min-height: 330px;
  color: var(--white);
}

.podium-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(69, 26, 3, 0.86));
}

.podium-card span,
.podium-card h2,
.podium-card p {
  position: relative;
  z-index: 1;
}

.podium-card span {
  display: inline-flex;
  margin: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--orange-600);
  font-weight: 900;
}

.podium-card h2 {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 78px;
  margin: 0;
  font-size: 28px;
}

.podium-card p {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  margin: 0;
  color: var(--amber-100);
  line-height: 1.5;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 116px 1fr 140px;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--amber-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.rank-num {
  color: var(--amber-500);
  font-size: 30px;
  font-weight: 900;
  text-align: center;
}

.rank-poster {
  height: 78px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-200), var(--orange-50));
}

.rank-score {
  text-align: right;
  color: var(--amber-700);
}

.rank-score strong {
  display: block;
  color: var(--amber-950);
  font-size: 20px;
}

.search-page-box {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  max-width: 720px;
  margin: 28px auto 0;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px solid var(--amber-100);
  border-radius: var(--radius);
  text-align: center;
  color: var(--amber-700);
  background: var(--white);
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: blur(5px) saturate(1.15);
}

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

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: var(--amber-100);
  font-weight: 700;
}

.breadcrumb em {
  font-style: normal;
  color: var(--white);
}

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

.detail-poster {
  height: 420px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.36);
  background: linear-gradient(135deg, var(--amber-200), var(--orange-50));
}

.detail-copy h1 {
  margin: 0;
  max-width: 850px;
  color: var(--white);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-copy p {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--amber-100);
  font-size: 20px;
  line-height: 1.75;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.detail-tags span {
  background: rgba(255, 255, 255, 0.14);
  color: var(--amber-50);
  border: 1px solid rgba(253, 230, 138, 0.24);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  max-width: 1280px;
  margin: -54px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

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

.player-card,
.story-card,
.side-card {
  overflow: hidden;
  padding: 0;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.72));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-overlay.is-loading .play-circle {
  transform: scale(0.94);
}

.play-circle {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--amber-950);
  background: var(--white);
  font-size: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
  transition: transform 0.2s ease;
}

.player-overlay:hover .play-circle {
  transform: scale(1.06);
}

.player-overlay strong {
  font-size: 20px;
}

.story-card,
.side-card {
  padding: 26px;
}

.story-card h2,
.side-card h2 {
  margin: 0 0 16px;
  color: var(--amber-950);
  font-size: 26px;
}

.story-card p {
  margin: 0 0 14px;
  color: var(--amber-800);
  line-height: 1.85;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--amber-100);
}

.detail-list dt {
  color: var(--amber-600);
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  color: var(--amber-950);
  font-weight: 700;
}

.side-links {
  display: grid;
}

.site-footer {
  margin-top: 92px;
  color: var(--amber-50);
  background: linear-gradient(180deg, var(--amber-900), var(--amber-950));
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.footer-brand p,
.site-footer a,
.site-footer li {
  color: var(--amber-200);
}

.footer-brand p {
  max-width: 360px;
  line-height: 1.7;
}

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

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

.footer-bottom {
  padding: 18px 24px;
  text-align: center;
  color: var(--amber-200);
  border-top: 1px solid rgba(253, 230, 138, 0.18);
}

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

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

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

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

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

@media (max-width: 820px) {
  .header-inner {
    height: auto;
    min-height: 72px;
    padding: 14px 16px;
  }

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

  .header-search {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 62px 18px 112px;
  }

  .hero-search,
  .search-page-box,
  .filter-bar,
  .detail-intro,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero-search a,
  .search-page-box button {
    min-height: 52px;
  }

  .featured-grid,
  .movie-grid,
  .compact-grid,
  .horizontal-grid,
  .category-grid,
  .category-large-grid,
  .podium-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-card {
    grid-template-columns: 132px 1fr;
  }

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

  .page-hero {
    margin: 20px 16px 0;
    padding: 34px 22px;
  }

  .category-hero-cover {
    width: 100%;
  }

  .detail-intro {
    gap: 24px;
  }

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

  .rank-row {
    grid-template-columns: 48px 86px 1fr;
  }

  .rank-score {
    display: none;
  }

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

@media (max-width: 520px) {
  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .content-section,
  .featured-overlap,
  .detail-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .horizontal-card {
    grid-template-columns: 1fr;
  }

  .horizontal-cover {
    height: 180px;
  }

  .rank-row {
    grid-template-columns: 40px 1fr;
  }

  .rank-poster {
    display: none;
  }
}
