/* ============================================================
   闪存清理 · 官网
   ============================================================ */

:root {
  --bg: #08070f;
  --bg2: #0e0b1a;
  --txt: #f2f0ff;
  --dim: #9b96b8;
  --dim2: #6b6685;
  --purple: #7c5cff;
  --pink: #ff6bcb;
  --cyan: #4dd4ff;
  --green: #3ddc84;
  --card: rgba(22, 20, 38, 0.62);
  --line: rgba(255, 255, 255, 0.09);
  --r: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(124, 92, 255, .38); }

/* 滚动条 */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #0b0916; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple), var(--pink));
  border-radius: 9px;
}

/* ===================== 加载屏 ===================== */

.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
  background: radial-gradient(circle at 50% 42%, #17132b 0%, #08070f 65%);
  transition: opacity .55s ease, visibility .55s ease;
}
.loader.done { opacity: 0; visibility: hidden; }

.loader-avatar { position: relative; width: 116px; height: 116px; }
.loader-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 46px rgba(124, 92, 255, .55);
  animation: loaderPulse 2.2s ease-in-out infinite;
}
.loader-ring {
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--purple);
  border-right-color: var(--pink);
  animation: spin 1.5s linear infinite;
}
.loader-ring.r2 {
  inset: -30px;
  border-top-color: var(--cyan);
  border-right-color: transparent;
  animation: spin 2.4s linear infinite reverse;
  opacity: .55;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.loader-title {
  font-size: 27px; font-weight: 700; letter-spacing: .16em;
  background: linear-gradient(100deg, #fff, #b7a8ff 45%, #ff9ade);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.loader-bar {
  width: 210px; height: 3px; border-radius: 3px;
  background: rgba(255, 255, 255, .1); overflow: hidden;
}
.loader-bar i {
  display: block; height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  transition: width .25s ease;
}

.loader-tip {
  font-size: 12.5px; color: var(--dim2); letter-spacing: .1em;
}

/* ===================== 背景 ===================== */

.bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, #10203a 0%, transparent 60%),
    linear-gradient(180deg, #060b14 0%, #04070d 55%, #05070c 100%);
  overflow: hidden;
}

/* 斜向流光带 */
.blob { position: absolute; will-change: transform; }
.b1 {
  width: 160vw; height: 42vh; min-height: 260px;
  left: -30vw; top: 8%;
  background: linear-gradient(100deg, transparent 0%, rgba(56, 132, 255, .28) 35%, rgba(96, 190, 255, .16) 55%, transparent 100%);
  filter: blur(70px);
  transform: rotate(-12deg);
  animation: drift1 26s ease-in-out infinite;
}
.b2 {
  width: 150vw; height: 34vh; min-height: 220px;
  left: -22vw; top: 46%;
  background: linear-gradient(100deg, transparent 0%, rgba(122, 92, 255, .22) 40%, rgba(255, 120, 200, .1) 62%, transparent 100%);
  filter: blur(80px);
  transform: rotate(-9deg);
  animation: drift2 33s ease-in-out infinite;
}
.b3 {
  width: 140vw; height: 30vh; min-height: 200px;
  left: -18vw; bottom: -6%;
  background: linear-gradient(100deg, transparent 0%, rgba(60, 220, 200, .16) 45%, rgba(70, 150, 255, .12) 68%, transparent 100%);
  filter: blur(90px);
  transform: rotate(-6deg);
  animation: drift3 29s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: rotate(-12deg) translate3d(0, 0, 0); opacity: .9; }
  50% { transform: rotate(-12deg) translate3d(4vw, 3vh, 0); opacity: .62; }
}
@keyframes drift2 {
  0%, 100% { transform: rotate(-9deg) translate3d(0, 0, 0); opacity: .8; }
  50% { transform: rotate(-9deg) translate3d(-5vw, -4vh, 0); opacity: .55; }
}
@keyframes drift3 {
  0%, 100% { transform: rotate(-6deg) translate3d(0, 0, 0); opacity: .7; }
  50% { transform: rotate(-6deg) translate3d(3vw, -3vh, 0); opacity: .48; }
}

#stars { position: absolute; inset: 0; width: 100%; height: 100%; }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, .045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 30%, #000 10%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 30%, #000 10%, transparent 82%);
}

.mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 7, 13, .4) 62%, #04070d 100%);
}

/* 漂浮光点 */
.petals { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(140, 190, 255, .85);
  box-shadow: 0 0 10px 2px rgba(90, 160, 255, .55);
  opacity: .4;
  animation: floatUp linear infinite;
  will-change: transform, opacity;
}
@keyframes floatUp {
  0% { transform: translate3d(0, 20vh, 0) scale(.6); opacity: 0; }
  15% { opacity: .55; }
  85% { opacity: .35; }
  100% { transform: translate3d(40px, -110vh, 0) scale(1.1); opacity: 0; }
}

/* ===================== 音乐播放器 ===================== */

.music-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 62;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(22, 20, 38, .78);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.music-btn:hover { transform: scale(1.08); border-color: rgba(124, 92, 255, .55); }
.music-btn svg { width: 21px; height: 21px; fill: var(--txt); }
.music-btn .ico-pause { display: none; }
.music-btn.playing .ico-play { display: none; }
.music-btn.playing .ico-pause { display: none; }
.music-btn.playing .music-wave { display: flex; }
.music-btn.playing { box-shadow: 0 0 0 0 rgba(124, 92, 255, .5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 92, 255, .45); }
  70% { box-shadow: 0 0 0 16px rgba(124, 92, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0); }
}

.music-wave { display: none; gap: 2px; align-items: flex-end; height: 18px; }
.music-wave i {
  width: 3px; background: linear-gradient(180deg, var(--purple), var(--pink));
  border-radius: 2px; animation: wave .9s ease-in-out infinite;
}
.music-wave i:nth-child(1) { height: 40%; animation-delay: 0s; }
.music-wave i:nth-child(2) { height: 90%; animation-delay: .15s; }
.music-wave i:nth-child(3) { height: 60%; animation-delay: .3s; }
.music-wave i:nth-child(4) { height: 80%; animation-delay: .45s; }
@keyframes wave {
  0%, 100% { transform: scaleY(.35); }
  50% { transform: scaleY(1); }
}

/* 播放列表面板 */
.player {
  position: fixed; right: 20px; bottom: 78px; z-index: 61;
  width: 236px; max-width: calc(100vw - 32px);
  border-radius: 16px;
  background: rgba(18, 16, 32, .94);
  border: 1px solid var(--line);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .6);
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateY(10px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .26s ease, visibility .26s ease, transform .26s cubic-bezier(.34, 1.4, .64, 1);
}
.player.open { opacity: 1; visibility: visible; transform: none; }

.player-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--line);
}
.player-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 620; letter-spacing: .05em; color: var(--dim);
}
.player-title i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 7px var(--green);
  animation: livePulse 1.8s ease-in-out infinite;
}
.player-close {
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 15px; line-height: 1; color: var(--dim2);
  transition: background .2s, color .2s;
}
.player-close:hover { background: rgba(255, 255, 255, .08); color: var(--txt); }

.player-list { max-height: 214px; overflow-y: auto; padding: 4px; }
.player-list::-webkit-scrollbar { width: 4px; }
.player-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 4px; }

.track {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 10px;
  cursor: pointer;
  transition: background .2s;
}
.track:hover { background: rgba(255, 255, 255, .06); }
.track.active { background: rgba(124, 92, 255, .16); }

.track-idx {
  flex: 0 0 auto; width: 13px;
  font-size: 10px; color: var(--dim2); text-align: center;
  font-variant-numeric: tabular-nums;
}
.track.active .track-idx { color: var(--purple); }

