:root {
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --stone-950: #0c0a09;
  --bronze-50: #fdf8f6;
  --bronze-100: #f2e8e5;
  --bronze-200: #eaded7;
  --bronze-400: #d2bab0;
  --bronze-600: #a18072;
  --bronze-700: #977669;
  --bronze-800: #846358;
  --heritage-50: #f7f7f6;
  --heritage-100: #e4e4e1;
  --shadow-soft: 0 12px 34px rgba(28, 25, 23, 0.12);
  --shadow-strong: 0 24px 60px rgba(12, 10, 9, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--stone-900);
  background: var(--stone-50);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

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: 50;
  color: #fff;
  background: rgba(28, 25, 23, 0.97);
  box-shadow: 0 10px 24px rgba(12, 10, 9, 0.2);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--bronze-400);
  border: 1px solid rgba(210, 186, 176, 0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(161, 128, 114, 0.2), rgba(255, 255, 255, 0.04));
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--stone-400);
  font-size: 12px;
}

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

.nav-link {
  color: var(--stone-300);
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--bronze-400);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  color: #fff;
  background: var(--stone-900);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.68) 42%, rgba(12, 10, 9, 0.12) 100%),
              linear-gradient(0deg, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0.05) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--bronze-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark-showcase .eyebrow,
.page-hero .eyebrow {
  color: var(--bronze-400);
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-summary,
.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-tags,
.tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  color: var(--bronze-800);
  background: var(--bronze-100);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-actions,
.detail-copy .btn {
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--bronze-600);
  box-shadow: 0 12px 30px rgba(161, 128, 114, 0.28);
}

.btn-primary:hover {
  background: var(--bronze-700);
}

.btn-ghost {
  margin-left: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-arrow:hover {
  background: rgba(12, 10, 9, 0.76);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: max(18px, calc((100% - 1180px) / 2 - 66px));
}

.hero-next {
  right: max(18px, calc((100% - 1180px) / 2 - 66px));
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--bronze-400);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-lift {
  margin-top: -38px;
}

.quick-search {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  padding: 26px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.quick-search h2,
.section-heading h2,
.detail-text h2,
.category-copy h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
}

.home-search {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-search input,
.search-box input,
.select-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  color: var(--stone-900);
  background: #fff;
  outline: none;
}

.home-search input,
.search-box input {
  padding: 0 16px;
}

.select-control {
  padding: 0 12px;
}

.home-search input:focus,
.search-box input:focus,
.select-control:focus {
  border-color: var(--bronze-600);
  box-shadow: 0 0 0 3px rgba(161, 128, 114, 0.15);
}

.pill-links,
.category-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.pill-links a {
  padding: 8px 13px;
  color: var(--stone-700);
  background: var(--heritage-50);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.pill-links a:hover {
  color: #fff;
  background: var(--bronze-600);
}

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

.section-heading a {
  color: var(--bronze-700);
  font-weight: 800;
}

.section-heading.light,
.dark-showcase {
  color: #fff;
}

.section-heading.light a {
  color: var(--bronze-400);
}

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

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.card-poster {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone-200);
}

.movie-card-small .card-poster {
  aspect-ratio: 3 / 4;
}

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

.movie-card:hover .card-poster img,
.category-card:hover img,
.horizontal-card:hover img {
  transform: scale(1.08);
}

.card-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(12, 10, 9, 0.78), rgba(12, 10, 9, 0.04));
  transition: opacity 0.25s ease;
}

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

.region-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  color: #fff;
  background: var(--bronze-600);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: 12px;
  right: auto;
  min-width: 30px;
  justify-content: center;
  background: rgba(12, 10, 9, 0.72);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  min-height: 48px;
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.card-body h3 a:hover,
.horizontal-copy h3 a:hover,
.category-copy a:hover {
  color: var(--bronze-700);
}

.card-line {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--stone-500);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--stone-300);
}

.tag-row {
  margin-top: 12px;
}

.tag-row.large span {
  min-height: 32px;
  padding: 6px 14px;
}

.heritage-block {
  padding: 48px 32px;
  background: var(--heritage-100);
  border-radius: 28px;
}

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

.scroll-row .movie-card {
  scroll-snap-align: start;
}

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

.category-pill-card {
  min-height: 118px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-pill-card:hover {
  transform: translateY(-4px);
  border-color: var(--bronze-400);
  box-shadow: var(--shadow-soft);
}

.category-pill-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
}

.category-pill-card small {
  color: var(--stone-500);
}

.dark-showcase {
  padding: 52px 32px;
  background: var(--stone-900);
  border-radius: 28px;
}

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

