:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-strong: rgba(15, 23, 42, 0.94);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(45, 212, 191, 0.34);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --accent: #2dd4bf;
  --accent-strong: #14b8a6;
  --accent-warm: #f59e0b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(20, 184, 166, 0.16), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(59, 130, 246, 0.15), transparent 32%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #001b1b;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.28);
}

.brand-text {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand.compact .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.brand.compact .brand-text {
  font-size: 17px;
}

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

.nav-link {
  color: var(--soft);
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(45, 212, 191, 0.14);
  transform: translateY(-1px);
}

.nav-link.muted {
  color: var(--muted);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 16px;
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-link {
  color: var(--soft);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.mobile-link.active {
  color: #ffffff;
  border-color: var(--border-strong);
}

main {
  padding-top: 68px;
}

.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 22px 42px;
}

.hero-carousel {
  position: relative;
  max-width: var(--max);
  min-height: 720px;
  margin: 0 auto;
  padding: 96px 22px 42px;
}

.hero-slider {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 32px;
  align-items: center;
  padding: 62px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop img {
  height: 100%;
  object-fit: cover;
  filter: blur(28px) saturate(130%);
  opacity: 0.35;
  transform: scale(1.16);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.64) 48%, rgba(2, 6, 23, 0.38)),
    radial-gradient(circle at 82% 30%, rgba(45, 212, 191, 0.26), transparent 32%);
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.24);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-content h1,
.page-hero h1,
.detail-intro h1 {
  margin: 20px 0 18px;
  color: #ffffff;
  font-size: clamp(36px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-content p,
.page-hero p,
.detail-intro .lead {
  max-width: 680px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 24px;
}

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

.hero-tags span,
.detail-tags span,
.card-tags span {
  color: #ccfbf1;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.18);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border 0.25s ease;
}

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

.btn.primary {
  color: #001b1b;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  box-shadow: 0 16px 32px rgba(45, 212, 191, 0.24);
}

.btn.ghost {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(148, 163, 184, 0.24);
}

.hero-poster {
  display: block;
  width: min(100%, 380px);
  justify-self: end;
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-poster img,
.poster-link img,
.detail-poster img,
.category-overview-card img {
  height: 100%;
  object-fit: cover;
}

.hero-control-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

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

.hero-dot {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.26);
  cursor: pointer;
}

.hero-dot.active {
  background: linear-gradient(90deg, var(--accent), #38bdf8);
}

.hero-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hero-thumb {
  min-width: 164px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--soft);
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 8px;
}

.hero-thumb.active {
  color: #ffffff;
  border-color: var(--border-strong);
}

.hero-thumb img {
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-thumb span {
  font-size: 13px;
  font-weight: 800;
}

.hero-search-panel {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.hero-search-panel form,
.filter-form {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(16px);
}

.hero-search-panel input,
.filter-form input,
.filter-form select {
  width: 100%;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  outline: none;
  padding: 12px 14px;
}

.hero-search-panel input:focus,
.filter-form input:focus,
.filter-form select:focus {
  border-color: var(--accent);
}

.hero-search-panel button {
  min-width: 86px;
  color: #001b1b;
  background: var(--accent);
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

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

.hero-categories a {
  color: #e0f2fe;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 800;
}

.content-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 22px;
}

.page-main .content-section {
  padding-right: 0;
  padding-left: 0;
}

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

.section-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.15;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.section-more {
  min-width: max-content;
  color: var(--accent);
  font-weight: 900;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.14), transparent),
    rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.25s ease, border 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.category-tile span,
.category-overview-card span {
  position: relative;
  z-index: 2;
  display: block;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}

.category-tile p,
.category-overview-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--soft);
  font-size: 14px;
}

.category-overview-card {
  min-height: 230px;
  padding: 0;
}

.category-overview-card img {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  filter: saturate(120%);
}

.category-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.92));
}

.category-overview-card span,
.category-overview-card p {
  margin: 0 20px;
}

.category-overview-card span {
  padding-top: 145px;
}

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.86);
}

