/* ============ 新时代音乐播放器 官网 ============ */
:root {
  --a1: #1a8cff;
  --a2: #2fd0e6;
  --a3: #0b3fa8;
  --a1-rgb: 26, 140, 255;
  --a2-rgb: 47, 208, 230;
  --bg: #060a16;
  --bg2: #0b1224;
  --line: rgba(150, 180, 255, .12);
  --text: #e9eefb;
  --text2: #a7b3cc;
  --text3: #6e7a94;
  --glass: rgba(20, 30, 58, .45);
  --radius: 22px;
  --font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "HarmonyOS Sans SC", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: --a1 .6s;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.grad {
  background: linear-gradient(100deg, var(--a2), var(--a1) 55%, #8a7dff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
::selection { background: rgba(var(--a1-rgb), .45); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: rgba(140, 160, 210, .22); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: var(--bg); }

/* ---------- 背景 ---------- */
#waves { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: float 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(var(--a1-rgb), .9), transparent 65%); }
.aurora i:nth-child(2) { width: 42vw; height: 42vw; right: -12vw; top: 8vh; background: radial-gradient(circle, rgba(var(--a2-rgb), .7), transparent 65%); animation-duration: 28s; }
.aurora i:nth-child(3) { width: 48vw; height: 48vw; left: 25vw; top: 70vh; background: radial-gradient(circle, rgba(110, 80, 255, .45), transparent 65%); animation-duration: 34s; }
@keyframes float { to { transform: translate(6vw, 8vh) scale(1.12); } }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  border-radius: 999px; font-weight: 700; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap; position: relative;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.btn-sm { height: 38px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 16px; }
.btn-xl { height: 64px; padding: 0 40px; font-size: 18px; }
.btn-lg small { display: block; font-size: 12px; font-weight: 400; opacity: .8; margin-top: -2px; }
.btn-lg span { text-align: left; line-height: 1.25; }
.btn-glow {
  color: #fff;
  background: linear-gradient(100deg, var(--a2), var(--a1) 60%, #6b5cff);
  background-size: 160% 100%;
  box-shadow: 0 10px 40px rgba(var(--a1-rgb), .45), inset 0 1px 0 rgba(255,255,255,.35);
  animation: shine 6s ease-in-out infinite;
}
.btn-glow::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
  background: inherit; filter: blur(18px); opacity: .55;
}
.btn-glow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 50px rgba(var(--a1-rgb), .6), inset 0 1px 0 rgba(255,255,255,.35); }
@keyframes shine { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
.btn-ghost { color: var(--text); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(var(--a2-rgb), .7); background: rgba(var(--a2-rgb), .1); transform: translateY(-3px); }

/* ---------- 导航 ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 10, 22, .72); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.nav-in { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: .5px; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 4px 12px rgba(var(--a1-rgb), .5)); }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a { padding: 8px 14px; border-radius: 10px; color: var(--text2); font-size: 15px; transition: color .2s, background .2s; }
.links a:hover, .links a.on { color: #fff; background: rgba(255,255,255,.06); }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.nav.open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { min-height: 100vh; padding-top: 120px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; font-size: 13px; color: var(--text2);
  background: rgba(255,255,255,.05); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: border-color .2s;
}
.pill:hover { border-color: rgba(var(--a2-rgb), .6); }
.pill b { padding: 2px 10px; border-radius: 999px; color: #fff; background: linear-gradient(100deg, var(--a2), var(--a1)); font-size: 12px; }
.pill span { color: var(--a2); }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.05; font-weight: 900; letter-spacing: -1px; margin: 26px 0 22px; }
.hero h1 small { display: block; font-size: .36em; font-weight: 500; letter-spacing: 12px; color: var(--text2); margin-top: 18px; }
.lead { font-size: 17px; color: var(--text2); max-width: 560px; }
.lead b { color: var(--text); }
.cta { display: flex; gap: 16px; margin: 36px 0 26px; flex-wrap: wrap; }
.meta { display: flex; gap: 26px; color: var(--text3); font-size: 14px; flex-wrap: wrap; }
.meta span { display: flex; align-items: center; gap: 8px; }
.meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); }

.hero-visual { position: relative; perspective: 1400px; }
.hero-visual .glow { position: absolute; inset: 8% 4%; background: radial-gradient(ellipse, rgba(var(--a1-rgb), .55), transparent 70%); filter: blur(50px); z-index: -1; }
.window {
  border-radius: 16px; overflow: hidden; background: #0d1428;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(var(--a1-rgb), .15), inset 0 1px 0 rgba(255,255,255,.1);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.window-bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.float {
  position: absolute; border-radius: 16px; padding: 14px 18px;
  background: rgba(14, 22, 44, .72); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 20px 50px rgba(0,0,0,.45);
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px); } }
.f-lyric { left: -8%; bottom: 6%; animation-delay: -2s; }
.f-lyric small { display: block; color: var(--text3); font-size: 12px; margin-top: 2px; }
.f-now { right: -4%; top: -6%; display: flex; align-items: center; gap: 12px; }
.f-now b { display: block; font-size: 13px; }
.f-now span { font-size: 12px; color: var(--text2); }
.f-badge { right: 6%; bottom: -5%; padding: 8px 16px; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(100deg, rgba(61,220,132,.9), rgba(20,170,120,.9)); animation-delay: -4s; }
.mini-disc { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle, #333 30%, #0a0a0a 70%); display: grid; place-items: center; animation: spin 5s linear infinite; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.mini-disc img { width: 22px; height: 22px; border-radius: 50%; background: #fff; padding: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.bars i { width: 4px; border-radius: 2px; background: linear-gradient(var(--a2), var(--a1)); animation: eq 1s ease-in-out infinite; height: 40%; }
.bars i:nth-child(2) { animation-delay: -.3s; } .bars i:nth-child(3) { animation-delay: -.6s; } .bars i:nth-child(4) { animation-delay: -.15s; } .bars i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 50% { height: 100%; } }

/* 卡拉OK 文字 */
.kara, .kl {
  position: relative; display: inline-block; font-weight: 900; white-space: nowrap;
  color: #f4f7ff; -webkit-text-stroke: 0; text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 1px #000;
}
.kara { font-size: 22px; }
.kara::after, .kl::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: var(--p, 0%); overflow: hidden; white-space: nowrap;
  background: linear-gradient(180deg, #bff3ff, var(--a2) 45%, var(--a1));
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
}
.kara::after { animation: karaoke 3.2s linear infinite; }
@keyframes karaoke { 0% { width: 0; } 80%, 100% { width: 100%; } }

/* 跑马灯 */
.marquee { margin-top: 90px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: 18px; font-weight: 700; color: var(--text3); display: flex; align-items: center; gap: 46px; }
.marquee span::after { content: "✦"; color: rgba(var(--a2-rgb), .7); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 70px; }
.stat { text-align: center; padding: 26px 10px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.stat b { font-size: 44px; font-weight: 900; display: block; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #9fb8e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text2); font-size: 14px; }

/* ---------- 通用段落 ---------- */
.section { padding: 130px 0 40px; }
.sec-head { text-align: center; margin-bottom: 56px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 5px; font-weight: 800; color: var(--a2); padding: 6px 14px; border-radius: 999px; background: rgba(var(--a2-rgb), .08); border: 1px solid rgba(var(--a2-rgb), .25); }
.sec-head h2, .skins-text h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; line-height: 1.15; margin: 20px 0 14px; letter-spacing: -.5px; }
.sec-head p { color: var(--text2); font-size: 17px; }

/* 动画 */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 功能 Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(28, 40, 76, .55), rgba(12, 18, 38, .55));
  border: 1px solid var(--line); backdrop-filter: blur(12px);
  transition: transform .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--a1-rgb), .22), transparent 45%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(var(--a2-rgb), .35); }
