:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --orange: #ea580c;
  --cyan: #0891b2;
  --green: #16a34a;
  --slate: #0f172a;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

* {
  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(--text);
  background: var(--bg);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled,
.site-header.page-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: 1180px;
  height: 76px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.35);
  font-size: 15px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.footer-brand strong {
  color: #ffffff;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.brand-copy em {
  color: rgba(226, 232, 240, 0.82);
  font-style: normal;
  font-size: 12px;
}

.site-header.is-scrolled .brand-copy strong,
.site-header.page-header .brand-copy strong {
  color: var(--text);
}

.site-header.is-scrolled .brand-copy em,
.site-header.page-header .brand-copy em {
  color: var(--muted);
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fbbf24;
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav-link,
.site-header.page-header .nav-link {
  color: #334155;
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.active,
.site-header.page-header .nav-link:hover,
.site-header.page-header .nav-link.active {
  color: var(--amber-dark);
}

.top-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header.is-scrolled .top-search,
.site-header.page-header .top-search {
  background: var(--surface-soft);
  border-color: var(--line);
}

.top-search input {
  width: 150px;
  padding: 10px 0 10px 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  transition: width 0.25s ease;
}

.top-search input:focus {
  width: 210px;
}

.top-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.site-header.is-scrolled .top-search input,
.site-header.page-header .top-search input {
  color: var(--text);
}

.site-header.is-scrolled .top-search input::placeholder,
.site-header.page-header .top-search input::placeholder {
  color: #94a3b8;
}

.top-search button,
.mobile-search button,
.search-panel button {
  border: 0;
  color: #ffffff;
  background: var(--amber);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  border-radius: 2px;
}

.site-header.is-scrolled .menu-toggle,
.site-header.page-header .menu-toggle {
  background: var(--surface-soft);
}

.site-header.is-scrolled .menu-toggle span,
.site-header.page-header .menu-toggle span {
  background: var(--text);
}

.mobile-panel {
  display: none;
  padding: 0 22px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
}

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

.mobile-panel a {
  padding: 12px 14px;
  border-radius: 12px;
  color: #334155;
  font-weight: 700;
  background: #f8fafc;
}

.mobile-search {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-soft);
}

.mobile-search input,
.search-panel input,
.inline-filter input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 13px 16px;
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 580px;
  overflow: hidden;
  background: var(--slate);
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.18) 100%);
}

.hero-content {
  position: absolute;
  left: max(22px, calc((100vw - 1180px) / 2 + 22px));
  top: 50%;
  width: min(650px, calc(100vw - 44px));
  transform: translateY(-43%);
  color: #ffffff;
  display: grid;
  gap: 20px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #e2e8f0;
}

.hero-meta span,
.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.hero-tags span,
.tag-row span {
  color: #fbbf24;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  font-size: 12px;
  font-style: normal;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.32);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

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

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 22px;
}

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

.section-head.compact {
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-head a {
  color: var(--amber-dark);
  font-weight: 800;
}

.category-strip {
  padding-top: 36px;
}

.pill-wrap,
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-link,
.filter-chips button {
  padding: 11px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: #334155;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.pill-link:hover,
.filter-chips button:hover,
.filter-chips button.is-active {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.5);
  background: #fffbeb;
}

.hot-section,
.feature-section,
.latest-section,
.library-section {
  max-width: none;
  padding-left: max(22px, calc((100vw - 1180px) / 2 + 22px));
  padding-right: max(22px, calc((100vw - 1180px) / 2 + 22px));
}

.hot-section {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.feature-section {
  background: linear-gradient(135deg, #ecfeff, #e0f2fe);
}

.latest-section {
  background: #ffffff;
}

.library-section {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

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

.rank-item {
  display: flex;
  gap: 18px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.rank-cover {
  position: relative;
  width: 130px;
  flex: 0 0 130px;
  min-height: 170px;
  overflow: hidden;
  border-radius: 18px;
}

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

.rank-cover b,
.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 15px;
}

.rank-info {
  display: grid;
  align-content: center;
  gap: 10px;
}

.rank-info strong {
  font-size: 20px;
  color: var(--text);
}

.rank-info em {
  color: #475569;
  line-height: 1.6;
  font-style: normal;
}

.rank-info span {
  color: var(--muted);
  font-size: 13px;
}

.poster-grid,
.movie-grid,
.wide-grid,
.related-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.movie-card {
  min-width: 0;
}

.poster-link {
  display: grid;
  gap: 14px;
  height: 100%;
  padding: 10px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.poster-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 2 / 3;
  background: var(--surface-soft);
}

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

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

.play-chip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  text-align: center;
  color: #ffffff;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px);
  font-weight: 800;
  transform: translateY(54px);
  transition: transform 0.24s ease;
}

.poster-link:hover .play-chip {
  transform: translateY(0);
}

.card-body {
  display: grid;
  gap: 7px;
  padding: 0 4px 6px;
}

.card-body strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
}

.card-body small,
.card-body em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.card-body em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 43px;
}

.poster-only .card-body em,
.poster-only .tag-row {
  display: none;
}

.wide-card .poster-link {
  grid-template-columns: 42% 1fr;
  align-items: stretch;
}

.wide-card .poster-frame {
  aspect-ratio: 16 / 10;
}

.wide-card .card-body {
  align-content: center;
}

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

.feature-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.feature-card:hover img {
  transform: scale(1.08);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.12));
}

