/* ============================================
   汽水音乐 v3 — 气泡炫彩主题
   Coral + Purple + Electric Blue
   ============================================ */

:root {
    --coral: #FF6B6B;
    --coral-light: #FF8E8E;
    --purple: #A855F7;
    --purple-light: #C084FC;
    --electric: #38BDF8;
    --electric-light: #7DD3FC;
    --yellow: #FACC15;
    --yellow-light: #FDE047;
    --bg: #09090E;
    --bg-elevated: #111119;
    --bg-card: #151520;
    --border: rgba(255, 255, 255, 0.06);
    --border-active: rgba(255, 255, 255, 0.14);
    --text: #F1F1F6;
    --text-dim: rgba(241, 241, 246, 0.5);
    --text-faint: rgba(241, 241, 246, 0.28);
    --glass: rgba(21, 21, 32, 0.65);
    --grad-1: linear-gradient(135deg, #FF6B6B, #A855F7);
    --grad-2: linear-gradient(135deg, #A855F7, #38BDF8);
    --grad-3: linear-gradient(135deg, #38BDF8, #FACC15);
    --grad-4: linear-gradient(135deg, #FF6B6B, #FACC15);
    --shadow-sm: 0 2px 16px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 40px rgba(0,0,0,0.45);
    --shadow-coral: 0 8px 36px rgba(255, 107, 107, 0.3);
    --shadow-purple: 0 8px 36px rgba(168, 85, 247, 0.3);
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --ease: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   气泡动态背景
   ============================================ */
.bg-canvas {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bubble {
    position: absolute;
    border-radius: 50%;
    animation: bubbleRise linear infinite;
    opacity: 0;
}
@keyframes bubbleRise {
    0% { transform: translateY(0) scale(0.3); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-110vh) scale(1.4); opacity: 0; }
}

/* ============================================
   导航栏 — 悬浮毛玻璃
   ============================================ */
.nav {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(30px) saturate(2);
    -webkit-backdrop-filter: blur(30px) saturate(2);
    border: 1px solid var(--border);
    border-radius: 60px;
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center; gap: 6px;
    transition: all var(--ease);
}
.nav.scrolled {
    background: rgba(21, 21, 32, 0.88);
    box-shadow: var(--shadow-sm);
    top: 8px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
    padding-right: 16px;
}
.nav-brand .icon {
    width: 34px; height: 34px;
    background: var(--grad-1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-coral);
    animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255,107,107,0.4); }
    50% { box-shadow: 0 0 36px rgba(168,85,247,0.5); }
}
.nav-brand .txt {
    font-size: 18px; font-weight: 800;
    background: var(--grad-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display: flex; gap: 2px; }
.nav-links a {
    color: var(--text-dim); text-decoration: none;
    font-size: 13px; font-weight: 600;
    padding: 10px 18px; border-radius: 50px;
    transition: all var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links a.active {
    color: #fff;
    background: var(--grad-1);
    box-shadow: var(--shadow-coral);
}

/* ============================================
   Hero — 首页
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 32px 80px;
    position: relative; z-index: 1;
}
.hero-inner { text-align: center; max-width: 780px; }

.hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 20px;
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.25);
    border-radius: 50px;
    font-size: 12px; font-weight: 600;
    color: var(--purple-light);
    margin-bottom: 28px;
    letter-spacing: 1px; text-transform: uppercase;
}
.hero-pill .dot {
    width: 7px; height: 7px;
    background: var(--purple-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--purple-light); }
    50% { opacity: 0.4; transform: scale(0.7); box-shadow: 0 0 2px var(--purple-light); }
}

.hero-icon {
    width: 100px; height: 100px;
    margin: 0 auto 36px;
    background: var(--grad-2);
    border-radius: 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 50px;
    box-shadow: var(--shadow-purple);
    animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero h1 {
    font-size: clamp(44px, 8vw, 80px);
    font-weight: 900; line-height: 1.05;
    margin-bottom: 16px; letter-spacing: -2px;
}
.hero h1 .hl {
    background: var(--grad-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .sub {
    font-size: 19px; color: var(--text-dim);
    margin-bottom: 8px; font-weight: 400;
}
.hero .desc {
    font-size: 16px; color: var(--text-dim);
    line-height: 1.7; margin-bottom: 44px;
    max-width: 460px; margin-left: auto; margin-right: auto;
}
.hero .desc em { font-style: normal; color: var(--coral); font-weight: 600; }

/* 按钮 */
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 34px; border-radius: 60px;
    font-size: 15px; font-weight: 700;
    text-decoration: none; cursor: pointer; border: none;
    transition: all var(--ease);
    position: relative; overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0; transition: opacity var(--ease);
}
.btn:hover::after { opacity: 1; }
.btn-fill {
    background: var(--grad-1);
    color: #fff;
    box-shadow: var(--shadow-coral);
}
.btn-fill:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(255,107,107,0.45); }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-active);
}
.btn-outline:hover { border-color: var(--purple); background: rgba(168,85,247,0.06); transform: translateY(-2px); }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   滚动标语条
   ============================================ */
.ticker-wrap {
    position: relative; z-index: 1;
    padding: 32px 0; overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ticker {
    display: flex; gap: 48px;
    animation: ticker 30s linear infinite;
    width: max-content;
}
.ticker span {
    font-size: 14px; font-weight: 600;
    color: var(--text-faint);
    white-space: nowrap;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.ticker .accent { color: var(--coral); }
.ticker .accent2 { color: var(--purple); }
.ticker .accent3 { color: var(--electric); }
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   数据卡片
   ============================================ */
.stats {
    padding: 80px 32px; position: relative; z-index: 1;
}
.stats-grid {
    max-width: 1080px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 24px 32px;
    text-align: center;
    transition: all var(--ease);
    position: relative; overflow: hidden;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--border-active); }
.stat-card .hl-bar {
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0; transition: opacity var(--ease);
}
.stat-card:nth-child(1) .hl-bar { background: var(--coral); }
.stat-card:nth-child(2) .hl-bar { background: var(--purple); }
.stat-card:nth-child(3) .hl-bar { background: var(--electric); }
.stat-card:nth-child(4) .hl-bar { background: var(--yellow); }
.stat-card:hover .hl-bar { opacity: 1; }

.stat-icon { font-size: 34px; margin-bottom: 16px; display: block; }
.stat-num {
    font-size: 44px; font-weight: 900; letter-spacing: -1px;
    display: inline;
}
.stat-card:nth-child(1) .stat-num { color: var(--coral); }
.stat-card:nth-child(2) .stat-num { color: var(--purple); }
.stat-card:nth-child(3) .stat-num { color: var(--electric); }
.stat-card:nth-child(4) .stat-num { color: var(--yellow); }
.stat-unit { font-size: 20px; font-weight: 700; }
.stat-card:nth-child(1) .stat-unit { color: var(--coral); }
.stat-card:nth-child(2) .stat-unit { color: var(--purple); }
.stat-card:nth-child(3) .stat-unit { color: var(--electric); }
.stat-card:nth-child(4) .stat-unit { color: var(--yellow); }
.stat-label { display: block; color: var(--text-dim); font-size: 13px; margin-top: 8px; font-weight: 500; }

/* ============================================
   特色功能区
   ============================================ */
.features {
    padding: 100px 32px; position: relative; z-index: 1;
}
.sec-header { text-align: center; margin-bottom: 64px; }
.sec-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 50px;
    font-size: 11px; font-weight: 600; color: var(--electric-light);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 18px;
}
.sec-header h2 {
    font-size: clamp(30px, 5vw, 44px); font-weight: 800;
    letter-spacing: -1px; margin-bottom: 12px;
}
.sec-header h2 .hl { color: var(--purple); }
.sec-header .sub { color: var(--text-dim); font-size: 16px; max-width: 460px; margin: 0 auto; }

.features-grid {
    max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px 32px;
    transition: all var(--ease);
    position: relative; overflow: hidden;
    cursor: default;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--border-active); }
