:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --amber-400: #fbbf24;
  --blue-500: #3b82f6;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 10px 25px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 18px 45px rgba(17, 24, 39, 0.12);
  --shadow-lg: 0 30px 80px rgba(17, 24, 39, 0.22);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, #fff7f4 0%, #ffffff 22%, #ffffff 100%);
}

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: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.06);
}

.nav-shell {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

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

.brand-text {
  font-size: 28px;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-500), var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: var(--gray-700);
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--rose-600);
  background: var(--rose-50);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--rose-50);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--gray-800);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 8px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.mobile-panel.is-open {
  display: grid;
  gap: 4px;
}

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

.hero-carousel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

.hero-stage,
.hero-slide,
.hero-bg,
.hero-bg img,
.hero-layer {
  position: absolute;
  inset: 0;
}

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.08);
}

.hero-layer {
  background:
    radial-gradient(circle at 78% 20%, rgba(251, 146, 60, 0.36), transparent 34%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.90) 0%, rgba(17, 24, 39, 0.66) 44%, rgba(17, 24, 39, 0.18) 100%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.08) 0%, rgba(17, 24, 39, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 160px;
  max-width: 760px;
  margin-left: max(16px, calc((100% - var(--container)) / 2));
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-600);
  background: var(--rose-50);
  border: 1px solid var(--rose-100);
  border-radius: 999px;
  padding: 8px 13px;
}

.hero-kicker {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  margin: 22px 0 22px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.hero-content p {
  margin: 0;
  max-width: 680px;
  font-size: clamp(17px, 2.4vw, 24px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.hero-tags span,
.tag-row span {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.94);
}

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

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

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

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 18px 40px rgba(244, 63, 94, 0.35);
}

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

.btn.glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn.white {
  color: var(--rose-600);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: max(16px, calc((100% - var(--container)) / 2));
  bottom: 115px;
  display: flex;
  gap: 10px;
}

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

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

.hero-rail {
  position: absolute;
  z-index: 4;
  right: max(16px, calc((100% - var(--container)) / 2));
  bottom: 44px;
  display: flex;
  gap: 14px;
  max-width: 560px;
  overflow: auto;
  padding: 6px 0;
}

.hero-mini {
  flex: 0 0 102px;
  height: 134px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.16);
}

.hero-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mini span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px 8px;
  border-radius: 12px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: rgba(17, 24, 39, 0.64);
  backdrop-filter: blur(8px);
}

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

.section-heading {
  margin-bottom: 32px;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.center-heading {
  text-align: center;
  display: grid;
  justify-items: center;
}

.section-heading h2,
.search-panel h2,
.story-card h2,
.footer-group h2 {
  margin: 14px 0 10px;
  color: var(--gray-900);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.section-heading p,
.search-panel p,
.page-hero p,
.footer-brand p,
.story-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.8;
}

.text-link {
  color: var(--rose-600);
  font-weight: 900;
}

.text-link.orange {
  color: var(--orange-500);
}

.text-link.blue {
  color: var(--blue-500);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 0.78);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 63, 94, 0.28);
  box-shadow: var(--shadow-md);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--rose-100), #ffedd5);
  overflow: hidden;
}

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

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

.movie-card:hover .poster-link img {
  transform: scale(1.05);
}

.poster-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.3);
}

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

.movie-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 800;
}

.category-pill {
  color: var(--rose-600);
  background: var(--rose-50);
  padding: 6px 9px;
  border-radius: 999px;
}

.movie-card h2 {
  margin: 0 0 10px;
  color: var(--gray-900);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.movie-card h2 a:hover,
.rank-info h2 a:hover,
.category-title:hover {
  color: var(--rose-600);
}

.movie-card p {
  margin: 0 0 14px;
  min-height: 50px;
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 14px;
}

.tag-row span {
  color: var(--gray-600);
  background: var(--gray-100);
}

.large-tags span {
  color: var(--rose-600);
  background: var(--rose-50);
}

.category-band {
  background: linear-gradient(135deg, var(--rose-50), #fff7ed 48%, #fffbeb);
}

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

.category-card,
.category-overview-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-card strong,
.category-title {
  color: var(--gray-900);
  font-size: 20px;
  font-weight: 950;
}

.category-card span,
.category-overview-card p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 14px;
}

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

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

.category-samples a,
.category-more {
  color: var(--rose-600);
  background: var(--rose-50);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 800;
}

.category-more {
  width: fit-content;
  margin-top: 4px;
}

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

.rank-list {
  display: grid;
  gap: 16px;
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 0.84);
}

