:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --blue: #2563eb;
  --purple: #7c3aed;
  --white: #ffffff;
  --radius-xl: 24px;
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-dark: 0 24px 70px rgba(2, 6, 23, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  background: linear-gradient(180deg, var(--slate-50), #ffffff 36%, var(--slate-50));
  color: var(--slate-900);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-2deg);
}

.brand-text strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--cyan), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text em {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #94a3b8;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-panel a {
  color: #cbd5e1;
  font-size: 14px;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
  color: var(--cyan);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 0;
  outline: 0;
  border-radius: 12px;
  background: #1e293b;
  color: white;
  padding: 12px 14px;
  min-width: 220px;
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: linear-gradient(90deg, var(--cyan-strong), var(--blue));
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

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

.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: radial-gradient(circle at 80% 12%, rgba(34, 211, 238, 0.24), transparent 26%), linear-gradient(135deg, var(--slate-950), #172554 48%, var(--slate-900));
  color: white;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(0deg, var(--slate-50), transparent);
}

.hero-inner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 52px;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.hero-kicker,
.page-hero span {
  display: inline-flex;
  padding: 7px 14px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 42px);
  background: linear-gradient(90deg, var(--cyan), #60a5fa, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 660px;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.7;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.13);
  color: #0891b2;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero .hero-tags span {
  background: rgba(255, 255, 255, 0.1);
  color: #dffbff;
}

.hero-actions,
.cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

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

.btn-primary {
  background: linear-gradient(90deg, var(--cyan-strong), var(--blue));
  color: white;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.btn-link {
  color: #a5f3fc;
  padding-inline: 6px;
}

.btn-white {
  background: white;
  color: var(--blue);
}

.hero-poster {
  position: relative;
  min-height: 440px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.28), rgba(37, 99, 235, 0.32));
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 72px;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 28px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.section {
  padding: 72px 0;
}

.section-title {
  margin-bottom: 30px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--slate-900);
}

.section-title p {
  margin: 8px 0 0;
  color: var(--slate-500);
}

.section-title.light h2,
.section-title.light p {
  color: white;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 62px rgba(15, 23, 42, 0.18);
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #164e63, #1d4ed8 48%, #4c1d95);
}

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

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

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.75), transparent 62%);
  transition: opacity 0.25s ease;
}

.movie-card:hover .card-cover::after {
  opacity: 1;
}

.card-badge,
.card-time {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.card-badge {
  top: 12px;
  left: 12px;
  background: linear-gradient(90deg, var(--cyan-strong), var(--blue));
}

.card-time {
  right: 12px;
  bottom: 12px;
  background: rgba(2, 6, 23, 0.72);
}

.card-body {
  padding: 18px;
}

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

.card-body h3 a:hover {
  color: var(--cyan-strong);
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--slate-500);
  font-size: 13px;
}

.card-compact .card-body h3 {
  font-size: 16px;
}

.card-compact .card-body p {
  min-height: 0;
}

.hot-section {
  padding: 72px 0;
  background: radial-gradient(circle at 10% 0, rgba(34, 211, 238, 0.24), transparent 30%), linear-gradient(135deg, var(--slate-900), #172554);
}

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

.rank-list.wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 78px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.section .rank-item {
  background: white;
  color: var(--slate-900);
  border-color: #e2e8f0;
  box-shadow: var(--shadow-card);
}

.rank-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(34, 211, 238, 0.42);
}

.section .rank-item:hover {
  background: white;
}

.rank-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: white;
  font-weight: 900;
}

.rank-thumb {
  width: 78px;
  height: 58px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #164e63, #1d4ed8);
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.rank-info strong {
  margin-bottom: 4px;
}

.rank-info em {
  color: #94a3b8;
  font-style: normal;
  font-size: 13px;
}

.rank-views {
  color: #67e8f9;
  font-weight: 800;
  font-size: 13px;
}

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

.category-card,
.category-overview-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  color: white;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before,
.category-overview-card::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.18);
  transition: background 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.2);
}

.category-card:hover::before,
.category-overview-card:hover::before {
  background: rgba(2, 6, 23, 0.1);
}

.category-card strong,
.category-card span,
.category-card em,
.category-overview-card h2,
.category-overview-card p,
.overview-mini-list,
.overview-head {
  position: relative;
  z-index: 1;
}

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

.category-card span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.55;
}

