:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.84);
  --panel-strong: #0f172a;
  --panel-soft: rgba(30, 41, 59, 0.62);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --brand: #f59e0b;
  --brand-deep: #d97706;
  --brand-soft: rgba(245, 158, 11, 0.16);
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 158, 11, 0.16), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(59, 130, 246, 0.12), transparent 26rem),
    var(--bg);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(15, 23, 42, 0.96);
  border-color: var(--line);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.35);
}

.header-inner,
.footer-inner,
.hero-content,
.detail-wrap,
.content-section,
.quick-search-panel,
.page-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b 58%, #f97316);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: rgba(245, 158, 11, 0.86);
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  color: var(--muted-strong);
  border-radius: 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link {
  padding: 11px 18px;
}

.nav-link:hover,
.mobile-link:hover {
  color: #ffffff;
  background: rgba(30, 41, 59, 0.86);
}

.nav-link.is-active,
.mobile-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: rgba(30, 41, 59, 0.88);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.98);
}

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

.mobile-link {
  padding: 13px 16px;
}

.page-main {
  min-height: 80vh;
  padding-top: 72px;
}

.hero {
  position: relative;
  height: 72vh;
  min-height: 560px;
  overflow: hidden;
  background: #0f172a;
}

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

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

.hero-slide img,
.detail-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.72) 44%, rgba(2, 6, 23, 0.22) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(2, 6, 23, 0.05) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  max-width: 780px;
  margin: 14px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.lead-text {
  max-width: 720px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.tag,
.card-badge,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.tag {
  padding: 7px 12px;
  font-size: 13px;
}

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

.primary-button,
.ghost-button,
.search-panel button,
.quick-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button,
.search-panel button,
.quick-search button {
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f59e0b 58%, #f97316);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.24);
}

.ghost-button {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.primary-button:hover,
.ghost-button:hover,
.search-panel button:hover,
.quick-search button:hover {
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.46);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-control:hover {
  background: rgba(2, 6, 23, 0.72);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 28px;
  transform: translateY(-50%);
}

.hero-next {
  right: 28px;
  transform: translateY(-50%);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  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 180ms ease, background 180ms ease;
}

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

.quick-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
  margin-top: -44px;
  padding: 28px;
  position: relative;
  z-index: 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quick-search-panel h2 {
  margin: 8px 0;
  font-size: clamp(24px, 4vw, 34px);
}

.quick-search-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.quick-search,
.search-panel {
  display: flex;
  gap: 12px;
}

.quick-search input,
.search-panel input {
  min-width: 0;
  width: 100%;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.62);
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quick-search input {
  min-height: 54px;
  padding: 0 18px;
}

.quick-search input:focus,
.search-panel input:focus {
  border-color: rgba(245, 158, 11, 0.68);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.content-section {
  padding: 56px 0 0;
}

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

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

.section-title a {
  color: var(--brand);
  font-weight: 800;
}

.compact-title h2 {
  font-size: clamp(24px, 3vw, 32px);
}

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

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

.movie-card {
  min-width: 0;
}

.card-link {
  display: block;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.25);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.42);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.38);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111827;
}

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

.feature-card .card-cover {
  aspect-ratio: 3 / 4;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.card-link:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, transparent 54%);
  opacity: 0.72;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #111827;
  border-radius: 999px;
  background: var(--brand);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.card-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  font-size: 12px;
  font-style: normal;
  background: rgba(2, 6, 23, 0.72);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #111827;
  font-weight: 900;
  border-radius: 12px;
  background: var(--brand);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.card-body strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 180ms ease;
}

.card-link:hover .card-body strong {
  color: var(--brand);
}

.card-body em,
.card-body span {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.card-body > span:not(.tag-row) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row .tag {
  padding: 5px 9px;
  font-size: 12px;
}

.feature-band {
  width: min(1180px, calc(100% - 32px));
  margin: 56px auto 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.78));
  box-shadow: var(--shadow);
}

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

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.24);
}

.category-tile img,
.category-overview-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 240ms ease;
}

.category-tile::after,
.category-card-layer {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.18));
}

.category-tile:hover img,
.category-overview-card:hover img {
  transform: scale(1.08);
}

.category-tile > span,
.category-card-text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.category-tile strong,
.category-card-text strong {
  font-size: 22px;
}

