:root {
  --bg: #f7f7f8;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --brand: #dc2626;
  --brand-dark: #b91c1c;
  --brand-soft: #fee2e2;
  --gold: #f59e0b;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  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: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #f97316);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.25);
}

.brand-text {
  font-size: 22px;
}

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

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

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--brand);
}

.search-form,
.mobile-search,
.large-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--soft);
  border-radius: 999px;
}

.search-form input,
.mobile-search input,
.large-search input {
  width: 220px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 10px;
  color: var(--ink);
}

.search-form button,
.mobile-search button,
.large-search button,
.quick-search-panel button {
  border: 0;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.search-form button:hover,
.mobile-search button:hover,
.large-search button:hover,
.quick-search-panel button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: #374151;
  cursor: pointer;
}

.category-strip {
  border-top: 1px solid #f1f5f9;
}

.category-strip-inner {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 0;
  color: #64748b;
  font-size: 14px;
  white-space: nowrap;
}

.category-strip-inner a:hover {
  color: var(--brand);
}

.mobile-panel {
  border-top: 1px solid var(--line);
  background: #fff;
}

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

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #0f172a;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(220, 38, 38, 0.28), transparent 36%),
    linear-gradient(90deg, rgba(3, 7, 18, 0.95), rgba(3, 7, 18, 0.70) 46%, rgba(3, 7, 18, 0.25)),
    linear-gradient(0deg, rgba(3, 7, 18, 0.92), transparent 45%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 330px;
  align-items: center;
  gap: 60px;
  color: #fff;
}

.hero-copy {
  max-width: 720px;
  padding-top: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-copy .eyebrow {
  color: #fecaca;
}

.hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.08em;
}

.hero p {
  max-width: 680px;
  color: #e5e7eb;
  font-size: 18px;
}

.hero-tags,
.movie-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.movie-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span,
.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #f97316);
  box-shadow: 0 18px 34px rgba(220, 38, 38, 0.32);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  aspect-ratio: 2 / 3;
}

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

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

.hero-poster span,
.play-mark,
.wide-poster span,
.detail-cover span {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 36px rgba(220, 38, 38, 0.35);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

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

.hero-dot,
.hero-arrow {
  border: 0;
  cursor: pointer;
}

.hero-dot {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
  background: #fff;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 30px;
}

.quick-search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 480px);
  align-items: center;
  gap: 28px;
  margin-top: -38px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 4;
}

.quick-search-panel h2,
.quick-search-panel p {
  margin: 0;
}

.quick-search-panel form {
  display: flex;
  gap: 10px;
}

.quick-search-panel input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  outline: 0;
}

.section-block {
  margin-top: 64px;
}

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

.section-title h2,
.page-hero h1,
.detail-copy h1 {
  margin: 4px 0 0;
  letter-spacing: -0.04em;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-title a,
.text-link {
  color: var(--brand);
  font-weight: 800;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #111827;
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.1), transparent);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-gradient,
.movie-card:hover .play-mark {
  opacity: 1;
}

.play-mark {
  width: 48px;
  height: 48px;
  opacity: 0;
  font-size: 16px;
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
}

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

.movie-card h2 {
  margin: 9px 0 6px;
  min-height: 3.1em;
  font-size: 16px;
  line-height: 1.45;
}

.movie-card h2 a:hover {
  color: var(--brand);
}

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

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

.movie-card-compact h2 {
  min-height: auto;
  font-size: 15px;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 360px;
  gap: 28px;
}

.ranking-panel,
.story-card,
.info-card,
.search-page-panel,
.filter-bar,
.category-overview-card {
  background: var(--paper);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.ranking-panel {
  padding: 18px;
}

.ranking-panel h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.ranking-list,
.ranking-full-list {
  display: grid;
  gap: 12px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  border-color: #fecaca;
}

.ranking-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 900;
}

.ranking-item img {
  width: 54px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.ranking-info {
  min-width: 0;
}

.ranking-info strong,
.ranking-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-info em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.ranking-score {
  color: var(--gold);
  font-weight: 900;
}

.gradient-panel {
  padding: 30px;
  border-radius: 28px;
}

.red-panel {
  background: linear-gradient(135deg, #fff1f2, #fff7ed);
}

.blue-panel {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.wide-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.wide-poster {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 2 / 3;
}

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

.wide-poster span {
  width: 46px;
  height: 46px;
}

.wide-content h2 {
  margin: 6px 0 8px;
  font-size: 22px;
}

.wide-content p {
  color: var(--muted);
  margin: 0;
}

.wide-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
}

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

.category-card,
.category-overview-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.10);
}

