:root {
  --bg: #f4f6fb;
  --text: #172033;
  --muted: #657084;
  --slate: #111827;
  --slate-soft: #1f2937;
  --orange: #f97316;
  --orange-deep: #ea580c;
  --amber: #f59e0b;
  --card: #ffffff;
  --line: rgba(148, 163, 184, 0.25);
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.topbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e5e7eb;
}

.desktop-nav > a,
.nav-dropdown > button {
  padding: 10px 15px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.desktop-nav > a:hover,
.nav-dropdown:hover > button {
  background: rgba(249, 115, 22, 0.95);
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > div {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  padding: 10px;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover > div {
  display: grid;
  gap: 5px;
}

.nav-dropdown a {
  padding: 9px 12px;
  border-radius: 10px;
  color: #d1d5db;
}

.nav-dropdown a:hover {
  color: #fff;
  background: rgba(249, 115, 22, 0.2);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px 16px;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.06);
}

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #334155 45%, #7c2d12);
  color: #fff;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 80px;
  background: radial-gradient(circle, #f97316, transparent 62%);
}

.hero-glow-two {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -120px;
  background: radial-gradient(circle, #38bdf8, transparent 58%);
}

.hero-track {
  position: relative;
  min-height: 680px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  align-items: center;
  gap: 56px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 82px 24px 112px;
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  left: 45%;
  z-index: -1;
  opacity: 0.26;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-heading span,
.inner-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fed7aa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.hero-content p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags,
.detail-meta,
.tag-cloud,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.detail-meta span,
.detail-meta a,
.tag-cloud span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span,
.detail-meta span,
.detail-meta a,
.tag-cloud span {
  padding: 8px 12px;
}

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

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

.primary-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.34);
}

.primary-btn:hover,
.section-more:hover {
  transform: translateY(-2px) scale(1.02);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-poster {
  position: relative;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937, #7c2d12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}

.hero-poster::after,
.poster-link::after,
.detail-cover::after,
.category-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.hero-poster img,
.poster-link img,
.detail-cover img,
.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-poster:hover img,
.movie-card:hover img,
.detail-cover:hover img,
.category-cover:hover img {
  transform: scale(1.06);
}

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

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.hero-controls > div {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
  width: 32px;
  background: var(--orange);
}

.stats-strip {
  max-width: 1180px;
  margin: -44px auto 0;
  padding: 0 22px;
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-strip article {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stats-strip b {
  display: block;
  color: var(--slate);
  font-size: 22px;
}

.stats-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 76px 24px 0;
}

.slim-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.inner-hero h1,
.article-card h2,
.slim-section h2 {
  margin: 0;
  color: var(--slate);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p,
.inner-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.between-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-more {
  background: var(--slate);
  color: #fff;
}

.dark-panel {
  max-width: none;
  margin-top: 76px;
  padding: 76px max(24px, calc((100vw - 1280px) / 2 + 24px));
  background: linear-gradient(135deg, #111827, #334155 54%, #7c2d12);
}

.light-heading h2,
.light-heading p {
  color: #fff;
}

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

.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.poster-link,
.category-cover,
.detail-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #7c2d12);
}

.poster-link {
  aspect-ratio: 3 / 4.15;
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.82));
}

.play-mark {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.95);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 5;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #fff;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.card-body {
  padding: 16px;
}

.card-tags span {
  padding: 5px 9px;
  background: #fff7ed;
  color: #c2410c;
}

.card-body h3 {
  margin: 12px 0 8px;
  color: var(--slate);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: var(--orange-deep);
}

.card-body p {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: #8a94a6;
  font-size: 13px;
}

.card-meta a {
  color: var(--orange-deep);
  font-weight: 800;
}

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

.category-tile {
  min-height: 160px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  background: rgba(249, 115, 22, 0.28);
}

.category-tile span {
  font-size: 22px;
  font-weight: 900;
}

.category-tile p {
  margin: 10px 0 0;
  color: #d1d5db;
  line-height: 1.6;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  color: var(--text);
  background: #f8fafc;
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.inner-hero {
  padding: 90px 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #111827, #334155 55%, #7c2d12);
}

.inner-hero h1,
.inner-hero p {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}

.centered-actions {
  justify-content: center;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 18px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.category-cover {
  min-height: 220px;
  border-radius: 20px;
}

.category-overview-card h2 {
  margin: 6px 0 10px;
  color: var(--slate);
  font-size: 24px;
  font-weight: 900;
}

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

.category-overview-card ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.category-overview-card li a {
  color: var(--orange-deep);
  font-weight: 700;
}

.text-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.text-link-cloud a {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--slate);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #111827;
  color: #fff;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.04);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(124, 45, 18, 0.86));
}

.detail-container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 78px;
}

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

.breadcrumb a {
  color: #fed7aa;
  font-weight: 800;
}

.breadcrumb em {
  font-style: normal;
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 42px;
}

.detail-cover {
  min-height: 465px;
  border-radius: 32px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.detail-info p {
  margin: 22px 0 0;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.85;
}

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

.tag-cloud {
  margin: 20px 0 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #050816;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
}

.player-shell video {
  width: 100%;
  min-height: min(62vw, 660px);
  display: block;
  background: #050816;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  background: radial-gradient(circle at 50% 48%, rgba(249, 115, 22, 0.16), rgba(2, 6, 23, 0.66));
  color: #fff;
  cursor: pointer;
}

.player-overlay span {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  font-size: 38px;
  box-shadow: 0 16px 34px rgba(249, 115, 22, 0.34);
}

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

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

.article-card {
  margin-top: 26px;
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.article-card h2 {
  font-size: 28px;
}

.article-card p {
  margin: 14px 0 0;
  color: #3f4a5f;
  font-size: 17px;
  line-height: 1.95;
}

.site-footer {
  margin-top: 86px;
  background: linear-gradient(135deg, #020617, #111827);
  color: #cbd5e1;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px 38px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 15px;
  color: #fff;
}

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

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

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

.copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 58px;
  }

  .hero-poster {
    min-height: 420px;
    max-width: 360px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .detail-cover {
    width: min(330px, 100%);
  }

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

@media (max-width: 640px) {
  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-section,
  .hero-track {
    min-height: 720px;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-poster {
    min-height: 330px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .section-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .card-body {
    padding: 12px;
  }

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

  .card-body p {
    display: none;
  }

  .between-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .category-cover {
    min-height: 280px;
  }

  .detail-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-cover {
    min-height: 420px;
  }

  .player-shell video {
    min-height: 54vw;
  }

  .article-card {
    padding: 22px;
  }

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