:root{
  --ink:#16121f;
  --ink-soft:#4a4257;
  --paper:#fdf8f3;
  --candy:#ff2f6d;
  --candy-2:#ff7a1a;
  --violet:#6d2bd4;
  --violet-2:#2b1460;
  --mint:#0fb59a;
  --night:#100a1e;
  --night-2:#1c1233;
  --line:rgba(22,18,31,.12);
  --radius:18px;
  --shadow:0 14px 34px rgba(31,17,55,.14);
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{margin:0;line-height:1.3;}
p{margin:0;}
.wrap{width:min(1180px,92%);margin:0 auto;}
.eyebrow{
  display:inline-block;font-size:12px;letter-spacing:.24em;
  padding:5px 12px;border-radius:999px;font-weight:700;
}

/* ============ 头部导航 ============ */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(16,10,30,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;align-items:center;gap:16px;
  min-height:60px;
}
.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:16px;flex:0 0 auto;}
.brand img{height:32px;width:32px;border-radius:9px;object-fit:cover;}
.nav-toggle{
  margin-left:auto;display:none;
  background:linear-gradient(135deg,var(--candy),var(--candy-2));
  color:#fff;border:0;border-radius:10px;padding:8px 14px;
  font-size:13px;font-weight:700;cursor:pointer;
}
.nav-links{display:flex;flex-wrap:wrap;gap:4px;margin-left:auto;}
.nav-links a{
  font-size:13px;color:rgba(255,255,255,.76);padding:7px 11px;border-radius:9px;
  transition:.2s;
}
.nav-links a:hover{color:#fff;background:rgba(255,255,255,.09);}

/* ============ 首屏 ============ */
.hero{
  position:relative;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(255,47,109,.42), transparent 62%),
    radial-gradient(900px 520px at 92% 8%, rgba(109,43,212,.55), transparent 60%),
    linear-gradient(160deg,#150b28 0%,#1d0f3a 46%,#2a1046 100%);
  color:#fff;
  padding:52px 0 0;
  overflow:hidden;
}
.hero::after{
  content:"";position:absolute;inset:auto 0 0 0;height:130px;
  background:linear-gradient(to top,var(--paper),transparent);
  pointer-events:none;
}
.hero-grid{
  display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;
  position:relative;z-index:2;
}
.hero-copy h1{
  font-size:clamp(28px,4.1vw,50px);
  font-weight:900;letter-spacing:-.5px;
  margin:14px 0 18px;
}
.hero-copy h1 em{
  font-style:normal;
  background:linear-gradient(100deg,#ffd166,#ff5f7e 45%,#b07bff);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-copy .lead{
  color:rgba(255,255,255,.82);font-size:15.5px;max-width:46ch;
}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 24px;}
.hero-tags span{
  font-size:12.5px;padding:6px 13px;border-radius:999px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);
  color:#fff;
}
.dl-row{display:flex;flex-wrap:wrap;gap:10px;}
.dl-btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 20px;border-radius:13px;font-size:14px;font-weight:800;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);color:#fff;
  transition:transform .2s, box-shadow .2s;
}
.dl-btn:hover{transform:translateY(-2px);}
.dl-btn.primary{
  background:linear-gradient(120deg,var(--candy),var(--candy-2));
  border-color:transparent;box-shadow:0 12px 26px rgba(255,47,109,.36);
}
.dl-btn .ico{font-size:15px;}

