:root {
  color-scheme: dark;
  --twilight-950: #170421;
  --twilight-900: #250637;
  --twilight-800: #3b0764;
  --twilight-700: #6d28d9;
  --twilight-600: #9333ea;
  --twilight-500: #a855f7;
  --twilight-400: #c084fc;
  --twilight-300: #d8b4fe;
  --dusk-600: #db2777;
  --dusk-500: #ec4899;
  --gold: #facc15;
  --cyan: #22d3ee;
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% -10%, rgba(168, 85, 247, 0.38), transparent 34rem),
    radial-gradient(circle at 92% 8%, rgba(219, 39, 119, 0.30), transparent 32rem),
    linear-gradient(135deg, #12031d 0%, #250637 45%, #14021e 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.glass-effect,
.glass-card {
  background: rgba(36, 8, 58, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 42%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-width: 0 0 1px;
}

.site-header-inner {
  max-width: var(--max-width);
  height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--twilight-600), var(--dusk-600));
  box-shadow: 0 10px 28px rgba(147, 51, 234, 0.38);
  transition: transform 0.3s ease;
}

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

.brand-text {
  font-size: 24px;
}

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

.nav-link,
.mobile-nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--twilight-300);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 250px;
}

.header-search input,
.mobile-search input,
.quick-search input,
.filter-controls input,
.filter-controls select,
.search-page-form input {
  width: 100%;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  outline: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  height: 42px;
  padding: 0 48px 0 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.quick-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus,
.search-page-form input:focus {
  border-color: var(--twilight-400);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.14);
}

.header-search button {
  position: absolute;
  right: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(23, 4, 33, 0.96);
}

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

.mobile-search {
  display: flex;
  gap: 10px;
}

.mobile-search input {
  height: 44px;
  padding: 0 14px;
}

.mobile-search button,
.quick-search button,
.filter-controls button,
.search-page-form button {
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--twilight-600), var(--dusk-600));
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.28);
}

.hero {
  position: relative;
  min-height: 82vh;
  padding-top: 78px;
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  width: 460px;
  height: 460px;
  filter: blur(90px);
  opacity: 0.42;
  border-radius: 999px;
  pointer-events: none;
}

.hero-aurora-one {
  left: -140px;
  top: 120px;
  background: var(--twilight-500);
}

.hero-aurora-two {
  right: -120px;
  top: 40px;
  background: var(--dusk-500);
}

.hero-stage {
  position: relative;
  min-height: calc(82vh - 78px);
}

.hero-slide {
  display: none;
  min-height: calc(82vh - 78px);
  position: relative;
  isolation: isolate;
}

.hero-slide.is-active {
  display: block;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-bg img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  opacity: 0.5;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 3, 29, 0.96) 0%, rgba(18, 3, 29, 0.78) 45%, rgba(18, 3, 29, 0.4) 100%),
    linear-gradient(0deg, #12031d 0%, rgba(18, 3, 29, 0.2) 56%, rgba(18, 3, 29, 0.54) 100%);
}

.hero-content {
  max-width: var(--max-width);
  min-height: calc(82vh - 78px);
  margin: 0 auto;
  padding: 70px 24px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 380px;
  align-items: center;
  gap: 56px;
}

.hero-copy h1,
.page-hero h1,
.movie-hero-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-eyebrow,
.section-kicker {
  margin: 0;
  color: var(--twilight-300);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-desc,
.page-hero p,
.movie-one-line {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span,
.detail-meta-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.09);
}

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

.primary-button,
.ghost-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--twilight-600), var(--dusk-600));
  box-shadow: 0 16px 34px rgba(147, 51, 234, 0.34);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.52);
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
}

.hero-poster img {
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  background: linear-gradient(135deg, var(--twilight-700), var(--dusk-600));
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.hero-poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

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

.hero-arrow,
.hero-dot {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.6;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  opacity: 1;
  background: linear-gradient(135deg, var(--twilight-400), var(--dusk-500));
}

.quick-panel,
.content-section,
.page-hero,
.movie-hero-inner,
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.quick-panel {
  margin-top: -46px;
  position: relative;
  z-index: 8;
}

.quick-panel-inner,
.filter-panel,
.search-page-panel {
  border-radius: var(--radius-xl);
  padding: 26px;
}

.quick-panel-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 22px;
  align-items: center;
}

