:root {
  color-scheme: light;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --ink-900: #111827;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --line: rgba(244, 63, 94, 0.16);
  --card: rgba(255, 255, 255, 0.86);
  --shadow: 0 22px 60px rgba(225, 29, 72, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink-900);
  background: linear-gradient(180deg, #fff1f2 0%, #ffffff 34%, #fff7ed 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: 50;
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.94), rgba(253, 242, 248, 0.92), rgba(255, 247, 237, 0.94));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1240px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--orange-500));
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.28);
}

.brand-text {
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink-700);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--rose-600);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.nav-search input {
  width: 210px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 4px 8px 12px;
  color: var(--ink-700);
}

.nav-search button,
.primary-btn,
.hero-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  padding: 11px 18px;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--orange-500));
  box-shadow: 0 14px 28px rgba(244, 63, 94, 0.25);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-search button:hover,
.primary-btn:hover,
.hero-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(244, 63, 94, 0.34);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--rose-600);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(244, 63, 94, 0.18);
  box-shadow: 0 12px 26px rgba(244, 63, 94, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--rose-600);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 74px 0 64px;
  background: linear-gradient(120deg, #ffe4e6 0%, #fdf2f8 46%, #ffedd5 100%);
}

.hero-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.38;
  animation: pulseGlow 5s ease-in-out infinite;
}

.orb-one {
  top: -120px;
  left: -110px;
  background: #fb7185;
}

.orb-two {
  right: -100px;
  bottom: -130px;
  background: #fdba74;
  animation-delay: 1.8s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-heading {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.hero-heading h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-heading p {
  margin: 0 auto 24px;
  max-width: 760px;
  color: var(--ink-700);
  font-size: clamp(17px, 2.2vw, 24px);
  line-height: 1.7;
}

.hero-search {
  display: flex;
  gap: 10px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(244, 63, 94, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: transparent;
  color: var(--ink-700);
}

.hero-carousel {
  position: relative;
  min-height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding: 36px;
  opacity: 0;
  transform: scale(0.985) translateY(12px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.eyebrow,
.hero-heading span,
.page-hero span,
.section-title span,
.side-title span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0 0 20px;
  color: var(--ink-700);
  line-height: 1.9;
  font-size: 17px;
}

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

.hero-tags span,
.tag-row span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--rose-600);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 228, 230, 0.86);
  border: 1px solid rgba(244, 63, 94, 0.14);
}

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

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.18);
}

.hero-poster img,
.poster-link img,
.detail-poster img,
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #ffe4e6, #fdf2f8, #ffedd5);
}

.hero-dots {
  position: absolute;
  left: 36px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 99px;
  background: rgba(244, 63, 94, 0.28);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.hero-dots button.active {
  width: 36px;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-500));
}

.section-wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.quick-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 24px 0 10px;
}

.quick-strip a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 11px 17px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-700);
  border: 1px solid var(--line);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.08);
}

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

.section-title h2,
.side-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.section-title a {
  color: var(--rose-600);
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: 0 16px 40px rgba(244, 63, 94, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(244, 63, 94, 0.17);
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, 0.64));
}

.play-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.22);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-500));
}

.card-body {
  padding: 16px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 800;
}

.meta-line a {
  color: var(--rose-600);
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card p {
  margin: 0 0 14px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.7;
}

.compact-card h3 {
  font-size: 16px;
}

.compact-card p {
  font-size: 13px;
}

.hot-panel,
.story-card,
.info-card,
.player-card,
.filter-panel,
.overview-card {
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hot-panel {
  padding: 24px;
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

.hot-list {
  display: grid;
  gap: 10px;
}

.long-list {
  max-height: 780px;
  overflow: auto;
  padding-right: 4px;
}

.hot-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "num title" "num meta";
  gap: 2px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.88), rgba(255, 247, 237, 0.75));
  transition: transform 0.22s ease, background 0.22s ease;
}

