:root {
  --flame: #ff6b35;
  --flame-dark: #c2410c;
  --honey: #ffcc47;
  --honey-soft: #fff8e7;
  --phoenix: #a13810;
  --ink: #16110d;
  --muted: #6b5f58;
  --line: rgba(106, 76, 32, 0.16);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 70px rgba(106, 76, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #fff8e7 0%, #ffffff 42%, #fffaf1 100%);
  color: var(--ink);
  min-width: 320px;
}

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 204, 71, 0.35);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--flame), var(--honey));
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.28);
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(135deg, var(--phoenix), var(--flame));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #533a20;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--flame-dark);
  background: rgba(255, 204, 71, 0.18);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 204, 71, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--phoenix);
  border-radius: 99px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 92px 0 54px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 204, 71, 0.52), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255, 107, 53, 0.24), transparent 32%),
    linear-gradient(135deg, #2b180b 0%, #7c2d12 52%, #fff0d1 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% -12%;
  height: 260px;
  background: #fff8e7;
  transform: rotate(-3deg);
}

.hero-shell {
  position: relative;
  z-index: 2;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 430px);
  gap: 54px;
  align-items: center;
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--flame-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.detail-hero .eyebrow,
.sub-hero .eyebrow {
  color: #ffd875;
}

.hero-copy h1,
.hero-copy h2,
.sub-hero h1,
.detail-copy h1,
.ranking-copy h2,
.section-head h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-copy h1 {
  max-width: 790px;
  color: white;
  font-size: clamp(38px, 6vw, 76px);
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.hero-copy h2 {
  margin-top: 18px;
  color: #ffefbd;
  font-size: clamp(28px, 3.4vw, 48px);
}

.hero-summary {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.tag-row,
.detail-actions,
.hero-actions,
.filter-line,
.card-topline,
.footer-links,
.breadcrumb,
.hero-control,
.hero-dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 240, 209, 0.86);
  color: #7c2d12;
  font-size: 13px;
  font-weight: 800;
}

.hero-actions,
.detail-actions {
  margin-top: 32px;
}

.primary-btn,
.ghost-btn,
.text-link,
.feature-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 24px;
  color: white;
  background: linear-gradient(135deg, var(--flame), var(--phoenix));
  box-shadow: 0 18px 34px rgba(255, 107, 53, 0.32);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 22px;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.ghost-btn.dark {
  color: var(--phoenix);
  background: rgba(255, 204, 71, 0.16);
  border-color: rgba(255, 107, 53, 0.18);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.feature-action:hover {
  transform: translateY(-2px);
}

.hero-poster,
.detail-poster,
.spotlight-card,
.ranking-feature-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-poster {
  min-height: 500px;
  padding: 28px;
  border-radius: 34px;
  color: white;
  isolation: isolate;
}

.hero-poster::before,
.detail-poster::before,
.spotlight-card::before,
.ranking-feature-card::before,
.poster-art::before,
.player-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.76)),
    radial-gradient(circle at 20% 15%, rgba(255, 204, 71, 0.36), transparent 34%);
  z-index: 0;
}

.hero-poster > *,
.detail-poster > *,
.spotlight-card > *,
.ranking-feature-card > *,
.poster-art > *,
.player-cover > * {
  position: relative;
  z-index: 1;
}

.hero-poster-meta {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffefbd;
  font-weight: 900;
}

.hero-poster strong {
  margin-top: 14px;
  font-size: 30px;
}

.hero-control {
  position: relative;
  z-index: 4;
  margin-top: 22px;
}

.hero-control button,
.hero-dot {
  cursor: pointer;
}

.hero-control > button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 28px;
}

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

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

.quick-section {
  position: relative;
  z-index: 5;
  margin-top: -52px;
  padding-bottom: 34px;
}

.category-strip,
.category-feature-grid,
.ranking-feature-grid,
.spotlight-grid {
  display: grid;
  gap: 16px;
}

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

.category-card,
.category-feature {
  min-height: 146px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 204, 71, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-feature:hover,
.movie-card:hover,
.spotlight-card:hover,
.ranking-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 80px rgba(106, 76, 32, 0.22);
}

.category-card span,
.feature-name {
  display: block;
  color: #7c2d12;
  font-size: 18px;
  font-weight: 900;
}

.category-card strong {
  display: block;
  margin: 8px 0;
  color: var(--flame);
  font-size: 32px;
}

.category-card small,
.feature-line {
  color: var(--muted);
  line-height: 1.65;
}

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

.alt-bg {
  background: linear-gradient(180deg, rgba(255, 248, 231, 0.92), rgba(255, 240, 209, 0.48));
}

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

.section-head h2,
.ranking-copy h2 {
  color: #27160a;
  font-size: clamp(28px, 3.8vw, 44px);
}

.text-link {
  color: var(--flame-dark);
  font-size: 15px;
}

.filter-panel {
  display: block;
}

.filter-line {
  margin: 0 0 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(106, 76, 32, 0.08);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 300px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(255, 204, 71, 0.45);
}

