:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--slate-800);
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--blue-50) 45%, var(--slate-100) 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.95), rgba(239, 246, 255, 0.95), rgba(248, 250, 252, 0.95));
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
  font-size: 16px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 21px;
  background: linear-gradient(90deg, var(--blue-600), var(--slate-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

.brand-text em {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

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

.nav-link,
.mobile-link {
  color: var(--slate-600);
  font-size: 14px;
  border-radius: 12px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link {
  padding: 10px 13px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--blue-600);
  background: rgba(219, 234, 254, 0.72);
}

.top-search,
.mobile-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--slate-200);
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
}

.top-search input,
.mobile-search input {
  width: 220px;
  padding: 10px 4px 10px 16px;
  border: 0;
  outline: 0;
  color: var(--slate-700);
  background: transparent;
}

.top-search button,
.mobile-search button {
  margin: 4px;
  padding: 8px 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--slate-700);
  background: rgba(219, 234, 254, 0.7);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--slate-200);
  padding: 14px 18px 18px;
  background: var(--white);
}

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

.mobile-link {
  display: block;
  padding: 11px 13px;
}

.mobile-search {
  width: 100%;
}

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

.page-main {
  min-height: 60vh;
}

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

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-900);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

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

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: -16px;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: blur(10px);
  transform: scale(1.08);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 64, 175, 0.82) 48%, rgba(15, 23, 42, 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.05fr 0.72fr;
  align-items: center;
  gap: 56px;
  padding: 80px 0;
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(147, 197, 253, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

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

.hero p {
  margin: 0 0 28px;
  max-width: 620px;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.8;
}

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

.btn-primary,
.btn-secondary,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn-light {
  color: var(--blue-700);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.hero-poster {
  position: relative;
  width: min(360px, 100%);
  justify-self: center;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(2, 6, 23, 0.55);
  transform: rotate(2deg);
}

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

.hero-poster-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 90px 22px 22px;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0));
}

.hero-poster-info strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.hero-poster-info span {
  color: var(--slate-300);
  font-size: 13px;
}

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

.hero-dot {
  width: 44px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot.is-active {
  background: var(--white);
  transform: scaleX(1.15);
}

.section {
  padding: 72px 0 0;
}

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

.section-title {
  margin: 0;
  color: var(--slate-800);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--slate-500);
  line-height: 1.8;
}

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

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

.movie-card {
  min-width: 0;
}

.card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-link:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-lg);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  background: var(--slate-900);
  aspect-ratio: 3 / 4;
}

.movie-card.compact .poster-frame {
  aspect-ratio: 16 / 10;
}

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

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.02) 55%);
  opacity: 0.82;
}

.quality-badge,
.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  color: var(--white);
  font-size: 12px;
  border-radius: 999px;
}

.quality-badge {
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.duration-badge {
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.rank-badge {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #facc15, #f97316);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
}

.hover-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 16px;
}

.card-body h2 {
  margin: 0 0 8px;
  color: var(--slate-800);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--slate-500);
  font-size: 12px;
}

.meta-row span,
.tag,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  background: var(--slate-100);
  border-radius: 999px;
}

.genre-line {
  margin-top: 10px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.category-tile:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.category-tile h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-size: 24px;
}

