:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --gold: #f59e0b;
  --gold-soft: #fbbf24;
  --gold-pale: #fde68a;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(245, 158, 11, 0.18), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.search-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(22px);
}

.header-inner {
  width: min(var(--container), calc(100% - 32px));
  min-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: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(251, 191, 36, 0.72));
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 0 34px rgba(245, 158, 11, 0.34);
}

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

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--gold-pale), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 650;
  padding: 25px 0;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-soft);
  transition: right 0.22s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search,
.menu-toggle {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.74);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.header-search:hover,
.menu-toggle:hover {
  border-color: rgba(251, 191, 36, 0.58);
  color: var(--gold-soft);
  background: rgba(245, 158, 11, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
}

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.95);
}

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

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted-strong);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--gold-soft);
  background: rgba(245, 158, 11, 0.1);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-stage {
  position: relative;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.02);
}

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

.hero-copy {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 92px 0 92px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1 {
  max-width: 850px;
  margin: 18px 0 10px;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h2 {
  max-width: 760px;
  color: var(--gold-pale);
  font-size: clamp(24px, 4vw, 45px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.8;
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold-pale);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-btn,
.ghost-btn,
.section-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 24px;
  color: #111827;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.32);
}

.ghost-btn,
.section-link {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(226, 232, 240, 0.2);
  color: var(--text);
  background: rgba(15, 23, 42, 0.52);
}

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

.ghost-btn:hover,
.section-link:hover {
  border-color: rgba(251, 191, 36, 0.54);
  color: var(--gold-soft);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-dot.is-active {
  background: var(--gold-soft);
}

.quick-filter {
  width: min(var(--container), calc(100% - 32px));
  margin: -26px auto 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-filter a,
.quick-filter button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  padding: 10px 16px;
  font-weight: 750;
}

.quick-filter a:hover,
.quick-filter button:hover {
  color: var(--gold-soft);
  border-color: rgba(251, 191, 36, 0.4);
}

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

.dark-panel {
  margin-top: 82px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.56));
  box-shadow: var(--shadow);
}

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

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 720px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.compact-grid,
.rank-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.38);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #111827;
}

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

.movie-card:hover .movie-poster img {
  transform: scale(1.06);
  opacity: 0.88;
}

.poster-shine {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.96));
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #111827;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.movie-card h3 {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.28;
}

.movie-card h3 a:hover {
  color: var(--gold-soft);
}

.movie-card p {
  min-height: 48px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

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

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

.category-tile {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  padding: 22px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.42);
}

.category-tile span {
  color: var(--gold-soft);
  font-weight: 850;
  font-size: 20px;
}

.category-tile strong {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.6;
}

.horizontal-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.08);
}

.page-hero,
.detail-hero {
  width: min(var(--container), calc(100% - 32px));
  margin: 34px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.page-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: 52px;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.62));
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.8;
}

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

.category-card-large {
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-card-large:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.36);
}

.category-card-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  min-height: 230px;
}

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

.category-card-content {
  padding: 26px;
}

.category-card-content span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-card-content h2 {
  margin-top: 10px;
  font-size: 26px;
}

.category-card-content p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.text-link {
  margin-top: 18px;
  color: var(--gold-soft);
}

.detail-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: end;
  padding: 46px;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

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

.detail-info h1 {
  max-width: 820px;
  margin: 14px 0 16px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.detail-info p {
  max-width: 840px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.8;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow: var(--shadow);
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.4), rgba(2, 6, 23, 0.8));
  color: var(--text);
  text-align: center;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 2;
}

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

.play-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  font-size: 28px;
  box-shadow: 0 0 0 14px rgba(245, 158, 11, 0.16), 0 22px 55px rgba(0, 0, 0, 0.4);
}

.player-overlay strong {
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.1;
}

.player-overlay em {
  color: var(--gold-pale);
  font-style: normal;
  font-weight: 750;
}

.detail-content {
  width: min(var(--container), calc(100% - 32px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 22px;
}

.story-panel,
.detail-side {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 26px;
}

.story-panel h2,
.detail-side h2 {
  margin-top: 10px;
  font-size: 24px;
}

.story-panel p {
  margin-top: 14px;
  color: var(--muted-strong);
  line-height: 1.9;
}

.detail-side dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.detail-side div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-side div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-side dt {
  color: var(--muted);
  font-size: 12px;
}

.detail-side dd {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}

.related-section {
  padding-bottom: 90px;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 18px 24px;
}

.search-modal.is-open {
  display: flex;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
}

.search-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(680px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow);
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.search-head strong {
  display: block;
  font-size: 22px;
}

.search-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.search-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 24px;
}

.search-box {
  display: block;
  padding: 18px 22px;
}

.search-box input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  outline: none;
  background: rgba(2, 6, 23, 0.68);
  color: var(--text);
  padding: 0 18px;
}

.search-box input:focus {
  border-color: rgba(251, 191, 36, 0.64);
}

.search-results {
  max-height: 430px;
  overflow: auto;
  padding: 0 22px 22px;
}

.search-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  color: var(--muted-strong);
}

.search-item:hover {
  background: rgba(245, 158, 11, 0.08);
  color: var(--text);
}

.search-item img {
  width: 58px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.search-item strong {
  display: block;
  color: var(--text);
}

.search-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.8);
}

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

.footer-brand p {
  max-width: 480px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-links div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 14px;
  }

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

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

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

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

  .detail-side {
    grid-column: 1 / -1;
  }
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero,
  .hero-stage,
  .hero-copy {
    min-height: 620px;
  }

  .quick-filter {
    border-radius: 26px;
  }

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

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

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

  .category-card-large {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

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

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

  .brand-text em {
    display: none;
  }

  .header-search {
    padding: 9px 12px;
  }

  .hero,
  .hero-stage,
  .hero-copy {
    min-height: 580px;
  }

  .hero-copy {
    padding-top: 58px;
  }

  .hero p,
  .detail-info p {
    font-size: 15px;
  }

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

  .content-section {
    padding-top: 58px;
  }

  .dark-panel,
  .page-hero,
  .detail-hero,
  .story-panel,
  .detail-side {
    border-radius: 22px;
  }

  .dark-panel,
  .page-hero {
    padding: 24px;
  }

  .detail-hero {
    min-height: auto;
  }

  .footer-links div {
    grid-template-columns: 1fr;
  }
}
