
:root {
  --deep-space-950: #020617;
  --deep-space-900: #0f172a;
  --deep-space-850: #111827;
  --deep-space-800: #1e293b;
  --deep-space-700: #334155;
  --cloud-realm-400: #38bdf8;
  --cloud-realm-500: #0ea5e9;
  --cloud-realm-600: #0284c7;
  --cloud-realm-700: #0369a1;
  --cloud-realm-800: #075985;
  --cyber-blue-400: #60a5fa;
  --cyber-blue-600: #2563eb;
  --cyber-blue-950: #172554;
  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --panel-border: rgba(56, 189, 248, 0.18);
  --panel-bg: rgba(15, 23, 42, 0.78);
  --shadow-lg: 0 25px 70px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 35%), var(--deep-space-950);
  color: var(--text-main);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--panel-border);
}

.header-inner {
  max-width: 1280px;
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--cloud-realm-500), var(--cyber-blue-600));
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.28);
}

.logo-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--cloud-realm-400), var(--cyber-blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(56, 189, 248, 0.13);
}

.nav-link.compact {
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-form input {
  width: 250px;
  border: 1px solid var(--panel-border);
  outline: none;
  border-radius: 14px;
  padding: 11px 14px;
  color: var(--text-main);
  background: rgba(2, 6, 23, 0.54);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.search-form button,
.primary-button,
.ghost-button,
.section-more,
.text-link {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.search-form button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: white;
  background: linear-gradient(135deg, var(--cloud-realm-600), var(--cyber-blue-600));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.25);
}

.search-form button:hover,
.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.ghost-button,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--cloud-realm-400);
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(15, 23, 42, 0.62);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  color: white;
  background: rgba(15, 23, 42, 0.75);
}

.mobile-panel {
  border-top: 1px solid var(--panel-border);
  padding: 16px 24px 20px;
  background: rgba(15, 23, 42, 0.98);
}

.mobile-panel[hidden] {
  display: none;
}

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

.mobile-search input {
  width: 100%;
}

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

.mobile-nav-link {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text-soft);
  background: rgba(30, 41, 59, 0.6);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: white;
  background: rgba(56, 189, 248, 0.14);
}

.hero-carousel {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: var(--deep-space-950);
}

.hero-track {
  position: relative;
  min-height: 78vh;
}

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

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

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

.hero-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.62) 42%, rgba(2, 6, 23, 0.2) 100%), linear-gradient(0deg, var(--deep-space-950) 0%, rgba(2, 6, 23, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 78vh;
  margin: 0 auto;
  padding: 70px 24px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: center;
}

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

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(2, 132, 199, 0.86);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.18);
}

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

.hero-copy p {
  margin: 0 0 24px;
  max-width: 660px;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags a,
.detail-tags a,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--text-soft);
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(15, 23, 42, 0.66);
  font-size: 13px;
}

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

.hero-poster {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--cloud-realm-600), var(--cyber-blue-600));
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
}

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

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

.hero-dot.active {
  width: 36px;
  background: var(--cloud-realm-400);
}

.search-strip {
  max-width: 1280px;
  margin: -42px auto 0;
  position: relative;
  z-index: 10;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--panel-border);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.86);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.search-strip h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
}

.search-strip p {
  margin: 0;
  color: var(--text-muted);
}

.search-strip-form input {
  width: min(420px, 45vw);
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 74px 24px;
}

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

.compact-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 680px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(56, 189, 248, 0.14);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.92));
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 26px 70px rgba(14, 165, 233, 0.14);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--deep-space-900);
}

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

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

.poster-shine {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 12px;
  color: white;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 12px 25px rgba(239, 68, 68, 0.35);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--text-muted);
  font-size: 12px;
}

.movie-meta-line span {
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(2, 6, 23, 0.38);
}

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

.movie-card h3 a:hover {
  color: var(--cloud-realm-400);
}

