/* 暗黑主题样式 */
body.dark-theme {
    background: linear-gradient(135deg, #1a1c20 0%, #2c3e50 100%);
    color: #ecf0f1;
}

/* 英雄区域内容卡片样式 */
body.dark-theme .hero-content {
    background: rgba(40, 45, 50, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

body.dark-theme .hero-content::before {
    background: linear-gradient(135deg, rgba(50, 50, 70, 0.2) 0%, rgba(30, 30, 40, 0.05) 100%);
}

/* 标题提示暗色样式 */
body.dark-theme .title-hint {
    background-color: rgba(52, 152, 219, 0.3);
    color: #ecf0f1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 副标题文字样式 */
body.dark-theme .hero-subtitle {
    color: #ecf0f1;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    font-weight: 500;
    opacity: 1;
}

body.dark-theme .subtitle-text {
    color: #ecf0f1;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .subtitle-text i {
    color: #2ecc71;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}

/* 特性部分背景 */
body.dark-theme .features {
    background-color: rgba(26, 28, 32, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 导航栏暗色样式 */
body.dark-theme .navbar {
    background-color: rgba(26, 28, 32, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-theme .nav-links a {
    color: #ecf0f1;
}

body.dark-theme .nav-links a:hover {
    color: #3498db;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

body.dark-theme .nav-links a:hover::after {
    background: linear-gradient(to right, #3498db, #2ecc71);
    width: 100%;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}

/* 导航栏活动链接样式 */
body.dark-theme .nav-links a.active {
    color: #3498db;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
    font-weight: 600;
}

body.dark-theme .nav-links a.active::after {
    background: linear-gradient(to right, #3498db, #2ecc71);
    width: 100%;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

body.dark-theme .social-icon {
    color: #ecf0f1;
}

body.dark-theme .logo span {
    background: linear-gradient(45deg, #3498db, #1abc9c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 文字动画暗色样式 */
body.dark-theme .hero-title .animated-text:hover {
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
}

/* 特性卡片暗色样式 */
body.dark-theme .feature-card {
    background-color: rgba(44, 62, 80, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .feature-title {
    color: #ecf0f1;
}

body.dark-theme .feature-desc {
    color: #bdc3c7;
}

body.dark-theme .feature-icon {
    color: #3498db;
}

body.dark-theme .feature-card:hover .feature-icon {
    color: #1abc9c;
}

/* 按钮暗色样式 */
body.dark-theme .btn-outline {
    color: #ecf0f1;
    border: 2px solid #ecf0f1;
}

body.dark-theme .btn-outline:hover {
    background: #ecf0f1;
    color: #2c3e50;
}

/* 主题切换图标 */
body.dark-theme #theme-toggle i {
    content: "\f185"; /* 太阳图标 */
}

body.dark-theme #theme-toggle i:before {
    content: "\f185";
}

/* 页脚 */
body.dark-theme #footer {
    background-color: rgba(45, 52, 54, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(61, 66, 70, 0.5);
}

body.dark-theme .footer-container {
    background-color: transparent;
    color: #a0a0a0;
}

body.dark-theme .footer-container a {
    color: #a0a0a0;
}

body.dark-theme .footer-container a:hover {
    color: #ffffff;
}

body.dark-theme #running-days {
    color: #3498db;
}

/* 动画形状暗色样式 */
body.dark-theme .animated-shape {
    opacity: 0.05;
}

/* 滚动条暗色样式 */
body.dark-theme::-webkit-scrollbar {
    width: 12px;
}

body.dark-theme::-webkit-scrollbar-track {
    background: #1a1c20;
}

body.dark-theme::-webkit-scrollbar-thumb {
    background-color: #3498db;
    border-radius: 6px;
    border: 3px solid #1a1c20;
}

/* 文本选择暗色样式 */
body.dark-theme ::selection {
    background: #3498db;
    color: #ecf0f1;
}

/* 技能卡片暗色样式 */
body.dark-theme .skill-category {
    background-color: rgba(44, 62, 80, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 技能卡片文字样式 */
body.dark-theme .skill-category h3 {
    color: #3498db;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

body.dark-theme .skill-category h3 i {
    color: #2ecc71;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

body.dark-theme .skill-category li {
    color: #ecf0f1;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
}

body.dark-theme .skill-category li:before {
    background: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* 关于页面文字样式 */
body.dark-theme .about-text p {
    color: #ecf0f1;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
}

body.dark-theme .section-title {
    color: #3498db;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
} 