:root {
  --cream-50: #fffaf6;
  --cream-100: #fbf1e8;
  --cream-200: #f7e6d6;
  --frosting-50: #fff4ec;
  --frosting-100: #ffe3d0;
  --frosting-300: #f9c29a;
  --frosting-500: #f06c25;
  --frosting-600: #da5713;
  --dawn-100: #ffedd5;
  --dawn-200: #fed7aa;
  --dawn-500: #f97316;
  --ink-900: #111827;
  --ink-700: #374151;
  --ink-600: #4b5563;
  --ink-500: #6b7280;
  --line: #f1e7dd;
  --shadow: 0 20px 45px rgba(65, 32, 10, 0.12);
  --shadow-soft: 0 12px 32px rgba(65, 32, 10, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--cream-50), #ffffff 42%, rgba(255, 244, 236, 0.72));
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0));
}

.site-nav.scrolled,
.site-nav.open {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(135deg, var(--frosting-500), var(--dawn-500));
  box-shadow: 0 10px 20px rgba(240, 108, 37, 0.28);
}

.brand-title {
  display: block;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--frosting-600), var(--dawn-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--frosting-600);
  background: linear-gradient(135deg, rgba(255, 244, 236, 0.95), rgba(255, 237, 213, 0.95));
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 244, 236, 0.9);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink-700);
}

.site-main {
  padding-top: 72px;
}

.home-main {
  padding-top: 0;
}

.hero {
  position: relative;
  min-height: 78vh;
  padding: 110px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--frosting-100), var(--cream-100) 48%, var(--dawn-100));
}

.blob {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  opacity: 0.34;
  filter: blur(44px);
  mix-blend-mode: multiply;
  animation: blob 12s infinite;
}

.blob-one {
  top: 14%;
  left: 12%;
  background: var(--frosting-300);
}

.blob-two {
  top: 20%;
  right: 12%;
  background: var(--dawn-200);
  animation-delay: 2s;
}

.blob-three {
  bottom: 8%;
  left: 42%;
  background: var(--cream-200);
  animation-delay: 4s;
}

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  35% {
    transform: translate(28px, -36px) scale(1.05);
  }
  70% {
    transform: translate(-24px, 18px) scale(0.95);
  }
}

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

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: 48px;
}

.hero-slide.active {
  display: grid;
  animation: fade-up 0.55s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy {
  text-align: left;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--frosting-600);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--frosting-600), var(--dawn-500), var(--frosting-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h2 {
  margin: 20px 0 12px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 850;
}

.hero p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--ink-700);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(240, 108, 37, 0.12);
  font-size: 13px;
}

.hero-actions,
.hero-search,
.page-search,
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.hero-search button,
.page-search button,
.filter-toolbar button,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-weight: 750;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
  box-shadow: 0 16px 30px rgba(240, 108, 37, 0.25);
}

.btn-soft {
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.btn:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  min-height: 470px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

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

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.66));
}

.hero-poster span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(240, 108, 37, 0.92);
  font-weight: 750;
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin: 30px 0 0;
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(55, 65, 81, 0.18);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 52px;
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
}

.hero-search {
  max-width: 720px;
  margin-top: 28px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-search input,
.page-search input,
.filter-toolbar input,
.movie-search {
  min-width: 260px;
  flex: 1;
  height: 46px;
  border: 1px solid rgba(240, 108, 37, 0.15);
  outline: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
  color: var(--ink-700);
}

.hero-search button,
.page-search button,
.filter-toolbar button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
}

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

.content-section.compact {
  padding: 64px 0;
}

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

.section-head > div {
  position: relative;
  padding-left: 18px;
}

.section-bar {
  position: absolute;
  left: 0;
  top: 4px;
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--frosting-500), var(--dawn-500));
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--ink-500);
  line-height: 1.7;
}

.section-more,
.text-link {
  color: var(--frosting-600);
  white-space: nowrap;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

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

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-100), var(--frosting-100));
}

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
  opacity: 0.9;
}

.type-pill,
.rank-badge,
.play-dot {
  position: absolute;
  z-index: 2;
}

.type-pill {
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(240, 108, 37, 0.9);
  font-size: 12px;
  font-weight: 750;
}

.rank-badge {
  top: 12px;
  right: 12px;
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 39, 0.78);
  font-size: 13px;
  font-weight: 850;
}

.play-dot {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--frosting-500);
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

.movie-card-meta,
.movie-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-500);
  font-size: 12px;
}

