:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --border: rgba(168, 85, 247, 0.22);
  --border-hot: rgba(251, 191, 36, 0.52);
  --text: #f8fafc;
  --muted: #c4b5fd;
  --soft: rgba(226, 232, 240, 0.72);
  --amber: #f59e0b;
  --pink: #ec4899;
  --purple: #8b5cf6;
  --blue: #38bdf8;
  --green: #34d399;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(236, 72, 153, 0.20), transparent 28rem),
    radial-gradient(circle at 86% 10%, rgba(139, 92, 246, 0.22), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  min-height: 100vh;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(139, 92, 246, 0.18));
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(88, 28, 135, 0.94), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber), var(--pink));
  color: #0f172a;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(245, 158, 11, 0.35);
}

.brand-copy strong,
.footer-logo strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  background: linear-gradient(90deg, #fbbf24, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small,
.footer-logo small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  color: #ddd6fe;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: #fbbf24;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(15, 23, 42, 0.56);
  border-radius: 999px;
}

.header-search input,
.mobile-search input {
  width: 220px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  padding: 9px 12px;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.search-panel input::placeholder,
.local-filter input::placeholder {
  color: rgba(196, 181, 253, 0.65);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: #0f172a;
  font-weight: 900;
  background: linear-gradient(90deg, var(--amber), var(--pink));
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(15, 23, 42, 0.72);
  border-radius: 14px;
  width: 42px;
  height: 42px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.96);
  padding: 14px 18px 18px;
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  background: rgba(15, 23, 42, 0.7);
}

.mobile-search input {
  flex: 1;
  width: auto;
}

.mobile-nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
}

.hero {
  position: relative;
  height: clamp(560px, 80vh, 820px);
  overflow: hidden;
  background: #020617;
}

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

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

.hero-slide img {
  position: absolute;
  inset: 0;
  filter: saturate(1.12) contrast(1.05);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.64) 45%, rgba(2, 6, 23, 0.22)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.25) 42%, rgba(2, 6, 23, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1180px;
}

.eyebrow,
.hero-kicker-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero h1,
.hero-kicker-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 50px);
  line-height: 1.05;
  background: linear-gradient(90deg, #fbbf24, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h2 {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

.hero p {
  max-width: 680px;
  margin: 0 0 26px;
  color: #ddd6fe;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-tags,
.detail-chips,
.card-meta,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-tags span,
.detail-chips span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 13px;
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.30);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span:first-child,
.detail-chips span:first-child {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.38);
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
  color: #111827;
  background: linear-gradient(90deg, var(--amber), var(--pink));
  box-shadow: 0 16px 42px rgba(245, 158, 11, 0.24);
}

.btn.ghost {
  color: #fde68a;
  background: rgba(15, 23, 42, 0.54);
  border: 1px solid var(--border-hot);
  backdrop-filter: blur(12px);
}

.btn.full {
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: white;
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  background: rgba(15, 23, 42, 0.92);
}

.hero-arrow.prev {
  left: 28px;
  transform: translateY(-50%);
}

.hero-arrow.next {
  right: 28px;
  transform: translateY(-50%);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  transition: width 0.25s ease, background 0.25s ease;
}

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

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

.home-sections {
  padding: 72px 0 20px;
}

.content-section {
  margin-bottom: 76px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.section-heading.split {
  justify-content: space-between;
}

.section-heading.split > div,
.section-heading.compact {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.section-heading a {
  color: #fbbf24;
  font-weight: 800;
}

.section-line {
  width: 6px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber), var(--pink));
}

.section-line.pink {
  background: linear-gradient(180deg, var(--pink), var(--purple));
}

.section-line.purple {
  background: linear-gradient(180deg, var(--purple), var(--blue));
}

.section-line.blue {
  background: linear-gradient(180deg, var(--blue), var(--purple));
}

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

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

.horizontal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hot);
  box-shadow: 0 24px 65px rgba(245, 158, 11, 0.16);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.card-cover img {
  transition: transform 0.55s ease;
}

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

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent 60%);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #0f172a;
  background: rgba(251, 191, 36, 0.92);
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  font-weight: 900;
}

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

.year-badge,
.score-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.year-badge {
  left: 12px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.34);
}

.score-badge {
  right: 12px;
  color: #fef3c7;
  background: rgba(2, 6, 23, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 10px;
  color: white;
  font-size: 18px;
  line-height: 1.35;
}

.card-body h3 a:hover,
.rank-row h2 a:hover {
  color: #fbbf24;
}

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

.card-meta {
  gap: 8px;
  margin-bottom: 13px;
  color: #c4b5fd;
  font-size: 12px;
}

.card-meta span {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(15, 23, 42, 0.78);
}

.tag-row {
  gap: 7px;
}

.tag-row span {
  padding: 5px 9px;
  font-size: 11px;
}

.card-large .card-cover {
  aspect-ratio: 16 / 9;
}

.card-large .card-body h3 {
  font-size: 24px;
}

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

.card-horizontal {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.card-horizontal .card-cover {
  height: 100%;
  min-height: 160px;
  aspect-ratio: auto;
}

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

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

.card-compact .card-body p {
  display: none;
}

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

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-tile img {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.22));
}

.category-copy {
  position: absolute;
  inset: auto 18px 18px 18px;
}

.category-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.category-copy small {
  display: block;
  color: #ddd6fe;
  line-height: 1.6;
}

.two-column-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: start;
}

