:root {
  --purple-950: #2f0b4f;
  --purple-900: #4c1d95;
  --purple-800: #5b21b6;
  --purple-700: #6d28d9;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --pink-600: #db2777;
  --pink-500: #ec4899;
  --pink-400: #f472b6;
  --blue-600: #2563eb;
  --yellow-500: #f59e0b;
  --gray-950: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-soft: 0 20px 50px rgba(76, 29, 149, 0.14);
  --shadow-card: 0 12px 30px rgba(17, 24, 39, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 44%, #fff7fb 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--purple-700), var(--purple-500), var(--pink-500));
  box-shadow: 0 14px 38px rgba(76, 29, 149, 0.26);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: radial-gradient(circle at 32% 25%, #ffffff 0 16%, var(--pink-400) 17% 36%, var(--purple-700) 37% 100%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.14), 0 12px 24px rgba(0, 0, 0, 0.18);
}

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

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-search,
.mobile-search,
.page-filter,
.search-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-search input,
.mobile-search input,
.page-filter input,
.search-panel input,
.search-panel select {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.nav-search input {
  width: 235px;
}

.nav-search button,
.mobile-search button {
  border: 0;
  color: var(--purple-700);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-link {
  display: block;
  padding: 12px 4px;
  color: rgba(255, 255, 255, 0.94);
}

.mobile-link.is-active {
  font-weight: 800;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600) 48%, var(--pink-500));
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 18%), radial-gradient(circle at 82% 74%, rgba(255, 255, 255, 0.12), transparent 22%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(44px);
  pointer-events: none;
}

.hero-glow-one {
  top: 110px;
  left: 6%;
  width: 190px;
  height: 190px;
}

.hero-glow-two {
  right: 8%;
  bottom: 80px;
  width: 260px;
  height: 260px;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.66fr);
  align-items: center;
  gap: 44px;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(47, 11, 79, 0.94), rgba(124, 58, 237, 0.66), rgba(236, 72, 153, 0.55)), var(--hero-image);
  background-position: center;
  background-size: cover;
  opacity: 0.32;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.06);
}

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

.hero-copy,
.hero-cover {
  position: relative;
  z-index: 1;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple-600);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slider .eyebrow,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-intro {
  max-width: 680px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.detail-tags a,
.movie-tags span {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

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

.primary-btn,
.ghost-btn,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: linear-gradient(90deg, var(--purple-700), var(--pink-500));
  padding: 13px 22px;
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.3);
}

.hero-slider .primary-btn {
  color: var(--purple-700);
  background: var(--white);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  padding: 13px 20px;
  backdrop-filter: blur(16px);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-cover {
  display: block;
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.36);
  transform: rotate(2deg);
}

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

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

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

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

.quick-cats,
.content-section,
.split-section,
.breadcrumb,
.detail-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-cats {
  padding: 54px 0 8px;
}

.center-head {
  justify-content: center;
  text-align: center;
}

.quick-cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.quick-cat-list a {
  color: var(--purple-700);
  background: var(--white);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-cat-list a:hover {
  color: var(--white);
  background: linear-gradient(90deg, var(--purple-600), var(--pink-500));
  transform: translateY(-2px);
}

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

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

.section-head h2,
.page-hero h1,
.detail-card h1 {
  margin: 0;
  color: var(--gray-900);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-head h2 {
  font-size: clamp(28px, 3.8vw, 42px);
}

.section-link {
  color: var(--purple-700);
  background: #f3e8ff;
  padding: 10px 16px;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(76, 29, 149, 0.22);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--purple-700), var(--pink-500));
}

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.26s ease;
}

.movie-card:hover .movie-poster::after {
  opacity: 1;
}

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

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

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--white);
  background: rgba(124, 58, 237, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.76);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.poster-type {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  color: var(--white);
  background: rgba(124, 58, 237, 0.92);
  border-radius: 10px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.34;
  color: var(--gray-900);
}

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

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-tags span,
.detail-tags a {
  color: var(--purple-700);
  background: #f3e8ff;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 34px;
  padding: 42px 0 64px;
}

.rank-panel,
.side-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.rank-panel {
  align-self: start;
  padding: 24px;
  position: sticky;
  top: 96px;
}

.slim-head {
  margin-bottom: 18px;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-link {
  display: grid;
  grid-template-columns: 38px 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.rank-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
  border-radius: 999px;
  font-weight: 900;
}

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

.rank-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.rank-info strong {
  overflow: hidden;
  color: var(--gray-900);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  overflow: hidden;
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(135deg, #ffffff, #faf5ff);
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 124px;
  height: 124px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.16));
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 52px rgba(124, 58, 237, 0.2);
}

