﻿/* ===== style.css (重构·星空夜景毛玻璃版) ===== */
:root {
    --primary-color: #c0a2ff; /* 星云淡紫 */
    --secondary-color: #9b7bda;
    --accent-color: #6ec7f0; /* 冷色点缀 */
    --text-light: #ffffffec;
    --text-muted: #cfd9ffcc;
    --card-bg: rgba(6, 10, 24, 0.9); /* 深空底色，半透明 */
    --nav-bg: rgba(10, 15, 30, 0.7);
    --footer-bg: rgba(8, 12, 28, 0.8);
    --border-glass: 1px solid rgba(255, 255, 255, 0.2);
    --border-radius: 20px;
    --box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    --transition: all 0.3s ease;
    --backdrop-blur: blur(12px);
}

/* 设置根字体基准 (桌面端默认16px) */
html {
    font-size: 16px;
}

/* 移动端优化 (宽度小于768px) */
@media (max-width: 768px) {
    html {
        font-size: 14px; /* 手机端适当缩小，所有rem单位自动缩放 */
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html body.light-mode::before,
body.light-mode::before {
    background: url('../images/day.jpg') no-repeat center center fixed !important;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    /* 星空背景图 (固定，覆盖) */
    background: url('../images/background-image.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

/* 深色半透明遮罩层：压暗背景，突出文字 (位于背景与内容之间) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 20, 0.45); /* 深蓝黑叠加 */
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ===== 亮色主题 ===== */
/* ===== 基础亮色主题变量（放在 :root 之后） ===== */
/* ===== 白天主题变量（数字黎明风格） ===== */
body.light-mode {
    --primary-color: #006080; /* 科技青蓝 - 图片主光色 */
    --secondary-color: #0099CC; /* 深海蓝 */
    --accent-color: #FF6B9D; /* 洋红点缀 - 与蓝形成对比 */
    --text-light: #1a2a3a; /* 深海墨蓝 - 主文字 */
    --text-muted: #5a6578; /* 钢蓝灰 - 次要文字 */
    --card-bg: rgba(230, 245, 255, 0.92); /* 冰蓝半透明 - 玻璃效果 */
    --nav-bg: rgba(220, 230, 245, 0.97); /* 纯白半透明导航 */
    --footer-bg: rgba(240, 248, 255, 0.95); /* 爱丽丝蓝 */
    --border-glass: 1px solid rgba(0, 96, 128, 0.3); /* 青蓝边框 */
    --box-shadow: 0 8px 32px rgba(0, 60, 120, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    color: #1a2a3a;
}

html body.light-mode {
    background: url('../images/day.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
}

    /* 背景遮罩 - 模拟图片的光照效果 */
body.light-mode::after {
    background: linear-gradient( 180deg,rgba(255, 255, 255, 0.0)0%, /* 顶部明亮 */
    rgba(160, 180, 210, 0.0)40%, /* 中部过渡 */
    rgba(0, 100, 180, 0.0)100% /* 底部蓝光 */
    );
}

/* 额外暗色遮罩 - 进一步降低亮度 */
body.light-mode .dark-overlay,
body.light-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 40, 0.15) !important; /* 深蓝黑遮罩 */
    z-index: -1;
    pointer-events: none;
}

    /* ===== 导航栏 ===== */
    body.light-mode .nav-links a {
        color: #2D3748;
        font-weight: 500;
    }

        body.light-mode .nav-links a:hover,
        body.light-mode .nav-links a.active {
            color: var(--primary-color);
            text-shadow: 0 0 12px rgba(0, 96, 128, 0.4);
        }

    body.light-mode .btn-login {
        background: linear-gradient(135deg, #006080 0%, #0099CC 100%);
        color: white !important;
        box-shadow: 0 4px 15px rgba(0, 96, 128, 0.4);
        border: none;
    }

        body.light-mode .btn-login:hover {
            background: linear-gradient(135deg, #00B8E6 0%, #0088B3 100%);
            box-shadow: 0 6px 20px rgba(0, 96, 128, 0.6);
            transform: translateY(-2px);
        }

    body.light-mode .dropdown-menu {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 60, 120, 0.15);
        box-shadow: 0 10px 40px rgba(0, 100, 200, 0.15);
    }

        body.light-mode .dropdown-menu a {
            color: #2D3748;
        }

            body.light-mode .dropdown-menu a:hover {
                background: rgba(0, 96, 128, 0.1);
                color: var(--primary-color);
            }

    body.light-mode .theme-toggle {
        color: #F6AD55; /* 暖橙 - 太阳图标 */
    }

        body.light-mode .theme-toggle:hover {
            color: #ED8936;
            transform: rotate(180deg) scale(1.1);
        }

    /* ===== Hero 区域 ===== */
    body.light-mode .hero h1 {
        color: #1a2a3a;
        text-shadow: 0 2px 20px rgba(0, 96, 128, 0.3);
        font-weight: 700;
    }

    body.light-mode .hero p {
        color: #5a6578;
        text-shadow: none;
    }

    /* ===== 按钮系统 ===== */
    body.light-mode .btn {
        background: linear-gradient(135deg, #006080 0%, #0099CC 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(0, 96, 128, 0.3);
        border: none;
        position: relative;
        overflow: hidden;
    }

        /* 添加扫描线效果 */
        body.light-mode .btn::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient( 45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70% );
            transform: rotate(45deg) translateX(-100%);
            transition: transform 0.6s;
        }

        body.light-mode .btn:hover::before {
            transform: rotate(45deg) translateX(100%);
        }

        body.light-mode .btn:hover {
            background: linear-gradient(135deg, #00B8E6 0%, #0088B3 100%);
            box-shadow: 0 8px 25px rgba(0, 96, 128, 0.5);
            transform: translateY(-3px);
        }

    body.light-mode .btn-secondary {
        background: transparent;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        box-shadow: 0 0 10px rgba(0, 60, 120, 0.15);
    }

        body.light-mode .btn-secondary:hover {
            background: var(--primary-color);
            color: white;
            box-shadow: 0 0 20px rgba(0, 96, 128, 0.4);
        }

    /* ===== 卡片系统（全息玻璃效果） ===== */
    body.light-mode .feature-card {
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 245, 255, 0.8) 100% );
        border: 1px solid rgba(0, 96, 128, 0.25);
        box-shadow: 0 8px 32px rgba(0, 100, 200, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
        position: relative;
        overflow: hidden;
    }

        /* 卡片顶部光条 */
        body.light-mode .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100% );
            opacity: 0.6;
        }

        body.light-mode .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 150, 255, 0.2), 0 0 0 2px rgba(0, 96, 128, 0.3) inset;
            border-color: rgba(0, 96, 128, 0.4);
        }

            body.light-mode .feature-card:hover::before {
                opacity: 1;
                box-shadow: 0 0 10px var(--primary-color);
            }

        body.light-mode .feature-card h3 {
            color: #1a2a3a;
            text-shadow: none;
            font-weight: 600;
        }

        body.light-mode .feature-card p {
            color: #5a6578;
            text-shadow: none;
        }

    body.light-mode .feature-icon {
        color: var(--primary-color);
        filter: drop-shadow(0 0 8px rgba(0, 96, 128, 0.5));
    }

    /* ===== 区块标题 ===== */
    body.light-mode .section-title {
        color: #1a2a3a;
        text-shadow: 0 2px 10px rgba(0, 60, 120, 0.15);
        position: relative;
        display: inline-block;
        width: 100%;
    }

        /* 标题下划线光效 */
        body.light-mode .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), transparent);
            margin: 10px auto 0;
            border-radius: 2px;
        }

        body.light-mode .section-title span {
            color: var(--primary-color);
            font-weight: 700;
        }

    /* ===== 社交链接 ===== */
    body.light-mode .social-links a {
        color: #5a6578;
        filter: drop-shadow(0 0 4px rgba(0, 60, 120, 0.15));
        transition: all 0.3s ease;
    }

        body.light-mode .social-links a:hover {
            color: var(--primary-color);
            transform: scale(1.2) translateY(-3px);
            filter: drop-shadow(0 0 12px rgba(0, 96, 128, 0.6));
            text-shadow: 0 0 10px rgba(0, 96, 128, 0.5);
        }

    /* ===== 页脚 ===== */
    body.light-mode footer {
        background: linear-gradient( to bottom, rgba(240, 248, 255, 0.98) 0%, rgba(230, 245, 255, 0.95) 100% );
        border-top: 1px solid rgba(0, 60, 120, 0.15);
        position: relative;
    }

        /* 页脚顶部光条 */
        body.light-mode footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100% );
        }

    body.light-mode .footer-section h3 {
        color: #1a2a3a;
        text-shadow: none;
        font-weight: 600;
        border-bottom: 2px solid rgba(0, 96, 128, 0.3);
        padding-bottom: 10px;
        display: inline-block;
    }

    body.light-mode .footer-section p {
        color: #5a6578;
    }

    body.light-mode .footer-section a {
        color: #2B6CB0;
        transition: all 0.3s ease;
    }

        body.light-mode .footer-section a:hover {
            color: var(--primary-color);
            padding-left: 8px;
            text-shadow: 0 0 8px rgba(0, 96, 128, 0.3);
        }

    body.light-mode .footer-section .social-links a {
        color: #5a6578;
    }

        body.light-mode .footer-section .social-links a:hover {
            color: var(--primary-color);
        }

    body.light-mode .copyright {
        color: #718096;
        border-top-color: rgba(0, 96, 128, 0.15);
    }

        body.light-mode .copyright .icp a {
            color: #718096;
            border-bottom-color: #A0AEC0;
            transition: all 0.3s ease;
        }

            body.light-mode .copyright .icp a:hover {
                color: var(--primary-color);
                border-bottom-color: var(--primary-color);
            }

    /* ===== 联系区域 ===== */
    body.light-mode #about p,
    body.light-mode #contact p {
        color: #5a6578;
        text-shadow: none;
        line-height: 1.8;
    }

    body.light-mode #contact a {
        color: var(--primary-color);
        font-weight: 600;
        position: relative;
        text-decoration: none;
    }

        body.light-mode #contact a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s ease;
            box-shadow: 0 0 8px rgba(0, 96, 128, 0.5);
        }

        body.light-mode #contact a:hover::after {
            width: 100%;
        }

        body.light-mode #contact a:hover {
            color: #0088B3;
        }

    /* ===== 模态框（登录窗口） ===== */
    body.light-mode .modal-content {
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.98) 0%, rgba(230, 245, 255, 0.95) 100% );
        color: #1a2a3a;
        border: 1px solid rgba(0, 96, 128, 0.3);
        box-shadow: 0 25px 50px rgba(0, 100, 200, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    }

        body.light-mode .modal-content h3 {
            color: var(--primary-color);
            text-shadow: 0 0 10px rgba(0, 96, 128, 0.3);
        }

        body.light-mode .modal-content input {
            background: rgba(0, 96, 128, 0.05);
            color: #1a2a3a;
            border: 1px solid rgba(0, 60, 120, 0.15);
            transition: all 0.3s ease;
        }

            body.light-mode .modal-content input:focus {
                border-color: var(--primary-color);
                box-shadow: 0 0 0 3px rgba(0, 96, 128, 0.1), 0 0 15px rgba(0, 60, 120, 0.15);
                outline: none;
            }

            body.light-mode .modal-content input::placeholder {
                color: #A0AEC0;
            }

        body.light-mode .modal-content button {
            background: linear-gradient(135deg, #006080 0%, #0099CC 100%);
            color: white;
            border: none;
            box-shadow: 0 4px 15px rgba(0, 96, 128, 0.3);
        }

            body.light-mode .modal-content button:hover {
                background: linear-gradient(135deg, #00B8E6 0%, #0088B3 100%);
                box-shadow: 0 6px 20px rgba(0, 96, 128, 0.5);
                transform: translateY(-2px);
            }

    body.light-mode .close-modal {
        color: #A0AEC0;
        transition: all 0.3s ease;
    }

        body.light-mode .close-modal:hover {
            color: var(--primary-color);
            text-shadow: 0 0 10px rgba(0, 96, 128, 0.5);
            transform: rotate(90deg);
        }

    /* ===== 网易云播放器区域 ===== */
    body.light-mode .playlist-header {
        border-bottom-color: rgba(0, 60, 120, 0.15) !important;
        background: rgba(255, 255, 255, 0.5);
    }

    body.light-mode #playlistIcon {
        color: var(--primary-color);
        filter: drop-shadow(0 0 5px rgba(0, 96, 128, 0.3));
    }

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    body.light-mode .nav-links {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 60, 120, 0.15);
        box-shadow: 0 10px 30px rgba(0, 100, 200, 0.1);
    }

        body.light-mode .nav-links a {
            color: #2D3748;
        }

    body.light-mode .dropdown-menu {
        background: rgba(240, 248, 255, 0.98);
    }

    body.light-mode .feature-card {
        background: rgba(220, 230, 245, 0.97);
    }
}

