:root {
  --bg: #1a120c;
  --bg-deep: #120c08;
  --panel: #261a12;
  --panel-2: #2f2117;
  --ink: #fff6e8;
  --mute: #c4b09a;
  --line: rgba(255, 204, 77, 0.22);
  --bean: #ffcc4d;
  --bean-deep: #e6a800;
  --warm: #ff8f5c;
  --ok: #7dcf8a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(255, 204, 77, 0.14), transparent 55%),
    radial-gradient(700px 420px at 100% 12%, rgba(255, 143, 92, 0.1), transparent 50%),
    linear-gradient(180deg, #1f160f 0%, var(--bg) 35%, var(--bg-deep) 100%);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* —— 顶栏 —— */
.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(18, 12, 8, 0.82);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 77, 0.35);
}
.logo strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.logo em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--mute);
}
.menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.menu a {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--mute);
  border-radius: 8px;
}
.menu a:hover { color: var(--bean); background: rgba(255, 204, 77, 0.08); }
.go {
  background: var(--bean);
  color: #1a120c;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  flex-shrink: 0;
}
.go:hover { background: #ffe08a; }
.more {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.more i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bean);
}

/* —— 通用区块头 —— */
.sec {
  margin-bottom: 28px;
  max-width: 560px;
}
.sec h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.sec p {
  margin: 0;
  color: var(--mute);
  line-height: 1.7;
  font-size: 15px;
}
.sec.light h2,
.sec.light p { color: var(--ink); }
.sec.light p { color: rgba(255, 246, 232, 0.72); }

.kicker {
  margin: 0 0 8px;
  color: var(--bean);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bean);
  color: #1a120c;
  font-weight: 900;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
}
.btn-main:hover { background: #ffe08a; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}
.btn-ghost:hover { border-color: var(--bean); color: var(--bean); }

/* —— 开场：文案层 + 海报层叠 —— */
.open {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 72px;
  min-height: calc(100vh - 68px);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--bean);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.open h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.open-line {
  margin: 16px 0 0;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: rgba(255, 246, 232, 0.92);
}
.open-line span {
  color: var(--bean);
  border-bottom: 3px solid rgba(255, 204, 77, 0.45);
}
.open-lead {
  margin: 18px 0 0;
  color: var(--mute);
  line-height: 1.8;
  font-size: 15px;
  max-width: 480px;
}
.open-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.open-marks {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.open-marks li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(38, 26, 18, 0.85);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bean);
  border-radius: 0 12px 12px 0;
}
.open-marks b {
  color: var(--bean);
  font-size: 13px;
}
.open-marks span {
  color: var(--mute);
  font-size: 13px;
}

.open-stack {
  position: relative;
  height: min(560px, 72vh);
  perspective: 1200px;
}
.open-stack .layer {
  position: absolute;
  margin: 0;
  width: min(240px, 42%);
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(255, 204, 77, 0.28);
  box-shadow: var(--shadow);
  background: #000;
  transition: transform 0.35s ease;
}
.open-stack .layer img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}
.open-stack .back {
  left: 8%;
  top: 8%;
  transform: rotate(-8deg) translateZ(-40px);
  opacity: 0.72;
  filter: saturate(0.9);
}
.open-stack .mid {
  right: 10%;
  top: 4%;
  transform: rotate(7deg) translateZ(-20px);
  opacity: 0.85;
}
.open-stack .front {
  left: 28%;
  top: 12%;
  width: min(280px, 52%);
  transform: rotate(-2deg);
  border-color: rgba(255, 204, 77, 0.55);
  z-index: 3;
}
.open-stack .front figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(18, 12, 8, 0.92));
  font-size: 12px;
  font-weight: 700;
  color: var(--bean);
  letter-spacing: 0.08em;
}
.open-stack:hover .back { transform: rotate(-10deg) translate(-6px, -4px); }
.open-stack:hover .mid { transform: rotate(9deg) translate(6px, -4px); }
.open-stack:hover .front { transform: rotate(0deg) translateY(-6px); }

/* —— 选剧：口味条 + 主推大层 + 侧栏 —— */
.pick {
  padding: 72px 0;
  background:
    linear-gradient(180deg, transparent, rgba(255, 204, 77, 0.04) 20%, rgba(255, 204, 77, 0.04) 80%, transparent),
    transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.taste {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.taste button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--mute);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.taste button.on,
.taste button:hover {
  background: var(--bean);
  color: #1a120c;
  border-color: var(--bean);
}

.pick-board {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}
.feature {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-media {
  position: relative;
  background: #0d0906;
  border-right: 1px solid var(--line);
}
.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: top center;
  cursor: zoom-in;
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bean);
  color: #1a120c;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 8px;
}
.feature-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.feature-body h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
}
.feature-body > p {
  margin: 0;
  color: var(--mute);
  line-height: 1.75;
  font-size: 14px;
}
.feature-body ul {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.feature-body li {
  padding: 10px 12px;
  background: rgba(18, 12, 8, 0.55);
  border: 1px solid rgba(255, 204, 77, 0.12);
  border-radius: 10px;
  font-size: 13px;
  color: var(--mute);
}
.feature-body .btn-main { align-self: flex-start; margin-top: auto; }

.shelf {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 204, 77, 0.06);
}
.shelf > header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.shelf > header strong { font-size: 15px; }
.shelf > header span { font-size: 12px; color: var(--mute); }
.shelf ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}
.shelf li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(18, 12, 8, 0.35);
}
.shelf li:hover {
  border-color: var(--line);
  background: rgba(255, 204, 77, 0.06);
}
.shelf em {
  font-style: normal;
  font-weight: 900;
  color: var(--bean);
  font-size: 14px;
}
.shelf b { display: block; font-size: 14px; margin-bottom: 2px; }
.shelf span { font-size: 12px; color: var(--mute); }

