:root {
  --purple-950: #2e1065;
  --purple-900: #4c1d95;
  --purple-800: #5b21b6;
  --purple-700: #6d28d9;
  --purple-600: #9333ea;
  --purple-500: #a855f7;
  --purple-300: #d8b4fe;
  --purple-200: #e9d5ff;
  --purple-100: #f3e8ff;
  --taro-100: #f7ecff;
  --taro-300: #e0c3fc;
  --rose-200: #fed6e3;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #f1e7ff;
  --surface: #ffffff;
  --soft: #faf5ff;
  --shadow-purple: 0 10px 40px rgba(167, 85, 247, 0.24);
  --shadow-card: 0 18px 45px rgba(94, 41, 154, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbf7ff 0%, #ffffff 42%, #fbf7ff 100%);
  color: var(--ink);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 180, 254, 0.46);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 24px rgba(147, 51, 234, 0.08);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-300));
  box-shadow: var(--shadow-purple);
  animation: float 6s ease-in-out infinite;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: rgba(168, 85, 247, 0.18);
  filter: blur(12px);
  z-index: -1;
}

.brand-text {
  font-size: 1.18rem;
  background: linear-gradient(90deg, var(--purple-700), #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link,
.nav-drop-button {
  border: 0;
  background: transparent;
  color: #4b5563;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-drop-button:hover {
  color: var(--purple-700);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
  padding: 20px 0;
}

.nav-drop-panel {
  position: absolute;
  top: 56px;
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 8px;
  width: 250px;
  padding: 14px;
  border: 1px solid var(--purple-100);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-purple);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
}

.nav-dropdown:hover .nav-drop-panel,
.nav-dropdown:focus-within .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-panel a {
  padding: 9px 11px;
  border-radius: 12px;
  color: #5b5566;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-drop-panel a:hover {
  color: var(--purple-800);
  background: linear-gradient(135deg, #f3e8ff, #fff1f7);
}

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

.nav-search input,
.mobile-search input {
  width: 210px;
  border: 1px solid var(--purple-200);
  border-radius: 999px;
  background: #faf5ff;
  padding: 10px 14px;
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.2s ease, border 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12);
}

.nav-search button,
.mobile-search button,
.primary-button,
.secondary-button,
.text-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nav-search button,
.mobile-search button,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-700), #c084fc);
  box-shadow: 0 10px 28px rgba(147, 51, 234, 0.26);
}

.nav-search button,
.mobile-search button {
  padding: 10px 16px;
}

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
}

.secondary-button {
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(147, 51, 234, 0.14);
}

.text-button {
  color: var(--purple-700);
  background: #f3e8ff;
}

.nav-search button:hover,
.mobile-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.text-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-purple);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--purple-700);
  background: #f3e8ff;
  cursor: pointer;
  font-size: 1.4rem;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--purple-100);
  background: #fff;
  padding: 16px;
}

.mobile-search {
  display: flex;
  gap: 8px;
}

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

.mobile-main-links,
.mobile-cat-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mobile-main-links {
  grid-template-columns: repeat(4, 1fr);
}

.mobile-cat-links {
  grid-template-columns: repeat(2, 1fr);
}

.mobile-link,
.mobile-cat-links a {
  padding: 10px 12px;
  border-radius: 14px;
  background: #faf5ff;
  color: #4b5563;
  font-weight: 700;
  text-align: center;
}

.mobile-link.is-active,
.mobile-link:hover,
.mobile-cat-links a:hover {
  color: var(--purple-800);
  background: linear-gradient(135deg, #f3e8ff, #fff1f7);
}

.page-main {
  overflow: hidden;
}

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

.hero-slider {
  position: relative;
  height: 620px;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-950), var(--purple-700), #b794f6);
}

.hero-slider::before,
.hero-slider::after,
.footer-wave::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 120%;
  height: 96px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 64%);
  opacity: 0.55;
}

.hero-slider::before {
  top: -24px;
  left: -10%;
}

.hero-slider::after {
  right: -10%;
  bottom: -28px;
  transform: rotate(180deg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  transform: scale(1.03);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46, 16, 101, 0.94) 0%, rgba(76, 29, 149, 0.72) 46%, rgba(76, 29, 149, 0.16) 100%), linear-gradient(0deg, rgba(46, 16, 101, 0.84), transparent 48%);
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(680px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  animation: slideUp 0.5s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: #4c1d95;
  background: linear-gradient(135deg, #f3e8ff, #fed6e3);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.12);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #f3e8ff;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.85;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: #ede9fe;
}

.hero-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-50%) scale(1.04);
}

.hero-control.prev {
  left: max(20px, calc((100vw - 1250px) / 2));
}

.hero-control.next {
  right: max(20px, calc((100vw - 1250px) / 2));
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.section {
  padding: 74px 0 0;
}

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

.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--purple-700);
  font-weight: 900;
}

.section-head h1,
.section-head h2,
.plain-hero h1,
.detail-title h1 {
  margin: 0;
  color: #20112f;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.section-head p,
.plain-hero p,
.detail-title p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 22px;
}

.spotlight-card,
.category-tile,
.info-panel,
.detail-card,
.player-shell,
.filter-panel,
.movie-card,
.rank-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.spotlight-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) 1fr;
  overflow: hidden;
}

.spotlight-cover {
  position: relative;
  min-height: 380px;
  background: linear-gradient(135deg, var(--purple-700), var(--taro-300));
}

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

