/* 元气桌面 - 粉紫渐变主题 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #f093fb;
    --secondary: #f5576c;
    --accent: #fff;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
}
body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    color: var(--text-primary);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    overflow-x: hidden;
}

/* 背景效果 */
.bg-effects { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: var(--primary); top: -150px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; left: -100px; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: linear-gradient(135deg, var(--primary), var(--secondary)); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -5s; }
.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* 导航 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 100;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
}
nav a:hover { color: var(--primary); background: var(--glass-bg); }

/* 容器 */
.container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 120px 20px 60px; }

/* Hero区域 */
.hero { text-align: center; padding: 60px 20px; }
.logo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
}
.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 3s linear infinite;
}
.ring-2 {
    width: 80%;
    height: 80%;
    border-top-color: var(--secondary);
    animation-duration: 2s;
    animation-direction: reverse;
}
.logo-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}
h1 { font-size: 56px; font-weight: 800; margin-bottom: 20px; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subtitle { font-size: 20px; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* 下载按钮 */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(240, 147, 251, 0.4);
}
.download-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(240, 147, 251, 0.6); }
.download-btn svg { width: 20px; height: 20px; }

/* 统计 */
.stats { display: flex; justify-content: center; gap: 80px; margin-top: 80px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-size: 48px; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text-secondary); margin-top: 8px; font-size: 15px; }

/* 特性卡片 */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 80px; }
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(240, 147, 251, 0.15); }
.feature-icon { font-size: 48px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); line-height: 1.7; font-size: 15px; }

/* 下载页面 */
.download-page { display: flex; align-items: center; justify-content: center; min-height: 80vh; padding: 120px 20px; }
.download-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 60px;
    border: 1px solid var(--glass-border);
    text-align: center;
    max-width: 500px;
    width: 100%;
}
.download-card .logo-wrapper { margin-bottom: 20px; }
.download-card h1 { font-size: 36px; margin-bottom: 12px; }
.version { color: var(--text-secondary); margin-bottom: 30px; font-size: 14px; }
.info {
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}
.info-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text-secondary); }
.info-icon { font-size: 20px; }
.download-card .download-btn { width: 100%; justify-content: center; }
.back-link { margin-top: 24px; }
.back-link a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.back-link a:hover { color: var(--primary); }

/* 404页面 */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 80vh; }
.error-content { text-align: center; }
.error-code { font-size: 140px; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0.8; margin-bottom: 20px; }
.error-content h1 { font-size: 32px; margin-bottom: 16px; color: var(--text-primary); }
.error-content p { color: var(--text-secondary); margin-bottom: 30px; font-size: 18px; }
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(240, 147, 251, 0.4); }

/* 响应式 */
@media (max-width: 768px) {
    h1 { font-size: 40px; }
    .subtitle { font-size: 17px; }
    .stats { gap: 40px; }
    .stat-number { font-size: 36px; }
    .features { grid-template-columns: 1fr; }
    .download-card { padding: 40px 24px; }
    nav { padding: 16px 20px; gap: 20px; }
}