.movie-card-meta span:first-child {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--frosting-600);
  background: linear-gradient(135deg, var(--frosting-50), var(--dawn-100));
  font-weight: 750;
}

.movie-card h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 820;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card p {
  margin: 0 0 12px;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-band {
  background: linear-gradient(90deg, rgba(255, 244, 236, 0.95), rgba(255, 237, 213, 0.9));
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  border-radius: 24px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-tile img,
.category-tile-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
}

.category-tile-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.category-tile strong,
.category-tile small {
  position: relative;
  z-index: 1;
  color: #fff;
}

.category-tile strong {
  font-size: 22px;
  font-weight: 850;
}

.category-tile small {
  margin-top: 8px;
  line-height: 1.6;
  opacity: 0.9;
}

.page-main {
  padding-top: 96px;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px;
  border-radius: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--frosting-100), var(--cream-100) 55%, var(--dawn-100));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-hero.slim {
  align-items: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--ink-700);
  font-size: 18px;
  line-height: 1.8;
}

.page-search {
  min-width: 360px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.page-search.inline {
  flex: 1;
  max-width: 620px;
}

.chip-row,
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.chip-link,
.filter-btn {
  border: 1px solid rgba(240, 108, 37, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink-700);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.active,
.chip-link:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--frosting-500), var(--dawn-500));
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  border-radius: 26px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.category-cover-stack img {
  width: 100%;
  aspect-ratio: 1 / 1.3;
  object-fit: cover;
  border-radius: 16px;
}

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

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--ink-600);
  line-height: 1.75;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 64px 1fr 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 10px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(65, 32, 10, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}

.rank-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--frosting-600);
}

.rank-row strong {
  font-size: 16px;
}

.rank-row em,
.rank-row small {
  color: var(--ink-500);
  font-style: normal;
}

.detail-main {
  padding-top: 96px;
}

.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.detail-player-card,
.detail-info-card {
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--frosting-500);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.52));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding-left: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  font-size: 28px;
}

.video-shell.playing .play-overlay {
  opacity: 0;
  visibility: hidden;
}

.detail-info-card {
  padding: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--ink-500);
  font-size: 13px;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--frosting-600);
}

.detail-top {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
}

.detail-top img {
  width: 150px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.detail-top h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  font-weight: 900;
}

.lead {
  margin: 0 0 18px;
  color: var(--ink-700);
  line-height: 1.75;
  font-size: 16px;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-600);
  font-size: 14px;
}

.detail-stats span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--cream-50);
}

.detail-copy {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.detail-copy h2 {
  margin: 20px 0 10px;
  font-size: 20px;
}

.detail-copy h2:first-child {
  margin-top: 0;
}

.detail-copy p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.9;
}

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

.detail-copy dl div {
  padding: 12px;
  border-radius: 16px;
  background: var(--cream-50);
}

.detail-copy dt {
  color: var(--ink-500);
  font-size: 12px;
}

.detail-copy dd {
  margin: 4px 0 0;
  color: var(--ink-900);
  font-weight: 750;
}

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

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-50), var(--frosting-50));
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  max-width: 460px;
  margin: 16px 0 0;
  color: var(--ink-600);
  line-height: 1.8;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

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

.footer-links a {
  color: var(--ink-600);
  font-size: 14px;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--ink-500);
  font-size: 13px;
  border-top: 1px solid rgba(240, 108, 37, 0.12);
}

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

@media (max-width: 1080px) {
  .movie-grid,
  .all-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

@media (max-width: 820px) {
  .nav-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    display: none;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.open .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-link {
    border-radius: 12px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-tags,
  .hero-actions,
  .hero-dots,
  .hero-search {
    justify-content: center;
  }

  .hero-search,
  .page-search {
    border-radius: 24px;
  }

  .hero-search input,
  .page-search input,
  .filter-toolbar input,
  .movie-search {
    min-width: 100%;
  }

  .page-hero {
    padding: 30px 22px;
    border-radius: 24px;
    display: grid;
  }

  .page-search {
    min-width: 0;
    width: 100%;
  }

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

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

  .rank-row em,
  .rank-row small {
    display: none;
  }
}

@media (max-width: 620px) {
  .brand-title {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

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

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

  .movie-card h3 {
    font-size: 15px;
  }

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

  .section-head {
    display: grid;
  }

  .detail-top {
    grid-template-columns: 108px 1fr;
  }

  .detail-top img {
    width: 108px;
    border-radius: 16px;
  }

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

  .play-overlay span {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }
}