.card:hover::before { opacity: 1; }
.span2 { grid-column: span 2; }
.card.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 26px; }
.card.wide .card-ico { margin: 0; flex-shrink: 0; }
.card.wide > div:nth-child(2) { flex: 1; }
.keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 440px; justify-content: flex-end; }
.keys span { color: var(--text3); font-size: 13px; margin: 0 10px 0 2px; }
kbd { font-family: inherit; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 3px 0 rgba(0,0,0,.35); }
.card-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(var(--a2-rgb), .25), rgba(var(--a1-rgb), .25)); border: 1px solid rgba(var(--a2-rgb), .3);
  box-shadow: 0 8px 24px rgba(var(--a1-rgb), .2);
}
.card-ico svg { width: 28px; height: 28px; fill: url(#icoGrad); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--text2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { padding: 4px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--a2); background: rgba(var(--a2-rgb), .1); border: 1px solid rgba(var(--a2-rgb), .25); }
.mini-rank { list-style: none; margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-rank li { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mini-rank i { font-style: normal; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; background: linear-gradient(135deg, #ff6b6b, #ffa94d); }
.mini-rank li:nth-child(2) i { background: linear-gradient(135deg, #36d1dc, #5b86e5); }
.mini-rank li:nth-child(3) i { background: linear-gradient(135deg, #f7971e, #ff5858); }
.mini-rank em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--text3); width: 100%; }

/* ---------- 预览 ---------- */
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs button { position: relative; padding: 12px 26px; border-radius: 14px; color: var(--text2); background: rgba(255,255,255,.04); border: 1px solid var(--line); overflow: hidden; font-weight: 700; transition: color .2s, border-color .2s; }
.tabs button.on { color: #fff; border-color: rgba(var(--a2-rgb), .5); background: rgba(var(--a1-rgb), .14); }
.tabs button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--a2), var(--a1)); }
.tabs button.on i { animation: tabprog 6s linear forwards; }
.tabs.paused button.on i { animation-play-state: paused; }
@keyframes tabprog { to { width: 100%; } }
.shot-frame { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0d1428; box-shadow: 0 50px 120px rgba(0,0,0,.55), 0 0 80px rgba(var(--a1-rgb), .18); }
.shots { position: relative; aspect-ratio: 1600 / 1058; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .8s, transform 1.2s; }
.shots img.on { opacity: 1; transform: none; }

/* ---------- 桌面歌词演示 ---------- */
.desktop { position: relative; aspect-ratio: 16 / 8; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 50px 120px rgba(0,0,0,.55); }
.wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 110%, #1a3d73 0, transparent 55%),
    radial-gradient(ellipse at 80% 100%, #11294f 0, transparent 50%),
    linear-gradient(170deg, #0a1633 0%, #16305e 40%, #3a5a96 70%, #c9a2c9 100%);
}
.wall::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%; background: linear-gradient(170deg, transparent 49.5%, #0b1530 50%) , linear-gradient(195deg, transparent 49.5%, #0e1d40 50%); }
.wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 62% 18%, #fff, transparent), radial-gradient(1px 1px at 80% 8%, #fff, transparent), radial-gradient(1px 1px at 46% 30%, #fff, transparent), radial-gradient(1.2px 1.2px at 90% 28%, #fff, transparent); opacity: .8; }
.desk-icons { position: absolute; left: 3%; top: 5%; display: flex; flex-direction: column; gap: 18px; }
.desk-icons span { width: 76px; text-align: center; font-size: 34px; line-height: 1; }
.desk-icons i { display: block; font-style: normal; font-size: 12px; margin-top: 6px; color: #fff; text-shadow: 0 1px 3px #000; }
.desk-icons .app-ico img { width: 40px; height: 40px; margin: 0 auto; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; min-height: 34px; background: rgba(20, 26, 40, .75); backdrop-filter: blur(20px); display: flex; justify-content: center; align-items: center; gap: 10px; }
.taskbar i { width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.18); }
.taskbar .tb-app { background: url(../img/logo.png) center / 80% no-repeat, rgba(255,255,255,.1); box-shadow: inset 0 -2px 0 var(--a2); }
.taskbar span { position: absolute; right: 18px; color: #fff; font-size: 12px; }
.dl {
  position: absolute; left: 50%; bottom: 15%; width: min(78%, 880px); transform: translateX(-50%);
  padding: 46px 30px 14px; border-radius: 18px; border: 1px solid transparent; transition: background .3s, border-color .3s; cursor: move;
}
.dl:hover { background: rgba(10, 12, 18, .5); border-color: rgba(255,255,255,.14); }
.dl-tools { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; opacity: 0; transition: opacity .3s; }
.dl:hover .dl-tools { opacity: 1; }
.dl-tools i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; }
.dl-tools i:hover { background: rgba(255,255,255,.2); }
.dl-tools .play { background: linear-gradient(135deg, var(--a2), var(--a1)); }
.dl-row { height: 1.55em; font-size: clamp(20px, 3vw, 38px); display: flex; }
.dl-row.right { justify-content: flex-end; }
.kl { text-shadow: 0 2px 0 rgba(0,0,0,.4), 0 0 2px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.9); transition: opacity .4s; }
.kl.dim { color: #c9d1e0; }
.lyric-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.lyric-points div { padding: 18px 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.lyric-points b { display: block; font-size: 16px; }
.lyric-points span { color: var(--text2); font-size: 14px; }

/* ---------- 皮肤 ---------- */
.skins-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.skins-text p { color: var(--text2); font-size: 17px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; max-width: 460px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text2); font-size: 13px; }
.sw i { width: 100%; aspect-ratio: 1.6; border-radius: 14px; border: 2px solid transparent; transition: transform .2s, border-color .2s, box-shadow .2s; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.sw:hover i { transform: translateY(-4px); }
.sw.on { color: #fff; font-weight: 700; }
.sw.on i { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 10px 30px rgba(var(--a1-rgb), .45); }

.mock { --m1: var(--a1); --m2: var(--a2); border-radius: 18px; overflow: hidden; background: #f3f6fa; box-shadow: 0 50px 110px rgba(0,0,0,.55), 0 0 90px rgba(var(--a1-rgb), .25); transform: rotateY(10deg) rotateX(4deg); transition: transform .4s; aspect-ratio: 16 / 10.5; display: flex; flex-direction: column; }
.mock:hover { transform: none; }
.mock.dark { background: #15171c; }
.m-title { height: 13%; background: linear-gradient(100deg, var(--m1), var(--m2)); display: flex; align-items: center; gap: 4%; padding: 0 4%; transition: background .6s; }
.mock.dark .m-title { background: linear-gradient(100deg, #1f232b, #272c37); }
.m-title i { width: 7%; aspect-ratio: 1; border-radius: 22%; background: #fff; }
.m-title b { width: 18%; height: 18%; border-radius: 4px; background: rgba(255,255,255,.85); }
.m-title span { width: 32%; height: 40%; border-radius: 999px; background: rgba(255,255,255,.25); margin-left: 6%; }
.m-body { flex: 1; display: flex; min-height: 0; }
.m-side { width: 20%; background: #fff; padding: 4% 2.5%; display: flex; flex-direction: column; gap: 9%; }
.mock.dark .m-side { background: #191b21; }
.m-side i { height: 8%; border-radius: 6px; background: #e8edf4; }
.mock.dark .m-side i { background: #262a32; }
.m-side i.on { background: linear-gradient(90deg, var(--m1), var(--m2)); opacity: .35; transition: background .6s; }
.m-main { flex: 1; padding: 3% 4%; display: flex; flex-direction: column; gap: 5%; }
.m-banner { height: 34%; border-radius: 10px; background: linear-gradient(120deg, var(--m1), var(--m2)); opacity: .9; transition: background .6s; }
.m-cards { height: 24%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4%; }
.m-cards i { border-radius: 8px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.06); border-top: 6px solid var(--m1); transition: border-color .6s; }
.mock.dark .m-cards i { background: #1d2026; }
.m-rows { flex: 1; display: flex; flex-direction: column; gap: 12%; }
.m-rows i { height: 22%; border-radius: 6px; background: #fff; }
.mock.dark .m-rows i { background: #1d2026; }
.m-bar { height: 13%; background: #fff; display: flex; align-items: center; gap: 4%; padding: 0 4%; border-top: 1px solid #e9edf2; }
.mock.dark .m-bar { background: #1d2026; border-top-color: #2a2e36; }
.m-play { width: 7%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--m2), var(--m1)); box-shadow: 0 4px 12px rgba(var(--a1-rgb), .5); transition: background .6s; }
.m-bar span { flex: 1; height: 10%; border-radius: 4px; background: #e9edf2; position: relative; overflow: hidden; }
.mock.dark .m-bar span { background: #2a2e36; }
.m-bar span::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, var(--m2), var(--m1)); animation: mprog 8s linear infinite; }
@keyframes mprog { from { width: 0; } to { width: 100%; } }
.m-bar em { width: 14%; height: 18%; border-radius: 4px; background: #e9edf2; }
.mock.dark .m-bar em { background: #2a2e36; }

/* ---------- 下载 ---------- */
.dl-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding: 56px; border-radius: 30px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(30, 48, 96, .7), rgba(10, 16, 34, .8)); border: 1px solid rgba(var(--a2-rgb), .25);
  box-shadow: 0 50px 120px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.dl-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--a1-rgb), .35), transparent 65%); pointer-events: none; }
.dl-logo { width: 96px; height: 96px; margin-bottom: 20px; filter: drop-shadow(0 12px 30px rgba(var(--a1-rgb), .55)); animation: bob 6s ease-in-out infinite; }
.dl-left h2 { font-size: 34px; font-weight: 900; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ver { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(100deg, var(--a2), var(--a1)); }
.dl-left > p { color: var(--text2); margin: 10px 0 26px; }
.dl-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.dl-meta div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.dl-meta dt { font-size: 12px; color: var(--text3); }
.dl-meta dd { font-weight: 800; font-size: 16px; white-space: nowrap; }
.req { color: var(--text3); font-size: 13px; margin-top: 18px; }
.sha { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text3); }
.sha code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Consolas, monospace; color: var(--text2); }
.sha button { padding: 3px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--text2); font-size: 12px; }
.sha button:hover { color: #fff; border-color: rgba(var(--a2-rgb), .6); }
.dl-right h3 { font-size: 20px; margin-bottom: 18px; }
.timeline { position: relative; max-height: 420px; overflow-y: auto; padding-right: 8px; }
.tl { position: relative; padding: 0 0 26px 30px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 0; width: 2px; background: linear-gradient(var(--a2), transparent); }
.tl::after { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg2); border: 3px solid var(--a2); box-shadow: 0 0 12px rgba(var(--a2-rgb), .6); }
.tl h4 { font-size: 16px; display: flex; gap: 10px; align-items: baseline; }
.tl h4 span { color: var(--text3); font-size: 13px; font-weight: 400; }
.tl ul { margin-top: 8px; padding-left: 18px; color: var(--text2); font-size: 14px; }
.tl li { margin: 4px 0; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 16px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: border-color .3s; }
.faq details[open] { border-color: rgba(var(--a2-rgb), .35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--a2); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; color: var(--text2); }

/* ---------- 页脚 ---------- */
.footer { margin-top: 120px; border-top: 1px solid var(--line); background: rgba(4, 7, 15, .6); backdrop-filter: blur(10px); }
.foot-in { padding: 40px 0; display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand b { display: block; }
.foot-brand span { color: var(--text3); font-size: 13px; }
.foot-links { display: flex; gap: 24px; justify-content: flex-end; flex-wrap: wrap; }
.foot-links a { color: var(--text2); font-size: 14px; }
.foot-links a:hover { color: #fff; }
.foot-legal { grid-column: 1 / -1; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; color: var(--text3); font-size: 13px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-legal a:hover { color: var(--text2); }
.foot-legal img { width: 14px; height: 14px; display: inline; vertical-align: -2px; margin-right: 4px; }

.float-dl { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--a2), var(--a1)); box-shadow: 0 12px 34px rgba(var(--a1-rgb), .55); transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.float-dl.show { transform: scale(1); }
.float-dl svg { width: 26px; height: 26px; fill: currentColor; }
.float-dl::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(var(--a2-rgb), .7); animation: ping 2.2s ease-out infinite; }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-in, .skins-in, .dl-card { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-visual { max-width: 720px; margin: 20px auto 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .lyric-points { grid-template-columns: repeat(2, 1fr); }
  .mock { transform: none; }
}
@media (max-width: 760px) {
  .links { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px 20px 20px; background: rgba(6, 10, 22, .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s; margin: 0; }
  .nav.open .links { transform: none; }
  .links a { padding: 14px 10px; font-size: 16px; }
  .burger { display: block; margin-left: auto; }
  .nav-dl { display: none; }
  .hero h1 small { letter-spacing: 6px; }
  .cta .btn { width: 100%; }
  .bento, .stats, .lyric-points, .dl-meta { grid-template-columns: 1fr 1fr; }
  .span2 { grid-column: span 2; }
  .f-lyric { left: 0; bottom: -10%; } .f-now { right: 0; top: -14%; } .f-badge { display: none; }
  .window { transform: none; }
  .section { padding-top: 90px; }
  .dl-card { padding: 30px 22px; }
  .btn-xl { width: 100%; }
  .desktop { aspect-ratio: 4 / 3.4; }
  .desk-icons { display: none; }
  .foot-in { grid-template-columns: 1fr; text-align: center; }
  .foot-brand, .foot-links { justify-content: center; }
  .mini-rank { grid-template-columns: 1fr; }
  .card.wide { flex-direction: column; align-items: flex-start; }
  .keys { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
