:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --line: rgba(103, 232, 249, 0.22);
  --line-strong: rgba(34, 211, 238, 0.42);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --green: #34d399;
  --shadow: 0 24px 80px rgba(8, 47, 73, 0.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  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 top left, rgba(34, 211, 238, 0.14), transparent 38rem),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 42rem),
    linear-gradient(135deg, #020617 0%, #0f172a 52%, #082f49 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.88), rgba(15, 23, 42, 0.96));
  box-shadow: 0 12px 44px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(18px);
}

.header-glow {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}

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

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  color: #02111d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.58);
}

.brand-text {
  font-size: 20px;
  background: linear-gradient(90deg, #67e8f9, #60a5fa, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.nav-pill,
.mobile-link {
  color: #cbd5e1;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(34, 211, 238, 0.12);
}

.nav-search {
  position: relative;
  width: 240px;
}

.nav-search input,
.hero-search input,
.filter-bar input {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  color: #e2e8f0;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.nav-search input {
  height: 42px;
  padding: 0 16px;
}

.global-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 70;
  display: none;
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.96);
  box-shadow: var(--shadow);
}

.global-search-panel.open {
  display: block;
}

.search-result-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.search-result-item:hover {
  background: rgba(34, 211, 238, 0.1);
}

.search-result-item img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.search-result-item strong,
.search-result-item span {
  display: block;
}

.search-result-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.search-empty {
  padding: 16px;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.45);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #e2e8f0;
}

.category-strip {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 0 0 12px;
  overflow-x: auto;
}

.nav-pill {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(15, 23, 42, 0.46);
  font-size: 14px;
}

.nav-pill:hover,
.nav-pill.active {
  color: #fff;
  border-color: rgba(34, 211, 238, 0.56);
  background: rgba(34, 211, 238, 0.16);
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(103, 232, 249, 0.12);
}

.mobile-link {
  display: block;
  padding: 12px;
  border-radius: 12px;
}

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

.mobile-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}

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

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(34, 211, 238, 0.2), transparent 24rem),
    linear-gradient(to bottom, transparent 0%, rgba(2, 6, 23, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: center;
  min-height: 650px;
  padding: 58px 0;
}

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

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #67e8f9;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.12);
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 760px;
  background: linear-gradient(90deg, #67e8f9, #dbeafe, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p,
.page-hero p,
.detail-copy .lead {
  max-width: 740px;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.78;
}

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

.hero-tags {
  margin: 24px 0 28px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(8, 47, 73, 0.42);
  font-size: 13px;
}

.hero-tags.plain {
  margin: 16px 0 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  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: #02111d;
  background: linear-gradient(90deg, var(--cyan), #60a5fa);
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.26);
}

.btn.ghost {
  color: #a5f3fc;
  border: 1px solid rgba(34, 211, 238, 0.5);
  background: rgba(2, 6, 23, 0.36);
}

.hero-stats,
.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats span,
.detail-stats span {
  min-width: 120px;
  padding: 12px 16px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.54);
}

.hero-stats strong,
.detail-stats strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.hero-poster {
  position: relative;
  display: block;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 30px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.5);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #02111d;
  background: rgba(103, 232, 249, 0.94);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 50px rgba(34, 211, 238, 0.72);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 50%;
  color: #e0f2fe;
  background: rgba(2, 6, 23, 0.48);
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(34, 211, 238, 0.18);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

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

.hero-dots button {
  width: 28px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.34);
}

.hero-dots button.active {
  width: 44px;
  background: var(--cyan);
}

.search-band {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 24px;
  align-items: center;
  margin-top: -54px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-band h2,
.section-heading h2,
.panel-title h2 {
  margin: 6px 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.15;
}

.search-band p,
.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-search {
  position: relative;
}

.hero-search input,
.filter-bar input {
  height: 54px;
  padding: 0 22px;
}

.hero-search-panel {
  top: calc(100% + 12px);
}

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

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

.section-more,
.panel-title a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(15, 23, 42, 0.54);
}

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

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.24);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 0.35s ease;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.category-card:hover img {
  transform: scale(1.07);
}

.category-overlay,
.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.94), transparent 62%);
}

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

.category-card strong {
  bottom: 74px;
  font-size: 24px;
}

