:root {
  --ink: #1a1228;
  --muted: #6b6178;
  --paper: #fdf6f0;
  --rose: #e8476b;
  --rose-deep: #a82244;
  --amber: #f6a23c;
  --violet: #6a3fb5;
  --violet-deep: #3b1f6b;
  --teal: #1f8a7a;
  --line: rgba(26,18,40,.12);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  padding-bottom: 92px;
}

img { max-width: 100%; display: block; }

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

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* ============ 头部 ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253,246,240,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: 34px; width: 34px; border-radius: 9px; object-fit: cover; flex: none; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .5px; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--rose); }

.menu-toggle {
  display: none;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font-size: 14px; font-weight: 700; color: var(--ink);
  cursor: pointer; font-family: inherit;
}

.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a {
  display: block; padding: 7px 11px; border-radius: 9px;
  font-size: 14px; color: var(--muted); font-weight: 600;
  transition: color .18s, background .18s, transform .18s;
}
.main-nav a:hover, .main-nav a:focus-visible {
  color: #fff; background: var(--rose); transform: translateY(-1px); outline: none;
}

/* ============ 首屏 ============ */
.hero {
  background:
    radial-gradient(circle at 88% 8%, rgba(232,71,107,.16), transparent 46%),
    radial-gradient(circle at 4% 88%, rgba(106,63,181,.14), transparent 44%),
    #fdf6f0;
  padding: 34px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 34px; line-height: 1.32; font-weight: 900; letter-spacing: -.5px;
}
.hero-copy h1 span { color: var(--rose-deep); }
.hero-lead { margin-top: 14px; color: var(--muted); font-size: 16px; }
.hero-points {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.hero-points li {
  font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--violet-deep);
}
.hero-points li:nth-child(2) { color: var(--rose-deep); }
.hero-points li:nth-child(3) { color: var(--teal); }

.dl-title { margin-top: 22px; font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: 1px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 800;
  color: #fff; transition: transform .18s, box-shadow .18s, filter .18s;
  min-width: 0; white-space: nowrap;
}
.dl-btn:hover, .dl-btn:focus-visible { transform: translateY(-2px); outline: none; filter: brightness(1.06); }
.dl-btn.android { background: var(--rose); }
.dl-btn.ios { background: var(--violet); }
.dl-btn.web { background: var(--teal); }
.dl-btn.harmony { background: var(--amber); color: #3a2600; }

/* 首屏图片轮播 */
.hero-slider { position: relative; }
.slider-frame {
  position: relative; overflow: hidden; border-radius: 22px;
  background: #241a33; box-shadow: 0 18px 40px -20px rgba(59,31,107,.6);
  aspect-ratio: 4 / 3;
}
.slider-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.slide { flex: 0 0 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(20,12,32,.72); color: #fff;
  font-size: 12px; padding: 6px 10px; border-radius: 8px;
  backdrop-filter: blur(4px);
}
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: rgba(26,18,40,.22); cursor: pointer; transition: width .2s, background .2s;
}
.slider-dots button[aria-current="true"] { width: 24px; border-radius: 999px; background: var(--rose); }