.track-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.track-name {
  font-size: 12px; font-weight: 560; color: var(--txt);
  line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track.active .track-name { color: #b7a8ff; }
.track-artist {
  font-size: 10px; color: var(--dim2); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.track-eq { display: none; gap: 1.5px; align-items: flex-end; height: 10px; }
.track.active .track-eq { display: flex; }
.track-eq i {
  width: 2px; background: var(--purple); border-radius: 1px;
  animation: wave .85s ease-in-out infinite;
}
.track-eq i:nth-child(1) { height: 45%; animation-delay: 0s; }
.track-eq i:nth-child(2) { height: 100%; animation-delay: .18s; }
.track-eq i:nth-child(3) { height: 65%; animation-delay: .36s; }

.player-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 12px;
  border-top: 1px solid var(--line);
  font-size: 10px; color: var(--dim2);
}
.player-foot #playerNow {
  max-width: 152px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-mode {
  flex: 0 0 auto;
  padding: 1px 7px; border-radius: 999px;
  font-size: 9.5px;
  background: rgba(124, 92, 255, .14); color: #a99cff;
}

/* ===================== 顶栏 ===================== */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 5vw, 56px);
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 9, 20, .72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: .02em; }
.nav-logo img {
  width: 30px; height: 30px; border-radius: 9px;
  box-shadow: 0 0 16px rgba(124, 92, 255, .5);
}

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 7px 15px; border-radius: 999px;
  font-size: 14px; color: var(--dim);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--txt); background: rgba(255, 255, 255, .07); }

/* ===================== 主视觉 ===================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 22px 60px;
}

.hero-glow {
  position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
  width: min(560px, 88vw); height: min(560px, 88vw);
  background: radial-gradient(circle, rgba(124, 92, 255, .28) 0%, transparent 68%);
  filter: blur(24px); pointer-events: none;
}

.avatar {
  position: relative;
  width: clamp(112px, 17vw, 146px);
  aspect-ratio: 1;
  margin-bottom: 26px;
  will-change: transform;
}
.avatar img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .55), 0 0 46px rgba(124, 92, 255, .34);
  position: relative; z-index: 2;
}
.avatar-halo {
  position: absolute; inset: -13px; border-radius: 50%;
  border: 1px solid rgba(124, 92, 255, .34);
  animation: haloBreath 4s ease-in-out infinite;
}
.avatar-halo.h2 {
  inset: -26px;
  border-color: rgba(255, 107, 203, .2);
  animation-delay: 1.4s;
}
@keyframes haloBreath {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.07); opacity: .3; }
}

.title {
  font-size: clamp(38px, 8.4vw, 68px);
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.15;
  background: linear-gradient(105deg, #ffffff 8%, #c3b6ff 40%, #ffa5dd 72%, #a9e9ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(124, 92, 255, .34));
}

.subtitle {
  margin-top: 12px;
  font-size: clamp(14px, 2.1vw, 17px);
  color: var(--dim);
  min-height: 1.7em;
  letter-spacing: .04em;
}
.caret { color: var(--purple); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.badges {
  display: flex; flex-wrap: wrap; gap: 9px; justify-content: center;
  margin-top: 26px;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; color: var(--dim);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.badge b { color: var(--txt); font-weight: 650; }
.badge.live { color: var(--green); }
.badge.live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse { 50% { opacity: .3; } }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 13px;
  justify-content: center;
  margin-top: 34px;
}
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 620;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s, background .22s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-main {
  color: #fff;
  background: linear-gradient(100deg, var(--purple), #a855f7 45%, var(--pink));
  box-shadow: 0 10px 34px rgba(124, 92, 255, .42);
}
.btn-main:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 44px rgba(168, 85, 247, .55); }
.btn-ghost {
  color: var(--txt);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, .18);
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 7px; border-radius: 2px;
  background: var(--purple);
  animation: scrollDown 1.7s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 13px); }
}

/* ===================== 通用区块 ===================== */

.section {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 108px) clamp(18px, 5vw, 40px);
}

.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
  font-size: clamp(26px, 4.4vw, 36px);
  font-weight: 750;
  letter-spacing: .03em;
  background: linear-gradient(100deg, #fff, #c9baff 60%, #ffa9de);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p {
  margin-top: 9px; font-size: 14px; color: var(--dim2); letter-spacing: .04em;
}