.search-box span {
  color: var(--flame-dark);
  font-weight: 900;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.filter-line select {
  min-height: 46px;
  padding: 0 40px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 71, 0.45);
  color: #533a20;
  background: white;
  outline: 0;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(255, 204, 71, 0.26);
  box-shadow: 0 16px 38px rgba(106, 76, 32, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card[hidden] {
  display: none;
}

.poster-link {
  display: block;
}

.poster-art {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.26s ease;
}

.movie-card:hover .poster-art {
  transform: scale(1.035);
}

.poster-year,
.poster-play {
  position: absolute;
  z-index: 2;
}

.poster-year {
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--flame-dark);
  font-size: 12px;
  font-weight: 900;
}

.poster-play {
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: white;
  background: rgba(255, 107, 53, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

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

.card-topline {
  justify-content: space-between;
  color: #8a5a2a;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.movie-card h3 a:hover {
  color: var(--flame-dark);
}

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

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  min-height: 26px;
  padding: 5px 10px;
  background: rgba(255, 204, 71, 0.2);
  font-size: 12px;
}

.ranking-section {
  position: relative;
  padding: 80px 0;
  color: white;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 204, 71, 0.28), transparent 30%),
    linear-gradient(135deg, #291508, #7c2d12 58%, #a13810);
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 50px;
  align-items: start;
}

.ranking-copy h2,
.ranking-copy p {
  color: white;
}

.ranking-copy p {
  margin: 18px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.rank-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list a {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.rank-index {
  color: var(--honey);
  font-weight: 900;
  font-size: 22px;
}

.rank-list em {
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
  font-size: 13px;
}

.sub-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 74px;
  color: white;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 204, 71, 0.34), transparent 28%),
    linear-gradient(135deg, #2b180b, #7c2d12 56%, #ff6b35);
}

.sub-hero h1,
.detail-copy h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(36px, 5vw, 62px);
}

.sub-hero p,
.detail-line {
  max-width: 780px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.category-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.category-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 190px;
}

.feature-action {
  width: fit-content;
  color: var(--flame-dark);
}

.spotlight-grid,
.ranking-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.spotlight-card,
.ranking-feature-card {
  min-height: 210px;
  padding: 22px;
  border-radius: 26px;
  color: white;
}

.spotlight-card strong,
.ranking-feature-card strong {
  margin-top: 10px;
  font-size: 24px;
}

.spotlight-card span,
.ranking-feature-card span,
.ranking-feature-card em {
  font-style: normal;
  color: #ffefbd;
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 52px;
  align-items: center;
}

.breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffefbd;
}

.large-tags span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffefbd;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-poster {
  min-height: 480px;
  padding: 28px;
  border-radius: 34px;
  color: white;
}

.detail-poster span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffefbd;
  font-weight: 900;
}

.detail-poster strong {
  margin-top: 12px;
  font-size: 30px;
}

.player-section {
  padding: 50px 0 24px;
  background: #140b05;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.36);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  width: 100%;
  color: white;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-ring {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--flame), var(--phoenix));
  font-size: 34px;
  box-shadow: 0 18px 42px rgba(255, 107, 53, 0.36);
}

.player-cover strong {
  font-size: 24px;
}

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

.story-card,
.meta-card {
  padding: 30px;
  border-radius: 28px;
  background: white;
  border: 1px solid rgba(255, 204, 71, 0.28);
  box-shadow: 0 18px 50px rgba(106, 76, 32, 0.08);
}

.story-card h2,
.meta-card h2 {
  margin: 0 0 16px;
  color: #27160a;
  font-size: 26px;
}

.story-card h2:not(:first-child) {
  margin-top: 30px;
}

.story-card p {
  margin: 0;
  color: #4b4038;
  font-size: 17px;
  line-height: 1.9;
}

.meta-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-card li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(106, 76, 32, 0.12);
}

.meta-card li:last-child {
  border-bottom: 0;
}

.meta-card span {
  color: var(--muted);
}

.meta-card strong {
  color: var(--ink);
}

.site-footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #1a0f08;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  color: #ffefbd;
  font-size: 24px;
}

.footer-shell p {
  max-width: 420px;
  margin: 12px 0 0;
  line-height: 1.7;
}

.footer-links {
  align-items: flex-start;
  flex-direction: column;
}

.footer-links a:hover {
  color: #ffefbd;
}

@media (max-width: 980px) {
  .hero-slide,
  .detail-grid,
  .ranking-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-poster,
  .detail-poster {
    min-height: 380px;
  }

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

  .spotlight-grid,
  .ranking-feature-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .header-shell {
    min-height: 64px;
  }

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

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 14px 16px;
  }

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

  .hero,
  .sub-hero,
  .detail-hero {
    padding: 58px 0 48px;
  }

  .hero-track {
    min-height: 0;
  }

  .hero-slide {
    gap: 30px;
  }

  .hero-poster,
  .detail-poster {
    min-height: 310px;
    border-radius: 24px;
  }

  .hero-actions,
  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-line {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box,
  .filter-line select {
    width: 100%;
  }

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

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

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

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

  .rank-list a {
    grid-template-columns: 42px 1fr;
  }

  .rank-list em {
    grid-column: 2;
  }

  .player-shell {
    border-radius: 18px;
  }

  .story-card,
  .meta-card {
    padding: 22px;
    border-radius: 22px;
  }
}

@media (max-width: 430px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }
}
