:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --purple: #9333ea;
  --purple-soft: rgba(147, 51, 234, 0.24);
  --pink: #ec4899;
  --blue: #38bdf8;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(168, 85, 247, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(147, 51, 234, 0.18), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(236, 72, 153, 0.14), transparent 30rem),
    linear-gradient(135deg, #020617 0%, #111827 55%, #000000 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent);
  z-index: -1;
}

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: 100;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(88, 28, 135, 0.96), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

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

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

.logo-mark,
.footer-logo span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 0 28px rgba(147, 51, 234, 0.55);
}

.logo-text,
.footer-logo {
  background: linear-gradient(90deg, #c084fc, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.2rem;
}

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

.desktop-nav a,
.desktop-nav button,
.mobile-panel a {
  color: #d1d5db;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 10px 13px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
}

.nav-more {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 170px;
  padding: 8px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-more:hover .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.nav-search input,
.mobile-search input,
.big-search input,
.filter-toolbar input,
.filter-toolbar select {
  width: 100%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.32);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
  width: 240px;
  padding: 10px 12px;
}

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

.nav-search button,
.mobile-search button,
.big-search button,
.primary-btn {
  color: white;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 12px 32px rgba(147, 51, 234, 0.36);
}

.nav-search button {
  padding: 10px 15px;
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-toolbar input:focus,
.filter-toolbar select:focus {
  border-color: #c084fc;
  box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.16);
  background: rgba(255, 255, 255, 0.13);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 12px;
}

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

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

.mobile-panel nav {
  display: grid;
  gap: 6px;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.mobile-search input,
.mobile-search button {
  padding: 12px 14px;
}

.hero-carousel {
  position: relative;
  height: clamp(520px, 72vh, 680px);
  overflow: hidden;
  background: #020617;
}

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

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.42), transparent),
    linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 72%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 84px;
  width: min(660px, calc(100% - 48px));
  z-index: 2;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-tags span,
.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
}

.hero-tags span:first-child {
  background: rgba(147, 51, 234, 0.86);
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-content p,
.page-hero p,
.detail-copy p {
  color: #e5e7eb;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.8;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
}

.ghost-btn {
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.primary-btn:hover,
.ghost-btn:hover,
.nav-search button:hover,
.big-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(147, 51, 234, 0.42);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  color: white;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 2rem;
  backdrop-filter: blur(12px);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

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

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

.hero-dots button.is-active {
  width: 32px;
  background: #c084fc;
}

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

.section-shell {
  padding: 54px 0;
}

.page-shell,
.detail-shell {
  padding: 44px 0 60px;
}

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

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading h2,
.text-panel h2,
.info-panel h2,
.map-group h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.section-heading a {
  color: #c084fc;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 6px;
  color: #c084fc;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.movie-card {
  min-width: 0;
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.58), rgba(15, 23, 42, 0.74));
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow: 0 24px 55px rgba(147, 51, 234, 0.2);
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.68), rgba(15, 23, 42, 0.9));
}

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

.movie-cover-wrap {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(147, 51, 234, 0.35), rgba(236, 72, 153, 0.22)),
    #111827;
}

.movie-card-large .movie-cover-wrap {
  aspect-ratio: 21 / 10;
}

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

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

.movie-cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 64%);
}

.year-pill,
.region-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: white;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
}

.year-pill {
  top: 10px;
  right: 10px;
}

.region-pill {
  left: 10px;
  bottom: 10px;
  background: rgba(147, 51, 234, 0.72);
}

.rank-badge {
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  font-weight: 800;
}

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

.movie-card-body h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.82rem;
}

.movie-meta-row span:last-child {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
  border-radius: 8px;
  padding: 3px 7px;
}

.feature-band,
.ranking-band,
.player-section,
.info-panel,
.text-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.7));
  box-shadow: var(--shadow);
}

.feature-band {
  padding: 34px;
}

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

.category-tile {
  position: relative;
  min-height: 160px;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 22px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.category-tile img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(88, 28, 135, 0.28));
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 18px;
  z-index: 2;
}

.category-tile strong {
  bottom: 42px;
  font-size: 1.15rem;
}

.category-tile em {
  bottom: 18px;
  color: #cbd5e1;
  font-style: normal;
  font-size: 0.9rem;
}

.ranking-grid,
.ranking-page-list {
  display: grid;
  gap: 14px;
}

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