.category-card em {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.color-0 { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.color-1 { background: linear-gradient(135deg, #f97316, #dc2626); }
.color-2 { background: linear-gradient(135deg, #10b981, #0f766e); }
.color-3 { background: linear-gradient(135deg, #ec4899, #e11d48); }
.color-4 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.color-5 { background: linear-gradient(135deg, #6366f1, #7c3aed); }

.cta {
  position: relative;
  overflow: hidden;
  margin-bottom: 72px;
  padding: 54px;
  border-radius: 32px;
  text-align: center;
  color: white;
  background: linear-gradient(90deg, var(--cyan-strong), var(--blue), var(--purple));
  box-shadow: var(--shadow-card);
}

.cta h2,
.cta p,
.cta div {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: 40px;
}

.cta p {
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.cta div {
  justify-content: center;
}

.page-hero {
  padding: 76px 0 64px;
  color: white;
  background: radial-gradient(circle at 85% 0, rgba(34, 211, 238, 0.24), transparent 30%), linear-gradient(135deg, var(--slate-950), #172554, var(--slate-900));
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 5vw, 58px);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: #cbd5e1;
  font-size: 14px;
}

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

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

.category-overview-card {
  min-height: 250px;
}

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

.category-overview-card p {
  margin: 0 0 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

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

.overview-mini-list a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-panel {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-card);
}

.filter-panel input,
.filter-panel select {
  background: var(--slate-100);
  color: var(--slate-900);
  min-width: 0;
}

.filter-panel input {
  flex: 1;
}

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

.is-hidden {
  display: none !important;
}

.top-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}

.top-rank-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #164e63, #1d4ed8);
  color: white;
  box-shadow: var(--shadow-card);
}

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.1));
}

.top-rank-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.top-rank-card span,
.top-rank-card strong,
.top-rank-card em {
  position: absolute;
  z-index: 1;
  left: 20px;
}

.top-rank-card span {
  top: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-strong), var(--blue));
  font-weight: 900;
}

.top-rank-card strong {
  right: 20px;
  bottom: 50px;
  font-size: 22px;
}

.top-rank-card em {
  bottom: 24px;
  color: #cbd5e1;
  font-style: normal;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--slate-950);
}

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

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
  min-height: 520px;
  padding: 70px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #164e63, #1d4ed8);
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.detail-copy h1 {
  margin: 16px 0 16px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.05;
}

.detail-copy p {
  max-width: 780px;
  color: #dbeafe;
  font-size: 20px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.28), rgba(2, 6, 23, 0.68));
  color: white;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 36px;
  box-shadow: 0 18px 38px rgba(34, 211, 238, 0.34);
}

.player-start strong {
  font-size: 20px;
}

.player-card.is-playing .player-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.story-card,
.side-card {
  margin-top: 24px;
  padding: 26px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-card);
}

.story-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.story-card p {
  margin: 0 0 24px;
  color: var(--slate-600);
  line-height: 1.9;
  font-size: 16px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.side-card dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  margin: 0;
}

.side-card dt {
  color: var(--slate-500);
}

.side-card dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 700;
}

.side-card a {
  color: var(--cyan-strong);
}

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

.mini-related a {
  display: block;
  padding: 12px;
  border-radius: 14px;
  background: var(--slate-50);
  transition: background 0.2s ease;
}

.mini-related a:hover {
  background: #e0f2fe;
}

.mini-related strong,
.mini-related span {
  display: block;
}

.mini-related span {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 13px;
}

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

.prev-next a {
  padding: 16px;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-card);
  color: var(--slate-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prev-next a:hover {
  color: var(--cyan-strong);
}

.site-footer {
  padding-top: 56px;
  color: #cbd5e1;
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: white;
}

.site-footer h2 {
  background: linear-gradient(90deg, var(--cyan), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer p,
.site-footer li {
  color: #94a3b8;
  line-height: 1.8;
}

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

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

.footer-bottom {
  margin-top: 40px;
  padding: 22px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  text-align: center;
  color: #94a3b8;
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 70px 0 120px;
  }

  .hero-poster {
    display: none;
  }

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

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

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

  .detail-hero-inner {
    grid-template-columns: 220px 1fr;
  }
}

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

  .brand-text strong {
    font-size: 17px;
  }

  .hero,
  .hero-inner {
    min-height: 74vh;
  }

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

  .movie-grid,
  .featured-grid,
  .catalog-grid,
  .rank-grid,
  .rank-list.wide,
  .category-grid,
  .overview-grid,
  .top-rank-grid,
  .prev-next {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-panel input,
  .filter-panel select {
    width: 100%;
  }

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

  .rank-views {
    grid-column: 3;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 46px 0;
  }

  .detail-poster {
    width: 200px;
  }

  .cta {
    padding: 36px 18px;
  }

  .cta h2 {
    font-size: 30px;
  }
}