.category-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
  border-radius: 999px;
  font-size: 24px;
  font-weight: 900;
}

.category-card h2 {
  margin: 18px 0 10px;
  color: var(--gray-900);
  font-size: 22px;
}

.category-card p {
  margin: 0;
  color: var(--gray-600);
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-samples span {
  max-width: 100%;
  overflow: hidden;
  color: var(--purple-700);
  background: #f3e8ff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(100deg, var(--purple-800), var(--purple-600), var(--pink-500));
  padding: 84px max(16px, calc((100% - 1180px) / 2)) 74px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 18%;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  filter: blur(42px);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.page-filter,
.search-panel {
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  margin-top: 28px;
}

.page-filter input,
.search-panel input {
  width: min(520px, 100%);
}

.search-panel select {
  min-width: 190px;
}

.spotlight-strip {
  padding-bottom: 10px;
}

.compact-card-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}

.compact-card {
  display: grid;
  gap: 9px;
  color: var(--gray-900);
  font-size: 14px;
  font-weight: 800;
}

.compact-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.compact-card:hover img {
  transform: translateY(-4px);
}

.compact-card span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.empty-state {
  margin: 30px 0 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  color: var(--gray-600);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 16px;
  color: var(--gray-600);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  padding-bottom: 68px;
}

.player-card,
.detail-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.player-card {
  margin-bottom: 24px;
  background: #05020b;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05020b;
}

.player-shell video {
  width: 100%;
  height: 100%;
  background: #05020b;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at 50% 46%, rgba(124, 58, 237, 0.36), rgba(5, 2, 11, 0.72) 62%);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-play-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  padding-left: 4px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
  border-radius: 999px;
  box-shadow: 0 20px 42px rgba(124, 58, 237, 0.45);
  font-size: 32px;
}

.player-overlay span:last-child {
  font-size: 18px;
  font-weight: 900;
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
}

.detail-card h2 {
  margin: 28px 0 10px;
  color: var(--gray-900);
  font-size: 24px;
}

.detail-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
}

.detail-one-line {
  margin-bottom: 18px !important;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--purple-900) !important;
  background: #f5f3ff;
  font-weight: 700;
}

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

.detail-meta a,
.detail-meta span {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--gray-700);
  background: var(--gray-100);
  font-size: 14px;
  font-weight: 800;
}

.detail-meta a {
  color: var(--purple-700);
  background: #f3e8ff;
}

.detail-tags {
  margin-bottom: 22px;
}

.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-200);
}

.prev-next a {
  overflow: hidden;
  border-radius: 16px;
  padding: 14px;
  color: var(--purple-700);
  background: #f5f3ff;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.related-section {
  width: 100%;
  padding: 36px 0 0;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 22px;
}

.side-card {
  padding: 22px;
}

.side-card > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
  margin-bottom: 18px;
}

.side-card h2 {
  margin: 0 0 10px;
  color: var(--gray-900);
}

.side-card p {
  margin: 0 0 16px;
  color: var(--gray-600);
}

.full-btn {
  width: 100%;
}

.mini-rank-list .rank-link {
  grid-template-columns: 30px 54px minmax(0, 1fr);
  padding: 8px;
}

.mini-rank-list .rank-number {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.mini-rank-list .rank-link img {
  width: 54px;
  height: 54px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, var(--purple-900), var(--purple-950));
  margin-top: 40px;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 0.7fr 0.7fr;
  gap: 36px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.brand-footer {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 18px;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

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

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

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

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

  .rank-panel,
  .detail-side {
    position: static;
  }
}

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

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

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

  .mobile-search {
    margin-bottom: 12px;
  }

  .mobile-search input {
    flex: 1;
  }

  .hero-slider,
  .hero-track {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding: 44px 0 78px;
  }

  .hero-cover {
    width: min(300px, 74vw);
    margin: 0 auto;
    order: -1;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 12vw, 54px);
  }

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

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

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

  .prev-next {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .nav-shell,
  .mobile-panel,
  .quick-cats,
  .content-section,
  .split-section,
  .breadcrumb,
  .detail-layout,
  .footer-shell,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

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

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-slider,
  .hero-track {
    min-height: 680px;
  }

  .hero-actions {
    display: grid;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .library-grid,
  .category-grid,
  .compact-card-row {
    grid-template-columns: 1fr;
  }

  .rank-link {
    grid-template-columns: 34px 62px minmax(0, 1fr);
  }

  .rank-link img {
    width: 62px;
    height: 62px;
  }

  .detail-card,
  .side-card {
    padding: 20px;
  }
}
