:root {
  color-scheme: light;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --teal-600: #0d9488;
  --cyan-600: #0891b2;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.22);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 44%, #f8fafc 100%);
}

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;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-950);
  white-space: nowrap;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-600), var(--cyan-600));
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.32);
}

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

.desktop-nav a,
.mobile-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--slate-600);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--emerald-700);
  background: var(--emerald-50);
}

.top-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 300px;
}

.top-search input,
.mobile-search input,
.filter-bar input {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--slate-900);
  background: var(--white);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.top-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--white);
  background: var(--emerald-600);
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 18px;
  gap: 8px;
  flex-direction: column;
}

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

.mobile-search {
  display: flex;
  gap: 8px;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-600) 50%, var(--cyan-600));
}

.hero-carousel::before,
.hero-carousel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-carousel::before {
  width: 380px;
  height: 380px;
  left: -120px;
  top: 70px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-carousel::after {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -220px;
  background: rgba(6, 182, 212, 0.42);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.74fr);
  align-items: center;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 92px 20px 110px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(3px) saturate(1.15);
  transform: scale(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.78), rgba(15, 118, 110, 0.62), rgba(8, 145, 178, 0.52));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #065f46;
  background: rgba(209, 250, 229, 0.92);
}

.hero-copy h1,
.hero-copy h2,
.sub-hero h1,
.detail-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-copy h2 {
  margin-top: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.hero-copy p,
.sub-hero p,
.detail-copy p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.85;
}

.hero-actions,
.sub-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

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

.primary-btn {
  color: var(--white);
  background: var(--emerald-600);
  box-shadow: 0 16px 30px rgba(5, 150, 105, 0.3);
}

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

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

.hero-poster {
  position: relative;
  display: block;
  width: min(420px, 100%);
  justify-self: end;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.16);
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--emerald-700);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.2);
}

.hero-control {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
}

.hero-control button {
  border: 0;
  color: var(--white);
  cursor: pointer;
  background: transparent;
}

.hero-control > button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 24px;
}

.hero-control > button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.56;
  background: var(--white);
}

.hero-dot.is-active {
  width: 28px;
  opacity: 1;
}

.page-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 20px;
}

.overlap-panel {
  margin-top: -74px;
  position: relative;
  z-index: 5;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.feature-cover {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
}

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

.feature-copy h2,
.section-heading h2,
.rank-copy-block h2,
.story-card h2 {
  margin: 12px 0;
  color: var(--slate-950);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.feature-copy p,
.rank-copy-block p,
.story-card p {
  color: var(--slate-600);
  line-height: 1.85;
  font-size: 17px;
}

.pill-line,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.pill-line span,
.tag-row span {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--emerald-700);
  background: var(--emerald-50);
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading a {
  color: var(--emerald-700);
  font-weight: 900;
}

.movie-grid {
  display: grid;
  gap: 18px;
}

.six-col {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.88);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--slate-100);
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.72));
  transition: opacity 0.2s ease;
}

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

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
}

.poster-badge {
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.68);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.poster-play {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--emerald-700);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-title {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: var(--slate-950);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-title:hover {
  color: var(--emerald-700);
}

.movie-card-body p {
  display: -webkit-box;
  min-height: 42px;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.soft-block {
  max-width: none;
  padding-left: max(20px, calc((100% - 1280px) / 2 + 20px));
  padding-right: max(20px, calc((100% - 1280px) / 2 + 20px));
  background: linear-gradient(135deg, var(--emerald-50), #f0fdfa 55%, #ecfeff);
}

.category-grid,
.category-large-grid {
  display: grid;
  gap: 18px;
}

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

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

.category-tile,
.category-card-large {
  display: block;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-tile span,
.category-main-link span {
  display: block;
  color: var(--slate-950);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.category-tile p,
.category-main-link p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.7;
}

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

.category-samples a {
  color: var(--emerald-700);
  background: var(--emerald-50);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.rank-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  align-items: start;
}

.rank-copy-block {
  position: sticky;
  top: 96px;
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  box-shadow: var(--shadow-soft);
}

.rank-copy-block h2,
.rank-copy-block p {
  color: var(--white);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 52px 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.86);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.rank-no {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-600), var(--cyan-600));
  font-weight: 900;
}

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

.rank-copy {
  min-width: 0;
}

.rank-copy strong,
.rank-copy small {
  display: block;
}

.rank-copy strong {
  color: var(--slate-950);
  font-size: 16px;
  font-weight: 900;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-copy small {
  color: var(--slate-500);
  margin-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-score {
  color: var(--emerald-700);
  font-size: 20px;
  font-weight: 900;
}

.full-rank .rank-item {
  grid-template-columns: 64px 78px minmax(0, 1fr) 70px;
}

.sub-hero {
  padding: 86px 20px 74px;
  color: var(--white);
  background: linear-gradient(135deg, var(--emerald-600), var(--teal-600) 55%, var(--cyan-600));
}

.sub-hero > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.sub-hero .section-label {
  display: flex;
  width: fit-content;
}

.sub-hero h1 {
  margin-bottom: 18px;
}

.narrow-section {
  max-width: 980px;
}

.filter-bar > label {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--slate-600);
  font-weight: 900;
}

.filter-status {
  min-height: 24px;
  margin: 10px 0 20px;
  color: var(--emerald-700);
  font-weight: 800;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 18px;
}

.chip-row button {
  border: 0;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--slate-600);
  background: var(--slate-100);
  cursor: pointer;
  font-weight: 800;
}

.chip-row button.is-active,
.chip-row button:hover {
  color: var(--white);
  background: var(--emerald-600);
}

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

.detail-hero {
  padding: 52px 20px 70px;
  color: var(--white);
  background: radial-gradient(circle at 20% 10%, rgba(16, 185, 129, 0.5), transparent 32%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.detail-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-strong);
}

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

.detail-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.detail-copy .pill-line span,
.detail-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.player-section {
  padding-bottom: 32px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-950);
  box-shadow: var(--shadow-strong);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--emerald-700);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.player-overlay strong {
  font-size: 18px;
}

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

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

.story-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.story-card h2 {
  font-size: 25px;
}

.site-footer {
  margin-top: 72px;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-900) 58%, #063f3a);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
  gap: 34px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--emerald-100);
  font-size: 17px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

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

.footer-brand {
  color: var(--white);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom button {
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--emerald-600);
  cursor: pointer;
  font-weight: 800;
}

.movie-card-compact {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
}

.movie-card-compact .movie-poster-link {
  aspect-ratio: 3 / 4;
  background: var(--slate-100);
}

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

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

  .top-search {
    min-width: 220px;
  }
}

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

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

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

  .hero-slide {
    grid-template-columns: 1fr;
    padding-top: 76px;
    gap: 28px;
  }

  .hero-poster {
    justify-self: start;
    width: min(280px, 72vw);
  }

  .feature-panel,
  .rank-layout,
  .detail-grid,
  .content-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-copy-block {
    position: static;
  }

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

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

@media (max-width: 640px) {
  .nav-shell {
    padding-inline: 14px;
  }

  .brand {
    font-size: 17px;
  }

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

  .hero-copy h1,
  .hero-copy h2,
  .sub-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.04em;
  }

  .hero-copy p,
  .sub-hero p,
  .detail-copy p {
    font-size: 16px;
  }

  .page-section {
    padding: 42px 14px;
  }

  .overlap-panel {
    margin-top: -36px;
  }

  .six-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

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

  .movie-title {
    font-size: 14px;
  }

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

  .rank-item,
  .full-rank .rank-item {
    grid-template-columns: 44px 62px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }

  .rank-item img {
    width: 62px;
    height: 82px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
