:root {
  --bg: #fff7fd;
  --bg-soft: #f6f0ff;
  --text: #1f1235;
  --muted: #6f6380;
  --pink: #ec4899;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --gold: #facc15;
  --line: rgba(139, 92, 246, 0.18);
  --card: rgba(255, 255, 255, 0.84);
  --shadow: 0 24px 70px rgba(64, 34, 94, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 18% 5%, rgba(236, 72, 153, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.16), transparent 30rem),
    linear-gradient(135deg, #fff7fb 0%, #f4efff 48%, #eef7ff 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.96), rgba(139, 92, 246, 0.96), rgba(59, 130, 246, 0.96));
  box-shadow: 0 16px 45px rgba(97, 34, 135, 0.28);
  backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #8b1d69;
  background: #fff;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
  font-size: 16px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  padding: 9px 13px;
  border-radius: 14px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 24px;
}

main {
  overflow: hidden;
}

.hero-shell {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: #221037;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.02);
}

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

.hero-slide > img,
.page-hero > img,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay,
.page-hero-overlay,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 48%, rgba(236, 72, 153, 0.2), transparent 20rem),
    linear-gradient(90deg, rgba(88, 20, 83, 0.96) 0%, rgba(73, 38, 139, 0.86) 48%, rgba(30, 64, 175, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 46px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  align-items: center;
  gap: 42px;
}

.hero-copy {
  max-width: 760px;
  color: #fff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fde68a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 14px 45px rgba(0, 0, 0, 0.36);
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-tags span,
.pill,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 800;
}

.tag-row span {
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.18);
}

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

.btn,
.card-actions a,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn.primary,
.card-actions a:first-child,
.text-link {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 16px 32px rgba(236, 72, 153, 0.28);
}

.btn.ghost,
.card-actions a:last-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.card-actions a:last-child {
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.15);
}

.btn:hover,
.card-actions a:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(139, 92, 246, 0.22);
}

.hero-poster {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 3 / 4;
  justify-self: center;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-poster img,
.detail-poster img,
.poster-link img,
.rank-thumb img,
.category-cover img,
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hero-poster:hover img,
.detail-poster:hover img,
.poster-link:hover img,
.rank-thumb:hover img,
.category-card:hover img,
.category-cover:hover img {
  transform: scale(1.08);
}

.hero-poster span,
.detail-poster span,
.play-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  font-size: 26px;
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.hero-dot.active {
  width: 54px;
  background: #fff;
}

.search-panel,
.content-section,
.category-tabs {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
}

.search-panel {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.search-box {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.search-box span {
  color: var(--pink);
  font-size: 25px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  background: transparent;
}

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

.quick-links a,
.category-tabs a {
  padding: 11px 14px;
  border-radius: 16px;
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.1);
  font-weight: 850;
  border: 1px solid rgba(139, 92, 246, 0.14);
}

.content-section {
  padding: 72px 0 0;
}

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

.section-head h2 {
  margin: 7px 0 6px;
  color: #221037;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-head > a {
  padding: 12px 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 18px 35px rgba(59, 130, 246, 0.18);
}

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

.movie-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 18px 45px rgba(52, 28, 93, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(84, 40, 132, 0.2);
}

.poster-link {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  background: #2d1645;
}

.poster-link::after,
.rank-thumb::after,
.category-cover::after,
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 9, 36, 0.75));
  pointer-events: none;
}

.play-glow {
  width: 50px;
  height: 50px;
  opacity: 0;
  font-size: 18px;
  transition: opacity 0.25s ease;
}

.poster-link:hover .play-glow {
  opacity: 1;
}

.score-badge,
.rank-badge {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #3c1d07;
  background: #fde68a;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.rank-badge {
  left: 12px;
  right: auto;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.card-body {
  padding: 18px;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.meta-row span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
}

.card-body h3,
.rank-info h3,
.category-large-card h2,
.article-card h2,
.side-card h2 {
  margin: 12px 0 8px;
  color: #231033;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 950;
}

.card-body h3 a:hover,
.rank-info h3 a:hover,
.category-large-card h2 a:hover {
  color: var(--pink);
}

.card-body p,
.rank-info p,
.category-large-card p,
.article-card p,
.side-card dd,
.side-card dt {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.card-actions a {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 13px;
  font-size: 14px;
}

.gradient-block {
  position: relative;
}

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

.category-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background: #271040;
  box-shadow: 0 20px 55px rgba(57, 29, 91, 0.18);
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(49, 15, 83, 0.15), rgba(25, 8, 43, 0.92));
}