.stack-list,
.rank-mini-list {
  display: grid;
  gap: 14px;
}

.rank-panel,
.side-card,
.poster-card,
.detail-card,
.search-panel,
.page-hero {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.rank-panel,
.side-card,
.detail-card,
.search-panel,
.page-hero {
  padding: 28px;
}

.rank-mini-item {
  display: grid;
  grid-template-columns: 44px 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(168, 85, 247, 0.14);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.34);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rank-mini-item:hover {
  transform: translateX(4px);
  border-color: var(--border-hot);
  background: rgba(15, 23, 42, 0.78);
}

.rank-num {
  color: #fbbf24;
  font-weight: 950;
  font-size: 18px;
}

.rank-mini-item img {
  height: 56px;
  border-radius: 13px;
}

.rank-mini-copy strong,
.rank-mini-copy small {
  display: block;
}

.rank-mini-copy strong {
  color: white;
  line-height: 1.35;
}

.rank-mini-copy small {
  margin-top: 4px;
  color: #c4b5fd;
  font-size: 12px;
}

.page-hero {
  margin: 38px 0 42px;
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 158, 11, 0.18), transparent 22rem),
    radial-gradient(circle at 88% 12%, rgba(236, 72, 153, 0.18), transparent 24rem),
    rgba(15, 23, 42, 0.70);
}

.page-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  color: #ddd6fe;
  font-size: 18px;
  line-height: 1.75;
}

.compact-hero {
  margin-bottom: 30px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  color: #c4b5fd;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fbbf24;
}

.local-filter input,
.search-panel input,
.search-panel select {
  width: 100%;
  border: 1px solid rgba(168, 85, 247, 0.32);
  outline: 0;
  color: var(--text);
  background: rgba(2, 6, 23, 0.46);
  border-radius: 18px;
  padding: 14px 16px;
}

.local-filter {
  max-width: 520px;
  margin-top: 22px;
}

.search-panel {
  margin-bottom: 34px;
}

.search-row {
  display: grid;
  gap: 14px;
}

.main-search-row {
  grid-template-columns: 1fr 120px;
  margin-bottom: 16px;
}

.main-search-row button {
  border: 0;
  border-radius: 18px;
  color: #0f172a;
  font-weight: 900;
  background: linear-gradient(90deg, var(--amber), var(--pink));
}

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

.empty-state {
  padding: 48px 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  color: #ddd6fe;
  background: var(--panel);
  text-align: center;
}

.rank-list-page {
  display: grid;
  gap: 16px;
  margin-bottom: 72px;
}

.rank-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  border-color: var(--border-hot);
  transform: translateY(-3px);
}

.rank-row-cover {
  position: relative;
  min-height: 128px;
}

.rank-row-cover span {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 7px 11px;
  color: #111827;
  background: #fbbf24;
  font-weight: 950;
}

.rank-row-copy {
  padding: 20px 22px 20px 0;
}

.rank-row h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.rank-row p {
  margin: 0 0 14px;
  color: var(--soft);
  line-height: 1.75;
}

.detail-page {
  padding-bottom: 30px;
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.34);
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: white;
  background:
    linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.42)),
    radial-gradient(circle at center, rgba(245, 158, 11, 0.16), transparent 24rem);
}

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

.play-circle {
  display: inline-flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber), var(--pink));
  font-size: 28px;
  font-weight: 950;
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.32);
}

.player-overlay strong {
  max-width: min(640px, 90%);
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1.2;
}

.detail-card h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-card section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(168, 85, 247, 0.20);
}

.detail-card h2,
.side-card h2,
.poster-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-card p,
.side-card p,
.poster-card p {
  color: #ddd6fe;
  line-height: 1.85;
}

.detail-tags a:hover {
  color: #fbbf24;
  border-color: var(--border-hot);
}

.detail-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.poster-card {
  overflow: hidden;
  padding: 0;
}

.poster-card img {
  aspect-ratio: 16 / 10;
}

.poster-card div {
  padding: 20px;
}

.accent-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.13), rgba(236, 72, 153, 0.10), rgba(139, 92, 246, 0.13));
  border-color: rgba(245, 158, 11, 0.26);
}

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

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.96));
}

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

.footer-brand p,
.site-footer li,
.site-footer a {
  color: rgba(221, 214, 254, 0.78);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 17px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(168, 85, 247, 0.16);
  padding: 18px;
  text-align: center;
  color: rgba(221, 214, 254, 0.60);
}

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

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

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

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

  .detail-aside {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-inner {
    height: 66px;
  }

  .hero {
    height: 720px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 96px;
  }

  .hero-arrow {
    display: none;
  }

  .featured-grid,
  .horizontal-grid,
  .category-grid.wide,
  .footer-inner,
  .filters-row {
    grid-template-columns: 1fr;
  }

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

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

  .card-horizontal,
  .rank-row {
    grid-template-columns: 1fr;
  }

  .card-horizontal .card-cover {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .rank-row-copy {
    padding: 0 18px 20px;
  }
}

@media (max-width: 540px) {
  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    display: none;
  }

  .hero h2 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

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

  .main-search-row {
    grid-template-columns: 1fr;
  }

  .rank-mini-item {
    grid-template-columns: 40px 70px 1fr;
  }

  .page-hero,
  .detail-card,
  .search-panel,
  .rank-panel,
  .side-card {
    padding: 22px;
    border-radius: 22px;
  }

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