.category-name,
.category-overview-head span {
  color: var(--brand);
  font-weight: 900;
}

.category-card strong,
.category-overview-head strong {
  font-size: 28px;
}

.category-card em,
.category-overview-card p,
.category-overview-card li {
  color: var(--muted);
  font-style: normal;
}

.category-overview-card ul {
  margin: 0;
  padding-left: 18px;
}

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-hero {
  color: #fff;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 20% 20%, rgba(248, 113, 113, 0.36), transparent 35%),
    linear-gradient(135deg, #111827, #7f1d1d 52%, #111827);
}

.small-hero,
.category-hero,
.ranking-hero,
.search-hero {
  min-height: 280px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.page-hero p {
  max-width: 760px;
  color: #e5e7eb;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.filter-bar,
.search-page-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: -34px;
  padding: 18px;
  position: relative;
  z-index: 4;
}

.filter-bar input {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  outline: 0;
}

.large-search {
  flex: 1;
  max-width: 720px;
}

.large-search input {
  width: 100%;
}

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

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

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  color: #fff;
  background: #020617;
}

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

.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.42;
}

.detail-overlay {
  background:
    radial-gradient(circle at 82% 16%, rgba(220, 38, 38, 0.30), transparent 40%),
    linear-gradient(90deg, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.74), rgba(3, 7, 18, 0.48));
}

.detail-hero-inner {
  position: relative;
  padding: 48px 0 64px;
}

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

.detail-cover {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  aspect-ratio: 2 / 3;
}

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

.detail-copy h1 {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.08;
}

.detail-copy p {
  max-width: 760px;
  color: #e5e7eb;
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.detail-meta span {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.player-section {
  margin-top: -64px;
  position: relative;
  z-index: 5;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: 0 32px 88px rgba(15, 23, 42, 0.32);
  aspect-ratio: 16 / 9;
}

.movie-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48));
  cursor: pointer;
  z-index: 3;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 24px 54px rgba(220, 38, 38, 0.42);
  font-size: 30px;
}

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

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  margin-top: 34px;
}

.story-card,
.info-card {
  padding: 24px;
}

.story-card h2,
.info-card h2 {
  margin: 0 0 12px;
}

.story-card p {
  margin: 0;
  color: #374151;
  font-size: 17px;
}

.info-card {
  grid-row: span 2;
}

.info-card dl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.info-card dt {
  color: var(--muted);
}

.info-card dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  margin-top: 80px;
  color: #cbd5e1;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 44px 0;
}

.footer-grid h2 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 16px;
}

.footer-grid p {
  max-width: 360px;
  color: #94a3b8;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.is-hidden-by-filter {
  display: none !important;
}

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

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

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

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

  .menu-toggle {
    display: block;
  }

  .brand-text {
    font-size: 19px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
  }

  .hero-poster {
    width: min(260px, 70vw);
  }

  .quick-search-panel,
  .filter-bar,
  .search-page-panel,
  .wide-card,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .quick-search-panel,
  .filter-bar,
  .search-page-panel {
    display: grid;
  }

  .quick-search-panel form,
  .large-search {
    width: 100%;
  }

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

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

  .detail-cover {
    width: min(280px, 72vw);
  }
}

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

  .header-main {
    min-height: 62px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: 760px;
  }

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

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

  .hero-controls {
    bottom: 18px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-panel {
    margin-top: -24px;
  }

  .quick-search-panel form,
  .mobile-search,
  .large-search {
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .quick-search-panel input,
  .mobile-search input,
  .large-search input {
    width: 100%;
  }

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

  .grid-4,
  .grid-5,
  .grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .movie-card h2 {
    font-size: 14px;
  }

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

  .gradient-panel {
    padding: 18px;
  }

  .ranking-item {
    grid-template-columns: 30px 46px minmax(0, 1fr);
  }

  .ranking-score {
    display: none;
  }

  .ranking-item img {
    width: 46px;
    height: 62px;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-hero-inner {
    padding: 32px 0 86px;
  }

  .detail-copy h1 {
    font-size: 36px;
  }

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

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

  .play-overlay span {
    width: 68px;
    height: 68px;
  }

  .info-card dl {
    grid-template-columns: 1fr;
  }
}