/* 跑马灯 */
.marquee {
  margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #1a1228; overflow: hidden; padding: 9px 0;
}
.marquee-track {
  display: flex; width: max-content; gap: 34px;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 14px; font-weight: 800; white-space: nowrap;
  background: linear-gradient(90deg, #ff5f7e, #f6a23c 40%, #b06cff 75%, #26d6bd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 通用区块 ============ */
section { padding: 54px 0; }
.sec-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
h2 { font-size: 26px; line-height: 1.35; font-weight: 900; }
.sec-intro { color: var(--muted); margin-top: 10px; max-width: 660px; font-size: 15px; }

/* 魔改短剧 */
.sec-magic { background: #fff5f7; }
.sec-magic .sec-tag { background: #ffe0e7; color: var(--rose-deep); }
.magic-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.magic-item {
  display: flex; gap: 13px; background: #fff; border-radius: 14px;
  padding: 14px; border-left: 4px solid var(--rose);
  box-shadow: 0 10px 24px -20px rgba(168,34,68,.7);
}
.magic-item img { width: 64px; height: 86px; object-fit: cover; border-radius: 8px; flex: none; }
.magic-item h3 { font-size: 15px; font-weight: 800; }
.magic-item p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.magic-item .meta { font-size: 12px; color: var(--rose-deep); font-weight: 700; margin-top: 5px; }

/* 二创短剧 - 时间轴 */
.sec-remix { background: #f4f0ff; }
.sec-remix .sec-tag { background: #e4d8ff; color: var(--violet-deep); }
.timeline { position: relative; margin-top: 28px; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 3px;
  border-radius: 3px; background: linear-gradient(#6a3fb5, #e8476b, #f6a23c);
}
.tl-item { position: relative; margin-bottom: 16px; }
.tl-item::before {
  content: ""; position: absolute; left: -25px; top: 8px; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; border: 3px solid var(--violet);
}
.tl-time { font-size: 12px; font-weight: 900; color: var(--violet-deep); letter-spacing: 1px; }
.tl-body {
  background: #fff; border-radius: 12px; padding: 11px 14px; margin-top: 4px;
  font-size: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.tl-body strong { font-weight: 800; }
.tl-body em { font-style: normal; color: var(--muted); font-size: 13px; }

/* 原创短剧 - 海报墙 */
.sec-origin { background: #fdf6f0; }
.sec-origin .sec-tag { background: #ffe8cf; color: #8a4b00; }
.poster-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 26px; }
.poster-card { position: relative; border-radius: 12px; overflow: hidden; background: #e8e0d8; }
.poster-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .35s; }
.poster-card:hover img { transform: scale(1.05); }
.poster-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 8px 8px;
  background: linear-gradient(transparent, rgba(20,12,32,.88));
  color: #fff; font-size: 12px; font-weight: 700;
}
.poster-card figcaption small { display: block; font-weight: 500; color: #e6d9f5; font-size: 11px; }

/* 用户神评 */
.sec-comment { background: #12241f; color: #eafaf5; }
.sec-comment h2 { color: #fff; }
.sec-comment .sec-tag { background: rgba(38,214,189,.18); color: #7bf0da; }
.sec-comment .sec-intro { color: #a8c9c1; }
.comment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.comment {
  background: rgba(255,255,255,.06); border: 1px solid rgba(126,240,218,.2);
  border-radius: 14px; padding: 14px;
}
.comment-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.comment-head img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.comment-head b { font-size: 13px; color: #7bf0da; font-weight: 800; }
.comment p { font-size: 13px; color: #d3e8e2; }

/* 会员权益 */
.sec-vip { background: linear-gradient(135deg, #fff3e2, #ffe7ee); }
.sec-vip .sec-tag { background: #ffd9a8; color: #7a3f00; }
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.vip-card {
  background: #fff; border-radius: 16px; padding: 18px 16px; border-top: 4px solid var(--amber);
}
.vip-card:nth-child(3n+2) { border-top-color: var(--rose); }
.vip-card:nth-child(3n+3) { border-top-color: var(--violet); }
.vip-card h3 { font-size: 15px; font-weight: 800; }
.vip-card p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* 隐私安全 / 未成年保护 */
.sec-safe { background: #eef7f5; }
.sec-safe .sec-tag { background: #c9ece4; color: #10665a; }
.safe-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.safe-panel { background: #fff; border-radius: 16px; padding: 18px; }
.safe-panel h3 { font-size: 17px; font-weight: 900; margin-bottom: 10px; }
.safe-panel ul { list-style: none; display: grid; gap: 8px; }
.safe-panel li {
  font-size: 13px; color: var(--muted); padding-left: 18px; position: relative;
}
.safe-panel li::before {
  content: ""; position: absolute; left: 3px; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal);
}
.safe-panel.minor li::before { background: var(--amber); }

/* 反馈 / FAQ */
.sec-faq { background: #f7f4ee; }
.sec-faq .sec-tag { background: #e5dfd2; color: #5e5340; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; align-items: start; }
.faq-item { background: #fff; border-radius: 12px; padding: 14px 16px; }
.faq-item h3 { font-size: 14px; font-weight: 800; color: var(--violet-deep); }
.faq-item p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.feedback-box {
  grid-column: 1 / -1; background: #1a1228; color: #f3ebff; border-radius: 16px; padding: 20px;
}
.feedback-box h3 { font-size: 17px; font-weight: 900; }
.feedback-box p { font-size: 13px; color: #c5b8dd; margin-top: 6px; }

/* ============ 下载专区 ============ */
.sec-download { background: #1a1228; color: #f7f1ff; }
.sec-download .sec-tag { background: rgba(232,71,107,.22); color: #ff9db4; }
.down-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; margin-top: 24px; }
.down-pic { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px -24px #000; }
.down-pic img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.down-steps { counter-reset: step; list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.down-steps li {
  counter-increment: step; position: relative; padding-left: 42px; font-size: 14px; color: #d8cdea;
}
.down-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rose); color: #fff; font-size: 13px; font-weight: 900;
}
.down-steps li b { color: #fff; }
.sec-download .dl-btn { box-shadow: 0 12px 26px -14px rgba(0,0,0,.9); }

/* ============ 浮动下载 ============ */
.float-dl {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 80;
  width: calc(100% - 28px); max-width: 460px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 16px 40px -16px rgba(26,18,40,.45);
  padding: 9px 12px; display: flex; align-items: center; gap: 10px;
}
.float-dl img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex: none; }
.float-text { flex: 1; min-width: 0; }
.float-text b { display: block; font-size: 13px; font-weight: 800; }
.float-text span { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-dl a {
  flex: none; background: var(--rose); color: #fff; font-size: 13px; font-weight: 800;
  padding: 9px 16px; border-radius: 10px;
}

/* ============ 咨询框 ============ */
.copy-box {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: rgba(15,9,24,.55); align-items: center; justify-content: center; padding: 20px;
}
.copy-box.is-open { display: flex; }
.copy-inner {
  background: #fff; border-radius: 16px; padding: 22px; width: 100%; max-width: 400px;
  text-align: center;
}
.copy-inner p { font-size: 14px; color: var(--ink); }
.copy-inner strong { display: block; margin: 12px 0; font-size: 13px; color: var(--rose-deep); word-break: break-all; }
.copy-inner button {
  margin: 4px; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 800;
  font-family: inherit; cursor: pointer; border: 1px solid var(--line); background: #f4f0ea; color: var(--ink);
}
.copy-inner button.primary { background: var(--rose); color: #fff; border-color: var(--rose); }

/* ============ 页脚 ============ */
.site-footer {
  background: #15101f; color: #9b90b0; font-size: 13px;
  padding: 36px 0 40px; border-top: 1px solid rgba(255,255,255,.06);
}
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; }
.site-footer h3 { font-size: 14px; color: #f0e8ff; font-weight: 800; margin-bottom: 10px; }
.site-footer p { color: #9b90b0; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-nav a { color: #b6a9cc; font-size: 13px; }
.footer-nav a:hover { color: #ff9db4; }
.footer-bottom {
  margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  font-size: 12px; color: #7d7192;
}
.footer-bottom a { color: #9b90b0; }
.footer-bottom a:hover { color: #ff9db4; }

.about-wrap { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
details.about { font-size: 12px; color: #7d7192; }
details.about summary {
  cursor: pointer; font-size: 12px; color: #9b90b0; display: inline-block;
  list-style: none;
}
details.about summary::-webkit-details-marker { display: none; }
details.about summary:hover, details.about summary:focus-visible { color: #ff9db4; outline: none; }
.about-body { margin-top: 10px; max-width: 720px; line-height: 1.9; }
.about-body p { margin-bottom: 8px; }
.about-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.about-links a { color: #b6a9cc; }
.about-links a:hover { color: #ff9db4; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-copy h1 { font-size: 30px; }
  .poster-grid { grid-template-columns: repeat(4, 1fr); }
  .down-grid { grid-template-columns: 1fr; }
  .down-pic { max-width: 340px; margin: 0 auto; }
  .comment-grid, .vip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { padding-bottom: 86px; }
  .menu-toggle { display: inline-block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; box-shadow: 0 18px 30px -22px rgba(0,0,0,.5);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 10px 12px; font-size: 15px; }
  .header-bar { position: relative; }

  .hero { padding-top: 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy h1 { font-size: 25px; }
  .hero-lead { font-size: 15px; }
  .slider-frame { aspect-ratio: 4 / 3; }
  .dl-btn { padding: 10px 14px; font-size: 13px; }

  h2 { font-size: 21px; }
  section { padding: 38px 0; }

  .magic-list, .faq-grid, .safe-cols { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .comment-grid, .vip-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 18px; }
  .float-dl { bottom: 10px; padding: 8px 10px; }
  .float-dl img { width: 32px; height: 32px; }
  .float-dl a { padding: 8px 13px; font-size: 12px; }
  .float-text b { font-size: 12px; }
}