/* 首屏轮播 */
.hero-stage{position:relative;min-height:420px;}
.stage-frame{
  position:relative;border-radius:24px;overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 30px 70px rgba(0,0,0,.5);
  aspect-ratio:3/4;max-height:470px;background:#1a1030;
}
.stage-slide{position:absolute;inset:0;opacity:0;transform:scale(1.05);transition:opacity .8s ease, transform 1.4s ease;}
.stage-slide.active{opacity:1;transform:scale(1);}
.stage-slide img{width:100%;height:100%;object-fit:cover;}
.stage-cap{
  position:absolute;left:0;right:0;bottom:0;padding:38px 18px 16px;
  background:linear-gradient(to top,rgba(10,6,20,.92),transparent);
  font-size:13px;font-weight:700;
}
.stage-cap b{display:block;font-size:17px;margin-bottom:3px;}
.stage-cap small{color:rgba(255,255,255,.68);font-weight:500;}
.stage-dots{
  position:absolute;right:14px;top:14px;display:flex;flex-direction:column;gap:6px;z-index:4;
}
.stage-dots button{
  width:7px;height:7px;border-radius:50%;border:0;padding:0;cursor:pointer;
  background:rgba(255,255,255,.35);
}
.stage-dots button.on{background:#fff;height:18px;border-radius:4px;}

/* 跑马灯 */
.marquee{
  position:relative;z-index:3;margin-top:44px;
  border-top:1px solid rgba(255,255,255,.14);
  border-bottom:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.25);
  overflow:hidden;white-space:nowrap;
  padding:12px 0;
}
.marquee-track{display:inline-flex;gap:34px;animation:scrollLeft 30s linear infinite;}
.marquee-track span{
  font-size:14px;font-weight:800;letter-spacing:.04em;
  background:linear-gradient(92deg,#ffd166,#ff4f8b,#7b6bff,#37e0c4);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
@keyframes scrollLeft{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* ============ 通用区块 ============ */
.section{padding:64px 0;}
.section-head{margin-bottom:30px;max-width:720px;}
.section-head h2{font-size:clamp(22px,2.7vw,32px);font-weight:900;letter-spacing:-.3px;}
.section-head p{margin-top:10px;color:var(--ink-soft);font-size:14.5px;}
.sec-tag{
  display:inline-block;font-size:12px;font-weight:800;letter-spacing:.16em;
  padding:4px 11px;border-radius:999px;margin-bottom:12px;
}

/* 今日上新 */
.sec-new{background:#fff4ec;}
.sec-new .sec-tag{background:#ffe0d2;color:#b23c12;}
.new-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(196px,1fr));gap:18px;
}
.new-card{
  background:#fff;border-radius:16px;overflow:hidden;
  border:1px solid #f2ddd0;
  box-shadow:0 8px 20px rgba(178,60,18,.07);
  transition:transform .22s;
}
.new-card:hover{transform:translateY(-4px);}
.new-card .thumb{aspect-ratio:3/4;overflow:hidden;background:#f3e3d8;position:relative;}
.new-card .thumb img{width:100%;height:100%;object-fit:cover;}
.new-card .badge{
  position:absolute;left:9px;top:9px;font-size:11px;font-weight:800;
  padding:3px 9px;border-radius:999px;color:#fff;
  background:linear-gradient(120deg,var(--candy),var(--candy-2));
}
.new-card .body{padding:12px 13px 15px;}
.new-card h3{font-size:14.5px;font-weight:800;margin-bottom:5px;}
.new-card .meta{font-size:11.5px;color:#8a7365;}
.new-card .tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px;}
.new-card .tags i{
  font-style:normal;font-size:10.5px;padding:2px 7px;border-radius:6px;
  background:#fff1e8;color:#b0501f;
}
.new-card .desc{font-size:12px;color:#7a6559;margin-top:8px;line-height:1.55;}

/* 午夜小剧场 */
.sec-night{
  background:linear-gradient(170deg,#0e0819,#1b0e33 55%,#0f0a1d);
  color:#eae4f7;
}
.sec-night .sec-tag{background:rgba(140,90,255,.2);color:#c5a9ff;}
.sec-night .section-head p{color:rgba(234,228,247,.66);}
.timeline{
  position:relative;padding-left:26px;
  border-left:1px dashed rgba(180,140,255,.34);
  display:grid;gap:16px;
}
.tl-item{
  position:relative;display:grid;grid-template-columns:78px 1fr;gap:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;padding:14px 16px;
}
.tl-item::before{
  content:"";position:absolute;left:-33px;top:20px;
  width:11px;height:11px;border-radius:50%;
  background:linear-gradient(135deg,#c07bff,#ff5f8f);
  box-shadow:0 0 0 4px rgba(155,95,255,.15);
}
.tl-time{
  font-size:14px;font-weight:900;letter-spacing:.04em;
  color:#ffcf7a;
}
.tl-item h3{font-size:15px;font-weight:800;margin-bottom:4px;color:#fff;}
.tl-item p{font-size:12.8px;color:rgba(234,228,247,.66);}

/* 魔改剧库 */
.sec-lib{background:#eef7f4;}
.sec-lib .sec-tag{background:#d4efe7;color:#07705c;}
.lib-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:34px;align-items:start;}
.lib-poster{
  position:relative;border-radius:20px;overflow:hidden;
  box-shadow:var(--shadow);aspect-ratio:3/4;background:#dfeae7;
}
.lib-poster img{width:100%;height:100%;object-fit:cover;}
.lib-poster .cap{
  position:absolute;inset:auto 0 0 0;padding:34px 16px 16px;
  background:linear-gradient(to top,rgba(4,40,33,.9),transparent);
  color:#fff;font-size:13px;
}
.lib-poster .cap b{display:block;font-size:17px;margin-bottom:4px;}
.lib-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.lib-row{
  display:flex;gap:12px;align-items:flex-start;
  background:#fff;border-radius:13px;padding:12px 14px;
  border:1px solid #d9ece6;
}
.lib-row .no{
  flex:0 0 auto;font-size:12px;font-weight:900;color:#0b8f74;
  width:22px;
}
.lib-row h3{font-size:13.8px;font-weight:800;margin-bottom:3px;}
.lib-row p{font-size:12px;color:#557a71;line-height:1.5;}

/* 二创坊 */
.sec-fan{background:#fff9e9;}
.sec-fan .sec-tag{background:#ffeec0;color:#8a5a00;}
.fan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;}
.fan-card{
  border-radius:16px;padding:18px;background:#fff;
  border:1px dashed #f0d69a;
  display:flex;gap:13px;align-items:flex-start;
}
.fan-card .avatar{
  width:38px;height:38px;border-radius:10px;object-fit:cover;flex:0 0 auto;
}
.fan-card h3{font-size:14px;font-weight:800;margin-bottom:5px;}
.fan-card p{font-size:12.5px;color:#7d6a3f;line-height:1.6;}
.fan-card .who{font-size:11.5px;color:#a08b5c;margin-top:7px;}

/* 神评 */
.sec-talk{background:#1a1030;color:#eee6ff;}
.sec-talk .sec-tag{background:rgba(255,47,109,.18);color:#ff9ebb;}
.sec-talk .section-head p{color:rgba(238,230,255,.64);}
.talk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;}
.talk-card{
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;padding:16px;
}
.talk-card .top{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.talk-card .top img{width:32px;height:32px;border-radius:50%;object-fit:cover;}
.talk-card .top b{font-size:13px;display:block;}
.talk-card .top small{font-size:11px;color:rgba(238,230,255,.5);}
.talk-card p{font-size:13px;color:rgba(238,230,255,.86);line-height:1.7;}
.talk-card .re{
  margin-top:10px;font-size:12px;color:#ffb8cd;
  border-left:2px solid rgba(255,47,109,.5);padding-left:9px;
}

/* 金句墙 */
.sec-quote{background:#fdf3f7;}
.sec-quote .sec-tag{background:#ffdde9;color:#b3285c;}
.quote-wall{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;}
.quote-cell{
  background:#fff;border-radius:14px;padding:17px 18px;
  border-left:4px solid var(--candy);
  box-shadow:0 6px 16px rgba(179,40,92,.07);
}
.quote-cell p{font-size:13.5px;color:#5b3b48;line-height:1.75;}
.quote-cell small{display:block;margin-top:9px;font-size:11.5px;color:#b3285c;font-weight:700;}

/* 隐私安全 & 常见问题 */
.sec-safe{background:#eef1fb;}
.sec-safe .sec-tag{background:#dde3fb;color:#33429c;}
.safe-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:start;}
.safe-card{
  background:#fff;border-radius:18px;padding:22px;border:1px solid #dde3fb;
}
.safe-card h3{font-size:16px;font-weight:900;margin-bottom:12px;}
.safe-card ul{margin:0;padding-left:18px;color:#4d5480;font-size:13px;}
.safe-card li{margin-bottom:8px;}
.faq-list{display:grid;gap:10px;}
.faq-item{
  background:#fff;border:1px solid #dde3fb;border-radius:13px;padding:14px 16px;
}
.faq-item h3{
  font-size:13.8px;font-weight:800;color:#2b3579;margin-bottom:6px;
  display:flex;gap:8px;align-items:flex-start;
}
.faq-item h3 span{color:#5c6bd8;font-weight:900;}
.faq-item p{font-size:12.5px;color:#59608c;line-height:1.65;}

/* 客户端下载 & 安装步骤 */
.sec-dl{
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(255,47,109,.28), transparent 60%),
    linear-gradient(160deg,#1b0f33,#2a1046 60%,#12091f);
  color:#fff;
}
.sec-dl .section-head p{color:rgba(255,255,255,.7);}
.steps{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;
  margin-bottom:30px;
}
.step{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);
  border-radius:15px;padding:16px 17px;
}
.step b{display:block;font-size:13px;color:#ffcf7a;margin-bottom:6px;letter-spacing:.1em;}
.step p{font-size:12.8px;color:rgba(255,255,255,.78);line-height:1.65;}
.dl-panel{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);
  border-radius:20px;padding:24px;
  display:flex;flex-wrap:wrap;gap:15px;align-items:center;justify-content:space-between;
}
.dl-panel .txt{min-width:200px;flex:1;}
.dl-panel .txt b{display:block;font-size:17px;margin-bottom:5px;}
.dl-panel .txt span{font-size:12.8px;color:rgba(255,255,255,.66);}

/* 页脚 */
.site-footer{
  background:#0b0714;color:rgba(255,255,255,.58);
  padding:34px 0 86px;
  font-size:12.5px;
  border-top:1px solid rgba(255,255,255,.07);
}
.footer-top{
  display:flex;flex-wrap:wrap;gap:22px;justify-content:space-between;
  padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.07);
}
.footer-brand{display:flex;gap:10px;align-items:center;color:#fff;font-weight:800;font-size:14px;}
.footer-brand img{height:28px;width:28px;border-radius:8px;object-fit:cover;}
.footer-nav{display:flex;flex-wrap:wrap;gap:14px;}
.footer-nav a{font-size:12.5px;color:rgba(255,255,255,.62);}
.footer-nav a:hover{color:#fff;}
.footer-bottom{padding-top:16px;display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:space-between;}
.footer-bottom p{line-height:1.7;}
.footer-bottom a{color:rgba(255,255,255,.6);}
.footer-bottom a:hover{color:#fff;}
.footer-time{color:rgba(255,255,255,.4);}

/* 浮动下载 */
.float-dl{
  position:fixed;left:50%;transform:translateX(-50%);
  bottom:18px;z-index:80;
  display:flex;align-items:center;gap:10px;
  padding:9px 16px 9px 9px;border-radius:999px;
  background:rgba(22,12,40,.94);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 14px 34px rgba(0,0,0,.34);
  color:#fff;font-size:13px;font-weight:800;
  backdrop-filter:blur(8px);
  white-space:nowrap;
}
.float-dl img{height:30px;width:30px;border-radius:50%;object-fit:cover;}
.float-dl .go{
  background:linear-gradient(120deg,var(--candy),var(--candy-2));
  padding:5px 12px;border-radius:999px;font-size:12px;
}

/* 复制提示弹框 */
.copy-modal{
  position:fixed;inset:0;z-index:120;display:none;
  background:rgba(8,4,16,.6);
  align-items:center;justify-content:center;padding:20px;
}
.copy-modal.show{display:flex;}
.copy-box{
  background:#fff;color:var(--ink);border-radius:18px;
  padding:22px;width:min(400px,100%);
  box-shadow:0 24px 60px rgba(0,0,0,.4);
}
.copy-box h3{font-size:15px;font-weight:900;margin-bottom:10px;color:#b3285c;}
.copy-box p{font-size:13px;color:#5b5468;margin-bottom:12px;}
.copy-box .link-box{
  background:#f6f2fb;border:1px dashed #cdbdf0;border-radius:10px;
  padding:10px 12px;font-size:12px;word-break:break-all;color:#3a2c60;
  margin-bottom:14px;
}
.copy-box .acts{display:flex;gap:10px;}
.copy-box button{
  flex:1;border:0;border-radius:11px;padding:11px;font-size:13.5px;font-weight:800;
  cursor:pointer;font-family:inherit;
}
.copy-box .do{background:linear-gradient(120deg,var(--candy),var(--candy-2));color:#fff;}
.copy-box .cancel{background:#eee9f5;color:#4a4257;}

/* ============ 响应式 ============ */
@media (max-width:1024px){
  .hero-grid{grid-template-columns:1fr;gap:28px;}
  .hero-stage{min-height:0;max-width:360px;margin:0 auto;}
  .lib-layout{grid-template-columns:1fr;gap:22px;}
  .lib-poster{max-width:340px;margin:0 auto;}
  .safe-layout{grid-template-columns:1fr;gap:22px;}
  .section{padding:52px 0;}
}
@media (max-width:768px){
  .nav-toggle{display:inline-block;}
  .nav-links{
    display:none;width:100%;flex-direction:column;gap:2px;
    margin:0 0 12px;padding-top:8px;border-top:1px solid rgba(255,255,255,.1);
  }
  .nav-links.open{display:flex;}
  .nav-links a{padding:9px 6px;font-size:13px;}
  .header-inner{flex-wrap:wrap;padding:8px 0;}
  .hero{padding-top:34px;}
  .hero-copy h1{font-size:27px;letter-spacing:0;}
  .hero-stage{max-width:300px;}
  .stage-frame{max-height:380px;}
  .new-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .new-card h3{font-size:13px;}
  .new-card .desc{font-size:11.5px;}
  .lib-list{grid-template-columns:1fr;}
  .tl-item{grid-template-columns:64px 1fr;gap:10px;padding:12px;}
  .tl-item h3{font-size:14px;}
  .timeline{padding-left:20px;}
  .tl-item::before{left:-27px;}
  .marquee-track span{font-size:12.5px;}
  .dl-panel{padding:18px;flex-direction:column;align-items:stretch;}
  .dl-panel .dl-row{justify-content:flex-start;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
  .float-dl{font-size:12px;padding:7px 13px 7px 7px;bottom:12px;}
  .float-dl img{height:26px;width:26px;}
}
@media (max-width:400px){
  .new-grid{grid-template-columns:1fr;}
}