:root {
  color-scheme: dark;
  --deep-space-950: #020617;
  --deep-space-925: #08111f;
  --deep-space-900: #0f172a;
  --deep-space-850: #172033;
  --deep-space-800: #1e293b;
  --deep-space-700: #334155;
  --cloud-realm-300: #7dd3fc;
  --cloud-realm-400: #38bdf8;
  --cloud-realm-500: #0ea5e9;
  --cloud-realm-600: #0284c7;
  --cyber-blue-400: #60a5fa;
  --cyber-blue-600: #2563eb;
  --orange-500: #f97316;
  --yellow-500: #eab308;
  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --border-soft: rgba(56, 189, 248, 0.18);
  --shadow-card: 0 22px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 28rem), var(--deep-space-950);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.site-header__inner {
  width: min(100% - 32px, 1280px);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.site-logo__text {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(90deg, var(--cloud-realm-400), var(--cyber-blue-400));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link,
.mobile-nav__link {
  padding: 10px 14px;
  border-radius: 10px;
  color: #d1d5db;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  color: var(--cloud-realm-400);
  background: rgba(30, 41, 59, 0.9);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: var(--text-main);
  background: rgba(2, 6, 23, 0.82);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 240px;
  padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--cloud-realm-400);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.header-search button,
.mobile-search button {
  border: 0;
  color: white;
  background: var(--cloud-realm-600);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.7);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text-main);
}

.mobile-nav {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 14px;
}

.hero-carousel {
  position: relative;
  height: min(80vh, 760px);
  min-height: 560px;
  overflow: hidden;
  background: var(--deep-space-950);
}

.hero-carousel__slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

.hero-slide__image,
.detail-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__image.is-missing,
.detail-hero__bg.is-missing,
.detail-poster img.is-missing,
.video-card__cover img.is-missing,
.rank-row img.is-missing,
.hero-thumb img.is-missing {
  opacity: 0;
}

.hero-slide__overlay,
.detail-hero__overlay {
  position: absolute;
  inset: 0;
}

.hero-slide__overlay--side {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.55), transparent 72%);
}

.hero-slide__overlay--bottom {
  background: linear-gradient(0deg, var(--deep-space-950), transparent 55%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1280px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1280px;
}

.hero-slide__content > * {
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: white;
  background: rgba(37, 99, 235, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-slide h1,
.sub-hero h1,
.detail-info h1 {
  margin: 0;
  color: white;
  font-weight: 900;
  line-height: 1.08;
}

.hero-slide h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

.hero-slide p,
.sub-hero p,
.detail-info p {
  color: #d1d5db;
}

.hero-slide p {
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.detail-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-tags span,
.detail-tags a,
.detail-category-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--cloud-realm-300);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.24);
  font-size: 0.85rem;
}

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

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

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

.btn-primary {
  color: white;
  background: var(--cloud-realm-600);
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: var(--cloud-realm-500);
}

.btn-ghost {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-meta,
.video-card__meta,
.video-card__stats,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-meta {
  margin-top: 18px;
}

.hero-meta span:not(:last-child)::after,
.detail-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: rgba(148, 163, 184, 0.55);
}

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

.hero-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dot.is-active {
  background: white;
}

.hero-carousel__thumbs {
  position: absolute;
  right: max(16px, calc((100% - 1280px) / 2));
  bottom: 72px;
  z-index: 4;
  display: grid;
  gap: 10px;
  width: min(290px, 30vw);
}

.hero-thumb {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-thumb.is-active {
  border-color: rgba(56, 189, 248, 0.62);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.hero-thumb img {
  width: 76px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--deep-space-800), var(--deep-space-950));
}

.hero-thumb span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.page-section--compact {
  padding: 34px 0 0;
}

.page-section--alt {
  background: rgba(15, 23, 42, 0.62);
}

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

.section-title h2,
.showcase-rank h2,
.content-card h2,
.sidebar-card h2,
.filter-panel h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.section-title__icon {
  margin-right: 10px;
}

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

.section-more {
  color: var(--cloud-realm-400);
  font-weight: 800;
  white-space: nowrap;
}

.section-more span {
  font-size: 1.2em;
}

.category-strip,
.category-cards,
.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.category-chip,
.category-card,
.category-overview-card {
  border: 1px solid rgba(56, 189, 248, 0.15);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.75));
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 14px;
}

.category-chip strong,
.category-card strong,
.category-overview-card strong {
  color: white;
}

.category-chip span,
.category-card span,
.category-overview-card span {
  color: var(--cloud-realm-400);
}

.category-chip:hover,
.category-card:hover,
.category-overview-card:hover,
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
}

.category-card,
.category-overview-card {
  min-height: 150px;
  padding: 22px;
  border-radius: 18px;
}

.category-card strong,
.category-overview-card strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.category-overview-card em {
  display: block;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-style: normal;
}

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

.video-card {
  min-width: 0;
  border: 1px solid rgba(56, 189, 248, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.58);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.video-card__link {
  display: block;
  height: 100%;
}

.video-card__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.22), transparent 52%), linear-gradient(135deg, var(--deep-space-800), var(--deep-space-950));
}

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

.video-card:hover .video-card__cover img {
  transform: scale(1.06);
}