.quick-panel h2,
.filter-panel h2 {
  margin: 6px 0 0;
  font-size: clamp(22px, 3vw, 32px);
}

.quick-search,
.search-page-form {
  display: flex;
  gap: 12px;
}

.quick-search input,
.search-page-form input {
  min-height: 52px;
  padding: 0 16px;
}

.category-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pills a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-pills a:hover {
  color: #ffffff;
  background: rgba(147, 51, 234, 0.45);
  transform: translateY(-2px);
}

.content-section {
  padding-top: 72px;
  padding-bottom: 20px;
}

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

.section-heading h2 {
  margin: 6px 0 8px;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-more {
  flex: 0 0 auto;
  color: var(--twilight-300);
  font-weight: 900;
}

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

.video-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 180, 254, 0.38);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
  transform: scale(1.035);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.45), rgba(219, 39, 119, 0.36));
}

.poster {
  width: 100%;
  aspect-ratio: 3 / 4.25;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.poster.image-missing,
.rank-thumb img.image-missing,
.category-tile img.image-missing,
.category-overview-card img.image-missing,
.movie-poster-large img.image-missing,
.hero-poster img.image-missing,
.hero-bg img.image-missing,
.movie-hero-bg img.image-missing {
  opacity: 0;
}

.video-card:hover .poster {
  transform: scale(1.08);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), transparent 58%);
  transition: opacity 0.25s ease;
}

.video-card:hover .poster-gradient {
  opacity: 1;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  backdrop-filter: blur(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 999px;
  color: #14021e;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, #fde68a, var(--gold));
}

.video-info {
  padding: 15px;
}

.card-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.card-meta a {
  color: var(--twilight-300);
}

.video-info h3 {
  margin: 10px 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.video-info h3 a:hover,
.rank-body h3 a:hover {
  color: var(--twilight-300);
}

.video-info p {
  margin: 0;
  min-height: 48px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tag-row {
  margin-top: 12px;
  gap: 7px;
}

.tag-row span {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 11px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 58px 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(216, 180, 254, 0.32);
  background: rgba(255, 255, 255, 0.105);
}

.rank-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--twilight-600), var(--dusk-600));
}

.rank-thumb img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--twilight-700), var(--dusk-600));
}

.rank-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.rank-body p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
}

.rank-score {
  color: #fde68a;
  font-size: 22px;
  font-weight: 900;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.38), rgba(219, 39, 119, 0.30));
}

.category-tile img,
.category-overview-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-tile:hover img,
.category-overview-card:hover img {
  opacity: 0.58;
  transform: scale(1.08);
}

.category-tile-mask,
.overview-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 3, 29, 0.94), rgba(18, 3, 29, 0.1));
}

.category-tile strong,
.category-tile small,
.category-overview-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  z-index: 2;
}

.category-tile strong {
  bottom: 64px;
  font-size: 24px;
}

.category-tile small {
  bottom: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.page-main {
  padding-top: 78px;
}

.page-hero {
  position: relative;
  min-height: 320px;
  padding-top: 84px;
  padding-bottom: 52px;
  overflow: hidden;
}

.slim-hero {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-hero {
  max-width: none;
  min-height: 420px;
  padding-left: 0;
  padding-right: 0;
  isolation: isolate;
}

.category-hero > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(18, 3, 29, 0.95), rgba(18, 3, 29, 0.58)), linear-gradient(0deg, #12031d, transparent 62%);
}

.page-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 42px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  margin-bottom: 16px;
}

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

.category-overview-card {
  min-height: 300px;
  display: block;
}

.category-overview-card div {
  bottom: 26px;
}

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

.category-overview-card p {
  color: var(--muted);
  line-height: 1.7;
}

.category-overview-card span {
  color: var(--twilight-300);
  font-weight: 900;
}

.filter-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 150px 110px;
  gap: 12px;
}

.filter-controls input,
.filter-controls select {
  min-height: 46px;
  padding: 0 14px;
}

