:root {
  color-scheme: dark;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #152033;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.28), 0 8px 10px -6px rgb(0 0 0 / 0.22);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  background: linear-gradient(180deg, var(--slate-950), #111827 42%, #0b1120 100%);
  color: var(--stone-100);
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.98), rgba(51, 65, 85, 0.98), rgba(30, 41, 59, 0.98));
  border-bottom: 1px solid rgb(217 119 6 / 0.22);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
  color: white;
  box-shadow: 0 10px 24px rgb(217 119 6 / 0.35);
}

.brand-title {
  display: block;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.02em;
}

.brand-subtitle {
  display: block;
  margin-top: -2px;
  font-size: 12px;
  color: var(--stone-300);
  font-weight: 500;
}

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

.nav-link {
  position: relative;
  padding: 28px 0;
  color: var(--stone-200);
  font-size: 15px;
  font-weight: 650;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: var(--amber-500);
  transition: right 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber-400);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--stone-100);
  background: rgb(71 85 105 / 0.5);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgb(148 163 184 / 0.18);
  padding: 8px 16px 18px;
}

.mobile-link {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--stone-200);
}

.mobile-link:hover,
.mobile-link.is-active {
  background: rgb(71 85 105 / 0.35);
  color: var(--amber-400);
}

.hero {
  position: relative;
  height: min(72vh, 640px);
  min-height: 520px;
  overflow: hidden;
  background: var(--slate-950);
}

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgb(245 158 11 / 0.24), transparent 28%),
    linear-gradient(90deg, rgb(15 23 42 / 0.98), rgb(15 23 42 / 0.82) 44%, rgb(15 23 42 / 0.24) 100%),
    linear-gradient(0deg, rgb(15 23 42 / 0.95), transparent 45%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 760px;
}

.eyebrow,
.section-heading span,
.intro-copy span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 7px 14px;
  background: rgb(217 119 6 / 0.92);
  color: white;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
  margin: 20px 0 18px;
  max-width: 820px;
  color: white;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-info .one-line {
  margin: 0 0 28px;
  max-width: 720px;
  color: var(--stone-200);
  font-size: clamp(17px, 2.1vw, 23px);
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgb(255 255 255 / 0.13);
  color: var(--stone-200);
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(8px);
}

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

.primary-btn,
.ghost-btn,
.section-link,
.filter-input-wrap button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 20px;
  font-weight: 760;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn {
  background: var(--amber-600);
  color: white;
  box-shadow: 0 16px 32px rgb(217 119 6 / 0.32);
}

.primary-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--amber-700);
}

.ghost-btn {
  border: 1px solid rgb(255 255 255 / 0.24);
  background: rgb(15 23 42 / 0.35);
  color: var(--stone-100);
  backdrop-filter: blur(10px);
}

.ghost-btn:hover {
  transform: translateY(-2px);
  color: var(--amber-300);
  background: rgb(15 23 42 / 0.65);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgb(0 0 0 / 0.32);
  backdrop-filter: blur(8px);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgb(0 0 0 / 0.55);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.52);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 36px;
  background: var(--amber-500);
}

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

.intro-search {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 32px;
  margin-top: -74px;
  padding: 26px;
  border: 1px solid rgb(245 158 11 / 0.22);
  border-radius: 28px;
  background: rgb(30 41 59 / 0.88);
  box-shadow: var(--shadow-2xl);
  backdrop-filter: blur(18px);
}

.intro-copy h2,
.section-heading h2,
.player-caption h2,
.detail-text h2 {
  margin: 14px 0 12px;
  color: white;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.intro-copy p,
.section-heading p,
.player-caption p,
.detail-text p,
.category-card p,
.movie-card p,
.site-footer p {
  color: var(--stone-400);
  line-height: 1.75;
}

.filter-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.filter-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.filter-input-wrap input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgb(148 163 184 / 0.22);
  border-radius: 15px;
  padding: 0 16px;
  outline: 0;
  color: white;
  background: rgb(15 23 42 / 0.72);
}

.filter-input-wrap input:focus {
  border-color: rgb(245 158 11 / 0.65);
  box-shadow: 0 0 0 4px rgb(245 158 11 / 0.12);
}

.filter-input-wrap button {
  border: 0;
  cursor: pointer;
  color: white;
  background: var(--slate-700);
}

.filter-input-wrap button:hover {
  background: var(--slate-600);
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-filters button {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--stone-200);
  background: rgb(71 85 105 / 0.32);
  cursor: pointer;
}

.quick-filters button:hover {
  color: var(--amber-300);
  background: rgb(71 85 105 / 0.58);
}

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

.section-heading p {
  max-width: 760px;
  margin: 0;
}

.section-link {
  flex: 0 0 auto;
  color: var(--amber-300);
  background: rgb(245 158 11 / 0.1);
  border: 1px solid rgb(245 158 11 / 0.22);
}

.section-link:hover {
  background: rgb(245 158 11 / 0.18);
  transform: translateY(-2px);
}

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

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

.category-card {
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(30 41 59 / 0.92), rgb(15 23 42 / 0.94));
  box-shadow: var(--shadow-xl);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-7px);
  border-color: rgb(245 158 11 / 0.36);
  box-shadow: var(--shadow-2xl);
}