.category-card > * {
  position: relative;
  z-index: 2;
}

.category-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.category-card strong {
  font-size: 20px;
  font-weight: 950;
}

.category-card em {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.55;
}

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

.rank-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 190px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 45px rgba(55, 24, 88, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.compact-list .rank-item {
  grid-template-columns: 54px 150px minmax(0, 1fr);
}

.list-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: auto 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-size: 20px;
  font-weight: 950;
}

.rank-thumb {
  position: relative;
  min-height: 122px;
  border-radius: 20px;
  overflow: hidden;
  background: #2b1645;
}

.rank-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: #7c3aed;
  font-weight: 900;
}

.rank-foot a {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #25113a;
}

.page-hero {
  min-height: 390px;
  display: flex;
  align-items: center;
  padding: 86px max(22px, calc((100vw - 1280px) / 2)) 80px;
}

.small-hero {
  min-height: 340px;
  background:
    radial-gradient(circle at 76% 10%, rgba(250, 204, 21, 0.16), transparent 22rem),
    linear-gradient(135deg, #be185d 0%, #6d28d9 52%, #1d4ed8 100%);
}

.page-hero > div {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
}

.category-tabs a.active {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

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

.category-large-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(52, 28, 93, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.category-cover {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 22px;
  background: #2b1645;
}

.category-cover span {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  font-size: 28px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.mini-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  min-height: 38px;
  padding: 0 14px;
}

.detail-hero {
  min-height: 650px;
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 44px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  margin-bottom: 28px;
}

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

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

.detail-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.detail-meta-grid span {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

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

.detail-main,
.detail-side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #0f0819;
  box-shadow: 0 24px 70px rgba(35, 13, 54, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0f0819;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--pink);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.34));
  cursor: pointer;
}

.player-start span {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

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

.article-card,
.side-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(52, 28, 93, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.article-card h2,
.side-card h2 {
  margin-top: 0;
}

.side-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.side-card dt {
  color: #7c3aed;
  font-weight: 900;
}

.side-card dd {
  margin: 0;
}

.side-card a {
  color: var(--pink);
  font-weight: 900;
}

.mini-rank {
  display: grid;
  gap: 10px;
}

.mini-rank a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  color: #301246;
  background: rgba(139, 92, 246, 0.08);
  font-weight: 850;
}

.mini-rank span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.site-footer {
  margin-top: 86px;
  color: #fff;
  background: linear-gradient(90deg, #111827, #581c87, #111827);
}

.footer-inner {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.footer-inner p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 850;
}

.no-results {
  grid-column: 1 / -1;
  padding: 32px;
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 850;
}

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

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

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

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.98), rgba(59, 130, 246, 0.98));
    box-shadow: 0 24px 60px rgba(41, 17, 72, 0.38);
  }

  body.menu-open .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-shell {
    height: 660px;
  }

  .hero-content,
  .detail-hero-grid,
  .detail-layout,
  .footer-inner,
  .category-large-card {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-poster {
    max-width: 270px;
  }

  .search-panel {
    flex-direction: column;
    align-items: stretch;
  }

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

  .rank-item,
  .compact-list .rank-item {
    grid-template-columns: 48px 120px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .search-panel,
  .content-section,
  .category-tabs,
  .detail-hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1280px);
  }

  .nav-inner {
    padding: 0 14px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-shell {
    height: 720px;
  }

  .hero-content {
    padding: 34px 14px 70px;
  }

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

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

  .poster-link {
    height: 390px;
  }

  .rank-item,
  .compact-list .rank-item {
    grid-template-columns: 1fr;
  }

  .list-rank {
    position: absolute;
    left: 24px;
    top: 24px;
    z-index: 3;
  }

  .rank-thumb {
    height: 220px;
  }

  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}
