:root {
  --bg: #fff7f8;
  --panel: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #ffe3e8;
  --rose: #f43f5e;
  --rose-dark: #be123c;
  --rose-soft: #fff1f2;
  --gold: #f59e0b;
  --shadow: 0 20px 60px rgba(190, 18, 60, 0.16);
  --soft-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff7f8 0%, #ffffff 38%, #fff7f8 100%);
  color: var(--ink);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111827;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  box-shadow: 0 12px 26px rgba(244, 63, 94, 0.35);
  font-size: 15px;
}

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

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--rose-soft);
  color: var(--rose-dark);
  border-radius: 12px;
  padding: 9px 14px;
  font-weight: 800;
}

.nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.nav-link {
  color: #4b5563;
  font-weight: 700;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--rose);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.08);
}

.nav-search input {
  width: 220px;
  border: 0;
  outline: 0;
  padding: 8px 10px 8px 14px;
  color: var(--ink);
  background: transparent;
}

.nav-search button,
.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-search button,
.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.28);
}

.btn.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(16px);
}

.btn.soft {
  color: var(--rose-dark);
  background: #ffffff;
}

.btn.small {
  padding: 9px 15px;
  align-self: center;
}

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

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #0f172a;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(244, 63, 94, 0.42),
      transparent 34%
    ),
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.92),
      rgba(15, 23, 42, 0.68) 46%,
      rgba(15, 23, 42, 0.18)
    ),
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.88));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
  color: #ffffff;
  padding: 86px 0 104px;
}

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

.hero-copy h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 950;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.hero-desc {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.9;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

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

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.tag-list span {
  color: var(--rose-dark);
  background: var(--rose-soft);
}

.big-tags span {
  font-size: 13px;
  padding: 8px 13px;
}

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

.hero-poster {
  display: block;
  border-radius: 34px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-6px);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 26px;
}

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

.hero-prev,
.hero-next,
.hero-dot {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

.hero-prev,
.hero-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  opacity: 0.58;
}

.hero-dot.is-active {
  width: 30px;
  border-radius: 999px;
  opacity: 1;
  background: var(--rose);
}

.feature-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -48px auto 0;
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-strip div {
  border: 1px solid rgba(244, 63, 94, 0.13);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.feature-strip strong {
  display: block;
  margin-bottom: 5px;
  color: #111827;
  font-size: 20px;
}

.feature-strip span {
  color: var(--muted);
}

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

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

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

.section-heading a,
.text-link {
  color: var(--rose-dark);
  font-weight: 900;
}

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

.category-tile a {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 63, 94, 0.18),
      transparent 38%
    ),
    #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: var(--soft-shadow);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.category-tile a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-name {
  font-size: 24px;
  font-weight: 950;
}

.category-tile p,
.category-overview-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(244, 63, 94, 0.1);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

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

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #ffe4e6;
}

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

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.82));
  transition: opacity 0.25s ease;
}

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

.poster-badge,
.poster-year {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.poster-badge {
  left: 12px;
  background: var(--rose);
}

.poster-year {
  right: 12px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--rose);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

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

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

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

.movie-card-body h3 a:hover {
  color: var(--rose);
}

.movie-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.movie-one-line {
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.72;
  font-size: 14px;
}

.rank-section {
  padding-bottom: 80px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 44px 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(244, 63, 94, 0.1);
}

.rank-num {
  color: var(--rose);
  font-weight: 950;
  font-size: 22px;
}

.rank-item img {
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-text strong,
.rank-text em {
  display: block;
}

.rank-text strong {
  margin-bottom: 5px;
}

.rank-text em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.page-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 30px auto 0;
  min-height: 330px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: 36px;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 10%, rgba(244, 63, 94, 0.5), transparent 34%),
    linear-gradient(135deg, #111827, #3f0f1d 54%, #be123c);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-hero.compact-hero {
  display: block;
  padding: 58px;
}

.page-hero img {
  width: 220px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.9;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.1);
  box-shadow: var(--soft-shadow);
}