.poster-link img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.07);
  filter: saturate(118%);
}

.poster-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.86));
}

.poster-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.movie-card:hover .poster-shine {
  transform: translateX(120%);
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #001b1b;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent));
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.card-body {
  padding: 16px;
}

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

.card-body h2 {
  margin: 9px 0 8px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
}

.card-body h2 a:hover {
  color: var(--accent);
}

.card-body p {
  min-height: 46px;
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.7;
}

.movie-card.compact {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 168px;
}

.movie-card.compact .poster-link {
  aspect-ratio: auto;
  height: 100%;
}

.movie-card.compact .card-body h2 {
  font-size: 16px;
}

.movie-card.compact .card-body p {
  min-height: auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 56px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 12%, rgba(45, 212, 191, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.76));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 6vw, 64px);
}

.small-hero,
.category-hero,
.rank-hero,
.search-hero {
  min-height: 300px;
}

.filter-panel {
  margin-bottom: 24px;
}

.filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(140px, 0.55fr)) auto;
  align-items: end;
}

.filter-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-form .btn {
  border: 0;
}

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

.breadcrumb a {
  color: var(--accent);
  font-weight: 800;
}

.detail-main {
  max-width: var(--max);
}

.detail-hero {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 36px;
  background:
    radial-gradient(circle at 16% 18%, rgba(45, 212, 191, 0.16), transparent 34%),
    rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.detail-intro h1 {
  font-size: clamp(32px, 5vw, 64px);
}

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

.detail-meta span {
  color: var(--soft);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.player-section {
  margin: 34px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 35%, rgba(45, 212, 191, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.82));
  border: 0;
  cursor: pointer;
  text-align: center;
}

.player-overlay.is-hidden {
  display: none;
}

.play-circle {
  width: 88px;
  height: 88px;
  display: inline-grid;
  place-items: center;
  color: #001b1b;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  border-radius: 999px;
  font-size: 34px;
  box-shadow: 0 24px 60px rgba(45, 212, 191, 0.32);
}

.player-overlay strong {
  max-width: 80%;
  font-size: clamp(18px, 3vw, 32px);
  line-height: 1.3;
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.story-card h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 22px;
}

.story-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.9;
}

.detail-tags.expanded {
  gap: 10px;
}

.related-section {
  padding-top: 42px;
}

.site-footer {
  margin-top: 52px;
  background: rgba(2, 6, 23, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 420px;
  color: var(--muted);
}

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

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

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 22px 28px;
  color: #64748b;
  font-size: 13px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.movie-card.is-hidden {
  display: none;
}

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

  .menu-toggle {
    display: block;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 46px;
  }

  .hero-poster {
    display: none;
  }

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

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

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

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

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

@media (max-width: 760px) {
  .nav-shell {
    padding: 0 16px;
  }

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

  .hero-carousel,
  .page-main {
    padding: 86px 16px 28px;
  }

  .hero-slider {
    min-height: 570px;
  }

  .hero-slide {
    padding: 30px 22px;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-intro h1 {
    letter-spacing: -0.03em;
  }

  .hero-control-row,
  .hero-search-panel {
    grid-template-columns: 1fr;
  }

  .hero-search-panel form {
    flex-direction: column;
  }

  .content-section {
    padding: 38px 16px;
  }

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

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .featured-grid,
  .all-grid,
  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-card.compact {
    grid-template-columns: 92px 1fr;
  }

  .card-body {
    padding: 13px;
  }

  .card-body h2 {
    font-size: 16px;
  }

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

  .page-hero {
    min-height: auto;
    padding: 32px 22px;
  }

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

  .detail-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .detail-poster {
    width: min(260px, 80%);
    margin: 0 auto;
  }

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

  .footer-shell {
    grid-template-columns: 1fr;
    padding: 34px 16px;
  }
}

@media (max-width: 480px) {
  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .featured-grid,
  .all-grid,
  .rank-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav.is-open {
    grid-template-columns: 1fr;
  }
}