/* ===================== 下载卡片 ===================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1),
              border-color .3s, box-shadow .3s, background .3s;
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
              rgba(124, 92, 255, .16), transparent 62%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, .42);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .5), 0 0 0 1px rgba(124, 92, 255, .18);
  background: rgba(28, 25, 48, .78);
}

.card-icon {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.card:hover .card-icon { transform: scale(1.09) rotate(-4deg); }
.card-icon svg {
  width: 25px; height: 25px;
  fill: none; stroke: var(--c); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.card-body { flex: 1; min-width: 0; }
.card-body h3 { font-size: 16.5px; font-weight: 680; letter-spacing: .01em; }
.card-body p {
  font-size: 12.8px; color: var(--dim2); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.meta { display: flex; gap: 9px; margin-top: 9px; }
.meta span {
  font-size: 11.5px; color: var(--dim);
  padding: 2px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.card-go {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .05);
  transition: background .25s, transform .25s;
}
.card-go svg {
  width: 16px; height: 16px;
  fill: none; stroke: var(--dim); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s;
}
.card:hover .card-go {
  background: linear-gradient(100deg, var(--purple), var(--pink));
  transform: translateY(2px);
}
.card:hover .card-go svg { stroke: #fff; }

/* 密码条 */
.pwd-box {
  margin-top: 20px;
  display: flex; align-items: center; gap: 14px;
  padding: 15px 20px;
  border-radius: 18px;
  background: rgba(255, 176, 32, .07);
  border: 1px solid rgba(255, 176, 32, .22);
  backdrop-filter: blur(14px);
}
.pwd-label { font-size: 13px; color: #ffc45c; letter-spacing: .06em; }
.pwd-box code {
  flex: 1;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 19px; font-weight: 700;
  letter-spacing: .18em; color: #fff;
}
.pwd-copy {
  padding: 7px 18px; border-radius: 999px;
  font-size: 12.5px;
  background: rgba(255, 176, 32, .16);
  border: 1px solid rgba(255, 176, 32, .32);
  color: #ffc45c;
  transition: background .22s, transform .22s;
}
.pwd-copy:hover { background: rgba(255, 176, 32, .28); transform: scale(1.04); }
.pwd-copy.ok { background: rgba(61, 220, 132, .2); border-color: rgba(61, 220, 132, .4); color: var(--green); }

/* ===================== 功能 ===================== */

.feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 16px;
}

.feat {
  padding: 26px 22px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1), border-color .3s, background .3s;
}
.feat:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .16);
  background: rgba(28, 25, 48, .76);
}
.feat-ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  margin-bottom: 16px;
}
.feat-ico svg {
  width: 23px; height: 23px;
  fill: none; stroke: var(--c); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.feat h3 { font-size: 16.5px; font-weight: 660; margin-bottom: 7px; }
.feat p { font-size: 13.2px; color: var(--dim2); line-height: 1.7; }

/* ===================== 联系 ===================== */

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 13px;
}

