:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --rose-50: #fff1f2;
  --rose-600: #e11d48;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(17, 24, 39, 0.10);
  --shadow-lg: 0 28px 60px rgba(17, 24, 39, 0.18);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.96), rgba(255, 251, 235, 0.96));
  border-bottom: 1px solid rgba(245, 158, 11, 0.16);
  box-shadow: 0 6px 22px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-800));
  box-shadow: var(--shadow);
}

.logo strong,
.footer-logo {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-800), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.logo em {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-style: normal;
  color: var(--gray-600);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  color: var(--gray-700);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-600);
  transition: width 0.25s ease;
}

.site-nav a:hover {
  color: var(--amber-700);
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-button {
  display: none;
  border: 0;
  background: var(--white);
  color: var(--gray-900);
  border-radius: 12px;
  padding: 9px 12px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--rose-50), var(--amber-50));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.22), transparent 28%), radial-gradient(circle at 80% 30%, rgba(225, 29, 72, 0.16), transparent 26%), linear-gradient(45deg, rgba(255, 255, 255, 0.4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.4) 75%, transparent 75%, transparent);
  background-size: auto, auto, 60px 60px;
}

.hero-inner {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 48px;
  padding: 48px 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 13px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  color: var(--amber-800);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), var(--rose-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  margin: 0;
  color: var(--gray-700);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--amber-600), var(--amber-700));
}

.btn-light {
  color: var(--amber-700);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--amber-200);
}

.hero-stage {
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

.hero-poster {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  background: var(--gray-900);
}

.hero-poster img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68));
}

.hero-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: var(--white);
}

.hero-caption h2 {
  margin: 8px 0 8px;
  font-size: 30px;
  line-height: 1.1;
}

.hero-caption p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.hero-meta,
.meta-line,
.detail-meta {
  color: var(--gray-500);
  font-size: 13px;
}

.hero-caption .hero-meta {
  color: var(--amber-200);
  font-weight: 800;
}

.hero-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
}

.hero-dots button {
  width: 42px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.22);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--amber-600);
}

.stats-strip {
  background: var(--white);
  padding: 42px 0;
}

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

.stat-card {
  text-align: center;
  padding: 22px;
  border: 1px solid var(--amber-100);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), var(--amber-50));
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.06);
}

.stat-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: var(--amber-800);
  background: linear-gradient(135deg, var(--amber-100), var(--amber-200));
  font-size: 24px;
}

.stat-card strong {
  display: block;
  font-size: 18px;
}

.stat-card span {
  color: var(--gray-600);
  font-size: 14px;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: linear-gradient(135deg, var(--gray-50), var(--amber-50));
}

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

.section-heading p {
  margin: 0 0 8px;
  color: var(--amber-700);
  font-weight: 800;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 160px 160px 160px;
  gap: 12px;
  margin: 0 0 28px;
  padding: 14px;
  border: 1px solid var(--amber-100);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
}

.search-box input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  color: var(--gray-800);
  background: transparent;
}

.filter-panel select {
  padding: 0 12px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
}

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.poster-wrap {
  position: relative;
  display: block;
  height: 278px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--rose-50));
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.38);
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.play-mini {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  color: var(--white);
  font-size: 46px;
  transition: opacity 0.25s ease;
}

.movie-card:hover .play-mini {
  opacity: 1;
}

.year-badge,
.rank-badge {
  position: absolute;
  top: 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}

.year-badge {
  right: 14px;
  background: var(--amber-600);
}

.rank-badge {
  left: 14px;
  background: var(--rose-600);
}

.card-body {
  display: block;
  padding: 16px;
}

.card-body strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  line-height: 1.35;
}

.summary-line {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 26px;
  border-radius: var(--radius);
  color: var(--gray-900);
  background: linear-gradient(135deg, var(--white), var(--amber-50));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.category-card p {
  margin: 0;
  color: var(--gray-600);
}

.category-card span {
  display: inline-flex;
  margin-top: 20px;
  color: var(--amber-700);
  font-weight: 800;
}

.breadcrumb {
  margin: 26px auto 0;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--amber-700);
  font-weight: 700;
}

.detail-hero {
  padding: 34px 0 62px;
  background: linear-gradient(135deg, var(--amber-50), var(--rose-50));
}

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

.player-card,
.detail-side,
.article-card {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.player-card {
  overflow: hidden;
}

.player-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-box video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

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

.big-play {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-600), var(--rose-600));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  font-size: 38px;
}

.player-info {
  padding: 24px;
}

.player-info h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.detail-side {
  padding: 22px;
}

.detail-side img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, var(--amber-100), var(--rose-50));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-size: 12px;
  font-weight: 800;
}

.article-section {
  padding: 34px 0 70px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.article-card {
  padding: 28px;
}

.article-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.article-card p {
  margin: 0 0 18px;
  color: var(--gray-700);
}

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

.related-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

.related-item img {
  width: 84px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-100), var(--rose-50));
}

.related-item strong {
  display: block;
  margin-bottom: 4px;
}

.no-results {
  display: none;
  padding: 30px;
  text-align: center;
  color: var(--gray-600);
  border-radius: var(--radius);
  background: var(--white);
}

.site-footer {
  padding: 48px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--amber-200);
}

.footer-links {
  display: grid;
  gap: 8px;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-inner,
  .detail-layout,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

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

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

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

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

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

  .logo strong {
    font-size: 20px;
  }

  .logo em {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 34px 0;
  }

  .hero-poster,
  .hero-poster img {
    height: 360px;
  }

  .stats-grid,
  .movie-grid,
  .category-grid,
  .footer-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .poster-wrap {
    height: 320px;
  }

  .section {
    padding: 50px 0;
  }
}