.feature-card span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 9px;
  color: #ffffff;
}

.feature-card em {
  width: max-content;
  color: #ffffff;
  background: var(--cyan);
  border-radius: 999px;
  padding: 6px 12px;
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.feature-card strong {
  font-size: 26px;
}

.feature-card small {
  color: #cbd5e1;
  line-height: 1.6;
}

.page-main {
  padding-top: 76px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 12% 20%, rgba(245, 158, 11, 0.22), transparent 32%), linear-gradient(135deg, #0f172a, #1e293b 58%, #334155);
  color: #ffffff;
  padding: 88px max(22px, calc((100vw - 1180px) / 2 + 22px)) 82px;
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 18px;
}

.search-panel,
.inline-filter {
  margin-top: 24px;
  display: flex;
  width: min(640px, 100%);
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}

.inline-filter {
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.category-card a {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 18px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 20px;
}

.category-mosaic img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.category-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.category-copy strong {
  font-size: 26px;
}

.category-copy em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.category-hero .filter-chips {
  margin-top: 18px;
}

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

.top-rank-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

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

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.05));
}

.top-rank-card span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: #ffffff;
}

.top-rank-card b {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--amber);
}

.top-rank-card strong {
  font-size: 26px;
}

.top-rank-card em {
  color: #e2e8f0;
  font-style: normal;
}

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

.detail-main {
  padding-top: 76px;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.08);
}

.detail-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.55));
}

.detail-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  min-height: 620px;
  margin: 0 auto;
  padding: 70px 22px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  color: #ffffff;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

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

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #fbbf24;
  font-weight: 700;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-copy p {
  max-width: 800px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.detail-section {
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.34));
  text-align: center;
}

.player-overlay span {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.36);
  font-size: 28px;
}

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

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

.content-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.story-card {
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.story-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.story-card p {
  margin: 0;
  color: #475569;
  line-height: 1.9;
  font-size: 16px;
}

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

.empty-state {
  display: none;
  margin: 30px auto 0;
  padding: 20px;
  max-width: 520px;
  text-align: center;
  color: var(--muted);
  border-radius: 20px;
  background: #ffffff;
}

.empty-state.is-visible {
  display: block;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 22px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand p {
  margin: 8px 0 0;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 20px;
  align-content: start;
}

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

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px 28px;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

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

  .hero {
    min-height: 640px;
  }

  .rank-grid,
  .category-grid,
  .rank-list,
  .content-section,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

  .feature-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

  .detail-shell {
    grid-template-columns: 240px 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    height: 68px;
    padding: 0 16px;
  }

  .brand-copy em {
    display: none;
  }

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

  .hero {
    height: 88vh;
    min-height: 610px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.6));
  }

  .hero-content {
    left: 18px;
    right: 18px;
    width: auto;
    transform: translateY(-38%);
  }

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

  .section {
    padding: 42px 18px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .rank-grid,
  .poster-grid,
  .movie-grid,
  .high-grid,
  .wide-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .rank-item {
    display: grid;
  }

  .rank-cover {
    width: 100%;
    min-height: 220px;
  }

  .wide-card .poster-link {
    grid-template-columns: 1fr;
  }

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

  .detail-main,
  .page-main {
    padding-top: 68px;
  }

  .page-hero {
    padding: 62px 18px;
  }

  .detail-shell {
    grid-template-columns: 1fr;
    padding: 44px 18px 120px;
  }

  .detail-poster {
    width: min(250px, 70vw);
  }

  .detail-section {
    margin-top: -96px;
  }

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

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

@media (max-width: 460px) {
  .poster-grid,
  .movie-grid,
  .high-grid,
  .wide-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-meta,
  .detail-meta {
    display: grid;
  }
}
