:root {
  --purple-950: #3b0764;
  --purple-900: #581c87;
  --purple-800: #6b21a8;
  --purple-700: #7e22ce;
  --purple-600: #9333ea;
  --purple-100: #f3e8ff;
  --purple-50: #faf5ff;
  --pink-600: #db2777;
  --pink-500: #ec4899;
  --rose-50: #fff1f2;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-sm: 0 8px 20px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 18px 45px rgba(88, 28, 135, 0.16);
  --shadow-lg: 0 30px 80px rgba(88, 28, 135, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 48%, #ffffff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  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: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
  background: linear-gradient(135deg, var(--purple-100), #fce7f3);
  box-shadow: inset 0 0 0 1px rgba(147, 51, 234, 0.08);
}

.brand-text {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(90deg, var(--purple-600), var(--pink-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: var(--gray-700);
  border-radius: 14px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--purple-600);
  background: var(--purple-50);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--purple-50);
  color: var(--purple-700);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 8px 20px 18px;
  border-top: 1px solid var(--gray-200);
}

.mobile-link {
  display: block;
  padding: 14px 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.18), transparent 34%), radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.22), transparent 36%), linear-gradient(135deg, var(--purple-50), #fff1f2 52%, var(--purple-50));
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.18);
  opacity: 0.22;
  transform: scale(1.08);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 86px 24px 120px;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 60px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 750;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: var(--gray-900);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 72px);
}

.hero h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--purple-700);
}

.hero p,
.page-hero p,
.detail-one-line {
  margin: 0;
  max-width: 760px;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags,
.tag-list,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags span,
.tag-list span,
.inline-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--purple-700);
  background: var(--purple-50);
  font-size: 13px;
  font-weight: 700;
}

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

.primary-button,
.ghost-button,
.section-more,
.contact-form button {
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  color: #fff;
  background: linear-gradient(90deg, var(--purple-600), var(--pink-600));
  box-shadow: 0 18px 38px rgba(147, 51, 234, 0.25);
}

.primary-button:hover,
.ghost-button:hover,
.movie-card:hover,
.category-tile:hover,
.category-overview-card:hover,
.ranking-card:hover {
  transform: translateY(-4px);
}

.primary-button:hover {
  box-shadow: 0 24px 52px rgba(147, 51, 234, 0.35);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
  background: #fff;
}

.hero-poster img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.hero-bottom {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: -88px auto 0;
  padding: 0 24px 36px;
}

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

.hero-dot {
  border: 0;
  border-radius: 20px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, background 0.22s ease;
}

.hero-dot.is-active {
  color: var(--purple-700);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.hero-dot img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-dot span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.feature-strip {
  max-width: 1180px;
  margin: -22px auto 36px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
  z-index: 5;
}

.feature-item {
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-item strong {
  color: var(--gray-900);
  font-size: 18px;
}

.feature-item span {
  color: var(--gray-500);
  font-size: 14px;
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 24px;
}

.soft-section {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  background: linear-gradient(135deg, var(--purple-50), #fff, var(--rose-50));
}

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

.section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--purple-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section-heading h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--gray-600);
  line-height: 1.75;
}

.section-more {
  flex: 0 0 auto;
  padding: 11px 18px;
  color: var(--purple-700);
  background: var(--purple-50);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow-md);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-100), #fce7f3);
}

.poster-link img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(3, 7, 18, 0.68), transparent);
}

.play-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.movie-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--purple-700);
  background: var(--purple-50);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3,
.ranking-info h2 {
  margin: 0;
  line-height: 1.35;
}

.movie-card h3 a,
.ranking-info h2 a {
  color: var(--gray-900);
  transition: color 0.18s ease;
}

.movie-card h3 a:hover,
.ranking-info h2 a:hover {
  color: var(--purple-600);
}

