:root {
  --page: #fff7ed;
  --page-soft: #fffbeb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(146, 64, 14, 0.15);
  --brand: #d97706;
  --brand-dark: #92400e;
  --brand-soft: #f59e0b;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 20px 50px rgba(146, 64, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.28), transparent 34rem),
    linear-gradient(180deg, #fff7ed 0%, #fffbeb 42%, #fff7ed 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header-inner,
.hero-inner,
.main-wrap,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.3);
}

.brand-text {
  font-size: 22px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #92400e, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  color: #4b5563;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

.mobile-toggle {
  display: none;
  border: 0;
  color: var(--brand-dark);
  background: transparent;
  font-size: 26px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  color: white;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 44%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding: 76px 0;
}

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

.eyebrow,
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  color: #fff7ed;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.section-head .eyebrow {
  margin: 0 0 10px;
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.18);
  background: rgba(254, 243, 199, 0.9);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.75;
}

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

.hero-meta span,
.detail-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.tag-row span {
  color: #92400e;
  background: #fef3c7;
}

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

.button,
.button-secondary,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button {
  color: white;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 14px 35px rgba(234, 88, 12, 0.32);
}

.button:hover,
.button-secondary:hover,
.section-link:hover {
  transform: translateY(-2px);
}

.button-secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: #f59e0b;
}

.main-wrap {
  padding: 56px 0 74px;
}

.content-section {
  margin-top: 54px;
}

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

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-link {
  color: #92400e;
  background: #fef3c7;
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(146, 64, 14, 0.12);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(146, 64, 14, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(145deg, #fef3c7, #fed7aa);
}

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

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 850;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  background: rgba(245, 158, 11, 0.92);
}

.rank-badge {
  top: 12px;
  left: 12px;
  background: rgba(17, 24, 39, 0.78);
}

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

.movie-title {
  display: block;
  color: #111827;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.4;
}

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

.movie-meta,
.movie-desc,
.hot-body p,
.category-card p,
.detail-lead,
.article-block p {
  color: var(--muted);
  line-height: 1.72;
}

.movie-meta {
  margin: 7px 0 0;
  font-size: 13px;
}

.movie-desc {
  display: -webkit-box;
  min-height: 70px;
  margin: 10px 0 0;
  overflow: hidden;
  font-size: 14px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

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

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
}

.category-card strong {
  display: block;
  margin-bottom: 10px;
  color: #111827;
  font-size: 22px;
}

.category-card span {
  margin-top: auto;
  color: var(--brand);
  font-weight: 800;
}

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

.hot-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(146, 64, 14, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.hot-cover {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: linear-gradient(145deg, #fef3c7, #fed7aa);
}

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

.hot-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-weight: 850;
}

.hot-num {
  display: inline-flex;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.hot-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(146, 64, 14, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
}

.filter-panel label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #92400e;
  font-size: 13px;
  font-weight: 850;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(146, 64, 14, 0.16);
  border-radius: 16px;
  background: white;
  color: #111827;
  padding: 0 13px;
  outline: none;
}

.page-hero {
  padding: 64px 0 20px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 850px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #92400e;
  font-size: 14px;
  font-weight: 750;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
  padding-top: 52px;
}

.detail-cover {
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(145deg, #fef3c7, #fed7aa);
  box-shadow: var(--shadow);
}

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

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-meta span {
  color: #92400e;
  background: #fef3c7;
}

.detail-lead {
  margin: 18px 0 0;
  font-size: 18px;
}

.player-section {
  margin-top: 48px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow);
}

.player-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: white;
  background: rgba(0, 0, 0, 0.34);
  cursor: pointer;
  z-index: 2;
}

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

.play-overlay strong {
  font-size: 20px;
}

.play-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 20px 45px rgba(234, 88, 12, 0.34);
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 32px;
}

.article-block {
  padding: 24px;
  border: 1px solid rgba(146, 64, 14, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
}

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

.site-footer {
  padding: 42px 0;
  color: #fed7aa;
  background: linear-gradient(135deg, #78350f, #9a3412);
}

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

.footer-logo {
  color: white;
  font-size: 24px;
}

.site-footer p {
  margin: 12px 0 0;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-links a {
  color: #ffedd5;
}

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

@media (max-width: 1100px) {
  .movie-grid.large,
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .mobile-toggle {
    display: inline-flex;
  }

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

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

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

  .section-head {
    display: grid;
  }

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

  .hot-list {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header-inner,
  .hero-inner,
  .main-wrap,
  .footer-inner {
    width: min(100% - 22px, 1180px);
  }

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

  .hero-actions,
  .page-actions {
    flex-direction: column;
  }

  .button,
  .button-secondary,
  .section-link {
    width: 100%;
  }

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

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

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

  .movie-title {
    font-size: 15px;
  }

  .movie-desc {
    min-height: 60px;
    font-size: 13px;
  }
}
