﻿[data-theme="dark"] {
    --primary-color: #4d7fff;
    --secondary-color: #1fcf8f;
    --text-color: #ffffff;
    --bg-color: #1a1a1a;
}

[data-theme="dark"] .header {
    background-color: rgba(26, 26, 26, 0.98);
}

[data-theme="dark"] .footer {
    background-color: #242424;
}

[data-theme="dark"] .login-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .mobile-menu-btn span {
    background-color: var(--text-color);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--bg-color) 0%, #2a2a2a 100%);
}

[data-theme="dark"] .service-card {
    background: #242424;
}

[data-theme="dark"] .news-card {
    background: #242424;
}

[data-theme="dark"] .news-date {
    color: #888;
}

[data-theme="dark"] .stat-label {
    color: #888;
}

/* 添加暗色模式下的登录框样式 */
[data-theme="dark"] .auth-box {
    background: rgba(36, 36, 36, 0.95);
}

[data-theme="dark"] .auth-box h2 {
    color: #fff;
}

[data-theme="dark"] .auth-box p {
    color: #bbb;
}

[data-theme="dark"] .login-btn {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .login-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

[data-theme="dark"] .feature span {
    color: #bbb;
}

[data-theme="dark"] .auth-features {
    border-top-color: #333;
}

/* 添加暗色模式下的平台推荐样式 */
[data-theme="dark"] .platform-recommendations {
    border-top-color: #333;
}

[data-theme="dark"] .platform-item {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .platform-item:hover {
    background: rgba(77, 127, 255, 0.15);
    color: var(--primary-color);
}

[data-theme="dark"] .animated-background {
    background: linear-gradient(45deg, #1a1a1a, #1fcf8f);
} 