.feature-card .icon-box {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 22px;
}
.feature-card:nth-child(1) .icon-box { background: rgba(255,107,107,0.1); }
.feature-card:nth-child(2) .icon-box { background: rgba(168,85,247,0.1); }
.feature-card:nth-child(3) .icon-box { background: rgba(56,189,248,0.1); }
.feature-card:nth-child(4) .icon-box { background: rgba(250,204,21,0.1); }
.feature-card:nth-child(5) .icon-box { background: rgba(255,107,107,0.1); }
.feature-card:nth-child(6) .icon-box { background: rgba(168,85,247,0.1); }

.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.75; }

/* ============================================
   大型功能展示
   ============================================ */
.showcase {
    padding: 80px 32px; position: relative; z-index: 1;
}
.showcase-inner {
    max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.sc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 48px 40px;
    transition: all var(--ease);
    overflow: hidden;
}
.sc-card:hover { border-color: var(--border-active); box-shadow: var(--shadow-sm); }
.sc-card.wide { grid-column: 1 / -1; }
.sc-card .num {
    font-size: 14px; font-weight: 700; color: var(--coral);
    letter-spacing: 1px; margin-bottom: 20px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,107,107,0.1);
    border-radius: 50px;
}
.sc-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.sc-card p { color: var(--text-dim); font-size: 14px; line-height: 1.75; }
.sc-card .bars {
    display: flex; gap: 6px; align-items: flex-end;
    height: 100px; margin-top: 28px;
}
.sc-card .bar {
    flex: 1; border-radius: 6px 6px 0 0;
    opacity: 0.5; animation: barDance 1s ease-in-out infinite;
}
.sc-card .bar:nth-child(odd) { background: var(--grad-1); }
.sc-card .bar:nth-child(even) { background: var(--grad-2); }
.sc-card .bar:nth-child(1) { height: 60%; animation-delay: 0s; }
.sc-card .bar:nth-child(2) { height: 85%; animation-delay: 0.1s; }
.sc-card .bar:nth-child(3) { height: 45%; animation-delay: 0.2s; }
.sc-card .bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.sc-card .bar:nth-child(5) { height: 55%; animation-delay: 0.4s; }
.sc-card .bar:nth-child(6) { height: 75%; animation-delay: 0.5s; }
.sc-card .bar:nth-child(7) { height: 40%; animation-delay: 0.6s; }
.sc-card .bar:nth-child(8) { height: 80%; animation-delay: 0.7s; }
.sc-card .bar:nth-child(9) { height: 50%; animation-delay: 0.8s; }
.sc-card .bar:nth-child(10) { height: 70%; animation-delay: 0.9s; }
@keyframes barDance {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

/* 波形图卡片 */
.sc-card .wave {
    margin-top: 28px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    gap: 4px;
}
.sc-card .wave-dot {
    width: 4px; border-radius: 2px;
    animation: waveJump 0.7s ease-in-out infinite alternate;
    background: var(--grad-2);
}
@keyframes waveJump {
    0% { height: 12px; }
    100% { height: 64px; }
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 100px 32px; position: relative; z-index: 1;
}
.cta-box {
    max-width: 800px; margin: 0 auto; text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 80px 60px;
    position: relative; overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -60%; left: -60%; width: 220%; height: 220%;
    background: conic-gradient(from 0deg, transparent, rgba(168,85,247,0.05), transparent, rgba(255,107,107,0.05), transparent);
    animation: ctaSpin 20s linear infinite;
}
@keyframes ctaSpin {
    to { transform: rotate(360deg); }
}
.cta-box h2 {
    font-size: 36px; font-weight: 800;
    margin-bottom: 14px; position: relative;
    letter-spacing: -1px;
}
.cta-box h2 span {
    background: var(--grad-2);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-box p { color: var(--text-dim); font-size: 16px; margin-bottom: 36px; position: relative; }
.cta-box .hero-btns { position: relative; }

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 56px 32px 40px;
    border-top: 1px solid var(--border);
    position: relative; z-index: 1;
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 40px; flex-wrap: wrap; gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .f-icon {
    width: 34px; height: 34px;
    background: var(--grad-1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.footer-brand .f-name {
    font-size: 18px; font-weight: 800;
    background: var(--grad-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-nav { display: flex; gap: 36px; }
.footer-nav a {
    color: var(--text-dim); text-decoration: none;
    font-size: 14px; transition: color var(--ease);
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: var(--text-faint); font-size: 13px; }

/* ============================================
   下载页
   ============================================ */
.dl {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 32px 60px;
    position: relative; z-index: 1;
}
.dl-wrap { max-width: 560px; width: 100%; }
.dl-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 56px 52px;
    position: relative; overflow: hidden;
}
.dl-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-1);
}
.dl-info { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.dl-icon {
    width: 88px; height: 88px; flex-shrink: 0;
    background: var(--grad-2);
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px;
    box-shadow: var(--shadow-purple);
    animation: floatIcon 3s ease-in-out infinite;
}
.dl-meta h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.dl-meta .by { color: var(--text-dim); font-size: 14px; }

.dl-ver {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    padding: 18px;
    background: rgba(0,0,0,0.25);
    border-radius: var(--r-md);
    margin-bottom: 28px;
}
.dl-ver-item { text-align: center; }
.dl-ver-label { display: block; color: var(--text-faint); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.dl-ver-val { color: var(--coral); font-weight: 700; font-size: 15px; }

.dl-platforms { margin-bottom: 24px; }
.dl-platforms .tit { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; display: block; }
.dl-plat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-plat {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--r-sm);
    transition: all var(--ease);
    border: 1px solid transparent;
}
.dl-plat:hover { background: rgba(168,85,247,0.06); border-color: rgba(168,85,247,0.2); }
.dl-plat-ico { font-size: 22px; }
.dl-plat-name { font-size: 14px; font-weight: 600; }
.dl-plat-ver { font-size: 11px; color: var(--text-faint); margin-left: auto; }

.dl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.dl-tag {
    padding: 6px 16px;
    background: rgba(168,85,247,0.08);
    border: 1px solid rgba(168,85,247,0.15);
    border-radius: 50px;
    font-size: 12px; font-weight: 600; color: var(--purple-light);
}
.dl-tag:nth-child(2n) { background: rgba(255,107,107,0.08); border-color: rgba(255,107,107,0.15); color: var(--coral-light); }
.dl-tag:nth-child(3n) { background: rgba(56,189,248,0.08); border-color: rgba(56,189,248,0.15); color: var(--electric-light); }

.dl-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 18px;
    background: var(--grad-1);
    color: #fff; border-radius: 60px;
    font-size: 17px; font-weight: 700; text-decoration: none;
    transition: all var(--ease);
    box-shadow: var(--shadow-coral);
}
.dl-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(255,107,107,0.45); }
.dl-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.dl-sub { display: flex; justify-content: center; gap: 24px; margin-top: 22px; }
.dl-sub a {
    display: flex; align-items: center; gap: 6px;
    color: var(--text-dim); text-decoration: none;
    font-size: 13px; padding: 8px 16px; border-radius: 50px;
    transition: all var(--ease);
}
.dl-sub a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.dl-back {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 30px; color: var(--text-faint);
    text-decoration: none; font-size: 13px; transition: color var(--ease);
}
.dl-back:hover { color: var(--text); }
.dl-back svg { width: 16px; height: 16px; }

/* ============================================
   404 页
   ============================================ */
.err {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 32px 60px;
    position: relative; z-index: 1;
}
.err-inner { text-align: center; max-width: 520px; }
.err-graphic { position: relative; margin-bottom: 40px; }
.err-circle {
    width: 140px; height: 140px;
    margin: 0 auto 28px;
    background: var(--grad-2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 52px;
    box-shadow: var(--shadow-purple);
    animation: errFloat 3s ease-in-out infinite;
}
@keyframes errFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(-12px) rotate(5deg); }
    70% { transform: translateY(6px) rotate(-3deg); }
}
.err-crack {
    position: absolute; inset: 0;
    pointer-events: none;
}
.err-crack::before, .err-crack::after {
    content: '';
    position: absolute;
    background: var(--coral);
    opacity: 0.5;
}
.err-crack::before {
    width: 100%; height: 2px;
    top: 48%; left: 0;
    animation: crackBlink 2s ease-in-out infinite;
}
.err-crack::after {
    width: 2px; height: 100%;
    left: 52%; top: 0;
    animation: crackBlink 2s ease-in-out infinite 0.5s;
}
@keyframes crackBlink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}

