* {
  box-sizing: border-box;
}

:root {
  --page-bg: #fff7ed;
  --panel-bg: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --text-main: #431407;
  --text-muted: #92400e;
  --text-soft: #b45309;
  --line: #fed7aa;
  --accent: #d97706;
  --accent-deep: #92400e;
  --accent-bright: #f59e0b;
  --shadow-soft: 0 18px 45px rgba(146, 64, 14, 0.14);
  --shadow-card: 0 14px 32px rgba(146, 64, 14, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.2), transparent 34rem),
    linear-gradient(135deg, #fff7ed 0%, #fffbeb 45%, #fff7ed 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.95), rgba(255, 247, 237, 0.94), rgba(255, 251, 235, 0.95));
  border-bottom: 2px solid rgba(251, 191, 36, 0.42);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(146, 64, 14, 0.1);
}

.header-inner {
  width: min(var(--max-width), calc(100% - 32px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff7ed;
  background: linear-gradient(135deg, #92400e, #f59e0b);
  border-radius: 15px;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.24);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  color: #78350f;
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: #b45309;
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  color: #92400e;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #451a03;
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  width: min(320px, 26vw);
}

.header-search input,
.quick-search input {
  width: 100%;
  border: 1px solid rgba(251, 191, 36, 0.62);
  outline: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #78350f;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-search input:focus,
.quick-search input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: none;
  padding: 10px;
  border: 1px solid rgba(251, 191, 36, 0.52);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  max-height: 420px;
  overflow: auto;
  z-index: 80;
}

.search-results.is-open {
  display: grid;
  gap: 8px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: #fff7ed;
}

.search-result-item img {
  width: 46px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #fde68a, #fed7aa);
}

.search-result-item strong {
  display: block;
  color: #78350f;
}

.search-result-item small {
  color: #b45309;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fffbeb;
  box-shadow: inset 0 0 0 1px #fed7aa;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #92400e;
}

.mobile-panel {
  display: none;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.mobile-panel.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav-link {
  padding: 10px 12px;
  color: #92400e;
  border-radius: 12px;
  background: #fff7ed;
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  min-height: clamp(620px, 78vh, 860px);
  overflow: hidden;
  background: #451a03;
}

.hero-track,
.hero-slide {
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 52px;
  padding: 112px max(24px, calc((100vw - var(--max-width)) / 2)) 86px;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: blur(3px) saturate(1.15);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(245, 158, 11, 0.38), transparent 30rem),
    linear-gradient(90deg, rgba(67, 20, 7, 0.95), rgba(120, 53, 15, 0.82), rgba(67, 20, 7, 0.66));
}

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 2;
}

.eyebrow,
.page-title-block span,
.section-heading span,
.category-hero span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  color: #78350f;
  background: linear-gradient(90deg, #fde68a, #fed7aa);
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  color: #fff7ed;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  max-width: 720px;
  color: rgba(255, 247, 237, 0.88);
  font-size: clamp(16px, 2vw, 21px);
}

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

.hero-tags span {
  padding: 8px 14px;
  color: #fffbeb;
  border: 1px solid rgba(254, 215, 170, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

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

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

.primary-button {
  color: #fff7ed;
  background: linear-gradient(135deg, #d97706, #92400e);
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.32);
}

.ghost-button {
  color: #fff7ed;
  border: 1px solid rgba(254, 215, 170, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(146, 64, 14, 0.26);
}

.hero-poster {
  display: block;
  padding: 14px;
  border: 1px solid rgba(254, 215, 170, 0.48);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(2deg);
}

.hero-poster img {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  background: linear-gradient(135deg, #fef3c7, #fdba74);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  color: #fff7ed;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 30px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.hero-dots {
  display: flex;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 247, 237, 0.48);
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fbbf24;
}

.quick-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 8;
}

.quick-search,
.quick-link {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.quick-search {
  position: relative;
  display: grid;
  gap: 12px;
}

.quick-search label,
.quick-link strong {
  color: #78350f;
  font-size: 20px;
  font-weight: 900;
}

.quick-link {
  display: grid;
  align-content: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.quick-link:hover {
  transform: translateY(-3px);
}

.quick-link span {
  color: #b45309;
}

.section-block {
  margin-top: 56px;
}

.section-block.no-margin {
  margin-top: 0;
}

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

.section-heading h2,
.page-title-block h1,
.category-hero h1 {
  margin: 10px 0 0;
  color: #451a03;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: #92400e;
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 18px;
  border-radius: 24px;
  background: #78350f;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px rgba(146, 64, 14, 0.22);
}

.category-tile img,
.category-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  opacity: 0.62;
}

.category-shade {
  background: linear-gradient(180deg, transparent 12%, rgba(69, 26, 3, 0.88));
}

.category-tile strong,
.category-tile small {
  position: relative;
  z-index: 1;
  color: #fffbeb;
}

.category-tile strong {
  font-size: 20px;
  font-weight: 900;
}

.category-tile small {
  margin-top: 6px;
  color: rgba(255, 247, 237, 0.84);
}

.two-column-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.movie-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(251, 191, 36, 0.46);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  border-color: #f59e0b;
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(146, 64, 14, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fef3c7, #fdba74);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-year {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  color: #fffbeb;
  background: rgba(120, 53, 15, 0.86);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.card-content {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.card-title {
  color: #451a03;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.card-title:hover {
  color: #b45309;
}

.card-content p {
  margin: 0;
  color: #92400e;
  font-size: 14px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
}

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff7ed;
}

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

.tag-row span {
  padding: 4px 8px;
  color: #92400e;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.86);
  font-size: 12px;
}

.rank-panel {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.compact-heading {
  align-items: center;
  margin-bottom: 14px;
}

.compact-heading h2 {
  font-size: 28px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 40px 58px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 16px;
  background: #fff7ed;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  background: #fffbeb;
  transform: translateX(3px);
}

.rank-number {
  color: #d97706;
  font-size: 18px;
  font-weight: 900;
}

.rank-row img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #fde68a, #fed7aa);
}

.rank-copy strong,
.rank-copy small {
  display: block;
}

.rank-copy strong {
  color: #451a03;
  line-height: 1.25;
}

.rank-copy small {
  margin-top: 4px;
  color: #b45309;
  font-size: 12px;
}

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

.page-title-block {
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.2), transparent 24rem),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.page-title-block p,
.category-hero p,
.detail-main-copy p,
.detail-text-block p {
  max-width: 820px;
  color: #92400e;
  font-size: 17px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.category-cover img {
  width: 170px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(135deg, #fde68a, #fed7aa);
}

.category-name {
  display: inline-block;
  margin-bottom: 8px;
  color: #451a03;
  font-size: 24px;
  font-weight: 900;
}

.category-overview-card p {
  margin: 0 0 12px;
  color: #92400e;
}

.category-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-preview-links a {
  padding: 6px 10px;
  color: #92400e;
  border-radius: 999px;
  background: #fff7ed;
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #b45309;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: #78350f;
}

.category-hero,
.detail-hero-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.22), transparent 24rem),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.category-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 24px;
  background: linear-gradient(135deg, #fde68a, #fdba74);
}

.detail-hero-block {
  grid-template-columns: 300px minmax(0, 1fr);
}

.detail-poster-wrap img {
  width: 300px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  background: linear-gradient(135deg, #fde68a, #fdba74);
  box-shadow: var(--shadow-card);
}

.detail-main-copy h1 {
  margin: 16px 0 12px;
  color: #451a03;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.detail-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 14px;
}

.detail-meta-list span {
  padding: 8px 12px;
  color: #78350f;
  border-radius: 999px;
  background: #fff7ed;
  font-weight: 800;
}

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

.player-section {
  margin-top: 34px;
  padding: 20px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.video-stage {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #1c0f08;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px rgba(254, 215, 170, 0.28);
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #140a04;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #fff7ed;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.3), transparent 18rem),
    linear-gradient(180deg, rgba(28, 15, 8, 0.18), rgba(28, 15, 8, 0.74));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-stage.is-playing .video-overlay {
  opacity: 0;
  visibility: hidden;
}

.play-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #451a03;
  background: #fbbf24;
  font-size: 32px;
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.36);
}

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

.detail-layout {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.detail-text-block {
  padding: 24px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.detail-text-block h2 {
  margin: 0 0 12px;
  color: #451a03;
  font-size: 26px;
  font-weight: 900;
}

.detail-text-block p {
  margin: 0;
  max-width: none;
}

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

.info-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ffedd5;
}

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

.info-list strong {
  color: #78350f;
}

.info-list span,
.info-list a {
  color: #92400e;
}

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

.rank-title-block {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.28), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.92));
}

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

.rank-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.rank-card-cover {
  position: relative;
}

.rank-card-cover span {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  padding: 4px 9px;
  color: #fff7ed;
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.9);
  font-weight: 900;
}

.rank-card-cover img {
  width: 128px;
  height: 168px;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, #fde68a, #fdba74);
}

.rank-card-title {
  display: inline-block;
  color: #451a03;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.rank-card-body p {
  color: #92400e;
}

.site-footer {
  margin-top: 48px;
  padding: 38px 0;
  color: #fffbeb;
  background: linear-gradient(135deg, #431407, #78350f);
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 247, 237, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  padding: 8px 12px;
  border: 1px solid rgba(254, 215, 170, 0.22);
  border-radius: 999px;
  color: rgba(255, 247, 237, 0.86);
}

@media (max-width: 1100px) {
  .header-search {
    display: none;
  }

  .main-nav {
    margin-left: auto;
  }

  .hero-slide,
  .two-column-block,
  .category-hero,
  .detail-hero-block {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 360px;
  }

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

  .rank-panel {
    position: static;
  }
}

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

  .main-nav {
    display: none;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .brand-copy small {
    display: none;
  }

  .hero-slide {
    padding-top: 92px;
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 12vw, 58px);
  }

  .quick-panel,
  .category-overview-grid,
  .rank-grid-page,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .category-overview-card,
  .rank-card {
    grid-template-columns: 110px 1fr;
  }

  .category-cover img {
    width: 110px;
    height: 148px;
  }

  .rank-card-cover img {
    width: 110px;
    height: 146px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .mobile-panel,
  .footer-inner {
    width: min(100% - 22px, var(--max-width));
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .hero-carousel {
    min-height: 720px;
  }

  .hero-slide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-poster {
    max-width: 260px;
  }

  .hero-controls {
    bottom: 16px;
  }

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

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

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

  .category-cover img,
  .rank-card-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .player-section,
  .detail-text-block,
  .page-title-block,
  .category-hero,
  .detail-hero-block {
    padding: 16px;
  }

  .info-list li {
    grid-template-columns: 1fr;
  }
}
