:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.82);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(34, 211, 238, 0.35);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.14), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(99, 102, 241, 0.16), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #111827);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.26);
  transform: translateZ(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.brand:hover .brand-mark,
.footer-brand:hover .brand-mark {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.36);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

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

.nav-link {
  position: relative;
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: white;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: white;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: white;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.98);
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted-strong);
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: white;
  background: rgba(148, 163, 184, 0.12);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-stage {
  position: relative;
  min-height: 680px;
}

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

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

.hero-bg,
.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after,
.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(34, 211, 238, 0.24), transparent 22rem),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  min-height: 680px;
  margin: 0 auto;
  padding: 86px 24px 116px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

.hero-copy h2 {
  margin: 22px 0 0;
  color: #e0f2fe;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
  max-width: 760px;
}

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

.hero-tags,
.detail-tags {
  margin-top: 22px;
}

.pill,
.pill-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 5px 11px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.pill-link:hover {
  border-color: var(--cyan);
  color: white;
}

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

.primary-button,
.secondary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.22);
}

.secondary-button,
.ghost-button {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.58);
  color: white;
}

.ghost-button {
  color: var(--cyan);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.secondary-button:hover,
.ghost-button:hover {
  border-color: var(--line-strong);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
}

.text-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.hero-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.hero-poster span,
.detail-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(34, 211, 238, 0.92);
  color: white;
  box-shadow: 0 20px 48px rgba(34, 211, 238, 0.32);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(14px);
}

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

.hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.14);
  color: white;
  font-size: 24px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.48);
  transition: width 0.22s ease, background 0.22s ease;
}

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

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 24px;
}

.section-raised {
  margin-top: -34px;
  position: relative;
  z-index: 6;
}

.section-heading {
  margin-bottom: 28px;
}

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

.section-heading h2,
.prose-section h2,
.side-panel h2,
.category-overview-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading p,
.category-overview-card p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 760px;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.category-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.88) 100%);
  z-index: 1;
}

.category-name,
.category-desc {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
}

.category-name {
  bottom: 58px;
  font-size: 20px;
  font-weight: 900;
}

.category-desc {
  bottom: 18px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px 190px;
  gap: 12px;
  margin-bottom: 24px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  padding: 0 16px;
}

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

.search-box input,
.filter-panel select {
  width: 100%;
  height: 48px;
  color: white;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.filter-panel select {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.88);
  padding: 0 14px;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.6);
}

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

.poster-link img,
.category-tile img,
.ranking-cover img,
.hero-poster img,
.detail-poster img,
.category-overview-cover img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .poster-link img,
.category-tile:hover img,
.ranking-item:hover .ranking-cover img,
.hero-poster:hover img,
.detail-poster:hover img,
.category-overview-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

.poster-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(2, 6, 23, 0.84));
}

.play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: rgba(34, 211, 238, 0.92);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h2,
.ranking-content h2 {
  margin: 8px 0 0;
  color: white;
  font-size: 18px;
  line-height: 1.25;
}

.movie-card p,
.ranking-content p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.movie-card .tag-row,
.ranking-content .tag-row {
  margin-top: 12px;
}

.card-compact h2 {
  font-size: 17px;
}

.card-compact p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-section {
  max-width: 1180px;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 96px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.ranking-item:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.32);
}

.ranking-cover {
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
}

.ranking-number {
  color: rgba(34, 211, 238, 0.8);
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72));
}

.page-hero {
  max-width: 1240px;
  margin: 28px auto 0;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 30px;
  padding: 72px 34px;
  box-shadow: var(--shadow);
}

.compact-hero h1,
.category-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.category-overview-cover {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
}

.category-overview-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 8px;
}

.category-overview-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 14px;
}

.category-overview-card li span {
  color: var(--cyan);
  font-weight: 800;
}

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

.detail-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px 86px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.breadcrumb a:hover,
.info-list a:hover {
  color: var(--cyan);
}

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

.detail-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

.detail-copy h1 {
  font-size: clamp(40px, 6vw, 76px);
}

.detail-meta {
  margin-top: 22px;
}

.detail-section {
  padding-top: 44px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: black;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.58);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.18), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.overlay-play {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 24px 58px rgba(34, 211, 238, 0.36);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  color: var(--muted-strong);
  font-size: 13px;
}

.two-column-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.glass-panel {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--shadow);
  padding: 26px;
}

.prose-section p {
  color: var(--muted-strong);
  font-size: 16px;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: var(--muted-strong);
}

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

.pill-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.98));
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
}

.footer-main p,
.footer-columns a,
.footer-bottom p {
  color: var(--muted);
}

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

.footer-columns h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

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

.footer-columns a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 20px 24px;
  text-align: center;
}

.is-filtered-out {
  display: none !important;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 14px;
  }

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

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

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

  .mobile-menu-button {
    display: inline-block;
  }

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

  .hero-content {
    padding-top: 64px;
    gap: 30px;
  }

  .hero-poster,
  .detail-poster {
    max-width: 330px;
    margin: 0 auto;
  }

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

  .filter-panel {
    grid-template-columns: 1fr;
  }

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

  .ranking-number,
  .ranking-item .text-button {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 68px;
    padding: 0 16px;
  }

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

  .brand-subtitle {
    display: none;
  }

  .hero-slider,
  .hero-stage {
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    padding: 48px 16px 104px;
  }

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

  .section {
    padding: 54px 16px;
  }

  .page-hero {
    margin: 18px 16px 0;
    padding: 46px 20px;
    border-radius: 24px;
  }

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

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

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

  .movie-card p {
    font-size: 12px;
  }

  .ranking-item {
    padding: 12px;
    gap: 12px;
  }

  .detail-inner {
    padding: 28px 16px 62px;
  }

  .glass-panel {
    padding: 20px;
  }

  .footer-inner {
    padding: 38px 16px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }
}

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }
}
