:root {
  --peach: #ff8c5a;
  --peach-deep: #e8632e;
  --night: #1a1626;
  --night-2: #241d33;
  --cream: #fff8f2;
  --mint: #e6f5ef;
  --lav: #efe9f7;
  --ink: #2b2533;
  --ink-soft: #5c5468;
  --line: rgba(43,37,51,.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }

/* ===== 头部 ===== */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,248,242,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: 34px; object-fit: cover; border-radius: 9px; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .5px; color: var(--ink); }
.nav-menu { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.nav-menu a {
  display: block; padding: 6px 10px; font-size: 13.5px; border-radius: 20px;
  color: var(--ink-soft); transition: background .2s, color .2s;
}
.nav-menu a:hover, .nav-menu a:focus { background: var(--peach); color: #fff; }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; padding: 7px 12px; font-size: 13px; color: var(--ink); cursor: pointer;
}

/* ===== 首屏 ===== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 82% 12%, #ffd8c1 0%, transparent 46%),
              radial-gradient(circle at 8% 88%, #ffe6d2 0%, transparent 50%),
              var(--cream);
  padding: 40px 0 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 34px; align-items: center;
}
.hero-copy h1 {
  font-size: 33px; line-height: 1.35; font-weight: 900; letter-spacing: .5px;
  color: var(--ink); margin-bottom: 14px;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--peach-deep), #ffb347);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .lead { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 22px; max-width: 34em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-tags span {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(232,99,46,.28); color: var(--peach-deep);
}
.dl-group { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #fff; color: var(--peach-deep); border: 1.5px solid rgba(232,99,46,.35);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(232,99,46,.16); }
.dl-btn.primary {
  background: linear-gradient(96deg, var(--peach), var(--peach-deep));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px rgba(232,99,46,.28);
}
.dl-note { font-size: 12.5px; color: #8b8296; margin-top: 12px; }

.hero-visual { position: relative; }
.hero-stack {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.hero-stack figure {
  border-radius: 16px; overflow: hidden; position: relative;
  box-shadow: 0 14px 30px rgba(60,40,30,.16);
  background: #f2e6dc;
}
.hero-stack figure:nth-child(1) { transform: translateY(14px); }
.hero-stack figure:nth-child(3) { transform: translateY(14px); }
.hero-stack img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.hero-stack figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 10px 9px; font-size: 12px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
}
.hero-float {
  position: absolute; right: -6px; top: 6px;
  background: #fff; border-radius: 14px; padding: 8px 12px;
  font-size: 12px; color: var(--peach-deep); font-weight: 700;
  box-shadow: 0 10px 22px rgba(60,40,30,.15);
}

/* 跑马灯 */
.marquee {
  margin-top: 34px; background: var(--night);
  overflow: hidden; padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex; gap: 34px; width: max-content;
  animation: slide 26s linear infinite;
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.marquee-track span {
  background: linear-gradient(92deg, #ff9f6b, #ffd166, #ff7ab6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== 区块通用 ===== */
section { padding: 56px 0; }
.sec-head { margin-bottom: 26px; }
.sec-head h2 {
  font-size: 25px; font-weight: 900; letter-spacing: .5px; margin-bottom: 8px;
}
.sec-head p { font-size: 14.5px; color: var(--ink-soft); max-width: 46em; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--peach-deep); margin-bottom: 8px;
}

/* 经典剧场 */
#classic { background: var(--cream); }
.classic-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.classic-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.classic-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(60,40,30,.1); }
.classic-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.classic-body { padding: 12px 13px 15px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.classic-body h3 { font-size: 15px; font-weight: 800; }
.classic-body .meta { font-size: 12px; color: #918aa0; }
.classic-body p { font-size: 13px; color: var(--ink-soft); flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-row i {
  font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 6px;
  background: #fff1e8; color: var(--peach-deep);
}

/* 深夜剧场 - 深色 */
#midnight { background: var(--night); color: #efeaf6; }
#midnight .sec-head h2 { color: #fff; }
#midnight .sec-head p { color: #b7aec8; }
#midnight .kicker { color: #ffb47e; }
.mid-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 26px; align-items: start; }
.mid-poster {
  border-radius: 18px; overflow: hidden; position: relative;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.mid-poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.mid-poster .cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(15,12,24,.94), transparent);
  font-size: 13px; color: #e6dff2;
}
.mid-list { display: grid; gap: 10px; }
.mid-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 13px; border-radius: 12px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .2s, transform .2s;
}
.mid-item:hover { background: rgba(255,180,126,.14); transform: translateX(4px); }
.mid-item img {
  width: 52px; height: 68px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
}
.mid-item h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.mid-item p { font-size: 12.5px; color: #b3a9c4; }
.mid-item time { font-size: 11.5px; color: #ffb47e; margin-left: auto; flex-shrink: 0; }

/* 原著联动 - 左右均衡 */
#original { background: var(--lav); }
.orig-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.orig-text h2 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.orig-text > p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }
.qa-list { display: grid; gap: 12px; }
.qa { background: #fff; border-radius: 12px; padding: 13px 15px; border: 1px solid rgba(120,100,180,.16); }
.qa strong { display: block; font-size: 14px; margin-bottom: 4px; color: #4a3d70; }
.qa span { font-size: 13px; color: var(--ink-soft); }
.orig-poster { border-radius: 18px; overflow: hidden; box-shadow: 0 16px 34px rgba(74,61,112,.18); }
.orig-poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* 全集短剧 - 时间轴 */
#allset { background: var(--mint); }
.timeline { position: relative; display: grid; gap: 16px; padding-left: 84px; }
.timeline::before {
  content: ""; position: absolute; left: 66px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(to bottom, #9fd8c4, #d9efe6);
}
.tl-item { position: relative; background: #fff; border-radius: 12px; padding: 12px 16px; border: 1px solid rgba(60,120,95,.14); }
.tl-item::before {
  content: ""; position: absolute; left: -24px; top: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #4bb28a; box-shadow: 0 0 0 4px rgba(75,178,138,.18);
}
.tl-time {
  position: absolute; left: -84px; top: 14px; width: 56px; text-align: right;
  font-size: 12.5px; font-weight: 800; color: #2f7a5e;
}
.tl-item h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 3px; }
.tl-item p { font-size: 13px; color: var(--ink-soft); }

/* AI剧场 */
#ai { background: #fff6ef; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ai-card {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(232,99,46,.16);
  display: flex; flex-direction: column;
}
.ai-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.ai-card div { padding: 10px 11px 13px; }
.ai-card h3 { font-size: 13.5px; font-weight: 800; margin-bottom: 3px; }
.ai-card p { font-size: 12px; color: var(--ink-soft); }

/* 神评墙 */
#reviews { background: var(--night-2); color: #ece6f4; }
#reviews .sec-head h2 { color: #fff; }
#reviews .sec-head p { color: #b6abca; }
#reviews .kicker { color: #ffc08c; }
.review-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; padding: 14px;
}
.review-top { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.review-top img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.review-top b { font-size: 13px; color: #fff; display: block; }
.review-top small { font-size: 11px; color: #9c92b3; }
.review p { font-size: 13px; color: #ded5ee; }

/* 未成年人保护 */
#minor { background: #eef4fb; }
.protect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.protect-card { background: #fff; border-radius: 14px; padding: 18px; border: 1px solid rgba(70,110,170,.14); }
.protect-card h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; color: #2c4a75; }
.protect-card p { font-size: 13.5px; color: var(--ink-soft); }
.protect-note {
  margin-top: 16px; font-size: 13px; color: #46628c;
  background: #e2ecfa; border-radius: 10px; padding: 12px 15px;
}

/* 意见反馈 */
#feedback { background: var(--cream); }
.fb-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.fb-card { background: #fff; border-radius: 14px; padding: 18px; border: 1px solid var(--line); }
.fb-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.fb-card p, .fb-card li { font-size: 13.5px; color: var(--ink-soft); }
.fb-card ul { padding-left: 18px; display: grid; gap: 7px; }
.fb-steps { display: grid; gap: 10px; counter-reset: s; }
.fb-steps div {
  counter-increment: s; position: relative; padding: 10px 14px 10px 44px;
  background: #fff8f2; border-radius: 10px; font-size: 13.5px; color: var(--ink-soft);
}
.fb-steps div::before {
  content: counter(s); position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 21px; height: 21px; border-radius: 50%; background: var(--peach);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* 下载区 */
#download { background: linear-gradient(160deg, #2a2136, #1a1626); color: #f2ecf9; }
#download .sec-head h2 { color: #fff; }
#download .sec-head p { color: #b9afca; }
#download .kicker { color: #ffb47e; }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.install-steps div {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px; padding: 15px;
}
.install-steps b { display: block; font-size: 14px; color: #fff; margin-bottom: 4px; }
.install-steps span { font-size: 13px; color: #bdafd2; }
.download-panel {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 24px;
}
.download-panel .dl-btn { background: transparent; color: #ffcfa8; border-color: rgba(255,180,126,.45); }
.download-panel .dl-btn.primary { background: linear-gradient(96deg, var(--peach), var(--peach-deep)); color: #fff; border-color: transparent; }

/* 浮动下载 */
.float-dl {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 80; display: flex; align-items: center; gap: 8px;
  padding: 9px 20px 9px 10px; border-radius: 999px;
  background: rgba(26,22,38,.94); color: #fff; font-size: 13.5px; font-weight: 700;
  box-shadow: 0 10px 26px rgba(20,14,30,.35);
  border: 1px solid rgba(255,180,126,.35);
}
.float-dl img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; }

/* 复制弹窗 */
.copy-modal {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: 22px;
  background: rgba(15,12,24,.62);
}
.copy-modal.on { display: flex; }
.copy-box {
  background: #fff; border-radius: 16px; padding: 20px; max-width: 340px; width: 100%;
}
.copy-box p { font-size: 13.5px; color: var(--ink); margin-bottom: 12px; line-height: 1.65; }
.copy-box code {
  display: block; word-break: break-all; font-size: 12px; color: var(--peach-deep);
  background: #fff3eb; border-radius: 8px; padding: 9px 11px; margin-bottom: 12px;
}
.copy-box button {
  width: 100%; padding: 10px; border: 0; border-radius: 10px; cursor: pointer;
  background: linear-gradient(96deg, var(--peach), var(--peach-deep));
  color: #fff; font-size: 14px; font-weight: 700;
}

/* 页脚 */
.site-foot {
  background: #14111c; color: #8d869c; padding: 32px 0 82px;
  font-size: 12.5px; line-height: 1.9;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-foot h4 { font-size: 13px; color: #cbc3d9; margin-bottom: 8px; font-weight: 700; }
.site-foot a:hover { color: #ffb47e; }
.site-foot nav { display: flex; flex-direction: column; gap: 3px; }
.foot-bottom {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
}
.site-foot time { color: #7a7389; }

/* ===== 响应式 ===== */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy h1 { font-size: 28px; }
  .classic-grid { grid-template-columns: repeat(2, 1fr); }
  .mid-layout { grid-template-columns: 1fr; }
  .orig-inner { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: repeat(3, 1fr); }
  .review-wall { grid-template-columns: repeat(2, 1fr); }
  .install-steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none; width: 100%; flex-basis: 100%;
    padding: 8px 0 14px; gap: 2px;
  }
  .nav-menu.open { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-menu a { padding: 9px 12px; font-size: 14px; background: #fff; }
  .head-row { flex-wrap: wrap; min-height: 58px; padding: 8px 0; }

  section { padding: 42px 0; }
  .hero { padding-top: 26px; }
  .hero-copy h1 { font-size: 23px; line-height: 1.42; }
  .hero-copy .lead { font-size: 14.5px; }
  .dl-group { gap: 8px; }
  .dl-btn { flex: 1 1 42%; justify-content: center; padding: 10px 12px; font-size: 13.5px; }
  .hero-stack { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-float { position: static; display: inline-block; margin-bottom: 10px; }

  .classic-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .classic-body { padding: 9px 10px 12px; }
  .classic-body h3 { font-size: 13.5px; }
  .classic-body p { font-size: 12px; }

  .mid-item { flex-wrap: wrap; }
  .mid-item time { margin-left: 0; }

  .timeline { padding-left: 66px; }
  .timeline::before { left: 50px; }
  .tl-time { left: -66px; width: 42px; font-size: 11.5px; }
  .tl-item::before { left: -20px; }

  .ai-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .review-wall { grid-template-columns: 1fr; }
  .protect-grid { grid-template-columns: 1fr; }
  .fb-layout { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: 1fr; }
  .download-panel { padding: 18px; }
  .sec-head h2 { font-size: 21px; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
  .float-dl { font-size: 12.5px; padding: 8px 16px 8px 9px; }
}