.category-covers {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  height: 164px;
  background: var(--slate-800);
}

.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-covers img:first-child {
  grid-row: span 2;
}

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

.category-card-body span {
  color: var(--amber-400);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.category-card strong {
  display: block;
  color: var(--stone-300);
  font-size: 13px;
  line-height: 1.6;
}

.dark-band {
  background:
    radial-gradient(circle at 18% 12%, rgb(245 158 11 / 0.13), transparent 24%),
    linear-gradient(180deg, rgb(30 41 59 / 0.92), rgb(15 23 42 / 0.98));
  border-block: 1px solid rgb(245 158 11 / 0.18);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / 0.14);
  border-radius: 22px;
  background: rgb(30 41 59 / 0.86);
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgb(245 158 11 / 0.34);
  box-shadow: var(--shadow-2xl);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--slate-800);
}

.poster-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgb(0 0 0 / 0.78), transparent);
}

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

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

.play-chip,
.rank-num {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.play-chip {
  right: 10px;
  bottom: 10px;
  min-height: 28px;
  padding: 0 10px;
  color: white;
  background: rgb(217 119 6 / 0.92);
  font-size: 12px;
}

.rank-num {
  left: 10px;
  top: 10px;
  width: 42px;
  height: 42px;
  color: white;
  background: rgb(15 23 42 / 0.68);
  border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(8px);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
  color: var(--stone-400);
  font-size: 12px;
}

.movie-meta-line span + span::before {
  content: "•";
  margin-right: 6px;
  color: var(--amber-500);
}

.movie-card h2 {
  min-height: 48px;
  margin: 0 0 8px;
  color: var(--stone-50);
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h2 a:hover {
  color: var(--amber-400);
}

.movie-card p {
  min-height: 64px;
  margin: 0 0 12px;
  font-size: 13px;
}

.movie-card.is-hidden {
  display: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background:
    radial-gradient(circle at 80% 18%, rgb(245 158 11 / 0.22), transparent 26%),
    linear-gradient(120deg, var(--slate-950), var(--slate-800));
  border-bottom: 1px solid rgb(245 158 11 / 0.18);
}

.compact-hero {
  padding: 82px 0 72px;
}

.compact-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--slate-950);
}

.detail-backdrop,
.detail-mask {
  position: absolute;
  inset: 0;
}

.detail-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.06);
  transform: scale(1.08);
  opacity: 0.58;
}

.detail-mask {
  background:
    linear-gradient(90deg, rgb(2 6 23 / 0.97), rgb(15 23 42 / 0.84), rgb(15 23 42 / 0.42)),
    linear-gradient(0deg, rgb(2 6 23 / 0.98), transparent 58%);
}

.detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 52px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-2xl);
  background: var(--slate-800);
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--stone-300);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--amber-300);
}

.detail-tags {
  margin-bottom: 28px;
}

.player-card {
  overflow: hidden;
  border: 1px solid rgb(245 158 11 / 0.2);
  border-radius: 28px;
  background: rgb(15 23 42 / 0.92);
  box-shadow: var(--shadow-2xl);
}

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: black;
}

.movie-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background:
    radial-gradient(circle, rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.46)),
    linear-gradient(0deg, rgb(2 6 23 / 0.68), transparent);
  cursor: pointer;
  transition: opacity 0.22s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  color: white;
  background: var(--amber-600);
  box-shadow: 0 20px 40px rgb(217 119 6 / 0.36);
  font-size: 34px;
  padding-left: 5px;
}

.play-overlay:hover span {
  background: var(--amber-700);
}

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

.player-caption {
  padding: 22px 26px 26px;
}

.player-caption h2 {
  font-size: clamp(24px, 3vw, 36px);
}

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

.detail-text article {
  padding: 26px;
  border: 1px solid rgb(148 163 184 / 0.14);
  border-radius: 24px;
  background: rgb(30 41 59 / 0.72);
}

.detail-text h2 {
  font-size: 26px;
}

.site-footer {
  border-top: 1px solid rgb(245 158 11 / 0.18);
  background: linear-gradient(90deg, var(--slate-950), var(--slate-900), var(--slate-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 28px;
  padding: 50px 0;
}

.footer-brand {
  color: white;
  font-size: 22px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

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

.footer-links a:hover {
  color: var(--amber-400);
}

.footer-bottom {
  border-top: 1px solid rgb(148 163 184 / 0.12);
  padding: 18px 0;
  color: var(--stone-500);
  text-align: center;
  font-size: 13px;
}

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

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

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

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

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

  .hero {
    height: 620px;
    min-height: 620px;
  }

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

  .hero-arrow {
    display: none;
  }

  .intro-search {
    grid-template-columns: 1fr;
    margin-top: -46px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

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

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

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

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

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

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

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

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .hero {
    height: 590px;
    min-height: 590px;
  }

  .hero h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 38px;
  }

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

  .hero-actions {
    display: grid;
    width: 100%;
  }

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

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

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

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

  .category-covers {
    height: 132px;
  }

  .movie-card h2 {
    font-size: 15px;
    min-height: 42px;
  }

  .movie-card p {
    display: none;
  }

  .tag-row {
    display: none;
  }

  .detail-tags {
    display: flex;
  }

  .play-overlay span {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
