/* ═══════════ W岛 二次元产品展示页 ═══════════ */
:root{
  --pink:#ff7eb3; --pink-soft:#ffd6e7; --blue:#8ec5ff; --purple:#b28dff;
  --ink:#3d2c3f; --ink-soft:#8a6f8e; --paper:#fff7fb;
  --pill:#0b0b10; --green:#4ade80;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:linear-gradient(180deg,#ffeef6 0%,#fef0ff 30%,#e8f2ff 70%,#f3ecff 100%);
  overflow-x:hidden;
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5 3 L19 12 L12 13.5 L15 20 L12.5 21 L9.7 14.7 L5 18 Z' fill='%23ff7eb3' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 3 3, auto;
}
button,a{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Cpath d='M5 3 L19 12 L12 13.5 L15 20 L12.5 21 L9.7 14.7 L5 18 Z' fill='%23b28dff' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 3 3, pointer}
::selection{background:var(--pink-soft)}
#sakura{position:fixed;inset:0;pointer-events:none;z-index:50}

/* ═══ HERO ═══ */
.hero{position:relative;padding:64px 6vw 90px;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;
  background:url("assets/wallpaper.png") center/cover;
  opacity:.32;filter:saturate(1.15);mask-image:linear-gradient(180deg,#000 60%,transparent)}
.hero-inner{position:relative;max-width:1150px;margin:0 auto;display:flex;align-items:center;gap:3vw;z-index:1}
.hero-copy{flex:1.2;min-width:0}
.hero-badge{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}
.ver-chip,.free-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 16px;border-radius:999px;
  font-size:13px;font-weight:700;background:rgba(255,255,255,.75);border:1.5px solid #ffc9df;color:#c2557f;
  box-shadow:0 4px 14px rgba(255,126,179,.18);backdrop-filter:blur(6px)}
.free-chip{border-color:#cdb4ff;color:#7a4fd0}
.ver-chip .dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 8px var(--green);animation:breath 2.2s infinite}
@keyframes breath{50%{opacity:.45;transform:scale(.8)}}
.hero-title{font-size:clamp(44px,6vw,74px);line-height:1.05;letter-spacing:2px}
.t-w{background:linear-gradient(135deg,#ff7eb3,#b28dff 60%,#8ec5ff);-webkit-background-clip:text;background-clip:text;color:transparent;font-style:italic;font-weight:900;
  filter:drop-shadow(0 4px 0 rgba(255,255,255,.9)) drop-shadow(0 10px 22px rgba(178,141,255,.35))}
.t-dao{color:var(--ink);font-weight:900;text-shadow:0 4px 0 #fff,0 10px 24px rgba(61,44,63,.18)}
.hero-slogan{margin:22px 0 30px;font-size:clamp(18px,2.2vw,24px);line-height:1.9;color:var(--ink-soft);font-weight:700;letter-spacing:2px}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:10px;padding:14px 30px;border-radius:999px;font-size:16px;font-weight:800;
  text-decoration:none;border:none;transition:transform .18s cubic-bezier(.34,1.56,.64,1),box-shadow .18s;position:relative;overflow:hidden;font-family:inherit}
.btn:hover{transform:translateY(-3px) scale(1.03)}
.btn:active{transform:scale(.96)}
.btn-primary{background:linear-gradient(135deg,#ff8fb8,#b28dff);color:#fff;box-shadow:0 10px 26px rgba(255,126,179,.42)}
.btn-primary:hover{box-shadow:0 16px 34px rgba(178,141,255,.5)}
.btn-primary .btn-ico{transition:transform .2s}
.btn-primary:hover .btn-ico{transform:translateY(3px)}
.btn-ghost{background:rgba(255,255,255,.8);color:#a3559e;border:2px solid #ffd3e8;box-shadow:0 8px 20px rgba(255,170,210,.25)}
.btn.big{padding:17px 42px;font-size:18px}
.ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.6);transform:scale(0);animation:rip .55s ease-out forwards;pointer-events:none}
@keyframes rip{to{transform:scale(3);opacity:0}}
.hero-meta{margin-top:18px;font-size:12.5px;color:#b18fb6;letter-spacing:1px}

/* 看板娘 */
.hero-mascot{flex:.9;position:relative;display:flex;justify-content:center}
.hero-mascot img{width:min(340px,32vw);filter:drop-shadow(0 18px 30px rgba(178,141,255,.35));
  animation:sway 4.5s ease-in-out infinite;transform-origin:50% 90%;user-select:none;-webkit-user-drag:none}
@keyframes sway{0%,100%{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg) translateY(-6px)}}
.hero-mascot img.jump{animation:jump .6s cubic-bezier(.34,1.56,.64,1)}
@keyframes jump{30%{transform:translateY(-26px) rotate(-5deg) scale(1.05)}60%{transform:translateY(0) rotate(3deg)}}
.bubble{position:absolute;top:-6px;right:6%;background:#fff;border:2.5px solid #ffc9df;border-radius:18px 18px 18px 4px;
  padding:12px 18px;font-size:14px;font-weight:700;color:#c2557f;box-shadow:0 8px 20px rgba(255,126,179,.25);
  max-width:240px;animation:bub 3s ease-in-out infinite;z-index:2}
@keyframes bub{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.wave-sep{position:relative;margin-top:40px;line-height:0}
.wave-sep svg{width:100%;height:80px;display:block}

/* ═══ 通用 section ═══ */
.section{max-width:1150px;margin:0 auto;padding:70px 6vw 30px;text-align:center}
.sec-title{font-size:clamp(26px,3.4vw,38px);font-weight:900;letter-spacing:2px;
  text-shadow:0 3px 0 #fff,0 8px 20px rgba(255,126,179,.25)}

/* ═══ 灵动岛实时预览（与管理后台皮肤预览完全同款） ═══ */
.pv-card{max-width:980px;margin:0 auto;background:#161618;border:1px solid rgba(255,255,255,0.07);
  border-radius:16px;padding:20px 22px;box-shadow:0 24px 60px rgba(20,10,35,.4)}
.pv-h2{font-size:15px;margin-bottom:14px;color:#fff}
.pv-tabs{display:flex;gap:8px;margin-bottom:14px}
.pv-tab{background:rgba(255,255,255,0.08);border:none;border-radius:8px;padding:7px 16px;font-size:12.5px;
  color:#f5f5f7;cursor:pointer;font-family:inherit;transition:.15s}
.pv-tab:hover{background:rgba(255,255,255,0.16)}
.pv-tab.on{background:#f5f5f7;color:#111;font-weight:600}
#pvStage{
  background:#08080a;border-radius:14px;padding:40px 20px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:280px;
  background-image:radial-gradient(circle at 30% 15%, rgba(120,130,160,0.10), transparent 55%);
}
.pv-row{display:flex;align-items:center;justify-content:center;width:100%}
.pv-pill{
  border-radius:22px;overflow:hidden;position:relative;
  box-shadow:0 8px 26px rgba(0,0,0,0.45);
  background-size:cover;background-position:center;background-color:#0b0b0d;
}
.pv-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pv-scrim{position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,0.30), rgba(0,0,0,0.34))}
.pv-collapsed{width:190px;height:38px}
.pv-dot-right{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:9px;height:9px;border-radius:50%;background:#30d158;box-shadow:0 0 8px 1px rgba(48,209,88,0.75);z-index:1}
.pv-playing{width:64px;height:38px;border-radius:19px;display:flex;align-items:center;justify-content:center}
.pv-cover{width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,0.22);position:relative;z-index:1}
.pv-mediaDot{
  width:38px;height:38px;border-radius:50%;margin-left:8px;overflow:hidden;position:relative;
  box-shadow:0 3px 12px rgba(0,0,0,0.32);background-size:cover;background-position:center;background-color:#14141a;
  display:flex;align-items:center;justify-content:center;
}
.pv-eq{display:flex;gap:2.5px;align-items:center;position:relative;z-index:1}
.pv-eq span{width:2.5px;background:#fff;border-radius:1px;animation:pveq 1s ease-in-out infinite}
.pv-eq span:nth-child(1){height:6px}.pv-eq span:nth-child(2){height:11px;animation-delay:.15s}
.pv-eq span:nth-child(3){height:8px;animation-delay:.3s}.pv-eq span:nth-child(4){height:12px;animation-delay:.45s}
@keyframes pveq{0%,100%{transform:scaleY(0.5)}50%{transform:scaleY(1)}}
.pv-expanded{width:480px;max-width:100%;height:344px;border-radius:24px;padding:16px;box-sizing:border-box}
.pv-content{position:relative;z-index:1;display:flex;flex-direction:column;height:100%}
.pv-song{height:13px;width:46%;border-radius:6px;background:rgba(255,255,255,0.85)}
.pv-artist{height:10px;width:30%;border-radius:5px;background:rgba(255,255,255,0.4);margin-top:9px}
.pv-bar{height:4px;border-radius:2px;background:rgba(255,255,255,0.28);margin-top:auto}
.pv-fill{height:100%;width:38%;border-radius:2px;background:#fff}
.pv-ctrls{display:flex;gap:18px;justify-content:center;align-items:center;margin-top:14px}
.pv-ctrl{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,0.16)}
.pv-ctrl.big{width:44px;height:44px;background:rgba(255,255,255,0.9)}
.pv-empty{color:#636366;font-size:12.5px;text-align:center;padding:40px 0}
.pv-note{font-size:11px;color:#8e8e93;margin-top:10px}

/* ═══ 下载 ═══ */
.dl-card{max-width:640px;margin:0 auto 8px;background:rgba(255,255,255,.82);backdrop-filter:blur(14px);border-radius:26px;
  padding:34px 36px;border:1.5px solid rgba(255,255,255,.95);box-shadow:0 22px 60px rgba(178,141,255,.25);text-align:left}
.dl-ver{display:flex;align-items:center;gap:16px}
.dl-icon{width:58px;height:58px;border-radius:16px;background:#0b0b10;padding:8px;box-shadow:0 8px 20px rgba(0,0,0,.25)}
.dl-vnum{font-size:22px;font-weight:900;background:linear-gradient(135deg,#ff7eb3,#b28dff);-webkit-background-clip:text;background-clip:text;color:transparent}
.dl-vtitle{font-size:13.5px;color:var(--ink-soft);margin-top:3px;font-weight:600}
.dl-badge{margin-left:auto;font-size:11.5px;font-weight:900;padding:6px 14px;border-radius:99px;background:#e8f8ee;color:#1a9c58;border:1.5px solid #b5ecc9;flex:none}
.dl-badge.warn{background:#fff6e8;color:#c07f1a;border-color:#f5dcae}
.dl-badge.err{background:#fdeaf1;color:#c23a6e;border-color:#f3bcd2}
.dl-notes{margin:18px 0 4px;font-size:13.5px;line-height:1.9;color:var(--ink-soft);white-space:pre-line;max-height:150px;overflow-y:auto}
.dl-meta{font-size:11.5px;color:#b9a0bf;margin:8px 0 18px}
.dl-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.dl-status{margin-top:14px;font-size:12px;color:var(--ink-soft);min-height:16px}
.dl-steps{display:flex;gap:14px;justify-content:center;margin-top:30px;flex-wrap:wrap}
.step{background:rgba(255,255,255,.7);border:1.5px dashed #ffc9df;border-radius:16px;padding:12px 20px;font-size:13px;font-weight:700;
  color:#a3559e;display:flex;align-items:center;gap:10px;transition:all .2s}
.step:hover{background:#fff;transform:translateY(-3px);box-shadow:0 8px 20px rgba(255,126,179,.25)}
.step b{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#ff8fb8,#b28dff);color:#fff;
  display:grid;place-items:center;font-size:12px;flex:none}

/* ═══ footer ═══ */
.footer{margin-top:80px;padding:36px 0 44px;text-align:center;color:#a3559e;font-weight:700;font-size:14px;
  background:linear-gradient(180deg,transparent,rgba(255,214,231,.5))}

/* 响应式 */
@media (max-width:900px){
  .hero-inner{flex-direction:column-reverse;text-align:center}
  .hero-badge{justify-content:center}
  .hero-cta{justify-content:center}
  .hero-mascot img{width:min(240px,60vw)}
}