.ranking-item a {
  display: grid;
  grid-template-columns: auto 86px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ranking-item a:hover {
  transform: translateX(3px);
  background: rgba(30, 41, 59, 0.78);
  border-color: rgba(192, 132, 252, 0.45);
}

.ranking-number {
  width: 44px;
  color: #f9a8d4;
  font-weight: 900;
  text-align: center;
}

.ranking-item img {
  width: 86px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background: #111827;
}

.ranking-copy {
  display: grid;
  gap: 4px;
}

.ranking-copy b {
  color: white;
}

.ranking-copy em {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
}

.page-hero {
  position: relative;
  padding: 54px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.2), transparent 20rem),
    linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.84));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  background: rgba(147, 51, 234, 0.24);
  filter: blur(25px);
  border-radius: 999px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.page-hero p {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

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

.overview-card a {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.68);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.overview-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, 0.55);
}

.overview-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #0f172a;
}

.overview-thumbs img {
  width: 100%;
  height: 104px;
  object-fit: cover;
}

.overview-copy {
  padding: 24px;
}

.overview-copy h2 {
  margin: 0 0 10px;
  color: white;
  font-size: 1.5rem;
}

.overview-copy p {
  color: #cbd5e1;
  line-height: 1.7;
}

.overview-copy span {
  color: #c084fc;
  font-weight: 800;
}

.filter-toolbar {
  display: grid;
  grid-template-columns: 1fr 240px auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.68);
}

.filter-toolbar label {
  display: grid;
  gap: 7px;
  color: #cbd5e1;
  font-weight: 700;
}

.filter-toolbar input,
.filter-toolbar select {
  padding: 12px 14px;
}

.filter-toolbar strong {
  color: white;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(147, 51, 234, 0.22);
}

.big-search {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 760px;
  margin-top: 24px;
}

.big-search input,
.big-search button {
  padding: 15px 18px;
}

.search-status {
  margin-bottom: 22px;
  color: #cbd5e1;
  font-weight: 700;
}

.detail-shell {
  width: min(1120px, calc(100% - 32px));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
}

.breadcrumb a {
  color: #c084fc;
}

.detail-hero {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 34px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(30, 41, 59, 0.62), rgba(15, 23, 42, 0.82));
  box-shadow: var(--shadow);
}

.detail-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
}

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

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.player-section {
  margin: 34px 0;
  padding: 28px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: white;
  background:
    radial-gradient(circle at center, rgba(147, 51, 234, 0.28), rgba(0, 0, 0, 0.58)),
    rgba(0, 0, 0, 0.2);
  border: 0;
  cursor: pointer;
}

.play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.play-circle {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 0 45px rgba(147, 51, 234, 0.56);
  font-size: 1.9rem;
}

.play-overlay strong {
  font-size: 1.35rem;
}

.play-overlay em,
.player-status {
  color: #cbd5e1;
  font-style: normal;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 12px;
  margin: 0;
  z-index: 5;
  font-size: 0.9rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.text-panel,
.info-panel {
  padding: 28px;
}

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

.info-panel {
  margin-top: 24px;
}

.info-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
}

.info-panel div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.info-panel dt {
  color: #94a3b8;
  font-size: 0.86rem;
}

.info-panel dd {
  margin: 4px 0 0;
  color: white;
  font-weight: 700;
}

.info-panel a {
  color: #c084fc;
}

.detail-related {
  width: 100%;
}

.site-map-grid {
  display: grid;
  gap: 24px;
}

.map-group {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.68);
}

.map-group h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.map-group ul {
  columns: 3 260px;
  margin: 0;
  padding-left: 18px;
}

.map-group li {
  margin: 0 0 8px;
  break-inside: avoid;
}

.map-group span {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.82), rgba(0, 0, 0, 0.98));
}

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

.site-footer h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
  line-height: 1.75;
}

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

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

.footer-map {
  color: #c084fc !important;
  font-weight: 800;
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #64748b;
  border-top: 1px solid rgba(168, 85, 247, 0.14);
  text-align: center;
}

.is-filtered-out {
  display: none !important;
}

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

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

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

  .footer-grid,
  .overview-grid,
  .detail-grid,
  .ranking-grid {
    grid-template-columns: 1fr;
  }

  .overview-card a,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero-carousel {
    height: 560px;
  }

  .hero-content {
    bottom: 74px;
  }

  .hero-arrow {
    display: none;
  }

  .section-heading,
  .filter-toolbar,
  .big-search {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .four-col,
  .three-col,
  .two-col,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .page-hero,
  .detail-hero,
  .player-section,
  .text-panel,
  .info-panel {
    padding: 22px;
  }

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

  .ranking-item a {
    grid-template-columns: auto 72px 1fr;
  }

  .ranking-item img {
    width: 72px;
  }

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