.video-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1), transparent);
}

.video-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(14, 165, 233, 0.92);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.video-card__badge,
.video-card__duration {
  position: absolute;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 7px;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
}

.video-card__badge {
  top: 10px;
  left: 10px;
  background: rgba(37, 99, 235, 0.9);
}

.video-card__duration {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.78);
}

.video-card__body {
  padding: 14px;
}

.video-card__title {
  margin: 0;
  color: #e5e7eb;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.7em;
  transition: color 0.2s ease;
}

.video-card:hover .video-card__title {
  color: var(--cloud-realm-400);
}

.video-card__desc {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-card__meta,
.video-card__stats {
  margin-top: 10px;
  font-size: 0.78rem;
}

.video-card__stats {
  color: #64748b;
}

.video-card--large .video-card__title {
  font-size: 1.08rem;
}

.video-card--list {
  border-radius: 14px;
}

.video-card--list .video-card__link {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
}

.video-card--list .video-card__cover {
  height: 86px;
  aspect-ratio: auto;
}

.video-card--list .video-card__desc,
.video-card--list .video-card__stats {
  display: none;
}

.video-card--list .video-card__title {
  min-height: auto;
  -webkit-line-clamp: 2;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 32px;
  align-items: start;
}

.showcase-rank,
.sidebar-card,
.content-card,
.player-card,
.filter-panel {
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow-card);
}

.showcase-rank,
.sidebar-card,
.content-card,
.player-card {
  padding: 24px;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 40px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: rgba(30, 41, 59, 0.95);
  transform: translateX(3px);
}

.rank-row__number {
  color: var(--orange-500);
  font-weight: 900;
  font-size: 1.15rem;
}

.rank-row img {
  width: 76px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--deep-space-800), var(--deep-space-950));
}

.rank-row__main {
  min-width: 0;
}

.rank-row__main strong,
.rank-row__main em {
  overflow: hidden;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row__main strong {
  color: white;
}

.rank-row__main em {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: normal;
}

.rank-row__heat {
  color: var(--cloud-realm-400);
  font-weight: 800;
}

.sub-hero {
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(23, 37, 84, 0.9), rgba(2, 6, 23, 0.96));
  border-bottom: 1px solid var(--border-soft);
}

.sub-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.3rem);
}

.sub-hero p {
  max-width: 760px;
  margin: 14px 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
}

.filter-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.filter-panel__header p {
  margin: 0;
  color: var(--text-muted);
}

.filter-panel__controls {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 12px;
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
}

.ranking-grid {
  display: grid;
  gap: 18px;
}

.ranking-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  background: transparent;
  border: 0;
}

.ranking-card__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--orange-500), var(--cyber-blue-600));
  font-weight: 900;
  font-size: 1.6rem;
}

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

.detail-hero__bg {
  position: absolute;
  inset: 0;
  filter: saturate(1.08);
}

.detail-hero__overlay {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.25)), linear-gradient(0deg, var(--deep-space-950), transparent 58%);
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  padding: 52px 0 72px;
}

.detail-hero__grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-poster {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep-space-800), var(--deep-space-950));
  box-shadow: var(--shadow-card);
}

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

.detail-info h1 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 6vw, 5rem);
}

.detail-info p {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: 1.12rem;
}

.detail-meta {
  margin-top: 18px;
}

.detail-category-links {
  margin-bottom: 28px;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  padding: 16px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: black;
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: white;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.2), rgba(0, 0, 0, 0.38));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-overlay span {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cloud-realm-600);
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.38);
  font-size: 2rem;
}

.player-tip {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.content-card p {
  margin: 14px 0 0;
  color: #d1d5db;
  line-height: 1.9;
  white-space: pre-line;
}

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

.info-list div {
  padding: 14px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.58);
}

.info-list dt {
  color: var(--text-muted);
  font-size: 0.84rem;
}

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

.detail-sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.sidebar-more {
  display: block;
  margin-top: 16px;
  padding: 11px;
  border-radius: 12px;
  color: var(--cloud-realm-400);
  background: rgba(14, 165, 233, 0.1);
  text-align: center;
  font-weight: 800;
}

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

.site-footer__inner {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
}

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

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
}

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

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

.footer-block a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

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

  .hero-carousel__thumbs {
    display: none;
  }

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

  .detail-sidebar {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-carousel {
    height: 72vh;
    min-height: 520px;
  }

  .hero-slide__overlay--side {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.38), transparent);
  }

  .hero-slide__content {
    justify-content: flex-end;
    padding-bottom: 96px;
  }

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

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

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

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

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    height: 64px;
  }

  .site-logo__icon {
    width: 34px;
    height: 34px;
  }

  .hero-carousel {
    min-height: 540px;
  }

  .hero-slide h1 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .section-title,
  .filter-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .video-card__body {
    padding: 11px;
  }

  .video-card__desc,
  .video-card__stats {
    display: none;
  }

  .filter-panel__controls,
  .info-list,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .ranking-card__rank {
    min-height: 48px;
  }

  .rank-row {
    grid-template-columns: 34px 62px minmax(0, 1fr);
  }

  .rank-row__heat {
    display: none;
  }

  .detail-info h1,
  .sub-hero h1 {
    font-size: 2.1rem;
  }

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