.movie-card p {
  margin: 0 0 12px;
  min-height: 3.2em;
  color: var(--text-muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  gap: 6px;
}

.tag-row span {
  max-width: 100%;
  font-size: 12px;
  padding: 4px 8px;
}

.split-showcase {
  max-width: 1280px;
  margin: 0 auto;
  padding: 74px 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
}

.split-showcase > div {
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.7);
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-card {
  display: grid;
  grid-template-columns: auto 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-card:hover {
  transform: translateX(3px);
  border-color: rgba(56, 189, 248, 0.45);
}

.mini-card img {
  width: 62px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
}

.mini-card span {
  min-width: 0;
}

.mini-card strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card em {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-style: normal;
}

.mini-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: white;
  font-weight: 900;
  background: var(--cloud-realm-600);
}

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

.category-tile {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.16);
  background: var(--deep-space-900);
}

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

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

.category-tile span {
  position: absolute;
  inset: auto 16px 16px;
}

.category-tile strong {
  display: block;
  font-size: 20px;
}

.category-tile em {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.22), transparent 34%), linear-gradient(135deg, var(--cyber-blue-950), var(--deep-space-950));
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  filter: blur(6px);
}

.page-hero > div {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 62px 24px;
}

.small-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
}

.small-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--cloud-realm-400);
}

.breadcrumb strong {
  color: white;
}

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

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 14px;
  outline: none;
  color: var(--text-main);
  background: rgba(2, 6, 23, 0.54);
}

.filter-bar input {
  flex: 1 1 320px;
  padding: 0 15px;
}

.filter-bar select {
  padding: 0 15px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.category-overview-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-overview-cover img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 13px;
}

.category-overview-card h2 {
  margin: 6px 0 8px;
  font-size: 24px;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background: var(--deep-space-950);
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--detail-cover);
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.3;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.64)), linear-gradient(0deg, var(--deep-space-950), transparent 62%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px 64px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 28px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: var(--shadow-lg);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-info h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.05;
}

.lead-text {
  max-width: 850px;
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 19px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.16);
}

.player-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 20px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: black;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.player-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  color: white;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.player-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.24), rgba(2, 6, 23, 0.74));
}

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

.play-core {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 34px;
  padding-left: 5px;
  background: linear-gradient(135deg, var(--cloud-realm-600), var(--cyber-blue-600));
  box-shadow: 0 24px 70px rgba(14, 165, 233, 0.36);
}

.player-text {
  padding: 24px 4px 0;
}

.player-text h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 40px);
}

.player-text p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-top: 42px;
}

.article-block {
  padding: 26px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.article-block h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.article-block p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
}

.prev-next {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.prev-next a {
  min-width: 140px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--cloud-realm-400);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--panel-border);
}

.link-panel {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
}

.link-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.sitemap-links {
  columns: 4 220px;
  column-gap: 28px;
}

.sitemap-links a {
  display: block;
  break-inside: avoid;
  padding: 5px 0;
  color: var(--text-soft);
  font-size: 14px;
}

.sitemap-links a:hover {
  color: var(--cloud-realm-400);
}

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

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.7fr) minmax(240px, 1fr);
  gap: 36px;
}

.footer-brand p,
.footer-group a,
.footer-bottom {
  color: var(--text-muted);
}

.footer-brand p {
  max-width: 460px;
}

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

.footer-links {
  display: grid;
  gap: 8px;
}

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

.footer-links a:hover {
  color: var(--cloud-realm-400);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  font-size: 14px;
}

.empty-state {
  padding: 54px 20px;
  text-align: center;
  color: var(--text-muted);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.68);
}

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

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

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

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 46px;
  }

  .hero-poster {
    max-width: 240px;
    justify-self: start;
    transform: none;
  }

  .search-strip {
    margin: 0;
    border-radius: 0;
    grid-template-columns: 1fr;
  }

  .search-strip-form input {
    width: 100%;
  }

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

  .split-showcase {
    grid-template-columns: 1fr;
  }

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

  .detail-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

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

@media (max-width: 680px) {
  .header-inner {
    height: 68px;
    padding: 0 16px;
  }

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

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

  .hero-carousel,
  .hero-track,
  .hero-content {
    min-height: 76vh;
  }

  .hero-content {
    padding: 34px 16px 78px;
  }

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

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

  .content-section,
  .split-showcase,
  .player-section {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

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

  .movie-card p {
    min-height: 0;
  }

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

  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

  .player-frame {
    border-radius: 18px;
  }

  .play-core {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

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