.category-tile em,
.category-card-text em,
.category-preview {
  color: var(--muted-strong);
  font-style: normal;
  line-height: 1.6;
}

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

.category-preview span {
  padding: 4px 8px;
  color: var(--brand);
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.54);
  font-size: 12px;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
}

.ranking-list {
  display: grid;
  gap: 12px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: auto 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.horizontal-card:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(30, 41, 59, 0.8);
}

.horizontal-card img {
  width: 74px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.horizontal-card span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.horizontal-card strong,
.horizontal-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizontal-card em,
.horizontal-card small {
  color: var(--muted);
  font-style: normal;
}

.ranking-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #111827;
  font-weight: 900;
  border-radius: 12px;
  background: var(--brand);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: var(--brand) rgba(15, 23, 42, 0.9);
}

.page-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.72)),
    radial-gradient(circle at 72% 12%, rgba(245, 158, 11, 0.22), transparent 24rem);
  border-bottom: 1px solid var(--line);
}

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

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

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

.breadcrumb strong {
  color: var(--muted-strong);
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-chip {
  min-height: 42px;
  padding: 0 18px;
  color: var(--muted-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #111827;
  border-color: transparent;
  background: var(--brand);
}

.empty-state,
.search-meta {
  padding: 28px;
  color: var(--muted-strong);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.68);
}

.search-panel {
  max-width: 820px;
  margin: 0 auto 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
}

.search-panel input {
  min-height: 58px;
  padding: 0 20px;
}

.search-grid .search-item {
  display: none;
}

.search-grid.has-query .search-item.is-visible {
  display: block;
}

.ranking-page-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.ranking-sidebar {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.ranking-sidebar h2 {
  margin: 0 0 18px;
}

.detail-hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  filter: blur(2px) saturate(1.08);
  transform: scale(1.02);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.4)),
    linear-gradient(0deg, var(--bg), transparent 52%);
}

.detail-wrap {
  position: relative;
  z-index: 2;
  padding: 56px 0 72px;
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  max-width: 900px;
}

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

.detail-meta span {
  padding: 7px 12px;
  background: rgba(15, 23, 42, 0.72);
}

.player-section {
  padding-top: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.64), rgba(2, 6, 23, 0.2));
  cursor: pointer;
  transition: opacity 180ms ease, visibility 180ms ease;
}

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

.big-play {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: #111827;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.32);
  font-size: 30px;
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 4;
  margin: 0;
  color: #fecaca;
  text-align: center;
  pointer-events: none;
}

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

.copy-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.76);
}

.copy-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.copy-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.9;
}

.site-footer {
  margin-top: 76px;
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
}

.footer-brand p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  padding: 10px 14px;
  color: var(--muted-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.34);
}

.footer-links a:hover {
  color: var(--brand);
  border-color: rgba(245, 158, 11, 0.38);
}

.footer-bottom {
  padding: 16px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

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

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

  .two-column-section,
  .ranking-page-layout {
    grid-template-columns: 1fr;
  }

  .ranking-sidebar {
    position: static;
  }
}

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

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

  .brand-text small {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 620px;
  }

  .hero-content {
    padding: 140px 0 88px;
  }

  .hero-control {
    top: auto;
    bottom: 78px;
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

  .quick-search-panel,
  .footer-inner,
  .detail-grid,
  .detail-copy {
    grid-template-columns: 1fr;
  }

  .quick-search,
  .search-panel {
    flex-direction: column;
  }

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

  .detail-grid {
    gap: 28px;
  }

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

@media (max-width: 560px) {
  .header-inner,
  .footer-inner,
  .hero-content,
  .detail-wrap,
  .content-section,
  .quick-search-panel,
  .page-hero > div {
    width: min(100% - 24px, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

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

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

  .movie-grid,
  .large-grid,
  .feature-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    width: calc(100% - 24px);
    padding: 22px;
  }

  .scroll-row {
    grid-auto-columns: 82vw;
  }

  .horizontal-card {
    grid-template-columns: auto 64px minmax(0, 1fr);
  }

  .horizontal-card img {
    width: 64px;
    height: 54px;
  }

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

  .player-shell {
    border-radius: 18px;
  }
}
