:root {
  color-scheme: light;
  --amber-950: #451a03;
  --amber-900: #78350f;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --orange-600: #ea580c;
  --gray-950: #111827;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(120, 53, 15, 0.16);
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 42%, #ffffff 100%);
  color: var(--gray-900);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.9);
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  backdrop-filter: blur(18px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--amber-900);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.32);
}
.brand-text {
  font-size: 1.18rem;
  letter-spacing: 0.03em;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.96rem;
  color: var(--amber-900);
}
.site-nav a {
  padding: 9px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover {
  color: var(--orange-600);
  background: var(--amber-100);
}
.nav-toggle {
  display: none;
  border: 0;
  background: var(--amber-100);
  color: var(--amber-900);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.35rem;
}
main {
  min-height: 70vh;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background:
    radial-gradient(circle at 80% 14%, rgba(245, 158, 11, 0.32), transparent 32%),
    radial-gradient(circle at 10% 10%, rgba(234, 88, 12, 0.22), transparent 30%),
    linear-gradient(135deg, #451a03 0%, #78350f 42%, #f59e0b 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(69, 26, 3, 0.92), rgba(69, 26, 3, 0.58), rgba(69, 26, 3, 0.1));
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 78px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 42px;
}
.hero-copy {
  max-width: 720px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(254, 243, 199, 0.15);
  border: 1px solid rgba(254, 243, 199, 0.28);
  color: #fde68a;
  font-weight: 700;
}
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
.hero h1 span {
  color: #fcd34d;
}
.hero p {
  margin: 0;
  max-width: 650px;
  color: #ffedd5;
  font-size: 1.16rem;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn-primary,
.btn-secondary,
.inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  padding: 15px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 20px 36px rgba(234, 88, 12, 0.36);
}
.btn-secondary {
  padding: 14px 22px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.btn-primary:hover,
.btn-secondary:hover,
.inline-btn:hover {
  transform: translateY(-2px);
}
.hero-search {
  margin-top: 28px;
  display: flex;
  max-width: 560px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
}
.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding: 0 18px;
  font-size: 1rem;
}
.hero-search input::placeholder {
  color: rgba(255, 237, 213, 0.78);
}
.hero-search a {
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 999px;
  color: #78350f;
  background: #fde68a;
  font-weight: 800;
}
.hero-stage {
  position: relative;
  min-height: 510px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  transition: opacity 0.58s ease, transform 0.58s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(69, 26, 3, 0.45);
  isolation: isolate;
}
.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  background: linear-gradient(135deg, #78350f, #f59e0b);
}
.image-missing {
  opacity: 0 !important;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(69, 26, 3, 0.16) 30%, rgba(69, 26, 3, 0.92) 100%);
  z-index: 1;
}
.hero-card-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}
.hero-card-content h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.55rem, 4vw, 2.65rem);
  line-height: 1.08;
}
.hero-card-content p {
  color: #ffedd5;
  line-height: 1.7;
}
.hero-labels,
.tag-row,
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-labels span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  border-radius: 999px;
  background: #fef3c7;
  color: var(--amber-900);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}
.hero-labels span {
  background: rgba(254, 243, 199, 0.18);
  color: #fde68a;
  border: 1px solid rgba(254, 243, 199, 0.2);
}
.hero-controls {
  position: absolute;
  z-index: 5;
  right: 24px;
  top: 24px;
  display: flex;
  gap: 8px;
}
.hero-controls button,
.slider-dots button {
  border: 0;
  cursor: pointer;
}
.hero-controls button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
}
.slider-dots {
  position: absolute;
  z-index: 6;
  left: 28px;
  top: 28px;
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}
.slider-dots button.is-active {
  width: 32px;
  background: #fcd34d;
}
.section,
.page-hero,
.content-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  padding-top: 64px;
  padding-bottom: 18px;
}
.section-head,
.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.section-title,
.page-hero h1 {
  margin: 0;
  color: var(--amber-900);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}