.rank-row-wide {
  grid-template-columns: 64px 110px minmax(0, 1fr);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 950;
  font-size: 18px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
}

.rank-cover {
  display: block;
  width: 92px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--rose-50);
}

.rank-row-wide .rank-cover {
  width: 110px;
  aspect-ratio: 4 / 3;
}

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

.rank-info h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 950;
}

.rank-info p {
  margin: 0 0 10px;
  color: var(--gray-600);
  line-height: 1.6;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 800;
}

.rank-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--gray-100);
}

.latest-grid,
.search-grid,
.category-page-grid,
.related-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cta-band {
  color: var(--white);
  text-align: center;
  padding: 74px 16px;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-500), var(--amber-400));
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 950;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 86px 16px;
  background:
    radial-gradient(circle at 18% 16%, rgba(244, 63, 94, 0.20), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(251, 146, 60, 0.26), transparent 32%),
    linear-gradient(135deg, #fff1f2, #fff7ed 52%, #fffbeb);
}

.page-hero > div {
  display: grid;
  justify-items: center;
  max-width: 820px;
}

.page-hero h1 {
  margin: 18px 0 12px;
  color: var(--gray-900);
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 0.86);
}

.search-panel h2 {
  margin-top: 0;
  font-size: 26px;
}

.search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
}

.search-controls input,
.search-controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
  background: var(--gray-50);
  color: var(--gray-800);
}

.search-controls input:focus,
.search-controls select:focus {
  border-color: rgba(244, 63, 94, 0.58);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.10);
}

.search-item.is-hidden {
  display: none;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  color: var(--white);
  overflow: hidden;
  background: var(--gray-900);
}

.detail-bg,
.detail-bg img,
.detail-bg div {
  position: absolute;
  inset: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(1.08);
  transform: scale(1.04);
}

.detail-bg div {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.58)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.20), rgba(17, 24, 39, 0.95));
}

.detail-shell {
  position: relative;
  z-index: 3;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

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

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

.detail-poster {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--rose-50);
}

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

.detail-info h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 19px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.detail-info .btn {
  margin-top: 28px;
}

.detail-content {
  display: grid;
  gap: 24px;
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.25), rgba(17, 24, 39, 0.72));
  border: 0;
  cursor: pointer;
  z-index: 3;
}

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

.play-ring {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 18px 44px rgba(244, 63, 94, 0.45);
}

.play-ring span {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid var(--white);
  margin-left: 6px;
}

.player-cover strong {
  font-size: 22px;
  letter-spacing: 0.02em;
}

.story-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(229, 231, 235, 0.86);
}

.story-card h2 {
  margin-top: 0;
  font-size: 28px;
}

.story-card p {
  font-size: 17px;
  color: var(--gray-700);
}

.site-footer {
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
  border-top: 1px solid var(--gray-200);
}

.footer-shell {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-logo {
  width: fit-content;
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--rose-600), var(--orange-500), var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-group h2 {
  font-size: 17px;
  margin: 0 0 6px;
}

.footer-group a,
.footer-group span {
  color: var(--gray-600);
  line-height: 1.6;
}

.footer-group a:hover {
  color: var(--rose-600);
}

.footer-bottom {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 32px;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .movie-grid,
  .latest-grid,
  .search-grid,
  .category-page-grid,
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-rail {
    left: max(16px, calc((100% - var(--container)) / 2));
    right: auto;
    max-width: calc(100% - 32px);
  }
}

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

  .menu-toggle {
    display: block;
  }

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

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

  .hero-dots {
    bottom: 150px;
  }

  .split-heading,
  .search-panel,
  .detail-top,
  .footer-shell {
    grid-template-columns: 1fr;
    display: grid;
  }

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

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

@media (max-width: 640px) {
  .brand-text {
    font-size: 24px;
  }

  .hero-actions,
  .search-controls {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .movie-grid,
  .featured-grid,
  .latest-grid,
  .search-grid,
  .category-page-grid,
  .related-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .rank-row,
  .rank-row-wide {
    grid-template-columns: 44px 78px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .rank-number {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .rank-cover,
  .rank-row-wide .rank-cover {
    width: 78px;
  }

  .section-shell {
    padding: 54px 0;
  }

  .detail-shell {
    padding-top: 34px;
  }

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

  .story-card {
    padding: 22px;
  }
}