/* ===== 特殊效果 ===== */

/* 文字选中效果 */
body.light-mode ::selection {
    background: rgba(0, 96, 128, 0.3);
    color: #1a2a3a;
}

/* 滚动条美化 */
body.light-mode::-webkit-scrollbar {
    width: 10px;
}

body.light-mode::-webkit-scrollbar-track {
    background: rgba(230, 245, 255, 0.5);
}

body.light-mode::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

    body.light-mode::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #00B8E6, #0088B3);
    }




/* ===== 导航栏 ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: var(--border-glass);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(160, 130, 255, 0.5);
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px; /* 统一间距，替代原来的 margin-left */
    list-style: none;
}

    .nav-links li {
        position: relative;
    }

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .nav-links a {
        font-size: 1rem; /* 导航链接稍小 */
    }

    .feature-card {
        padding: 25px 15px; /* 减小卡片内边距 */
    }
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    text-shadow: 0 0 8px #b7a0ff;
}

.mobile-menu-btn {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* 下拉菜单触发器 */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .dropdown-toggle i {
        font-size: 0.8rem;
        transition: transform 0.3s;
    }

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 120px;
    background: var(--nav-bg);
    backdrop-filter: var(--backdrop-blur);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1);
        color: white;
        padding-left: 20px;
    }

