:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #dbeafe;
  --accent: #0ea5e9;
  --gold: #f59e0b;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 70px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

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

.brand-text strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

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

.nav-link,
.nav-menu-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #334155;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-menu:hover .nav-menu-button {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-menu {
  position: relative;
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 6px;
  width: 260px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-menu:hover .nav-menu-panel,
.nav-menu:focus-within .nav-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-panel a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #334155;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.nav-menu-panel a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-menu-panel small {
  color: var(--muted);
  font-weight: 600;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.header-search label {
  position: relative;
  display: block;
}

.header-search label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.header-search input,
.mobile-search input,
.search-hero input {
  width: 230px;
  height: 42px;
  padding: 0 16px;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-hero input:focus {
  background: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.header-search button,
.mobile-search button,
.search-hero button,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-hero button:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.34);
}

.button-secondary {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  padding: 0 20px 20px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
  padding-top: 16px;
}

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

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

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transform: scale(1.02);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.68) 46%, rgba(15, 23, 42, 0.18)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.2) 48%, rgba(2, 6, 23, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 380px;
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 40px));
  min-height: 620px;
  padding: 80px 0;
}

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

.eyebrow,
.hero-eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 680px;
  color: #cbd5e1;
  font-size: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-meta span,
.detail-chip,
.result-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.46);
  backdrop-filter: blur(18px);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
}

.hero-panel-info {
  padding: 18px 4px 4px;
}

.hero-panel-info strong {
  display: block;
  font-size: 22px;
}

.hero-panel-info span {
  display: block;
  margin-top: 6px;
  color: #bfdbfe;
  font-size: 14px;
}

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

.hero-dots button {
  width: 36px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  border: 0;
  border-radius: 999px;
}

.hero-dots button.is-active {
  background: #ffffff;
}

.stats-band {
  position: relative;
  z-index: 3;
  margin-top: -36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.stat-card {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.content-section {
  padding: 76px 0 0;
}

.section-heading,
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-heading p {
  margin: 10px 0 0;
  max-width: 700px;
  color: var(--muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-md);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.movie-card:hover .movie-poster img {
  transform: scale(1.06);
  opacity: 0.92;
}

.poster-badge,
.rank-mark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.76);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.rank-mark {
  left: 12px;
  right: auto;
  background: linear-gradient(135deg, var(--gold), #ef4444);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.28;
}

.movie-card h3 a:hover {
  color: var(--brand);
}

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: #475569;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.movie-tags span {
  padding: 4px 8px;
  color: #475569;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.channel-strip {
  padding: 76px 0 0;
}

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

.channel-card,
.category-card,
.info-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.channel-card::after,
.category-card::after {
  position: absolute;
  right: -46px;
  top: -46px;
  width: 140px;
  height: 140px;
  content: "";
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%);
}

.channel-card strong,
.category-card strong {
  display: block;
  font-size: 22px;
}

.channel-card p,
.category-card p,
.info-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.channel-card span,
.category-card span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 900;
}

.list-hero,
.category-hero,
.search-hero,
.static-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 22%, rgba(14, 165, 233, 0.28), transparent 32%),
    linear-gradient(135deg, #1d4ed8, #0f172a 72%);
  padding: 78px 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.list-hero h1,
.category-hero h1,
.search-hero h1,
.static-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.list-hero p,
.category-hero p,
.search-hero p,
.static-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 18px;
}

.search-hero form {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin-top: 30px;
}

.search-hero input {
  flex: 1;
  width: auto;
  background: rgba(255, 255, 255, 0.96);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 46px 0 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  color: #334155;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
}

.pagination span,
.pagination a:hover {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.detail-player-wrap {
  background: #020617;
  padding: 34px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.38));
  border: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-overlay span {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  padding-left: 6px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.45);
  font-size: 42px;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: none;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.76);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.player-status.is-visible {
  display: inline-flex;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 360px;
  gap: 30px;
  padding: 44px 0 76px;
}

.detail-main,
.detail-side,
.static-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.detail-main {
  padding: 30px;
}

.detail-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

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

.detail-chip {
  color: #1e40af;
  background: #dbeafe;
  border-color: #bfdbfe;
}

.detail-section {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-section p {
  margin: 0;
  color: #334155;
  font-size: 16px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags a,
.detail-tags span {
  padding: 8px 12px;
  color: #334155;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.detail-side {
  align-self: start;
  padding: 20px;
  position: sticky;
  top: 96px;
}

.detail-side h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

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

.related-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.related-item img {
  width: 128px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.related-item strong {
  display: block;
  line-height: 1.3;
}

.related-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.prev-next a {
  flex: 1;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 800;
}

.prev-next a:hover {
  color: var(--brand);
  border-color: rgba(37, 99, 235, 0.3);
}

.category-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  padding-top: 54px;
}

.category-sidebar {
  align-self: start;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  position: sticky;
  top: 96px;
}

.category-sidebar h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.category-sidebar a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #334155;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.category-sidebar a:hover,
.category-sidebar a.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.category-overview {
  padding: 72px 0;
}

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

.term-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.term-cloud a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  color: #334155;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.term-cloud a:hover {
  color: var(--brand);
  border-color: rgba(37, 99, 235, 0.32);
  background: var(--brand-soft);
}

.result-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.result-chip {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: #bfdbfe;
}

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

.archive-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.archive-link:hover {
  border-color: rgba(37, 99, 235, 0.36);
  transform: translateY(-2px);
}

.archive-link span {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-link small {
  color: var(--muted);
  font-weight: 700;
}

.static-content {
  max-width: 900px;
  margin: 54px auto 76px;
  padding: 34px;
}

.static-content h2 {
  margin: 34px 0 12px;
  font-size: 26px;
}

.static-content h2:first-child {
  margin-top: 0;
}

.static-content p,
.static-content li {
  color: #334155;
}

.static-content ul {
  padding-left: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.site-footer {
  margin-top: 78px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 34px;
  padding: 54px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 18px;
}

.site-footer p {
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 16px;
}

.site-footer section > a,
.footer-channel-list a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0;
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #60a5fa;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags a {
  padding: 6px 10px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  color: #94a3b8;
  font-size: 14px;
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

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

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

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

  .hero-panel {
    display: none;
  }

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

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

  .detail-side,
  .category-sidebar {
    position: static;
  }

  .channel-grid,
  .category-overview-grid,
  .archive-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .header-inner {
    min-height: 64px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

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

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

  .hero-content {
    padding: 64px 0 92px;
  }

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

  .stats-grid,
  .movie-grid,
  .channel-grid,
  .category-overview-grid,
  .archive-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .page-heading,
  .result-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-section,
  .channel-strip {
    padding-top: 56px;
  }

  .list-hero,
  .category-hero,
  .search-hero,
  .static-hero {
    padding: 54px 0;
  }

  .search-hero form,
  .mobile-search {
    flex-direction: column;
  }

  .detail-main,
  .static-content {
    padding: 22px;
  }

  .related-item {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .related-item img {
    width: 104px;
  }

  .prev-next {
    flex-direction: column;
  }
}