.link {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: transform .26s cubic-bezier(.34, 1.4, .64, 1), border-color .26s, background .26s;
}
.link:hover {
  transform: translateX(5px);
  border-color: rgba(124, 92, 255, .38);
  background: rgba(28, 25, 48, .8);
}
.link-ico {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.link-ico svg {
  width: 21px; height: 21px;
  fill: none; stroke: var(--c); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.link-txt { flex: 1; display: flex; flex-direction: column; }
.link-txt b { font-size: 15px; font-weight: 640; }
.link-txt i { font-size: 12.4px; color: var(--dim2); font-style: normal; margin-top: 1px; }
.link-arrow {
  width: 17px; height: 17px;
  fill: none; stroke: var(--dim2); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .22s, transform .22s;
}
.link:hover .link-arrow { stroke: var(--purple); transform: translateX(3px); }

/* ===================== 演示 ===================== */

.demo {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: stretch;
}

/* 终端 */
.term {
  border-radius: 18px;
  background: linear-gradient(180deg, #0c1018, #070a10);
  border: 1px solid rgba(120, 170, 255, .14);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .55);
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .035);
  border-bottom: 1px solid rgba(120, 170, 255, .1);
}
.term-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.d1 { background: #ff5f57; }
.dot.d2 { background: #febc2e; }
.dot.d3 { background: #28c840; }
.term-title {
  margin-left: 8px;
  font-size: 11.5px; color: #6b7a92; letter-spacing: .04em;
}

.term-body {
  flex: 1;
  padding: 16px 18px 20px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12.6px;
  line-height: 1.85;
  color: #b9c6dc;
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 300px;
  max-height: 340px;
  overflow-y: auto;
}
.term-body::-webkit-scrollbar { width: 5px; }
.term-body::-webkit-scrollbar-thumb { background: rgba(120, 170, 255, .2); border-radius: 5px; }
.term-body .cmd { color: #e6edf7; }
.term-body .ok { color: #46d98b; }
.term-body .info { color: #6fa8ff; }
.term-body .dim { color: #5c6a80; }
.term-body .warn { color: #f0b341; }
.term-body .cursor {
  display: inline-block; width: 7px; height: 14px;
  background: #7fb0ff; vertical-align: -2px;
  animation: blink 1s step-end infinite;
}

/* 手机 */
.phone {
  display: flex; align-items: center; justify-content: center;
}
.phone-screen {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9 / 18.5;
  border-radius: 34px;
  background: linear-gradient(170deg, #10151f, #080b12);
  border: 2px solid rgba(120, 170, 255, .18);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .6), inset 0 0 40px rgba(40, 90, 180, .1);
  overflow: hidden;
  padding: 12px;
  display: flex; flex-direction: column;
}

.phone-island {
  align-self: center;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(10, 14, 22, .9);
  border: 1px solid rgba(120, 170, 255, .18);
  font-size: 9.5px; color: #8fa4c4;
  transition: all .35s ease;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.phone-island i {
  width: 5px; height: 5px; border-radius: 50%;
  background: #5a6c85; transition: background .3s;
}
.phone-island.on {
  border-color: rgba(70, 217, 139, .4);
  color: #9be8c0;
}
.phone-island.on i {
  background: #46d98b;
  box-shadow: 0 0 8px #46d98b;
  animation: livePulse 1.6s ease-in-out infinite;
}

.phone-app { flex: 1; display: flex; flex-direction: column; padding-top: 16px; }
.phone-title {
  font-size: 17px; font-weight: 700; color: #eaf1ff;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.phone-card {
  padding: 13px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(38, 58, 92, .55), rgba(18, 26, 40, .7));
  border: 1px solid rgba(120, 170, 255, .14);
  margin-bottom: 12px;
}
.phone-status {
  font-size: 15px; font-weight: 650; color: #dfe9ff;
  margin-bottom: 3px;
  transition: color .3s;
}
.phone-status.on { color: #6fe3a7; }
.phone-sub { font-size: 10.5px; color: #7f8fa8; }

.phone-bar {
  height: 4px; border-radius: 4px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
  margin-bottom: 14px;
}
.phone-bar i {
  display: block; height: 100%; width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #5aa6ff, #a68bff);
  transition: width .5s cubic-bezier(.4, 0, .2, 1);
}

.phone-lines { display: flex; flex-direction: column; gap: 9px; }
.pline {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 10.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.pline span { color: #6d7d95; }
.pline b { color: #c3d1e8; font-weight: 520; }
.pline b.on { color: #6fe3a7; }

.phone-btn {
  margin-top: auto;
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 620;
  color: #9fb4d4;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: all .35s ease;
}
.phone-btn.on {
  color: #06121f;
  background: linear-gradient(100deg, #6fe3a7, #4dd4ff);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(70, 217, 139, .3);
}

.demo-actions { display: flex; justify-content: center; margin-top: 24px; }
.demo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 999px;
  font-size: 13.5px;
  color: var(--dim);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  transition: color .22s, background .22s, border-color .22s, transform .22s;
}
.demo-btn:hover {
  color: var(--txt);
  background: rgba(90, 150, 255, .14);
  border-color: rgba(90, 150, 255, .34);
  transform: translateY(-2px);
}
.demo-btn svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; }
  .phone-screen { max-width: 230px; }
  .term-body { min-height: 260px; max-height: 300px; font-size: 12px; }
}

/* ===================== 关于作者 ===================== */

.about {
  position: relative;
  display: flex; align-items: center; gap: clamp(20px, 4vw, 40px);
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(34, 46, 72, .58), rgba(14, 18, 30, .78));
  border: 1px solid rgba(120, 170, 255, .16);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  left: -120px; top: -160px;
  background: radial-gradient(circle, rgba(70, 140, 255, .3), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.about::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -140px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(130, 110, 255, .24), transparent 64%);
  filter: blur(34px);
  pointer-events: none;
}

.about-avatar {
  position: relative;
  flex: 0 0 auto;
  width: clamp(108px, 16vw, 152px);
  aspect-ratio: 1;
}
.about-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(150, 190, 255, .3);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .5), 0 0 34px rgba(80, 150, 255, .28);
  position: relative; z-index: 2;
}
.about-glow {
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(140, 180, 255, .28);
  animation: spin 18s linear infinite;
}

.about-body { position: relative; z-index: 2; flex: 1; min-width: 0; }

.about-name {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.about-name h3 {
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 750;
  letter-spacing: .02em;
  background: linear-gradient(100deg, #ffffff, #a9c8ff 55%, #8fd7ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-badge {
  font-size: 11.5px; color: #9fc0ff;
  padding: 3px 11px; border-radius: 999px;
  background: rgba(90, 150, 255, .14);
  border: 1px solid rgba(90, 150, 255, .28);
}

.about-desc {
  font-size: 14.2px; color: #a8b6cf; line-height: 1.85;
  margin-bottom: 14px;
}
.about-desc b { color: #dfe9ff; font-weight: 620; }

.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 16px;
  margin-bottom: 18px;
}
.about-list li {
  position: relative;
  font-size: 13px; color: #8f9cb5;
  padding-left: 16px;
}
.about-list li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #6aa6ff, #b48bff);
  box-shadow: 0 0 8px rgba(110, 160, 255, .7);
}

.about-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.about-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 999px;
  font-size: 13.2px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .11);
  color: #dfe9ff;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), background .22s, border-color .22s;
}
.about-btn:hover {
  transform: translateY(-2px);
  background: rgba(90, 150, 255, .16);
  border-color: rgba(90, 150, 255, .38);
}
.about-btn svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 640px) {
  .about { flex-direction: column; text-align: center; }
  .about-name { justify-content: center; }
  .about-list { text-align: left; }
  .about-actions { justify-content: center; }
}

/* ===================== 页脚 ===================== */

.footer {
  text-align: center;
  padding: 40px 22px 54px;
}
.foot-line {
  max-width: 1120px; margin: 0 auto 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
}
.foot-brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 15.5px; font-weight: 620; letter-spacing: .05em;
}
.foot-brand img { width: 26px; height: 26px; border-radius: 8px; opacity: .9; }
.foot-brand i { color: var(--purple); font-style: normal; margin: 0 3px; }
.foot-note { margin-top: 11px; font-size: 12px; color: var(--dim2); letter-spacing: .05em; }

/* ===================== 回到顶部 ===================== */

.to-top {
  position: fixed; right: 20px; bottom: 82px; z-index: 55;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(22, 20, 38, .78);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, border-color .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: rgba(124, 92, 255, .5); }
.to-top svg {
  width: 17px; height: 17px;
  fill: none; stroke: var(--txt); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ===================== 滚动进场 ===================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ===================== 响应式 ===================== */

@media (max-width: 720px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 11px; font-size: 13px; }
  .cards, .links { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .card-body p { white-space: normal; }
  .music-btn { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .to-top { right: 14px; bottom: 70px; }
  .pwd-box { flex-wrap: wrap; gap: 10px; }
  .pwd-box code { flex: 1 0 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