.category-tile p,
.category-tile span {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.category-tile span {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
}

.tone-red { background: linear-gradient(135deg, #ef4444, #f97316); }
.tone-slate { background: linear-gradient(135deg, #475569, #0f172a); }
.tone-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.tone-cyan { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.tone-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.tone-pink { background: linear-gradient(135deg, #ec4899, #e11d48); }
.tone-green { background: linear-gradient(135deg, #22c55e, #0f766e); }
.tone-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.tone-yellow { background: linear-gradient(135deg, #f59e0b, #ca8a04); }
.tone-indigo { background: linear-gradient(135deg, #6366f1, #1d4ed8); }

.feature-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: stretch;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--slate-900);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.18));
}

.feature-card-content {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: var(--white);
}

.feature-card-content h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.18;
}

.feature-card-content p {
  max-width: 700px;
  color: var(--slate-200);
  line-height: 1.8;
}

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

.horizontal-card a {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  align-items: center;
  height: 100%;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.horizontal-card a:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.horizontal-card img {
  width: 108px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 12px;
}

.horizontal-card h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.horizontal-card p {
  margin: 0 0 8px;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horizontal-card span {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
}

.page-hero {
  padding: 70px 0 46px;
  color: var(--white);
  background: radial-gradient(circle at 12% 10%, rgba(59, 130, 246, 0.55), transparent 28%), linear-gradient(135deg, var(--slate-900), #1e3a8a 52%, var(--slate-900));
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #bfdbfe;
  font-size: 14px;
}

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

.filter-panel {
  margin: 36px 0 30px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.filter-search input {
  width: 100%;
  padding: 15px 18px;
  color: var(--slate-700);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  outline: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-search input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 0;
  padding: 9px 13px;
  color: var(--slate-600);
  background: var(--slate-100);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  transform: translateY(-1px);
}

.empty-state {
  display: none;
  padding: 32px;
  text-align: center;
  color: var(--slate-500);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.empty-state.show {
  display: block;
}

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

.detail-hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: var(--detail-image);
  background-position: center;
  background-size: cover;
  filter: blur(16px);
  transform: scale(1.1);
  opacity: 0.5;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(30, 64, 175, 0.72), rgba(2, 6, 23, 0.88));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 38px;
  align-items: center;
  padding: 70px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.58);
}

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

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-info p {
  max-width: 850px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.85;
}

.detail-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.detail-meta span,
.tag {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

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

.player-shell {
  overflow: hidden;
  background: var(--slate-950);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.player-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--white);
  text-align: center;
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.3));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.34);
  font-size: 38px;
}

.player-overlay strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.player-overlay span:last-child {
  color: #dbeafe;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
  padding: 46px 0 72px;
}

.article-panel,
.side-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-panel {
  padding: 30px;
}

.article-panel h2,
.side-panel h2 {
  margin: 0 0 16px;
  color: var(--slate-800);
  font-size: 26px;
}

.article-panel p {
  margin: 0 0 20px;
  color: var(--slate-600);
  line-height: 1.92;
  font-size: 16px;
}

.side-panel {
  padding: 20px;
}

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

.side-card a {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
}

.side-card img {
  width: 80px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.side-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.35;
}

.side-card span {
  color: var(--blue-600);
  font-size: 12px;
}

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

.pagination-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
}

.pagination-strip a {
  padding: 9px 13px;
  color: var(--slate-600);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
}

.pagination-strip a:hover,
.pagination-strip a.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.site-footer {
  color: var(--slate-300);
  background: linear-gradient(90deg, var(--slate-900), #1e3a8a, var(--slate-900));
}

.footer-inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 36px;
}

.brand-footer .brand-text strong {
  color: var(--white);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-brand p {
  max-width: 460px;
  color: var(--slate-400);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 17px;
}

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

.footer-list a {
  color: var(--slate-400);
  font-size: 14px;
}

.footer-list a:hover {
  color: #93c5fd;
}

.footer-bottom {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--slate-400);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 14px;
}

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

  .feature-band,
  .content-layout {
    grid-template-columns: 1fr;
  }
}

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

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

  .hero-content,
  .detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-poster {
    width: min(340px, 100%);
    justify-self: start;
  }

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

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

@media (max-width: 640px) {
  .nav-inner,
  .container,
  .footer-inner,
  .footer-bottom {
    width: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    height: 66px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

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

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

  .hero-content {
    padding: 58px 0 86px;
    gap: 30px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .btn-light {
    width: 100%;
  }

  .hero-controls {
    bottom: 22px;
  }

  .section {
    padding-top: 54px;
  }

  .section-header {
    display: block;
  }

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

  .card-body {
    padding: 13px;
  }

  .card-body h2 {
    font-size: 14px;
  }

  .card-body p {
    min-height: 40px;
    font-size: 12px;
  }

  .page-hero {
    padding: 48px 0 36px;
  }

  .detail-hero-inner {
    padding: 46px 0;
  }

  .article-panel {
    padding: 22px;
  }

  .big-play {
    width: 74px;
    height: 74px;
    font-size: 30px;
  }

  .player-overlay strong {
    font-size: 19px;
  }

  .horizontal-card a {
    grid-template-columns: 88px 1fr;
  }

  .horizontal-card img {
    width: 88px;
  }
}
