:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.96);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --subtle: #64748b;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --purple: #a855f7;
  --pink: #ec4899;
  --orange: #fb923c;
  --green: #34d399;
  --yellow: #facc15;
  --red: #fb7185;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 30vw),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 32vw),
    linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.36), transparent);
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.22);
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--cyan), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #cbd5e1;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(148, 163, 184, 0.12);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.7);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #e2e8f0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.menu-open .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.mobile-nav a {
  display: block;
  padding: 13px 14px;
  border-radius: 12px;
  color: #dbeafe;
}

.mobile-nav a:hover {
  background: rgba(34, 211, 238, 0.12);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #020617;
}

.hero-track {
  position: relative;
  min-height: 760px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  background:
    radial-gradient(circle at 15% 15%, rgba(34, 211, 238, 0.32), transparent 28vw),
    linear-gradient(135deg, #020617, #0f172a 52%, #111827);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(1.12) contrast(1.08);
}

.hero-slide.is-missing .hero-bg,
.image-shell.is-missing img {
  display: none;
}

.hero-slide.is-missing {
  background:
    radial-gradient(circle at 15% 15%, rgba(34, 211, 238, 0.3), transparent 30vw),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.28), transparent 28vw),
    linear-gradient(135deg, #020617, #0f172a 52%, #111827);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.68) 48%, rgba(2, 6, 23, 0.38) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.98) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 760px;
  margin: 0 auto;
  padding: 126px 0 190px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span {
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(12px);
  font-size: 12px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
  box-shadow: 0 16px 34px rgba(34, 211, 238, 0.24);
}

.btn.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.btn.soft {
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid var(--line);
}

.hero-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(59, 130, 246, 0.16));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  color: #fff;
  font-size: 26px;
}

.hero-bottom {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 24px;
  align-items: center;
}

.hero-search,
.filter-panel {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.hero-search {
  height: 58px;
  padding: 6px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr auto;
}

.hero-search input,
.filter-search input,
.filter-selects select {
  width: 100%;
  border: 0;
  outline: 0;
  color: #f8fafc;
  background: transparent;
}

.hero-search input {
  padding: 0 18px;
}

.hero-search button,
.filter-search button {
  border: 0;
  border-radius: 999px;
  color: #001018;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
}

.hero-search button {
  padding: 0 22px;
}

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

.hero-dot {
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 8px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  align-items: center;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(14px);
}

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

.hero-dot span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  font-size: 12px;
}

.hero-dot.is-active {
  border-color: rgba(34, 211, 238, 0.7);
  color: #fff;
  background: rgba(34, 211, 238, 0.18);
}

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

.muted-section {
  background: rgba(15, 23, 42, 0.34);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

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

.section-head p {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.04em;
}

.section-head a,
.text-link {
  color: var(--cyan);
  font-weight: 800;
}

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

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

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.featured-grid .movie-card:first-child {
  grid-row: span 2;
}

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.58);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.movie-card a {
  display: block;
  height: 100%;
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(34, 211, 238, 0.28), transparent 50%),
    linear-gradient(135deg, #0f172a, #111827);
}

.movie-card:not(.compact) .card-cover {
  aspect-ratio: 3 / 4;
}

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

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.year-badge {
  right: 12px;
}

.rank-badge {
  left: 12px;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.88);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.card-body {
  padding: 16px;
}

.card-body h2,
.card-body h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card.compact .card-body h2 {
  font-size: 15px;
}

.card-body p {
  min-height: 44px;
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta,
.rank-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #cbd5e1;
  font-size: 12px;
}

.card-meta span,
.rank-meta span,
.detail-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
}

.card-body .tag-row {
  margin-top: 12px;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.66);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.category-tile {
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-tile::before,
.category-overview-card::before {
  content: "";
  position: absolute;
  inset: -45% -10% auto auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.2);
  filter: blur(8px);
}

.category-tile span {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.category-tile strong {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

.category-tile em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 800;
}

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

.category-overview-card {
  padding: 28px;
}

.category-overview-card h2 {
  position: relative;
  margin: 0 0 12px;
  font-size: 28px;
}

.category-overview-card p {
  position: relative;
  color: #cbd5e1;
  line-height: 1.8;
}

.sample-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.sample-links a {
  padding: 6px 9px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(148, 163, 184, 0.1);
  font-size: 13px;
}

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

.page-hero {
  position: relative;
  padding: 90px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 35vw),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.05em;
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: #94a3b8;
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.filter-panel {
  margin-top: 28px;
  padding: 16px;
  border-radius: 24px;
}

.filter-search {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 10px;
  margin-bottom: 12px;
}

.filter-search input {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.46);
}