.err-code {
    display: flex; justify-content: center; gap: 6px;
    font-size: 80px; font-weight: 900; line-height: 1;
}
.err-code .fill {
    background: var(--grad-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.err-code .ghost { color: var(--text-faint); }
.err-title {
    font-size: 28px; font-weight: 800; margin-bottom: 12px;
    margin-top: 8px;
    background: var(--grad-4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.err-msg { color: var(--text-dim); font-size: 15px; line-height: 1.8; margin-bottom: 40px; }

.err-act { margin-bottom: 48px; }
.err-act .hint { color: var(--text-faint); font-size: 12px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.err-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.err-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    background: var(--grad-1);
    color: #fff; text-decoration: none;
    border-radius: 60px; font-size: 14px; font-weight: 700;
    transition: all var(--ease);
    box-shadow: var(--shadow-coral);
}
.err-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(255,107,107,0.45); }
.err-btn.alt {
    background: transparent; border: 1.5px solid var(--border-active);
    box-shadow: none; color: var(--text);
}
.err-btn.alt:hover { border-color: var(--purple); background: rgba(168,85,247,0.06); }
.err-btn svg { width: 18px; height: 18px; }

.err-notes { display: flex; justify-content: center; gap: 40px; opacity: 0.15; }
.err-notes span { font-size: 24px; animation: noteFloat 4s ease-in-out infinite; }
.err-notes span:nth-child(2) { animation-delay: -1.3s; }
.err-notes span:nth-child(3) { animation-delay: -2.6s; }
@keyframes noteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   滚动动画
   ============================================ */
.reveal {
    opacity: 0; transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 滚动条 */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.16); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav { left: 12px; right: 12px; transform: none; border-radius: 40px; padding: 6px 6px 6px 14px; }
    .nav-brand .txt { font-size: 15px; }
    .nav-links a { padding: 8px 14px; font-size: 12px; }

    .hero { padding: 100px 20px 60px; }
    .hero h1 { font-size: 42px; }
    .hero .sub { font-size: 16px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .features { padding: 60px 20px; }

    .dl-card { padding: 40px 28px; }
    .dl-info { flex-direction: column; text-align: center; }
    .dl-plat-grid { grid-template-columns: 1fr; }
    .dl-sub { flex-direction: column; gap: 8px; align-items: center; }

    .cta-box { padding: 56px 28px; }
    .cta-box h2 { font-size: 26px; }

    .err-code { font-size: 56px; }
    .err-links { flex-direction: column; align-items: center; }

    .footer-top { flex-direction: column; align-items: center; text-align: center; }
    .footer-nav { gap: 20px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 34px; }
    .hero-icon { width: 80px; height: 80px; border-radius: 22px; font-size: 40px; }
    .stats-grid { gap: 8px; }
    .stat-card { padding: 24px 14px; }
    .stat-num { font-size: 32px; }
    .showcase { padding: 48px 16px; }
    .sc-card { padding: 32px 24px; }
    .dl-card { padding: 32px 20px; }
}
