: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;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(120, 53, 15, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.11);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--amber-50) 0%, #ffffff 42%, var(--orange-50) 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 235, 0.94);
  border-bottom: 1px solid rgba(245, 158, 11, 0.24);
  box-shadow: 0 10px 24px rgba(120, 53, 15, 0.08);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.28);
}

.brand-text {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--amber-800), var(--orange-600));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

.header-search {
  position: relative;
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 2px solid var(--amber-200);
  outline: none;
  border-radius: 999px;
  padding: 12px 120px 12px 18px;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.24);
}

.header-search button,
.mobile-search button,
.big-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  cursor: pointer;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.nav-link,
.mobile-link {
  color: var(--amber-800);
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--amber-100);
  cursor: pointer;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--amber-800);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid rgba(245, 158, 11, 0.18);
}

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

.mobile-search {
  position: relative;
  margin: 16px 0;
}

.mobile-link {
  display: block;
  padding: 10px 0;
}

.page-shell {
  min-height: 60vh;
}

.content-wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.52) 46%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-copy {
  position: absolute;
  left: max(32px, calc((100vw - 1280px) / 2 + 24px));
  right: 24px;
  bottom: 88px;
  max-width: 820px;
  color: #fff;
}

.hero-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
  background: var(--amber-500);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-shadow: 0 16px 28px rgba(0, 0, 0, 0.3);
}

.hero-copy p,
.page-hero p {
  max-width: 780px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

.hero-meta,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-meta span,
.detail-meta span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(8px);
}

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

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 16px 28px rgba(245, 158, 11, 0.26);
}

.button-primary:hover,
.button-ghost:hover {
  transform: translateY(-2px) scale(1.02);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-ghost.light {
  color: var(--amber-800);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.54);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 34px;
  background: #fff;
}

.section-block {
  margin: 72px 0;
}

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

.section-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.heading-line {
  width: 6px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber-500), var(--orange-600));
}

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

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

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(120, 53, 15, 0.18);
}

.movie-poster {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

.movie-card-small .movie-poster {
  height: 160px;
}

.movie-card-large .movie-poster {
  height: 300px;
}

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 46%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  border-radius: 10px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.rank-badge {
  left: 12px;
  right: auto;
  background: linear-gradient(135deg, #ef4444, var(--orange-600));
}

.play-chip {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.movie-card-body h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--amber-700);
}

.movie-card-body p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  margin-top: auto;
  gap: 8px;
}

.movie-meta span {
  background: var(--amber-50);
  color: var(--amber-800);
}

.warm-panel,
.dark-panel,
.category-overview-card,
.filter-panel,
.detail-card,
.review-card,
.side-card,
.player-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.warm-panel {
  padding: 34px;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

.dark-panel {
  padding: 34px;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.dark-panel .section-heading h2,
.dark-panel .section-heading span {
  color: #fff;
}

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

.category-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(120, 53, 15, 0.16);
}

.category-covers {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4px;
  height: 170px;
  background: var(--amber-100);
}

.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-covers img:first-child {
  grid-row: span 2;
}

.category-body {
  padding: 20px;
}

.category-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-body p {
  margin: 0 0 16px;
  color: var(--slate-500);
  line-height: 1.7;
}

.category-body span {
  color: var(--amber-700);
  font-weight: 800;
}

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

.movie-row {
  display: flex;
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(120, 53, 15, 0.13);
}

.row-cover {
  width: 200px;
  min-height: 126px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--amber-100);
}

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

.row-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.row-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 20px;
}

.row-rank {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  font-weight: 900;
}

.row-body p {
  margin: 0 0 10px;
  color: var(--slate-500);
  line-height: 1.65;
}

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

.center-actions {
  justify-content: center;
}

.inner-page {
  padding-bottom: 40px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-800), var(--orange-600));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(4px);
}

