* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --dark-color: #f8f9fa;
    --light-color: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
}

body {
    background-color: #ffffff;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 流动背景效果 - 调整为更快的颜色过渡 */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(-45deg, #f3f4f6, #e0e7ff, #fce7f3, #e0f2fe);
    background-size: 400% 400%;
    animation: gradient-flow 12s ease infinite;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    20% { background-position: 50% 50%; } /* 加快第一个颜色过渡 */
    40% { background-position: 100% 50%; }
    60% { background-position: 50% 50%; } /* 加快中间颜色过渡 */
    80% { background-position: 0% 50%; }
    100% { background-position: 0% 50%; }
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(90deg, #6c5ce7, #fd79a8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background-color: rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
    color: #6c5ce7;
}

.nav-links a.active {
    background-color: rgba(108, 92, 231, 0.15);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.15);
    color: #6c5ce7;
}

/* 主要内容区域 */
.container {
    max-width: 1200px;
    margin: 120px auto 40px;
    padding: 0 20px;
}

.page {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 首页样式 */
.hero {
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.app-icon {
    width: 140px;
    height: 140px;
    border-radius: 30px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe, #fd79a8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.2);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #6c5ce7, #fd79a8, #23a6d5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-text 3s ease infinite;
    background-size: 200% auto;
}

.hero-tagline {
    font-size: 24px;
    margin-bottom: 30px;
    color: #666;
    font-weight: 600;
}

@keyframes gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-img {
    height: 28px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.badge-img:hover {
    transform: translateY(-3px);
}

.divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, #6c5ce7, transparent);
    margin: 40px 0;
    opacity: 0.3;
}

/* 功能介绍区域 */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #6c5ce7, #fd79a8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro-content {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.intro-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.intro-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 17px;
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.feature-table th {
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--text-color);
    padding: 20px;
    text-align: left;
    font-size: 18px;
    border-bottom: 2px solid rgba(108, 92, 231, 0.2);
}

.feature-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

.feature-table tr:last-child td {
    border-bottom: none;
}

.feature-table tr:hover {
    background-color: rgba(108, 92, 231, 0.05);
}

.warning-box {
    background-color: rgba(231, 76, 60, 0.08);
    border-left: 4px solid #e74c3c;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.warning-box h3 {
    color: #e74c3c;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-box {
    background-color: rgba(248, 249, 250, 0.9);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(108, 92, 231, 0.2);
    overflow-x: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.config-box pre {
    color: #6c5ce7;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* 下载页面样式 */
.downloads-header {
    text-align: center;
    margin-bottom: 50px;
}

.downloads-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #6c5ce7, #fd79a8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.downloads-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.releases-container {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.release-item {
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.release-item:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.release-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
}

.release-date {
    color: #888;
    font-size: 14px;
}

.release-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.assets-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.asset-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: rgba(108, 92, 231, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(108, 92, 231, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.asset-item:hover {
    background-color: rgba(108, 92, 231, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.15);
    color: #6c5ce7;
}

.asset-icon {
    font-size: 20px;
    color: #6c5ce7;
}

.asset-name {
    color: var(--text-color);
    font-weight: 600;
}

.asset-size {
    color: #888;
    font-size: 13px;
    margin-left: 10px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

/* 关于页面样式 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #6c5ce7, #fd79a8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.github-link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: #6c5ce7;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 18px;
}

.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    border-top-color: #6c5ce7;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 快速开始步骤 */
.quick-start {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.step {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 注意事项 */
.notice-box {
    background-color: rgba(241, 196, 15, 0.08);
    border-left: 4px solid #f1c40f;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.notice-box h3 {
    color: #d4a017;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-list {
    list-style-type: none;
    padding-left: 0;
}

.notice-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.notice-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-tagline {
        font-size: 20px;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-table {
        font-size: 14px;
    }
    
    .feature-table th,
    .feature-table td {
        padding: 12px 15px;
    }
    
    .release-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .assets-list {
        flex-direction: column;
    }
    
    .container {
        margin-top: 100px;
    }
    
    .badges {
        gap: 10px;
    }
    
    .badge-img {
        height: 24px;
    }
}

/* 页脚样式（无版权信息） */
footer {
    text-align: center;
    padding: 20px;
    color: #aaa;
    font-size: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

/* 备用下载链接样式 */
.fallback-download {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.fallback-download h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

/* 链接样式 */
a {
    color: #6c5ce7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    background-color: rgba(108, 92, 231, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #6c5ce7;
}