:root {
  --ink: #1a1a24;
  --paper: #f7f4ef;
  --accent: #e63946;
  --accent-2: #f4a261;
  --teal: #2a9d8f;
  --purple: #6d597a;
  --sun: #ffb703;
  --line: #e2ddd5;
  --muted: #6b6b78;
  --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", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,244,239,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 12px 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.brand img { height: 34px; width: auto; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav-links a {
  padding: 7px 12px; border-radius: 999px; font-size: 14px; color: #4a4a58;
  transition: background .25s, color .25s, transform .25s;
}
.nav-links a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.mobile-toggle {
  display: none; margin-left: auto; background: var(--ink); color: #fff;
  border: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 34px 0 0;
  background:
    radial-gradient(900px 420px at 15% 0%, #ffe4d6 0%, transparent 62%),
    radial-gradient(800px 460px at 88% 12%, #e0f2ef 0%, transparent 58%),
    linear-gradient(180deg, #fdf9f4 0%, #f7f4ef 100%);
}
.hero-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.28; letter-spacing: .4px;
  margin-bottom: 16px;
}
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-lead { color: #4d4d5c; font-size: 16px; margin-bottom: 10px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.hero-points span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: #55525f;
}
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: transform .25s, background .25s, color .25s;
}
.dl-btn:hover { transform: translateY(-3px); background: var(--accent); border-color: var(--accent); }
.dl-btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.dl-btn.ghost:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-visual figure {
  border-radius: 16px; overflow: hidden; position: relative;
  border: 1px solid #fff; box-shadow: 0 16px 32px rgba(34,28,22,.11);
  background: #ddd7cf;
}
.hero-visual figure:nth-child(1) { transform: rotate(-2deg); }
.hero-visual figure:nth-child(2) { transform: translateY(20px) rotate(1.5deg); }
.hero-visual figure:nth-child(3) { transform: translateY(-12px) rotate(1.2deg); }
.hero-visual figure:nth-child(4) { transform: rotate(-1.4deg); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }

/* marquee */
.marquee {
  margin-top: 34px; overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 12px 0; background: #fffdfa;
}
.marquee-track { display: inline-block; animation: slide 34s linear infinite; }
.marquee-track span {
  margin-right: 34px; font-size: 15px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(92deg, #e63946, #ff8f1f 40%, #2a9d8f 72%, #6d597a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section shell ---------- */
section { padding: 62px 0; }
.sec-head { margin-bottom: 30px; }
.sec-head .kicker {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.sec-head h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 8px 0 8px; line-height: 1.35; }
.sec-head p { color: var(--muted); max-width: 720px; font-size: 15px; }

/* 真人短剧 */
#real { background: #fff8f1; }
.poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.poster-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #f0e5da; box-shadow: 0 10px 22px rgba(180,140,110,.10);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.poster-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(180,140,110,.20); }
.poster-card figure { background: #efe6dc; }
.poster-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.poster-body { padding: 12px 13px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.poster-body h3 { font-size: 15px; line-height: 1.4; }
.poster-body p { font-size: 13px; color: #6f6a64; }
.tag-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-size: 11px; padding: 2px 9px; border-radius: 999px; background: #fbe9df; color: #b5522e; }
.date { font-size: 12px; color: #99938c; }

/* 完结魔改剧 */
#magic { background: #101720; color: #e8eef4; }
#magic .sec-head h2 { color: #fff; }
#magic .sec-head p { color: #9fb0c0; }
#magic .sec-head .kicker { color: var(--sun); }
.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 32px; align-items: start; }
.split.reverse { grid-template-columns: 1.18fr .82fr; }
.split-figure { border-radius: 20px; overflow: hidden; border: 1px solid #24303d; background: #1a232e; }
.split-figure img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.list-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.list-cards article {
  background: #18212b; border: 1px solid #24303d; border-radius: 14px; padding: 14px;
  transition: border-color .25s, transform .25s;
}
.list-cards article:hover { border-color: var(--sun); transform: translateY(-3px); }
.list-cards h3 { font-size: 14px; color: #fff; margin-bottom: 5px; }
.list-cards p { font-size: 13px; color: #98a9b9; }

/* 热播榜 */
#rank { background: linear-gradient(180deg, #f4f7f5 0%, #eef4f1 100%); }
.rank-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rank-item {
  display: flex; gap: 14px; align-items: center; background: #fff;
  border-radius: 14px; padding: 10px; border: 1px solid #e3ece8;
}
.rank-item img { width: 64px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; }
.rank-no {
  font-size: 22px; font-weight: 900; color: var(--teal); width: 32px; flex: none; text-align: center;
}
.rank-info h3 { font-size: 15px; margin-bottom: 3px; }
.rank-info p { font-size: 12.5px; color: #6f7a76; }
.rank-info .tag-line { margin-top: 6px; }

/* 时间轴 */
#timeline { background: #0f1216; color: #eceff3; }
#timeline .sec-head h2 { color: #fff; }
#timeline .sec-head p { color: #95a0ad; }
#timeline .sec-head .kicker { color: var(--accent-2); }
.timeline { position: relative; padding-left: 26px; display: grid; gap: 18px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--purple), transparent);
}
.tl-item { position: relative; background: #171d24; border: 1px solid #232c36; border-radius: 14px; padding: 14px 16px; }
.tl-item::before {
  content: ""; position: absolute; left: -25px; top: 20px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(244,162,97,.15);
}
.tl-time { font-size: 13px; font-weight: 800; color: var(--accent-2); letter-spacing: 1px; }
.tl-item h3 { font-size: 15px; margin: 4px 0 4px; color: #fff; }
.tl-item p { font-size: 13.5px; color: #9aa6b3; }

/* 热门点评 */
#reviews { background: #fff5f7; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  background: #fff; border-radius: 16px; padding: 16px; border: 1px solid #f6dfe4;
  transition: transform .25s;
}
.review:hover { transform: translateY(-4px); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #f3e3e6; }
.review-head strong { font-size: 14px; display: block; }
.review-head span { font-size: 11.5px; color: #a08b90; }
.review p { font-size: 13.5px; color: #5d5458; }

/* 会员权益 */
#vip { background: linear-gradient(180deg, #2d2418 0%, #40311f 100%); color: #f7eddd; }
#vip .sec-head h2 { color: #ffe9c4; }
#vip .sec-head p { color: #cbb79a; }
#vip .sec-head .kicker { color: #ffd48a; }
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vip-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,214,140,.25);
  border-radius: 16px; padding: 18px;
}
.vip-card h3 { font-size: 15px; color: #ffd894; margin-bottom: 6px; }
.vip-card p { font-size: 13.5px; color: #ddcdb4; }

/* 隐私安全 */
#privacy { background: #eef3f9; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.privacy-item {
  display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 14px;
  border: 1px solid #dde7f2; align-items: flex-start;
}
.privacy-item b {
  flex: none; width: 30px; height: 30px; border-radius: 9px; background: #dbe8f8;
  color: #2f5f97; display: grid; place-items: center; font-size: 14px;
}
.privacy-item h3 { font-size: 14.5px; margin-bottom: 3px; }
.privacy-item p { font-size: 13px; color: #5f6b7a; }

/* 意见反馈 / 未成年 */
#feedback { background: #fdf9e9; }
.fb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fb-card { background: #fff; border: 1px solid #efe6c6; border-radius: 14px; padding: 16px; }
.fb-card h3 { font-size: 15px; margin-bottom: 6px; color: #7a5d15; }
.fb-card p { font-size: 13.5px; color: #6d6551; }
#minor { background: #eaf5ee; }
.minor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.minor-list article { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid #cfe6d8; }
.minor-list h3 { font-size: 14.5px; color: #2a6b48; margin-bottom: 5px; }
.minor-list p { font-size: 13.5px; color: #52705f; }

/* FAQ */
#faq { background: #f6f2fb; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid #e7ddf4; }
.faq-item h3 { font-size: 14.5px; color: #4c3a70; margin-bottom: 6px; }
.faq-item p { font-size: 13.5px; color: #645c75; }

/* 下载专区 */
#download { background: #131417; color: #f2f2f4; }
#download .sec-head h2 { color: #fff; }
#download .sec-head p { color: #a3a7b3; }
#download .sec-head .kicker { color: #8fb8ff; }
.dl-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.dl-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-device {
  background: #1c1e23; border: 1px solid #2b2e36; border-radius: 14px; padding: 16px;
}
.dl-device h3 { font-size: 15px; color: #fff; margin-bottom: 4px; }
.dl-device p { font-size: 12.5px; color: #9298a6; margin-bottom: 10px; }
.dl-device a {
  display: inline-block; font-size: 13px; font-weight: 700; padding: 7px 16px;
  border-radius: 999px; background: #8fb8ff; color: #10131a;
}
.dl-device a:hover { background: #fff; }
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 12px; align-items: flex-start; background: #1a1c21; border-radius: 14px; padding: 14px; border: 1px solid #292c33; }
.step b {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: #8fb8ff; color: #10131a;
  display: grid; place-items: center; font-size: 13px;
}
.step h3 { font-size: 14px; color: #fff; margin-bottom: 2px; }
.step p { font-size: 13px; color: #9aa0ad; }

/* footer */
.site-footer {
  background: #0c0d10; color: #8b8f99; padding: 34px 0 90px;
  font-size: 12.5px; border-top: 1px solid #1d1f24;
}
.footer-top { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; margin-bottom: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #d5d8de; font-size: 15px; }
.footer-brand img { height: 28px; border-radius: 7px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1a1c21; padding-top: 14px; display: grid; gap: 6px; line-height: 1.8; }
.footer-bottom a { color: #8b8f99; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom time { font-size: 12px; }

/* floating download */
.float-dl {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 80; display: flex; align-items: center; gap: 10px;
  background: rgba(19,20,23,.94); color: #fff; border: 1px solid #34363d;
  border-radius: 999px; padding: 8px 16px 8px 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  max-width: 94vw;
}
.float-dl img.lg { height: 34px; border-radius: 9px; flex: none; }
.float-dl .fd-text { font-size: 12.5px; line-height: 1.35; }
.float-dl .fd-text strong { display: block; font-size: 13px; }
.float-dl .fd-text span { color: #a9adb8; }
.float-dl a {
  flex: none; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px;
}
.float-dl a:hover { background: var(--sun); color: #16171a; }

/* copy modal */
.copy-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 120;
  display: none; place-items: center; padding: 20px;
}
.copy-mask.on { display: grid; }
.copy-box {
  background: #fff; color: #1c1c22; border-radius: 18px; padding: 24px; max-width: 420px;
  width: 100%; text-align: center;
}
.copy-box p { font-size: 14px; margin-bottom: 14px; color: #4a4a58; }
.copy-box .link {
  word-break: break-all; background: #f5f2ee; border-radius: 10px; padding: 10px;
  font-size: 13px; color: #b5522e; margin-bottom: 14px;
}
.copy-box button {
  border: none; background: var(--ink); color: #fff; padding: 10px 24px;
  border-radius: 999px; font-size: 14px; cursor: pointer; font-weight: 600;
}
.copy-box small { display: block; margin-top: 10px; color: #99938c; font-size: 11.5px; }

@media (max-width: 1024px) {
  .hero-top { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .dl-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 42px 0; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; gap: 2px; margin-top: 10px;
    background: #fff; border-radius: 14px; padding: 8px; border: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-block; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rank-wrap, .privacy-grid, .fb-grid, .minor-list, .faq-grid, .list-cards, .dl-panel { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .hero-visual { gap: 8px; }
  .hero-visual figure:nth-child(n) { transform: none; }
  .float-dl { bottom: 10px; padding: 7px 12px 7px 7px; gap: 8px; }
  .float-dl .fd-text span { display: none; }
  .float-dl a { padding: 7px 12px; font-size: 12.5px; }
  .site-footer { padding-bottom: 96px; }
}