/* 右侧操作区 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* 推到右侧 */
}

    .nav-actions a {
        display: inline-flex;
        align-items: center;
        color: var(--text-muted);
        transition: var(--transition);
    }

        .nav-actions a:hover {
            color: white;
        }

    /* 登录按钮特殊样式保留 */
    .nav-actions .btn-login {
        background: var(--primary-color);
        color: #111 !important;
        padding: 6px 18px;
        border-radius: 30px;
    }

        .nav-actions .btn-login:hover {
            background: #b594ff;
            transform: translateY(-2px);
        }

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        display: none; /* 原有隐藏逻辑 */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: var(--backdrop-blur);
        padding: 20px 0;
        border-bottom: var(--border-glass);
        z-index: 999;
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            width: 100%;
            text-align: center;
            padding: 12px 0;
        }

    /* 下拉菜单在移动端直接展开，避免悬停 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        display: none; /* 默认隐藏，点击时显示（需JS辅助，简单起见可始终显示） */
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 0;
        text-align: center;
    }

    .nav-actions {
        justify-content: center;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
}







/* ===== Hero 区域 ===== */
.hero {
    background: transparent; /* 完全透出星空背景 */
    padding: 100px 0;
    text-align: center;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-bottom: 40px;
}

    .hero h1 {
        font-size: 3.2rem;
        margin-bottom: 20px;
        text-shadow: 0 0 20px #9b89b3;
        color: white;
    }

    .hero p {
        font-size: 1.3rem;
        max-width: 700px;
        margin: 0 auto 30px;
        opacity: 0.95;
        color: var(--text-muted);
    }