.spotlight-body {
  padding: clamp(24px, 4vw, 48px);
}

.spotlight-body h2 {
  margin: 8px 0 12px;
  color: #20112f;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.spotlight-body p,
.info-panel p,
.detail-card p {
  color: var(--muted);
  line-height: 1.85;
}

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

.pill-row span,
.tag-row span,
.breadcrumb a,
.breadcrumb span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--purple-800);
  background: #f3e8ff;
  font-weight: 700;
}

.pill-row span {
  padding: 8px 12px;
}

.tag-row span {
  padding: 6px 9px;
  font-size: 0.78rem;
}

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

.movie-card {
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  border-color: var(--purple-200);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #ede9fe, #fff1f7);
}

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

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

.movie-score {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(76, 29, 149, 0.86);
  font-weight: 900;
  backdrop-filter: blur(8px);
}

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

.movie-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--purple-700);
  font-size: 0.84rem;
  font-weight: 800;
}

.movie-card h3 {
  margin: 8px 0;
  color: #20112f;
  font-size: 1.04rem;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--purple-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.2em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.category-tile {
  position: relative;
  overflow: hidden;
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(183, 148, 246, 0.38), rgba(254, 214, 227, 0.5));
}

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

.category-tile h2,
.category-tile h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: #20112f;
}

.category-tile p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-samples {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.category-samples a {
  color: var(--purple-700);
  font-weight: 700;
  line-height: 1.45;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 14px;
  padding: 18px;
  margin-bottom: 26px;
}

.filter-field {
  display: grid;
  gap: 8px;
}

.filter-field label {
  color: #4b5563;
  font-size: 0.88rem;
  font-weight: 900;
}

.filter-field input,
.filter-field select {
  width: 100%;
  border: 1px solid var(--purple-200);
  border-radius: 16px;
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
}

.no-results {
  display: none;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.no-results.is-visible {
  display: block;
}

.rank-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.2fr;
  gap: 24px;
}

.rank-panel {
  padding: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 10px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: #faf5ff;
  transform: translateX(4px);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-700), #e879f9);
  font-weight: 900;
}

.rank-title {
  color: #20112f;
  font-weight: 900;
}

.rank-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.plain-hero {
  padding: 72px 0 34px;
  background: radial-gradient(circle at top left, rgba(216, 180, 254, 0.38), transparent 32%), linear-gradient(180deg, #fff, #fbf7ff);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.breadcrumb a,
.breadcrumb span {
  padding: 8px 12px;
  font-size: 0.86rem;
}

.detail-hero {
  padding: 54px 0 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #120a22;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #05010a;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: #120a22;
  cursor: pointer;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12), rgba(46, 16, 101, 0.55)), linear-gradient(0deg, rgba(18, 10, 34, 0.86), transparent 55%);
}

.play-circle {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-purple);
  font-size: 2rem;
  transition: transform 0.2s ease;
}

.player-cover:hover .play-circle {
  transform: scale(1.08);
}

.player-shell.is-playing .player-cover {
  display: none;
}

.detail-title {
  padding: 22px 0 18px;
}

.detail-title h1 {
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--purple-800);
  background: #f3e8ff;
  font-weight: 800;
}

.detail-card {
  padding: clamp(20px, 4vw, 34px);
  margin-top: 20px;
}

.detail-card h2,
.rank-panel h2,
.info-panel h2 {
  margin: 0 0 14px;
  color: #20112f;
  font-size: 1.42rem;
}

.side-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-purple);
}

.side-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.info-panel {
  padding: 22px;
  margin-top: 18px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

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

.info-list dd {
  margin: 0;
  color: #20112f;
  font-weight: 800;
  text-align: right;
}

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

.site-footer {
  position: relative;
  margin-top: 86px;
  padding-top: 60px;
  background: linear-gradient(180deg, #faf5ff, #fff);
  border-top: 1px solid var(--purple-100);
}

.footer-wave {
  position: absolute;
  inset: 0 0 auto;
  height: 70px;
  overflow: hidden;
}

.footer-wave::before {
  top: -42px;
  left: -10%;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 36px;
}

.footer-brand p,
.footer-col p {
  color: var(--muted);
  line-height: 1.8;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h2 {
  margin: 0 0 6px;
  color: #20112f;
  font-size: 1.05rem;
}

.footer-col a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--purple-700);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 22px 0;
  border-top: 1px solid var(--purple-100);
  color: var(--muted);
  text-align: center;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .detail-layout,
  .feature-grid,
  .rank-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 18px;
  }

  .side-poster,
  .info-panel {
    margin-top: 0;
  }
}

@media (max-width: 920px) {
  .nav-links,
  .nav-search {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-nav.is-open {
    display: block;
    animation: slideUp 0.25s ease;
  }

  .hero-control {
    display: none;
  }

  .hero-copy {
    margin-left: 24px;
  }

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

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

  .spotlight-cover {
    min-height: 310px;
  }

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

@media (max-width: 720px) {
  .navbar,
  .container,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

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

  .hero-slider {
    height: 580px;
  }

  .hero-copy {
    width: calc(100% - 48px);
    margin-left: 24px;
  }

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

  .hero-dots {
    right: 24px;
  }

  .section {
    padding-top: 54px;
  }

  .section-head {
    display: block;
  }

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

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

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

  .side-poster {
    max-width: 260px;
  }

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

  .rank-meta {
    grid-column: 2;
  }

  .mobile-main-links {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .play-circle {
    width: 68px;
    height: 68px;
  }
}