.horizontal-card {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.horizontal-cover {
  flex: 0 0 126px;
  height: 94px;
  overflow: hidden;
  background: var(--stone-200);
  border-radius: 12px;
}

.horizontal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.horizontal-copy {
  min-width: 0;
}

.horizontal-copy h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.horizontal-copy p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--stone-500);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-number {
  display: inline-flex;
  min-width: 30px;
  height: 26px;
  margin-bottom: 6px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--bronze-600);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at top left, rgba(161, 128, 114, 0.42), transparent 34%), var(--stone-900);
}

.page-hero > div {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.slim-hero {
  min-height: 300px;
}

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

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0.62), rgba(12, 10, 9, 0.14));
}

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

.category-card {
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.category-cover {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  background: var(--stone-200);
}

.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 10, 9, 0.74), rgba(12, 10, 9, 0.08));
}

.category-cover span {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.category-copy {
  padding: 22px;
}

.category-copy p {
  margin: 10px 0 16px;
  color: var(--stone-500);
}

.category-copy ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-copy li {
  margin-top: 8px;
  color: var(--stone-700);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.06);
}

.search-box {
  display: grid;
  gap: 7px;
  color: var(--stone-500);
  font-size: 13px;
  font-weight: 800;
}

.empty-state {
  display: none;
  padding: 42px 20px;
  color: var(--stone-500);
  text-align: center;
  background: #fff;
  border-radius: 18px;
}

.empty-state.is-visible {
  display: block;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 28px;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--stone-200);
  border-radius: 22px;
  box-shadow: var(--shadow-strong);
}

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

.detail-copy {
  min-width: 0;
  padding-top: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--stone-500);
  font-size: 14px;
}

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

.breadcrumb a:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--stone-300);
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 20px 0 0;
  color: var(--stone-700);
  font-size: 18px;
}

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

.detail-meta span {
  padding: 7px 12px;
  color: var(--stone-700);
  background: var(--heritage-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.player-section {
  padding-top: 32px;
}

.player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.video-player,
.player-cover,
.player-cover img,
.player-cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-player {
  background: #000;
}

.player-cover {
  z-index: 3;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}

.player-cover[hidden] {
  display: none;
}

.player-cover img {
  object-fit: cover;
}

.player-cover-shade {
  background: linear-gradient(0deg, rgba(12, 10, 9, 0.78), rgba(12, 10, 9, 0.18));
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--bronze-600);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  font-size: 30px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-cover:hover .play-circle {
  background: var(--bronze-700);
  transform: translate(-50%, -50%) scale(1.06);
}

.detail-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
}

.detail-text article {
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.detail-text p {
  margin: 14px 0 0;
  color: var(--stone-700);
  font-size: 16px;
}

.next-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 8px;
}

.next-links a {
  padding: 18px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.06);
}

.next-links a:hover {
  color: var(--bronze-700);
}

.site-footer {
  margin-top: 58px;
  color: var(--stone-300);
  background: var(--stone-900);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer p,
.site-footer li {
  margin: 0;
  color: var(--stone-400);
  font-size: 14px;
}

.site-footer li + li {
  margin-top: 9px;
}

.site-footer a:hover {
  color: var(--bronze-400);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--stone-500);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 14px;
}

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

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

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

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

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .brand-title {
    font-size: 19px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(12, 10, 9, 0.94), rgba(12, 10, 9, 0.18));
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 86px;
  }

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

  .hero-arrow {
    top: auto;
    bottom: 22px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

  .quick-search,
  .detail-hero,
  .detail-text,
  .next-links,
  .category-grid,
  .filter-panel,
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .home-search {
    flex-direction: column;
    align-items: stretch;
  }

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

  .detail-poster {
    max-width: 330px;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: min(100% - 24px, 1180px);
    padding: 42px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-tags span:nth-child(n + 4) {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .btn-ghost {
    margin: 10px 0 0;
  }

  .quick-search,
  .heritage-block,
  .dark-showcase {
    padding: 22px;
    border-radius: 20px;
  }

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

  .movie-grid,
  .compact-grid,
  .horizontal-grid,
  .category-pill-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-card {
    align-items: stretch;
  }

  .horizontal-cover {
    flex-basis: 110px;
    height: 122px;
  }

  .detail-hero {
    width: min(100% - 24px, 1180px);
    gap: 24px;
    padding-top: 34px;
  }

  .detail-copy h1 {
    font-size: 32px;
  }

  .player {
    border-radius: 16px;
  }

  .play-circle {
    width: 68px;
    height: 68px;
    font-size: 24px;
  }
}