/* ===== 通用区块 ===== */
.section {
    padding: 70px 0;
    /* 默认无背景，卡片自带玻璃效果 */
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
    color: white;
    text-shadow: 0 0 10px #8a7bc0;
}

.section-title span {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== 卡片网格 (成果/功能) ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));;
    margin-bottom: 40px;
    gap: 30px 25px; /* 行间距30px，列间距25px */
    max-width: 1200px; /* 可选，限制网格最大宽度 */
    margin: 0 auto; /* 居中 */
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: var(--border-glass);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    height: 100%; /* 保证同一行卡片等高 */
    /* 增加文字阴影提升可读性 */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(200, 180, 255, 0.4) inset;
        border-color: rgba(255, 255, 255, 0.3);
    }

.feature-icon {
    font-size: 58px;
    color: var(--primary-color);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px #a28ad6);
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.feature-card p {
    flex: 1; /* 让描述区域占据剩余空间，使按钮对齐底部 */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 最多显示3行 */
    -webkit-box-orient: vertical;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.feature-card .btn {
    align-self: center; /* 按钮居中 */
    margin-top: auto; /* 推到底部 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr; /* 手机上一列 */
        gap: 20px;
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #0c0e1a;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

    .btn:hover {
        background: #b594ff;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(160, 130, 255, 0.6);
        color: #000;
    }

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(4px);
}

    .btn-secondary:hover {
        background: var(--primary-color);
        color: #11131f;
    }

.btn-login {
    background: var(--primary-color);
    color: #111 !important;
    padding: 6px 18px;
    border-radius: 30px;
    transition: var(--transition);
}

    .btn-login:hover {
        background: #b594ff;
        transform: translateY(-2px);
        color: #000 !important;
        text-shadow: none;
    }

/* 项目卡片特殊指针 */
.project-card {
    cursor: pointer;
}





/* ===== 联系区域 & 关于 文字样式 ===== */
#about p, #contact p {
    color: var(--text-muted);
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

#contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

    #contact a:hover {
        text-decoration: underline;
        color: white;
    }

/* ===== 页脚 ===== */
footer {
    background: var(--footer-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: var(--border-glass);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 5px #24204b;
}

.footer-section p {
    opacity: 0.9;
    margin-bottom: 15px;
    color: #cdd3ff;
}

.footer-section a {
    color: #b5c0ff;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

    .footer-section a:hover {
        color: white;
        padding-left: 8px;
        text-shadow: 0 0 8px #bbaaff;
    }

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.95rem;
    color: #b2b9e0;
}

.copyright .icp {
    margin-top: 8px;
    font-size: 0.9rem;
}

.copyright .icp a {
    color: #b2b9e0;
    text-decoration: none;
    border-bottom: 1px dotted #6f78a0;
}

.copyright .icp a:hover {
    color: white;
    border-bottom-color: white;
}

/* ===== 其他组件 (保留以备后续页面) ===== */
.download-section, .info-cards, .expansion-area {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border-radius: var(--border-radius);
    border: var(--border-glass);
    padding: 50px;
    margin: 40px 0;
    color: white;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    color: white;
    padding: 15px 30px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.download-btn:hover {
    background: rgba(200,180,255,0.2);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.coming-soon-badge {
    background: #ffb347;
    color: #1b1b2c;
}



/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: var(--backdrop-blur);
        flex-direction: column;
        box-shadow: 0 15px 30px rgba(0,0,0,0.6);
        padding: 20px 0;
        border-bottom: var(--border-glass);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 0;
            text-align: center;
            padding: 15px 0;
        }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}









/* 登录模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border: var(--border-glass);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 90%;
    max-width: 400px;
    color: white;
    box-shadow: var(--box-shadow);
    text-align: center;
}

    .modal-content h3 {
        margin-bottom: 20px;
        color: var(--primary-color);
    }

    .modal-content input {
        width: 100%;
        padding: 12px;
        margin-bottom: 20px;
        border: var(--border-glass);
        border-radius: 30px;
        background: rgba(255,255,255,0.1);
        color: white;
        font-size: 1rem;
        outline: none;
    }

        .modal-content input:focus {
            border-color: var(--primary-color);
        }

    .modal-content button {
        background: var(--primary-color);
        color: #111;
        border: none;
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: bold;
        cursor: pointer;
        transition: var(--transition);
    }

        .modal-content button:hover {
            background: #b594ff;
            transform: translateY(-2px);
        }

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close-modal:hover {
        color: white;
    }



/* 公安备案图标样式 */
.icp .icp-icon {
    vertical-align: middle; /* 与文字垂直居中 */
    width: 20px; /* 控制图标宽度 */
    height: auto; /* 高度自适应 */
    margin-right: 5px; /* 图标与文字间距 */
    display: inline-block; /* 确保作为行内块元素 */
}

/* 亮色主题下图标不变（可选） */
body.light-mode .icp .icp-icon {
    /* 无需特殊处理，保持原样 */
}

@media (max-width: 768px) {
    .icp .icp-icon {
        width: 18px; /* 适当缩小 */
        margin-right: 4px;
    }
}


