:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.88);
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --accent: #38bdf8;
  --accent-strong: #2563eb;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --danger: #fb7185;
  --radius: 1.4rem;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 5%, rgba(37, 99, 235, 0.24), transparent 34rem),
    radial-gradient(circle at 85% 10%, rgba(6, 182, 212, 0.16), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 44%, #020617 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 72%);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.32);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #e0f2fe;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.38);
}

.brand-text {
  font-size: 1.28rem;
  background: linear-gradient(90deg, #60a5fa, #67e8f9 60%, #f8fafc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link,
.mobile-link {
  color: var(--muted-strong);
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav-link:hover {
  transform: translateY(-1px);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
}

.site-search input,
.search-page-form input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  background: rgba(15, 23, 42, 0.88);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input:focus,
.search-page-form input:focus {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.site-search button,
.search-page-form button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: white;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.26);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.8);
}

.mobile-panel {
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.94);
}

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

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 72px 0 56px;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.32;
  pointer-events: none;
}

.hero-glow-one {
  top: 90px;
  left: -110px;
  background: #2563eb;
}

.hero-glow-two {
  right: -120px;
  bottom: 80px;
  background: #06b6d4;
}

.hero-slides {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 420px);
  gap: 38px;
  align-items: center;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: -70px -50px;
  z-index: -2;
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.36), rgba(14, 165, 233, 0.12));
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.42)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.18));
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.16) blur(1px);
}

.hero-copy {
  max-width: 740px;
  padding: 30px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #7dd3fc;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: 1.12rem;
  line-height: 1.8;
}

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

.hero-tags {
  margin: 24px 0 0;
}

.hero-tags span,
.tag-row span,
.pill-list span,
.tag-cloud a {
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  padding: 6px 10px;
  color: #bfdbfe;
  background: rgba(15, 23, 42, 0.62);
}

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

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

.primary-btn {
  color: white;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.32);
}

.secondary-btn,
.section-more {
  color: #dbeafe;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.78);
}

.primary-btn:hover,
.secondary-btn:hover,
.section-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.22);
}

.hero-poster,
.detail-poster,
.poster-frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(6, 182, 212, 0.16)),
    #0f172a;
}

.hero-poster {
  min-height: 500px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 34px;
  box-shadow: var(--shadow), 0 0 60px rgba(56, 189, 248, 0.16);
  transform: rotate(1.5deg);
}

.hero-poster::after,
.poster-frame::after,
.detail-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.78));
  pointer-events: none;
}

.hero-poster img,
.detail-poster img,
.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.hero-poster:hover img,
.movie-card:hover img,
.detail-poster:hover img {
  transform: scale(1.07);
}

.poster-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: rgba(226, 232, 240, 0.88);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  background:
    radial-gradient(circle at 25% 25%, rgba(56, 189, 248, 0.26), transparent 36%),
    linear-gradient(135deg, #0f172a, #172554 52%, #083344);
}

img.is-missing {
  opacity: 0;
}

.hero-play,
.play-badge {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.4);
}

.hero-play {
  right: 24px;
  bottom: 24px;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  font-size: 1.6rem;
}

.play-badge {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translateY(0);
}

.hero-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
}

.hero-arrow,
.hero-dot {
  border: 1px solid var(--border);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  padding: 0;
}

.hero-dot.is-active {
  width: 34px;
  border-color: rgba(125, 211, 252, 0.75);
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.quick-filter,
.stats-strip,
.content-section,
.category-section,
.rank-list-section,
.player-section,
.detail-layout {
  margin-top: 58px;
}

.quick-filter {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
}

.quick-filter h2,
.section-heading h2,
.category-section h2,
.detail-panel h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

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

.quick-links a,
.category-card,
.rank-row {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.68);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-links a {
  border-radius: 999px;
  padding: 10px 14px;
  color: #dbeafe;
}

.quick-links a:hover,
.category-card:hover,
.rank-row:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.58);
  background: rgba(30, 41, 59, 0.82);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.stats-strip div {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  text-align: center;
  background: rgba(15, 23, 42, 0.66);
}

.stats-strip strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  color: #7dd3fc;
}

.stats-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

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

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

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

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

.movie-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.poster-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 14px 42px rgba(2, 6, 23, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.poster-link:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.52);
  box-shadow: 0 22px 54px rgba(37, 99, 235, 0.16);
}

.poster-frame {
  aspect-ratio: 2 / 3;
}

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

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #e11d48);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.32);
}

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

.movie-card-body h3 {
  margin: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  padding: 4px 7px;
  font-size: 0.75rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 15%, rgba(37, 99, 235, 0.32), transparent 34rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.92));
}

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

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

.category-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border-radius: 22px;
  padding: 20px;
}

.category-card span,
.category-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.category-card strong {
  color: #f8fafc;
  font-size: 1.28rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
}

.pagination a.is-current {
  border-color: rgba(56, 189, 248, 0.7);
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 1fr minmax(180px, 0.8fr) 90px;
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  padding: 14px 16px;
}

.rank-index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(56, 189, 248, 0.12);
}

.rank-row em {
  color: var(--muted);
  font-style: normal;
}

.rank-row b {
  color: #7dd3fc;
  text-align: right;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 86px 0 70px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #020617;
}

.detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.94)),
    linear-gradient(0deg, #020617, rgba(2, 6, 23, 0.22));
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: blur(2px) saturate(1.12);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-meta span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
}

.player-section {
  scroll-margin-top: 90px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
}

.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.28), transparent 24rem),
    rgba(2, 6, 23, 0.48);
}

.video-overlay span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.42);
}

.video-shell.is-playing .video-overlay {
  display: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: 20px;
}

.detail-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: 0 14px 42px rgba(2, 6, 23, 0.22);
}

.detail-panel p {
  margin: 16px 0 0;
  color: #cbd5e1;
  line-height: 1.95;
}

.detail-panel dl {
  display: grid;
  gap: 14px;
  margin: 14px 0 0;
}

.detail-panel dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
}

.detail-panel dt {
  color: var(--muted);
}

.detail-panel dd {
  margin: 0;
  color: #e2e8f0;
}

.review-panel {
  grid-column: 1 / 2;
}

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

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

.site-footer {
  margin-top: 76px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.98));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 1fr;
  gap: 34px;
  padding: 46px 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: var(--muted);
  line-height: 1.7;
}

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

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding: 18px;
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-inner > .site-search {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-slide,
  .detail-hero-inner,
  .quick-filter,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-slides {
    min-height: 820px;
  }

  .hero-poster {
    min-height: 360px;
    transform: none;
  }

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

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

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

  .detail-poster {
    width: min(320px, 100%);
  }
}

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

  .hero-carousel {
    min-height: auto;
    padding: 38px 0 34px;
  }

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

  .hero-slide {
    gap: 18px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-copy p {
    font-size: 1rem;
  }

  .hero-poster {
    min-height: 320px;
    border-radius: 24px;
  }

  .stats-strip,
  .movie-grid,
  .featured-grid,
  .category-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movie-card-featured {
    grid-column: span 2;
  }

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

  .detail-hero {
    padding-top: 48px;
  }

  .rank-row {
    grid-template-columns: 46px 1fr;
  }

  .rank-row em,
  .rank-row b {
    grid-column: 2;
    text-align: left;
  }

  .search-page-form,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .stats-strip,
  .movie-grid,
  .featured-grid,
  .category-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-featured {
    grid-column: auto;
  }

  .hero-slides {
    min-height: 790px;
  }

  .brand-text {
    font-size: 1.05rem;
  }
}