/* —— 连刷舞台 —— */
.stage {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(255, 143, 92, 0.08), transparent 40%),
    var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.stage-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: start;
}
.player {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 204, 77, 0.35);
  background: #000;
  box-shadow: var(--shadow);
}
.player img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto;
  cursor: zoom-in;
}
.player-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 18px 18px;
  background: linear-gradient(transparent, rgba(10, 6, 3, 0.92));
  display: grid;
  gap: 4px;
}
.player-mask span {
  font-size: 12px;
  color: var(--bean);
  font-weight: 700;
}
.player-mask strong { font-size: 16px; }
.player-mask em {
  font-style: normal;
  font-size: 12px;
  color: var(--mute);
}

.stage-side {
  display: grid;
  gap: 14px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 18px;
  border-top: 3px solid var(--bean);
}
.panel:nth-child(2) { border-top-color: var(--warm); }
.panel:nth-child(3) { border-top-color: var(--ok); }
.panel h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}
.panel p {
  margin: 0;
  color: var(--mute);
  line-height: 1.7;
  font-size: 14px;
}
.eps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}
.eps button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(18, 12, 8, 0.5);
  color: var(--ink);
  font-weight: 700;
}
.eps button.on,
.eps button:hover {
  background: var(--bean);
  color: #1a120c;
  border-color: var(--bean);
}
.hint {
  margin-top: 4px !important;
  font-size: 12px !important;
}

/* —— 热播：左大右清单 —— */
.heat {
  padding: 72px 0;
}
.heat-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.heat-hero {
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.heat-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  cursor: zoom-in;
  border-bottom: 1px solid var(--line);
}
.heat-hero > div { padding: 22px 22px 24px; }
.heat-hero h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
}
.heat-hero p:last-child {
  margin: 0;
  color: var(--mute);
  line-height: 1.7;
  font-size: 14px;
}

.heat-list {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.heat-list > header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.heat-list > header strong { font-size: 15px; }
.heat-list > header span {
  font-size: 12px;
  color: var(--mute);
}
.heat-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.heat-list li {
  display: grid;
  grid-template-columns: 28px 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 204, 77, 0.1);
  background: rgba(18, 12, 8, 0.4);
}
.heat-list li b {
  color: var(--bean);
  font-size: 14px;
}
.heat-list li img {
  width: 52px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.heat-list li strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.heat-list li span {
  font-size: 12px;
  color: var(--mute);
}
.heat-list li > i {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--ok);
}

/* —— 三步安装 —— */
.install {
  padding: 0 0 72px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.steps article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
}
.steps article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--bean);
}
.steps span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 204, 77, 0.15);
  color: var(--bean);
  font-weight: 900;
  margin-bottom: 12px;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.steps p {
  margin: 0;
  color: var(--mute);
  line-height: 1.7;
  font-size: 14px;
}
.install-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: linear-gradient(90deg, rgba(255, 204, 77, 0.14), rgba(255, 143, 92, 0.08));
  border: 1px solid rgba(255, 204, 77, 0.35);
  border-radius: 16px;
}
.install-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.install-cta strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.install-cta p {
  margin: 0;
  color: var(--mute);
  font-size: 13px;
}

/* —— 评论 —— */
.talk {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.talks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.talks article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
  border-left: 3px solid var(--bean);
}
.talks header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}
.talks header b { color: var(--bean); }
.talks time { color: var(--mute); font-size: 12px; }
.talks p {
  margin: 0;
  color: rgba(255, 246, 232, 0.88);
  line-height: 1.75;
  font-size: 14px;
}

/* —— FAQ —— */
.ask {
  padding: 0 0 96px;
}
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 16px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 700;
  font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--bean); }
.faq p {
  margin: 0 0 14px;
  color: var(--mute);
  line-height: 1.7;
  font-size: 14px;
}

/* —— 页脚 / 悬浮 —— */
.foot {
  border-top: 1px solid var(--line);
  background: #100b07;
  padding: 28px 0 100px;
  position: relative;
  z-index: 2;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.foot-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.foot-brand strong { display: block; font-size: 15px; }
.foot-brand span { font-size: 12px; color: var(--mute); }
.foot p {
  margin: 0 0 6px;
  color: var(--mute);
  font-size: 12px;
  line-height: 1.6;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 40;
  background: var(--bean);
  color: #1a120c;
  font-weight: 900;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  font-size: 14px;
}
.dock:hover { background: #ffe08a; }

.glass {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(8, 5, 3, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
}
.glass[hidden] { display: none; }
.glass img {
  max-width: min(420px, 92vw);
  max-height: 86vh;
  border-radius: 16px;
  border: 2px solid rgba(255, 204, 77, 0.35);
}
.glass-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
}

/* —— 响应式 —— */
@media (max-width: 960px) {
  .open {
    grid-template-columns: 1fr;
    padding-top: 40px;
    min-height: auto;
  }
  .open-stack {
    display: none;
  }
  .pick-board,
  .stage-grid,
  .heat-grid,
  .steps,
  .talks {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-media img { min-height: 280px; max-height: 420px; }
  .player img { max-height: 520px; }
  .menu { display: none; }
  .bar-in.nav-open .menu {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    flex-direction: column;
    background: #1a120c;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
  }
  .more { display: flex; margin-left: auto; }
  .go { display: none; }
  .install-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .open-marks li { grid-template-columns: 1fr; gap: 4px; }
  .heat-list li {
    grid-template-columns: 24px 44px 1fr;
  }
  .heat-list li > i { display: none; }
}
