:root {
  --rose: #f43f5e;
  --rose-dark: #e11d48;
  --orange: #f97316;
  --amber: #f59e0b;
  --emerald: #10b981;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --cyan: #06b6d4;
  --slate: #475569;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #fff7ed;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(244, 63, 94, 0.14);
  --radius: 24px;
}

* {
  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", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 45%, #fff1f2 100%);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

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

.brand-name {
  font-size: 24px;
  color: transparent;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.header-search,
.mobile-search,
.search-page-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input {
  min-width: 0;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.13);
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  font-weight: 800;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: #fff1f2;
  font-size: 24px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(244, 63, 94, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel-inner {
  display: grid;
  gap: 14px;
  padding: 18px 0;
}

.hero-section {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, #f43f5e 0%, #ec4899 45%, #f97316 100%);
}

.hero-section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 160px;
  content: "";
  background: linear-gradient(to top, #fff1f2, rgba(255, 241, 242, 0));
}

.hero-bg-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.28;
  background: #ffffff;
}

.hero-bg-glow.one {
  top: -140px;
  left: -120px;
}

.hero-bg-glow.two {
  right: -150px;
  bottom: 30px;
  background: #fde68a;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 14px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 12px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-actions,
.detail-copy .primary-button {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

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

.primary-button {
  color: var(--rose);
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(127, 29, 29, 0.16);
}

.primary-button:hover,
.ghost-button:hover,
.category-card:hover,
.movie-card:hover,
.feature-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-poster {
  position: relative;
  display: block;
  border: 8px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 3 / 4.15;
  box-shadow: 0 28px 80px rgba(127, 29, 29, 0.32);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 86px;
  left: 0;
  display: flex;
  gap: 10px;
}

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

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

.feature-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: -88px;
  margin-bottom: 72px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  color: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card img,
.feature-mask {
  position: absolute;
  inset: 0;
}

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

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

.feature-mask {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0));
}

.feature-card strong,
.feature-card em,
.feature-type {
  position: relative;
  z-index: 2;
}

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

.feature-card em {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-size: 14px;
}

.feature-type {
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(244, 63, 94, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.section-block {
  margin-bottom: 74px;
}

.section-band {
  margin-bottom: 74px;
  padding: 58px 0 1px;
  background: rgba(255, 255, 255, 0.78);
}

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

.heading-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.heading-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  font-size: 24px;
  box-shadow: 0 14px 26px rgba(244, 63, 94, 0.22);
}

.section-heading h2,
.ranking-title h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
}

.section-heading p,
.ranking-title p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section-more {
  color: var(--rose);
  font-weight: 900;
}

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

.category-card,
.category-overview-card {
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card {
  display: grid;
  gap: 6px;
  min-height: 132px;
  place-content: center;
  text-align: center;
}

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

.category-card span {
  opacity: 0.86;
}

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

.category-overview-card a {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 30px;
}

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

.category-overview-card p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.category-count {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

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

.category-samples span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.from-rose {
  background: linear-gradient(135deg, #f43f5e, #f97316);
}

.from-orange {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.from-emerald {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.from-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.from-pink {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.from-purple {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.from-cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.from-amber {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.from-red {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.from-slate {
  background: linear-gradient(135deg, #334155, #64748b);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(31, 41, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  box-shadow: 0 22px 48px rgba(244, 63, 94, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5.35;
  background: linear-gradient(135deg, #ffe4e6, #ffedd5);
}

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

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

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

.duration {
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 4px 9px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.66);
  font-size: 12px;
}

.play-badge {
  display: grid;
  place-items: center;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(244, 63, 94, 0.88);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.card-meta,
.detail-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.movie-card h3 {
  margin: 8px 0 8px;
  font-size: 19px;
  line-height: 1.32;
}

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

.movie-card p {
  display: -webkit-box;
  min-height: 45px;
  margin: 0 0 13px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--rose-dark);
  background: #ffe4e6;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.two-column-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 28px;
  align-items: start;
}

.ranking-card,
.content-card,
.filter-panel,
.rank-page-list {
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(31, 41, 55, 0.08);
}

.ranking-card {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.ranking-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ranking-title span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  font-size: 22px;
}

.rank-list,
.rank-page-list {
  display: grid;
  gap: 10px;
}

.rank-page-list {
  padding: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 44px 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  padding: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: #fff1f2;
  transform: translateX(4px);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--muted);
  background: #f3f4f6;
  font-weight: 900;
}

.rank-number.gold,
.rank-number.silver,
.rank-number.bronze {
  color: #ffffff;
}

.rank-number.gold {
  background: linear-gradient(135deg, #facc15, #f97316);
}

.rank-number.silver {
  background: linear-gradient(135deg, #cbd5e1, #64748b);
}

.rank-number.bronze {
  background: linear-gradient(135deg, #fdba74, #d97706);
}

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

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

.rank-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy em {
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.rank-views {
  color: var(--rose);
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 58px;
  color: #ffffff;
  background: linear-gradient(120deg, #f43f5e 0%, #ec4899 46%, #f97316 100%);
}

.page-hero .container {
  padding: 84px 0;
}

.small-hero .container,
.search-hero .container,
.rank-hero .container {
  padding: 90px 0;
}

.page-hero h1,
.detail-copy h1 {
  margin: 16px 0 12px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.12;
}

.page-hero p,
.detail-copy .one-line {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

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

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

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 18px;
}

.filter-panel label {
  display: grid;
  flex: 1;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.filter-panel input {
  width: min(100%, 560px);
}

.filter-count {
  color: var(--muted);
}

.filter-count strong {
  color: var(--rose);
  font-size: 24px;
}

.detail-hero {
  padding: 52px 0 70px;
}

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

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.24);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(127, 29, 29, 0.28);
}

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

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 24px 0;
  color: #ffffff;
}

.detail-meta-grid span {
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.16);
}

.detail-meta-grid strong {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.detail-copy .primary-button {
  width: fit-content;
}

.player-section {
  margin-top: -84px;
  margin-bottom: 56px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 10px solid #ffffff;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 28px 70px rgba(31, 41, 55, 0.22);
  aspect-ratio: 16 / 9;
}

.site-video {
  width: 100%;
  height: 100%;
  background: #111827;
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
  text-align: center;
  cursor: pointer;
}

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

.overlay-play {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 22px 42px rgba(244, 63, 94, 0.36);
  font-size: 28px;
}

.video-overlay strong {
  font-size: clamp(24px, 4vw, 40px);
}

.video-overlay em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 800;
}

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

.content-card {
  padding: 28px;
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.content-card p {
  margin: 0;
  color: #4b5563;
}

.search-page-form {
  max-width: 720px;
  margin-top: 28px;
}

.search-page-form input {
  flex: 1;
  min-height: 54px;
}

.search-status {
  margin-bottom: 24px;
  border-radius: 18px;
  padding: 14px 18px;
  color: var(--muted);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
  font-weight: 800;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(120deg, #111827, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 54px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.site-footer p {
  margin: 12px 0 0;
  color: #9ca3af;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  color: #9ca3af;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .header-search {
    display: none;
  }

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

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

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

  .two-column-showcase {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    position: static;
  }
}

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

  .mobile-menu-button {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .hero-section,
  .hero-inner {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0 120px;
  }

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

  .hero-dots {
    bottom: 64px;
  }

  .feature-strip,
  .movie-grid,
  .movie-grid.compact,
  .category-overview-grid,
  .detail-layout,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-name {
    font-size: 20px;
  }

  .feature-strip,
  .movie-grid,
  .movie-grid.compact,
  .category-grid,
  .category-overview-grid,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .filter-panel {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .rank-views {
    grid-column: 3;
  }

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

  .player-section {
    margin-top: -46px;
  }

  .video-shell {
    border-width: 5px;
    border-radius: 20px;
  }
}