.filter-search button {
  min-height: 48px;
}

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

.filter-selects select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0f172a;
}

.filter-result {
  margin: 12px 4px 0;
  color: #94a3b8;
  font-size: 13px;
}

.listing-grid .movie-card[hidden],
.rank-list .rank-row[hidden] {
  display: none;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 108px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.62);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(34, 211, 238, 0.38);
}

.rank-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #001018;
  font-size: 20px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
}

.rank-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #111827);
}

.rank-info h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.rank-info p {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.65;
}

.rank-action {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  font-weight: 900;
}

.watch-section {
  padding: 104px 0 34px;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 35vw),
    linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.56));
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 30px;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.16), transparent 35%),
    linear-gradient(135deg, #020617, #0f172a);
  box-shadow: var(--shadow);
}

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

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.82)),
    rgba(2, 6, 23, 0.18);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer strong {
  max-width: min(720px, calc(100% - 48px));
  text-align: center;
  font-size: clamp(22px, 4vw, 42px);
  line-height: 1.2;
}

.play-layer em {
  color: #bfdbfe;
  font-style: normal;
}

.play-circle {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #001018;
  font-size: 32px;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.28);
}

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

.player-status {
  position: absolute;
  left: 18px;
  bottom: 14px;
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
}

.detail-content-section {
  padding-top: 46px;
}

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

.detail-poster {
  position: sticky;
  top: 98px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #0f172a, #111827);
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.lead {
  margin: 0 0 18px;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta {
  margin-bottom: 18px;
}

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

.text-panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.62);
}

.text-panel h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
}

.text-panel p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.large-tags span {
  font-size: 13px;
}

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

.detail-neighbor a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.6);
}

.detail-neighbor a:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--cyan);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.88);
}

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

.footer-brand p {
  max-width: 560px;
  color: #94a3b8;
  line-height: 1.8;
}

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

.footer-links h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.footer-links a {
  color: #94a3b8;
}

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

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  text-align: center;
  font-size: 13px;
}

.accent-blue::before {
  background: rgba(59, 130, 246, 0.22);
}

.accent-purple::before {
  background: rgba(168, 85, 247, 0.2);
}

.accent-pink::before {
  background: rgba(236, 72, 153, 0.2);
}

.accent-orange::before {
  background: rgba(251, 146, 60, 0.2);
}

.accent-emerald::before {
  background: rgba(52, 211, 153, 0.2);
}

.accent-yellow::before {
  background: rgba(250, 204, 21, 0.2);
}

.accent-red::before {
  background: rgba(251, 113, 133, 0.2);
}

.accent-indigo::before {
  background: rgba(129, 140, 248, 0.2);
}

.accent-sky::before {
  background: rgba(56, 189, 248, 0.2);
}

@media (max-width: 1080px) {
  .hero-content {
    grid-template-columns: 1fr 310px;
  }

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

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

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

  .short-list {
    grid-template-columns: 1fr;
  }
}

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

  .menu-button {
    display: block;
  }

  body.menu-open .mobile-nav {
    display: block;
  }

  .hero,
  .hero-track,
  .hero-content {
    min-height: 700px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 110px;
    padding-bottom: 210px;
  }

  .hero-poster {
    display: none;
  }

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

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

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

  .rank-action {
    grid-column: 3;
    justify-self: start;
  }

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

  .detail-poster {
    position: relative;
    top: auto;
    max-width: 320px;
  }

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

@media (max-width: 560px) {
  .nav-wrap {
    height: 64px;
  }

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

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

  .hero,
  .hero-track,
  .hero-content {
    min-height: 690px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-bottom {
    bottom: 18px;
  }

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

  .hero-dot:nth-child(n + 5) {
    display: none;
  }

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

  .filter-search,
  .filter-selects,
  .detail-neighbor {
    grid-template-columns: 1fr;
  }

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

  .rank-cover {
    display: none;
  }

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

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