.page-hero h1,
.page-hero p,
.page-hero .hero-label,
.page-hero .hero-actions,
.big-search {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.small-hero,
.category-hero,
.ranking-hero,
.search-hero {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-overview-list {
  display: grid;
  gap: 34px;
  margin-top: 48px;
}

.category-overview-card {
  padding: 28px;
  background: #fff;
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.category-overview-head h2 {
  margin: 0 0 10px;
  font-size: 32px;
}

.category-overview-head p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.compact-grid .movie-card-body p {
  -webkit-line-clamp: 1;
}

.filter-panel {
  margin-top: -38px;
  padding: 22px;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 18px;
}

.filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--amber-800);
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  border-radius: 16px;
  padding: 12px 14px;
}

.empty-state {
  margin: 28px 0 0;
  padding: 22px;
  border-radius: 18px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-weight: 800;
  text-align: center;
}

.big-search {
  position: relative;
  max-width: 760px;
  margin-top: 18px;
}

.big-search input {
  min-height: 58px;
  font-size: 17px;
}

.big-search button {
  padding: 12px 26px;
}

.detail-wrap {
  padding-top: 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--slate-500);
  font-weight: 700;
}

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

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

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

.player-card {
  padding: 16px;
  background: #111827;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #020617;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-start-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--amber-600);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  font-size: 34px;
}

.detail-card,
.review-card,
.side-card {
  padding: 28px;
  background: #fff;
}

.detail-card h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
}

.detail-meta span {
  color: var(--amber-800);
  background: var(--amber-100);
}

.lead-text {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 5px solid var(--amber-500);
  border-radius: 14px;
  color: var(--slate-700);
  background: var(--amber-50);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.tag-list span {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--slate-700);
  background: var(--slate-100);
  font-weight: 700;
}

.detail-card h2,
.review-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-card p,
.review-card p {
  color: var(--slate-700);
  line-height: 1.9;
  font-size: 17px;
}

.review-card {
  background: linear-gradient(135deg, var(--amber-50), var(--orange-50));
}

.detail-side {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.poster-side img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--amber-100);
}

.full-button {
  width: 100%;
}

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

.side-recommend-list .movie-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 92px;
}

.side-recommend-list .movie-poster {
  height: 100%;
}

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

.side-recommend-list .movie-card-body h3 {
  font-size: 15px;
}

.side-recommend-list .movie-card-body p,
.side-recommend-list .play-chip,
.side-recommend-list .poster-badge {
  display: none;
}

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

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h2 {
  margin: 0 0 16px;
  color: var(--amber-200);
  font-size: 20px;
}

.footer-grid p,
.footer-grid a,
.footer-grid li {
  color: var(--amber-100);
  line-height: 1.8;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(253, 230, 138, 0.22);
  color: var(--amber-200);
}

@media (max-width: 1120px) {
  .header-search {
    max-width: 360px;
  }

  .desktop-nav {
    gap: 12px;
    font-size: 14px;
  }

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

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

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

  .detail-side {
    position: static;
    grid-template-columns: 300px 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: auto;
    min-height: 68px;
    padding: 12px 18px;
  }

  .header-search,
  .desktop-nav {
    display: none;
  }

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

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

  .hero {
    min-height: 600px;
    height: 78vh;
  }

  .hero-copy {
    left: 22px;
    bottom: 82px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-arrow {
    display: none;
  }

  .four-columns,
  .three-columns,
  .category-grid,
  .footer-grid,
  .filter-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .category-overview-head {
    flex-direction: column;
  }

  .warm-panel,
  .dark-panel,
  .category-overview-card {
    padding: 22px;
  }

  .movie-row {
    flex-direction: column;
  }

  .row-cover {
    width: 100%;
    height: 210px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .content-wrap,
  .footer-inner {
    width: min(100% - 22px, 1280px);
  }

  .mobile-nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-meta,
  .detail-meta {
    gap: 8px;
  }

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

  .button-primary,
  .button-ghost {
    width: 100%;
  }

  .movie-poster {
    height: 220px;
  }

  .page-hero {
    padding: 64px 18px;
  }

  .detail-card,
  .review-card,
  .side-card {
    padding: 22px;
  }

  .side-recommend-list .movie-card {
    grid-template-columns: 96px 1fr;
  }
}