.movie-card p {
  min-height: 3.2em;
  margin: 10px 0 14px;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.category-tile,
.category-overview-card {
  min-height: 150px;
  border-radius: 24px;
  padding: 22px;
  color: var(--gray-900);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  box-shadow: var(--shadow-md);
}

.category-tile span,
.category-overview-card strong {
  display: block;
  color: var(--purple-700);
  font-size: 20px;
  font-weight: 900;
}

.category-tile p,
.category-overview-card span {
  display: block;
  margin: 10px 0 0;
  color: var(--gray-600);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.rank-row span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--pink-600));
  font-weight: 900;
}

.rank-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row em {
  color: var(--purple-700);
  font-style: normal;
  font-weight: 900;
}

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

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

.side-card-grid .tag-list,
.side-card-grid .movie-card p {
  display: none;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at left top, rgba(236, 72, 153, 0.18), transparent 34%), linear-gradient(135deg, var(--purple-700), var(--pink-600));
  color: #fff;
}

.page-hero {
  padding: 78px 24px;
}

.page-hero > div {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 850;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
}

.page-hero p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
}

.filter-panel {
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
}

.search-box {
  flex: 1 1 420px;
}

.search-box input,
.filter-controls select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 13px 15px;
  outline: none;
  background: #fff;
  color: var(--gray-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus,
.filter-controls select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.11);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-controls label,
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-controls select {
  min-width: 150px;
}

.empty-state {
  display: none;
  margin-top: 26px;
  padding: 42px;
  border-radius: 24px;
  color: var(--gray-600);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ranking-card {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-card:hover {
  box-shadow: var(--shadow-md);
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.ranking-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.ranking-cover span {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--pink-600));
  font-weight: 900;
}

.ranking-info p {
  margin: 10px 0 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.score-pill {
  align-self: start;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--purple-700);
  background: var(--purple-50);
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(24px) saturate(1.2);
  opacity: 0.25;
  transform: scale(1.08);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(88, 28, 135, 0.96), rgba(219, 39, 119, 0.84));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 24px 58px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.breadcrumbs a:hover {
  color: #fff;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.detail-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.detail-info h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
}

.detail-info .detail-one-line {
  color: rgba(255, 255, 255, 0.86);
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: start;
  gap: 28px;
}

.player-card,
.detail-article,
.prose-section,
.contact-card,
.contact-form {
  border-radius: 28px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.player-card h2,
.detail-article h2,
.prose-section h2,
.contact-card h2 {
  margin: 0 0 16px;
  color: var(--gray-900);
  font-size: 24px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #05020a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.28), rgba(3, 7, 18, 0.48));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  font-size: 28px;
}

.detail-article {
  color: var(--gray-700);
  line-height: 1.85;
}

.detail-article p,
.prose-section p,
.contact-card p {
  margin: 0 0 18px;
  color: var(--gray-700);
  line-height: 1.85;
}

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

.movie-facts div {
  padding: 14px;
  border-radius: 16px;
  background: var(--gray-50);
}

.movie-facts dt {
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 800;
}

.movie-facts dd {
  margin: 5px 0 0;
  color: var(--gray-900);
  font-weight: 800;
}

.large-tags span {
  padding: 9px 14px;
}

.prose-section {
  max-width: 960px;
}

.inner-strip {
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.site-footer {
  margin-top: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-950), var(--purple-800) 52%, #831843);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 20px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

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

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
}

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

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

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

  .hero-content,
  .detail-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    margin-top: -62px;
  }
}

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

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

  .mobile-nav.is-open {
    display: block;
  }

  .nav-wrap {
    height: 68px;
    padding: 0 18px;
  }

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

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

  .hero-content {
    min-height: 760px;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 52px;
    padding-bottom: 150px;
  }

  .hero-poster {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-dots {
    grid-template-columns: 1fr;
  }

  .hero-dot:not(.is-active) {
    display: none;
  }

  .feature-strip,
  .inner-strip {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .section-heading,
  .filter-panel,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-controls {
    width: 100%;
  }

  .filter-controls label {
    flex: 1 1 160px;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .side-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 280px;
  }

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

  .score-pill {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .content-section,
  .page-hero,
  .detail-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .side-card-grid,
  .movie-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
  }

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