.category-overview-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  object-fit: cover;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(130px, 0.5fr));
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: var(--soft-shadow);
}

.movie-filter-input,
.filter-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  background: #fffafb;
  color: var(--ink);
  padding: 12px 14px;
}

.movie-filter-input:focus,
.filter-select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.1);
}

.movie-card.is-hidden {
  display: none;
}

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

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

.breadcrumb a {
  color: var(--rose-dark);
  font-weight: 800;
}

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

.player-panel,
.aside-card,
.detail-content {
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.1);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
}

.player-panel {
  padding: 14px;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #0f172a;
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.78));
  cursor: pointer;
}

.video-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.video-play-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 24px 50px rgba(244, 63, 94, 0.42);
  font-size: 32px;
}

.video-cover span:last-child {
  font-size: 22px;
  font-weight: 950;
}

.detail-aside {
  display: grid;
  gap: 18px;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.aside-card {
  padding: 20px;
}

.aside-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.small-movie-list {
  display: grid;
  gap: 14px;
}

.small-movie {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.small-movie img {
  width: 56px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
}

.small-movie strong,
.small-movie em {
  display: block;
}

.small-movie strong {
  line-height: 1.35;
}

.small-movie em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.detail-content {
  margin-top: 24px;
  padding: 34px;
}

.detail-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.detail-title-row h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.lead-text {
  margin: 26px 0;
  padding: 22px;
  border-radius: 22px;
  color: var(--rose-dark);
  background: var(--rose-soft);
  font-size: 18px;
  line-height: 1.86;
  font-weight: 700;
}

.detail-content h2 {
  margin: 30px 0 12px;
  font-size: 26px;
}

.detail-content p {
  color: #374151;
  line-height: 2;
  font-size: 16px;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 70px 100px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.1);
  box-shadow: var(--soft-shadow);
}

.ranking-index {
  color: var(--rose);
  font-size: 30px;
  font-weight: 950;
}

.ranking-cover img {
  width: 100px;
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.ranking-info p {
  margin: 0 0 10px;
  color: #4b5563;
  line-height: 1.75;
}

.site-footer {
  margin-top: 40px;
  background: #111827;
  color: #e5e7eb;
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
}

.site-footer p {
  margin: 0;
  max-width: 560px;
  color: #9ca3af;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-links a {
  color: #e5e7eb;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fb7185;
}

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

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

@media (max-width: 860px) {
  .site-nav {
    min-height: 64px;
  }

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

  .nav-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

  .site-header.nav-open .nav-panel {
    display: flex;
  }

  .nav-search {
    border-radius: 18px;
  }

  .nav-search input {
    width: 100%;
  }

  .hero-carousel,
  .hero-content {
    min-height: 740px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding-top: 70px;
  }

  .hero-copy h1,
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tags,
  .hero-actions {
    justify-content: center;
  }

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

  .feature-strip,
  .rank-grid,
  .category-overview-grid,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

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

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

  .page-hero,
  .category-overview-card,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  .page-hero img {
    width: min(240px, 70%);
  }

  .detail-aside {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .site-nav,
  .section-wrap,
  .detail-shell,
  .page-hero,
  .footer-inner {
    width: min(100% - 22px, 1280px);
  }

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

  .hero-carousel,
  .hero-content {
    min-height: 700px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-desc,
  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .feature-strip,
  .category-grid,
  .movie-grid,
  .filter-bar,
  .detail-aside {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    margin-top: 18px;
  }

  .section-heading,
  .detail-title-row {
    display: grid;
    align-items: start;
  }

  .page-hero.compact-hero,
  .page-hero,
  .detail-content {
    padding: 24px;
    border-radius: 26px;
  }

  .ranking-row {
    gap: 14px;
  }

  .ranking-cover img {
    width: 88px;
    height: 122px;
  }
}
