:root {
  --page-bg: #fff8ed;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #ffffff;
  --ink: #2d1b0e;
  --muted: #8a6848;
  --line: rgba(180, 111, 34, 0.16);
  --amber: #f59e0b;
  --orange: #ea580c;
  --red: #ef4444;
  --shadow: 0 24px 70px rgba(120, 53, 15, 0.18);
  --soft-shadow: 0 14px 40px rgba(120, 53, 15, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.34), transparent 28rem),
    linear-gradient(135deg, #fff7ed 0%, #fffbeb 46%, #fff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(255, 251, 235, 0.86);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.28);
}

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

.brand-copy strong,
.footer-brand {
  font-size: 21px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #92400e, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 13px;
  color: #7c4a17;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #78350f;
  background: rgba(251, 191, 36, 0.22);
  transform: translateY(-1px);
}

.quick-search {
  display: flex;
  align-items: center;
  width: min(270px, 26vw);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.quick-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 10px 6px 10px 16px;
  background: transparent;
  color: var(--ink);
}

.quick-search button {
  border: 0;
  background: transparent;
  color: #b45309;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 20px;
}

.menu-button {
  display: none;
  border: 0;
  background: rgba(251, 191, 36, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #92400e;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
}

.mobile-drawer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #7c4a17;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.mobile-nav-link.is-active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(234, 88, 12, 0.16));
}

.mobile-drawer.is-open {
  display: block;
}

.hero-zone {
  position: relative;
  min-height: 720px;
  color: #fff;
  isolation: isolate;
  margin-top: -76px;
  padding-top: 126px;
}

.hero-bg,
.hero-overlay,
.detail-bg {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: background-image 0.65s ease, transform 1.2s ease;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(69, 26, 3, 0.93), rgba(120, 53, 15, 0.72) 42%, rgba(15, 23, 42, 0.5)),
    radial-gradient(circle at 72% 20%, rgba(245, 158, 11, 0.55), transparent 26rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(67, 20, 7, 0.74));
}

.hero-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 52px;
  align-items: center;
  min-height: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  color: rgba(255, 255, 255, 0.83);
  font-size: 18px;
  line-height: 1.85;
  max-width: 720px;
}

.hero-actions,
.feature-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

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

.primary-link {
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 34px rgba(234, 88, 12, 0.34);
}

.primary-link:hover,
.ghost-link:hover,
.ghost-light:hover {
  transform: translateY(-2px);
}

.ghost-link {
  color: #9a3412;
  background: rgba(255, 247, 237, 0.94);
  border: 1px solid rgba(251, 191, 36, 0.32);
}

.ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(16px);
}

.hero-search-panel {
  margin-top: 34px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.hero-search-panel form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.hero-search-panel input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 16px;
  outline: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 13px 16px;
}

.hero-search-panel button {
  border: 0;
  border-radius: 16px;
  padding: 0 22px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  cursor: pointer;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero-chips a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffedd5;
  background: rgba(255, 255, 255, 0.11);
  font-size: 13px;
  font-weight: 800;
}

.hero-slider-panel {
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(26px);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.28);
}

.hero-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #fff7ed;
  font-weight: 900;
}

.hero-panel-title a {
  color: #fde68a;
  font-size: 13px;
}

.hero-slides {
  display: grid;
  gap: 12px;
}

.hero-slide {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-slide.is-active,
.hero-slide:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(251, 191, 36, 0.56);
  transform: translateX(4px);
}

.hero-slide img {
  width: 112px;
  height: 82px;
  border-radius: 16px;
  object-fit: cover;
}

.hero-slide span {
  display: inline-block;
  color: #fcd34d;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 5px;
}

.hero-slide h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.hero-slide p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.section-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 72px auto;
}

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

.section-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.26);
}

.section-heading p {
  margin: 0 0 4px;
  color: #c2410c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.feature-card,
.category-panel,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 0;
}

.feature-poster img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.feature-copy {
  padding: clamp(26px, 5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy h2 {
  margin: 14px 0 16px;
  font-size: clamp(30px, 5vw, 54px);
  letter-spacing: -0.05em;
}

.feature-copy p,
.content-card p {
  color: #654321;
  line-height: 1.9;
  font-size: 16px;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 390px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
}

.scroll-row::-webkit-scrollbar {
  height: 10px;
}

.scroll-row::-webkit-scrollbar-track {
  background: rgba(245, 158, 11, 0.12);
  border-radius: 999px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.48);
  border-radius: 999px;
}

.wide-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.wide-card > a {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.wide-card img {
  width: 132px;
  height: 176px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wide-card:hover img,
.movie-card:hover img,
.category-panel-cover:hover img,
.feature-poster:hover img {
  transform: scale(1.05);
}

.wide-card > a span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
}

.wide-card h3 {
  margin: 6px 0 8px;
  font-size: 20px;
}

.wide-card p {
  color: #775331;
  line-height: 1.65;
  margin: 0 0 10px;
}

.wide-card small {
  color: #b45309;
  font-weight: 800;
}

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

.movie-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(245, 158, 11, 0.36);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fde68a, #fed7aa);
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25);
}

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