.category-card em {
  bottom: 52px;
  color: #67e8f9;
  font-style: normal;
}

.category-card p {
  bottom: 18px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 24px 60px rgba(8, 145, 178, 0.18);
}

.poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

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

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

.play-dot {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #02111d;
  background: rgba(103, 232, 249, 0.94);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.54);
}

.rank-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  border-radius: 10px;
  color: #02111d;
  background: linear-gradient(135deg, #fde68a, #22d3ee);
}

.card-body {
  padding: 14px;
}

.card-topline,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.movie-card h3 {
  margin: 9px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: #67e8f9;
}

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin: 12px 0;
  gap: 6px;
}

.tag-row span {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 12px;
}

.card-meta {
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 10px;
}

.card-meta strong {
  color: #fde68a;
  font-size: 16px;
}

.card-meta a {
  color: #67e8f9;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

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

.rank-list a {
  display: grid;
  grid-template-columns: 34px 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(103, 232, 249, 0.12);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.28);
}

.rank-list a:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.08);
}

.rank-num {
  color: #67e8f9;
  font-weight: 900;
}

.rank-list img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  line-height: 1.35;
}

.rank-info em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-hero {
  position: relative;
  padding: 94px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 22%, rgba(34, 211, 238, 0.18), transparent 26rem),
    linear-gradient(135deg, rgba(2, 6, 23, 0.94), rgba(8, 47, 73, 0.62));
}

.page-hero.small {
  padding: 72px 0 54px;
}

.page-hero h1 {
  margin: 14px 0;
  font-size: clamp(42px, 6vw, 70px);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
}

.filter-bar span {
  flex: 0 0 auto;
  color: var(--muted);
}

.filter-bar b {
  color: #67e8f9;
}

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

.overview-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(15, 23, 42, 0.72);
}

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

.overview-cover img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.overview-cover span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.8);
}

.overview-card h2 {
  margin: 8px 0 10px;
  font-size: 28px;
}

.overview-card p {
  color: var(--muted);
  line-height: 1.7;
}

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

.overview-samples a {
  padding: 6px 10px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  color: #a5f3fc;
  font-size: 13px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.88));
}

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

.detail-cover {
  display: block;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 26px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: var(--shadow);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #a5f3fc;
  font-size: 14px;
}

.detail-copy h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: start;
  padding: 54px 0 24px;
}

.player-wrap {
  position: sticky;
  top: 110px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #02111d;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(103, 232, 249, 0.96);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.7);
}

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

.detail-article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.18);
}

.detail-article h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-article h2:not(:first-child) {
  margin-top: 30px;
}

.detail-article p {
  color: #dbeafe;
  line-height: 1.9;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.22);
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
}

.sitemap-core,
.sitemap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-core {
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
}

.sitemap-core a,
.sitemap-links a {
  padding: 7px 11px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(8, 47, 73, 0.24);
}

.sitemap-group {
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(15, 23, 42, 0.58);
}

.sitemap-group h2 {
  margin: 0 0 14px;
  color: #67e8f9;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  padding: 38px 0;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid a {
  display: block;
}

.footer-grid a:hover {
  color: #67e8f9;
}

.footer-grid h3 {
  margin: 0 0 12px;
}

.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}

[data-card].hidden {
  display: none;
}

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

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

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

  .ranking-panel,
  .player-wrap {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    min-height: 680px;
    padding: 42px 0 84px;
  }

  .hero-poster {
    display: none;
  }

  .search-band,
  .detail-grid,
  .overview-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .overview-cover img {
    height: 260px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

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

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

  .hero p,
  .page-hero p,
  .detail-copy .lead {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-stats,
  .detail-stats,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

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

  .card-body {
    padding: 12px;
  }

  .movie-card h3 {
    font-size: 15px;
  }

  .movie-card p {
    font-size: 12px;
  }

  .detail-hero {
    padding: 32px 0;
  }

  .detail-cover {
    max-width: 260px;
  }

  .detail-main {
    padding-top: 32px;
  }

  .detail-article {
    padding: 18px;
  }
}

@media (max-width: 460px) {
  .brand-text {
    font-size: 17px;
  }

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

  .hero-actions {
    flex-direction: column;
  }
}