.filter-controls button {
  min-height: 46px;
}

.filter-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.movie-hero {
  position: relative;
  min-height: 650px;
  padding-top: 78px;
  overflow: hidden;
  isolation: isolate;
}

.movie-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.movie-hero-bg img {
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: blur(1px);
  transform: scale(1.04);
}

.movie-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(18, 3, 29, 0.96), rgba(18, 3, 29, 0.55)), linear-gradient(0deg, #12031d, rgba(18, 3, 29, 0.2) 60%, rgba(18, 3, 29, 0.82));
}

.movie-hero-inner {
  min-height: 572px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 58px;
}

.movie-poster-large {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.movie-poster-large img {
  aspect-ratio: 3 / 4.25;
  object-fit: cover;
  background: linear-gradient(135deg, var(--twilight-700), var(--dusk-600));
}

.movie-poster-large span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.movie-hero-copy h1 {
  max-width: 850px;
}

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

.detail-tags {
  margin-top: 12px;
}

.player-section {
  padding-top: 52px;
}

.player-shell {
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 16px;
}

.player-screen {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000000;
}

.player-overlay-button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #ffffff;
  border: 0;
  background: radial-gradient(circle at center, rgba(147, 51, 234, 0.28), rgba(0, 0, 0, 0.74));
}

.player-overlay-button span {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 30px;
  background: linear-gradient(135deg, var(--twilight-600), var(--dusk-600));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

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

.player-overlay-button small {
  color: rgba(255, 255, 255, 0.66);
}

.player-overlay-button.is-hidden {
  display: none;
}

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

.detail-article,
.detail-side {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.detail-article p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 2;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.detail-side dt {
  color: rgba(255, 255, 255, 0.52);
}

.detail-side dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.related-grid .video-card-compact:nth-child(n + 7) {
  display: none;
}

.search-page-panel {
  margin-bottom: 28px;
}

.search-page-form {
  margin-bottom: 14px;
}

.site-footer {
  position: relative;
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(23, 4, 33, 0.64);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(147, 51, 234, 0.22), transparent 44%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 46px;
  padding-bottom: 46px;
}

.footer-logo {
  font-size: 20px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  color: var(--muted);
  line-height: 1.8;
}

.footer-column h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

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

.footer-column a:hover {
  color: var(--twilight-300);
}

.fade-in {
  animation: fadeIn 0.65s ease both;
}

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

.lazy-load-image {
  opacity: 0;
}

.lazy-load-image.loaded {
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--twilight-800);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--twilight-600);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--twilight-500);
}

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

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

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

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  .site-header-inner {
    height: 68px;
  }

  .hero,
  .page-main,
  .movie-hero {
    padding-top: 68px;
  }

  .hero-content,
  .movie-hero-inner,
  .detail-layout,
  .filter-panel,
  .quick-panel-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-poster,
  .movie-poster-large {
    max-width: 330px;
  }

  .filter-controls {
    grid-template-columns: 1fr 1fr;
  }

  .detail-side dl {
    grid-template-columns: 82px 1fr;
  }
}

@media (max-width: 680px) {
  .brand-text {
    font-size: 19px;
  }

  .site-header-inner,
  .quick-panel,
  .content-section,
  .page-hero,
  .movie-hero-inner,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
    gap: 32px;
  }

  .hero-copy h1,
  .page-hero h1,
  .movie-hero-copy h1 {
    font-size: 42px;
  }

  .hero-desc,
  .page-hero p,
  .movie-one-line {
    font-size: 16px;
  }

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

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

  .section-heading {
    display: block;
  }

  .filter-controls,
  .quick-search,
  .search-page-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .quick-search button,
  .search-page-form button {
    min-height: 48px;
  }

  .rank-row {
    grid-template-columns: 42px 58px 1fr;
    gap: 10px;
  }

  .rank-thumb img {
    width: 58px;
    height: 78px;
  }

  .rank-score {
    grid-column: 3;
    justify-self: start;
    font-size: 16px;
  }

  .rank-body p {
    display: none;
  }

  .rank-meta span:nth-child(n + 3) {
    display: none;
  }

  .footer-inner {
    gap: 22px;
  }
}