.section-head p,
.page-hero p {
  margin: 8px 0 0;
  color: var(--gray-600);
  line-height: 1.8;
}
.inline-btn {
  padding: 10px 16px;
  background: var(--amber-100);
  color: var(--amber-900);
}
.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.movie-grid.six-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.movie-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(120, 53, 15, 0.22);
}
.card-link {
  display: block;
  height: 100%;
}
.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #78350f, #f59e0b);
}
.compact-card .poster-frame {
  aspect-ratio: 3 / 4.15;
}
.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.movie-card:hover .poster-frame img,
.wide-card:hover img,
.category-tile:hover img {
  transform: scale(1.08);
}
.play-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(69, 26, 3, 0.72);
  backdrop-filter: blur(10px);
}
.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.32);
}
.card-body {
  padding: 16px;
}
.card-meta,
.detail-meta,
.wide-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--amber-700);
  font-size: 0.82rem;
  font-weight: 800;
}
.card-meta span,
.detail-meta span,
.wide-stats span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--amber-50);
  padding: 5px 9px;
}
.card-body h2,
.wide-info h2,
.related-card h2 {
  margin: 11px 0 8px;
  font-size: 1.05rem;
  line-height: 1.38;
  color: var(--gray-950);
}
.card-body p,
.wide-info p {
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.65;
}
.wide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.wide-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.wide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px rgba(120, 53, 15, 0.18);
}
.wide-card a {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 214px;
}
.wide-poster {
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, #f59e0b);
}
.wide-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.wide-info {
  padding: 20px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--amber-900), var(--amber-500));
  color: #fff;
  box-shadow: var(--shadow);
}
.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform 0.45s ease;
}
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(69, 26, 3, 0.16), rgba(69, 26, 3, 0.82));
}
.category-tile-content {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
}
.category-tile h2 {
  margin: 0 0 8px;
  font-size: 1.32rem;
}
.category-tile p {
  margin: 0;
  color: #ffedd5;
  line-height: 1.65;
  font-size: 0.92rem;
}
.page-hero {
  align-items: flex-start;
  padding-top: 58px;
  padding-bottom: 28px;
}
.page-hero.centered {
  display: block;
  text-align: center;
  max-width: 920px;
}
.filter-panel {
  max-width: 1280px;
  margin: 0 auto 28px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px 190px;
  gap: 14px;
}
.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--amber-900);
  font-weight: 800;
  font-size: 0.86rem;
}
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 16px;
  outline: 0;
  padding: 12px 14px;
  background: #fff;
  color: var(--gray-900);
  font-size: 0.96rem;
  box-shadow: 0 12px 25px rgba(120, 53, 15, 0.06);
}
.empty-state {
  display: none;
  text-align: center;
  color: var(--gray-600);
  padding: 34px 20px;
}
.empty-state.is-visible {
  display: block;
}
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 24px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--amber-700);
  font-weight: 800;
  font-size: 0.9rem;
}
.detail-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 24px 30px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: stretch;
}
.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #78350f, #f59e0b);
  box-shadow: var(--shadow);
}
.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
}
.detail-info {
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}
.detail-info h1 {
  margin: 14px 0 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  color: var(--amber-900);
  letter-spacing: -0.05em;
}
.detail-info .lead {
  color: var(--gray-700);
  font-size: 1.1rem;
  line-height: 1.9;
}
.detail-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.player-section {
  max-width: 1180px;
  margin: 20px auto 54px;
  padding: 0 24px;
}
.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #100a05;
  box-shadow: 0 28px 80px rgba(69, 26, 3, 0.42);
  aspect-ratio: 16 / 9;
}
.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #100a05;
}
.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3), rgba(69, 26, 3, 0.82));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.play-layer span {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding-left: 5px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 18px 42px rgba(234, 88, 12, 0.42);
  font-size: 2.25rem;
}
.play-layer strong {
  font-size: 1.22rem;
}
.article-block {
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.article-card {
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 28px;
}
.article-card h2 {
  margin: 0 0 16px;
  color: var(--amber-900);
  font-size: 1.65rem;
}
.article-card p {
  color: var(--gray-700);
  line-height: 2;
  font-size: 1rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.related-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(120, 53, 15, 0.12);
}
.related-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #78350f, #f59e0b);
}
.related-card h2 {
  padding: 12px;
  margin: 0;
  font-size: 0.92rem;
}
.ranking-list {
  display: grid;
  gap: 14px;
}
.ranking-row {
  display: grid;
  grid-template-columns: 68px 92px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(120, 53, 15, 0.1);
}
.ranking-no {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  font-weight: 900;
}
.ranking-thumb {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #78350f, #f59e0b);
}
.ranking-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ranking-info h2 {
  margin: 0 0 8px;
  color: var(--gray-950);
  font-size: 1.1rem;
}
.ranking-info p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}
.ranking-score {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: var(--amber-800);
  font-weight: 900;
}
.site-footer {
  margin-top: 70px;
  background: linear-gradient(180deg, var(--amber-900), var(--amber-950));
  color: #fffbeb;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 34px;
}
.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: #fde68a;
}
.site-footer p,
.site-footer li {
  color: #fed7aa;
  line-height: 1.8;
  font-size: 0.95rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer a:hover {
  color: #fff;
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(254, 243, 199, 0.16);
  color: #fcd34d;
  font-size: 0.9rem;
}
@media (max-width: 1120px) {
  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    background: rgba(255, 251, 235, 0.98);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .hero-inner,
  .detail-hero {
    grid-template-columns: 1fr;
  }
  .hero-stage {
    min-height: 460px;
  }
  .hero-card {
    min-height: 460px;
  }
  .movie-grid,
  .movie-grid.six-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wide-list,
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .header-inner,
  .section,
  .page-hero,
  .content-wrap,
  .filter-panel,
  .breadcrumb,
  .detail-hero,
  .player-section,
  .article-block {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-inner {
    padding: 46px 16px 38px;
  }
  .hero,
  .hero-inner {
    min-height: auto;
  }
  .hero-search {
    border-radius: 22px;
    align-items: stretch;
    flex-direction: column;
    padding: 8px;
  }
  .hero-search input {
    padding: 12px 14px;
  }
  .movie-grid,
  .movie-grid.six-grid,
  .category-grid,
  .related-grid,
  .wide-list,
  .filter-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .wide-card a,
  .ranking-row {
    grid-template-columns: 1fr;
  }
  .ranking-score {
    justify-items: start;
  }
  .detail-poster img {
    min-height: auto;
  }
}