.hot-item:hover {
  transform: translateX(4px);
  background: linear-gradient(90deg, rgba(255, 228, 230, 0.9), rgba(254, 215, 170, 0.75));
}

.hot-number {
  grid-area: num;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
}

.hot-title {
  grid-area: title;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.hot-meta {
  grid-area: meta;
  color: var(--ink-500);
  font-size: 13px;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 18px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background: var(--rose-100);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.12);
}

.category-card img,
.category-glow {
  position: absolute;
  inset: 0;
}

.category-card img {
  z-index: 0;
}

.category-glow {
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(225, 29, 72, 0.72));
}

.category-card strong,
.category-card small {
  position: relative;
  z-index: 2;
}

.category-card strong {
  font-size: 22px;
  margin-bottom: 6px;
}

.category-card small {
  line-height: 1.6;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: radial-gradient(circle at 15% 10%, rgba(251, 113, 133, 0.28), transparent 34%), linear-gradient(120deg, #ffe4e6, #fff7ed);
}

.page-hero > div {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-700);
  font-size: 18px;
  line-height: 1.8;
}

.hero-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-mini-links a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--ink-700);
  font-weight: 800;
}

.hero-mini-links span {
  margin: 0;
  color: var(--rose-600);
  font-size: 12px;
  letter-spacing: normal;
  text-transform: none;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  margin-bottom: 24px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.9);
  outline: 0;
}

.result-count {
  min-height: 22px;
  margin-bottom: 16px;
  color: var(--rose-600);
  font-weight: 900;
}

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

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

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

.overview-card {
  padding: 18px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
}

.overview-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--rose-100);
}

.overview-cover img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.overview-card h2 {
  margin: 4px 0 10px;
}

.overview-card p {
  color: var(--ink-500);
  line-height: 1.7;
}

.overview-links {
  display: grid;
  gap: 8px;
}

.overview-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-700);
  font-weight: 800;
}

.overview-links span {
  color: var(--rose-600);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  color: #ffffff;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) scale(1.08);
  opacity: 0.5;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.42)), linear-gradient(180deg, rgba(225, 29, 72, 0.3), rgba(249, 115, 22, 0.2));
}

.detail-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 66px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.lead-text {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.8;
}

.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
}

.detail-main {
  margin-top: -80px;
  position: relative;
  z-index: 2;
}

.player-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #0f172a;
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  font-size: 30px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

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

.player-state {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(10px);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 24px;
}

.story-card,
.info-card {
  padding: 26px;
}

.story-card h2,
.info-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.story-card p {
  margin: 0 0 22px;
  color: var(--ink-700);
  font-size: 17px;
  line-height: 1.9;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.info-card li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 241, 242, 0.8);
}

.info-card span {
  color: var(--ink-500);
}

.info-card strong {
  text-align: right;
}

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

.card-hidden {
  display: none !important;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.34;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.48;
  }
}

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

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

  .hot-panel,
  .sticky-panel {
    position: static;
  }

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

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

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

@media (max-width: 820px) {
  .nav-wrap {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    margin-left: 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.is-open {
    display: flex;
  }

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

  .hero-section {
    padding: 46px 0;
  }

  .hero-carousel {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .hero-poster {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .hero-dots {
    left: 24px;
    bottom: 18px;
  }

  .hero-search {
    border-radius: 28px;
    flex-direction: column;
  }

  .hero-search button {
    width: 100%;
  }

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

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

  .overview-cover {
    max-width: 320px;
  }

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

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

  .filter-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section-wrap,
  .page-hero > div,
  .hero-inner,
  .detail-inner,
  .nav-wrap {
    width: min(100% - 22px, 1240px);
  }

  .movie-grid,
  .library-grid,
  .ranking-grid,
  .related-grid,
  .category-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-heading h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.04em;
  }

  .hero-carousel {
    min-height: 720px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 18px;
  }

  .lead-text {
    font-size: 18px;
  }

  .player-start {
    width: 66px;
    height: 66px;
    font-size: 24px;
  }
}
