/* ========================================
   科技感设计 - 加密货币应用下载中心
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 科技感配色方案 */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tech-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #00f2fe;
    --success-color: #10b981;
    
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    --bg-dark: #0f0f23;
    --bg-darker: #0a0a15;
    --bg-card: rgba(26, 26, 46, 0.6);
    --bg-card-hover: rgba(26, 26, 46, 0.8);
    
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(102, 126, 234, 0.5);
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   动态科技背景
   ======================================== */
.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 50%, #0f0f23 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   主导航栏
   ======================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateX(4px);
}

.brand-icon {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.brand-text {
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    min-width: 280px;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-primary);
    transform: translateX(4px);
}

.item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* 响应式导航 */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        display: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* ========================================
   容器
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ========================================
   渐变文字效果
   ======================================== */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.tech-text {
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   按钮
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.btn-platform {
    width: 100%;
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.btn-platform:hover {
    background: var(--primary-gradient);
    border-color: transparent;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-glow {
    background: var(--primary-gradient);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.8); }
}

.btn-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ========================================
   Hero 区
   ======================================== */
.hero {
    padding: calc(var(--spacing-xl) + 70px) 0 var(--spacing-xl) 0;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

/* 数据统计 */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* ========================================
   区块标题
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.title-main {
    display: block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: var(--spacing-xs);
}

/* ========================================
   精选平台
   ======================================== */
.featured-app {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.featured-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.featured-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-4px);
}

.card-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.featured-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

/* 功能网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-4px);
}

.feature-icon {
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   优势卡片
   ======================================== */
.why-section {
    padding: var(--spacing-xl) 0;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.reason-card {
    position: relative;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.reason-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-8px);
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.reason-card:hover .card-shine {
    left: 100%;
}

.reason-icon {
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
}

.reason-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.reason-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
}

/* ========================================
   其他平台
   ======================================== */
.other-platforms {
    padding: var(--spacing-xl) 0;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.platform-card {
    position: relative;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.platform-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-4px);
}

.platform-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover .platform-glow {
    opacity: 1;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.platform-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.platform-badge {
    padding: 4px 12px;
    background: var(--secondary-gradient);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.platform-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* 优惠徽章 */
.promo-badges {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.promo-badge {
    flex: 1;
    padding: var(--spacing-sm);
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    text-align: center;
}

.badge-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.badge-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.badge-value {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* 邀请码 */
.referral-code {
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: var(--spacing-md);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
}

.code-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 242, 254, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px dashed var(--accent-color);
    gap: var(--spacing-sm);
}

.code-box code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    flex: 1;
}

.copy-btn {
    background: var(--accent-color);
    color: var(--bg-dark);
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.copy-btn.copied {
    background: var(--success-color);
}

/* 平台特性标签 */
.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   对比表格
   ======================================== */
.comparison {
    padding: var(--spacing-xl) 0;
}

.comparison-table-wrapper {
    max-width: 700px;
    margin: var(--spacing-lg) auto 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table thead {
    background: rgba(102, 126, 234, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* ========================================
   下载CTA
   ======================================== */
.download-cta {
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    animation: float 3s ease-in-out infinite;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   免责声明
   ======================================== */
.disclaimer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
}

.disclaimer-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.8;
}

.disclaimer-content p {
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links span {
    color: var(--border-color);
}

.footer-guides {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-guides h4 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.guide-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.guide-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.guide-links a:hover {
    color: var(--accent-color);
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }
    
    .reasons-grid,
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .featured-card,
    .platform-card {
        padding: var(--spacing-md);
    }
    
    .promo-badges {
        flex-direction: column;
    }
    
    .code-box code {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* 加载完成类 */
.loaded {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   文章页面样式
   ======================================== */
.guide-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-sm) 0;
}

.guide-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.article-hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.article-content {
    padding: var(--spacing-lg) 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.table-of-contents {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-md);
}

.table-of-contents h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: var(--spacing-xs);
}

.table-of-contents a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: block;
    padding: 6px 12px;
    border-radius: 8px;
}

.table-of-contents a:hover {
    color: var(--accent-color);
    background: rgba(102, 126, 234, 0.1);
}

.article-body {
    max-width: 800px;
}

.content-section {
    margin-bottom: var(--spacing-xl);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.content-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.info-box, .warning-box {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.warning-box {
    background: rgba(245, 87, 108, 0.1);
    border-color: rgba(245, 87, 108, 0.3);
}

.info-box h4, .warning-box h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.info-box ul, .warning-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li, .warning-box li {
    padding: 4px 0;
    padding-left: 24px;
    position: relative;
}

.info-box li::before, .warning-box li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.step-card {
    display: flex;
    gap: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(8px);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.timeline-marker {
    position: absolute;
    left: -30px;
    width: 60px;
    height: 30px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
}

.timeline-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.fee-table {
    overflow-x: auto;
    margin: var(--spacing-md) 0;
}

.fee-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.fee-table th, .fee-table td {
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.fee-table th {
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

.fee-table td {
    color: var(--text-secondary);
}

.fee-table tr:last-child td {
    border-bottom: none;
}

.time-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.factor-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
}

.factor-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.factor-card h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.factor-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.security-checklist {
    margin: var(--spacing-md) 0;
}

.checklist-item {
    display: flex;
    gap: var(--spacing-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.checklist-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.checklist-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.faq-list {
    margin: var(--spacing-md) 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--accent-color);
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.article-cta {
    margin: var(--spacing-xl) 0;
}

.cta-box {
    background: var(--bg-card);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: var(--spacing-lg);
    text-align: center;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.cta-box p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.related-articles {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-4px);
}

.related-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.related-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* 响应式 */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .table-of-contents {
        position: static;
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-sm);
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -25px;
        width: 50px;
    }
}

/* ========================================
   交易所排名专属样式
   ======================================== */
.exchange-rank-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
}

.exchange-rank-card:hover {
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.rank-1 { border-color: rgba(255, 215, 0, 0.5); }
.rank-2 { border-color: rgba(192, 192, 192, 0.5); }
.rank-3 { border-color: rgba(205, 127, 50, 0.5); }

.rank-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary-gradient);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.rank-1 .rank-badge { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); }
.rank-2 .rank-badge { background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%); }
.rank-3 .rank-badge { background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%); }

.exchange-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    margin-top: 10px;
}

.exchange-header h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--text-primary);
}

.exchange-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.exchange-tags span {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-hot {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--text-primary);
}

.tag-feature {
    background: rgba(102, 126, 234, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.exchange-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.exchange-stats .stat {
    text-align: center;
    padding: var(--spacing-sm);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
}

.exchange-stats .stat span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.exchange-stats .stat strong {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 700;
}

.exchange-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: var(--spacing-md) 0;
}

.exchange-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.pros, .cons {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: var(--spacing-md);
}

.pros {
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cons {
    border: 1px solid rgba(245, 87, 108, 0.3);
}

.pros h4 {
    color: var(--success-color);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.cons h4 {
    color: #f5576c;
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
}

.pros li, .cons li {
    font-size: 0.875rem;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.cons li::before {
    content: '!';
    position: absolute;
    left: 0;
    color: #f5576c;
    font-weight: 700;
}

.exchange-promo {
    background: rgba(102, 126, 234, 0.1);
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
    text-align: center;
}

.exchange-promo p {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.exchange-promo .btn {
    margin: 4px;
}

.compact-rankings {
    margin-top: var(--spacing-xl);
}

.compact-rankings h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.compact-rank-item {
    display: flex;
    gap: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
}

.compact-rank-item:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(8px);
}

.rank-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.rank-info h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.rank-info p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.quick-stats {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.quick-stats span {
    padding: 4px 10px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.selection-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.guide-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-4px);
}

.guide-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.guide-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.guide-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .exchange-pros-cons {
        grid-template-columns: 1fr;
    }
    
    .exchange-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .exchange-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .selection-guide {
        grid-template-columns: 1fr;
    }
}