.movie-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.movie-desc {
  color: #775331;
  margin: 10px 0 12px;
  min-height: 66px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #b45309;
  font-size: 13px;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-list span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #92400e;
  background: rgba(251, 191, 36, 0.16);
  font-size: 12px;
  font-weight: 800;
}

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

.category-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  min-height: 190px;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.28), transparent 12rem),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.category-card p,
.category-panel p {
  color: #7c4a17;
  line-height: 1.75;
}

.category-samples,
.category-panel-links,
.inline-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.category-samples a,
.category-panel-links a,
.inline-links a {
  padding: 7px 11px;
  border-radius: 999px;
  color: #9a3412;
  background: rgba(251, 191, 36, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  position: relative;
  color: #fff;
  min-height: 410px;
  display: flex;
  align-items: center;
  padding: 86px max(16px, calc((100vw - 1200px) / 2)) 60px;
  background:
    linear-gradient(135deg, rgba(67, 20, 7, 0.95), rgba(154, 52, 18, 0.84)),
    radial-gradient(circle at 76% 26%, rgba(251, 191, 36, 0.5), transparent 24rem);
}

.page-hero::after,
.rank-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background: linear-gradient(0deg, var(--page-bg), transparent);
  pointer-events: none;
}

.page-hero > div {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100% - 32px));
}

.compact-hero {
  min-height: 340px;
}

.rank-hero {
  background:
    linear-gradient(90deg, rgba(67, 20, 7, 0.93), rgba(124, 45, 18, 0.74)),
    var(--hero-image) center / cover;
}

.category-panel {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}

.category-panel-cover {
  overflow: hidden;
  background: #fde68a;
}

.category-panel-cover img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-panel-body {
  padding: 28px;
}

.category-panel h2 {
  margin: 0;
  font-size: 28px;
}

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

.empty-state {
  padding: 30px;
  border-radius: 22px;
  text-align: center;
  color: #9a3412;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  font-weight: 900;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, var(--orange));
  font-size: 20px;
  font-weight: 950;
}

.rank-poster {
  border-radius: 16px;
  overflow: hidden;
}

.rank-poster img {
  width: 92px;
  height: 122px;
  object-fit: cover;
}

.rank-copy h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.rank-copy p {
  margin: 0 0 10px;
  color: #775331;
  line-height: 1.65;
}

.detail-hero {
  position: relative;
  color: #fff;
  padding: 108px 0 70px;
  isolation: isolate;
}

.detail-bg {
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.04);
  z-index: -2;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(67, 20, 7, 0.94), rgba(120, 53, 15, 0.8) 48%, rgba(15, 23, 42, 0.64)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent);
}

.detail-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  font-weight: 800;
}

.breadcrumb a {
  color: #fde68a;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.detail-copy h1 {
  max-width: 820px;
}

.detail-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.detail-meta li {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.detail-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  margin-bottom: 4px;
}

.detail-meta strong {
  color: #fff;
  font-size: 15px;
}

.player-wrap {
  margin-top: 60px;
}

.video-shell {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #120904;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.54));
  cursor: pointer;
  text-align: center;
}

.play-layer[hidden],
.video-shell.is-playing .play-layer {
  display: none;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-size: 32px;
  box-shadow: 0 22px 44px rgba(234, 88, 12, 0.44);
}

.play-layer strong {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.content-card {
  padding: clamp(22px, 4vw, 36px);
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  background: rgba(255, 251, 235, 0.78);
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
  gap: 30px;
  align-items: center;
}

.footer-inner p {
  color: #8a6848;
  margin: 10px 0 0;
}

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

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #92400e;
  background: rgba(251, 191, 36, 0.16);
  font-weight: 800;
  font-size: 13px;
}

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

  .quick-search {
    margin-left: auto;
  }

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

  .hero-inner,
  .feature-card,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-zone {
    min-height: auto;
    padding-bottom: 60px;
  }

  .feature-poster img {
    max-height: 520px;
  }

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

  .rank-list-compact,
  .category-grid,
  .category-panels {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .header-inner {
    height: 68px;
    gap: 12px;
  }

  .brand-copy small,
  .quick-search {
    display: none;
  }

  .hero-zone {
    margin-top: -68px;
    padding-top: 100px;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: clamp(34px, 12vw, 54px);
  }

  .hero-search-panel form,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .hero-slide img {
    width: 90px;
    height: 72px;
  }

  .section-wrap {
    margin: 48px auto;
  }

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

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

  .movie-title {
    font-size: 16px;
    min-height: 44px;
  }

  .movie-desc {
    min-height: 58px;
    font-size: 13px;
  }

  .movie-meta {
    display: grid;
  }

  .wide-card,
  .rank-item,
  .category-panel {
    grid-template-columns: 1fr;
  }

  .wide-card img,
  .rank-poster img {
    width: 100%;
    height: 230px;
  }

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

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

  .play-icon {
    width: 66px;
    height: 66px;
    font-size: 26px;
  }
}

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

  .mobile-drawer-inner,
  .detail-meta {
    grid-template-columns: 1fr;
  }

  .scroll-row {
    grid-auto-columns: minmax(280px, 86vw);
  }
}
