/* 清除浏览器默认边距 */
    body {
        margin: 0;
        font-family: 'Helvetica Neue', Arial, sans-serif;
        background-color: #1a1921; 
        width: 100%;       /* 确保宽度占满全屏 */
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* 核心：防止任何横向溢出产生白边 */
    }

    /* ================= 新增：隐形触发区 ================= */
    .hover-trigger-area {
        position: fixed; /* 固定在屏幕顶部，不随页面滚动而消失 */
        top: 0;
        left: 0;
        width: 100%;
        height: 80px; /* 隐形感应区的高度：鼠标靠近顶部 80px 内就会触发 */
        z-index: 1000; /* 确保它在网页的最上层 */
    }

    /* ================= 导航栏大容器 (加入隐藏和动画代码) ================= */
    .navbar {
        display: flex;
        justify-content: space-between; 
        align-items: center;            
        background-color: #353340;      
        padding: 10px 40px;             
        color: white;
        
        /* 隐藏动画的核心代码 */
        position: absolute;
        top: 0;
        width: 100%;
        box-sizing: border-box; /* 确保 padding 不会撑破屏幕宽度 */
        
        transform: translateY(-100%); /* 初始状态：向上平移自身的高度，藏到屏幕外 */
        opacity: 0; /* 初始状态：完全透明 */
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* 添加平滑的滑出动画 */
    }

    /* ================= 悬停触发动作 ================= */
    /* 当鼠标悬停在触发区(.hover-trigger-area)时，改变里面导航栏(.navbar)的状态 */
    .hover-trigger-area:hover .navbar {
        transform: translateY(0); /* 回到原始位置 */
        opacity: 1; /* 恢复不透明 */
    }

    /* ================= 左侧与右侧样式 (保持不变) ================= */
    .nav-left {
        display: flex;
        align-items: center;
        gap: 15px; 
    }

    .nav-left img {
        height: 40px; 
        width: auto;
    }

    .nav-left .brand-name {
        font-size: 1.2rem;
        font-weight: bold;
        letter-spacing: 1px;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 25px; 
    }

    .nav-right a {
        color: #e0e0e0;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.2s;
    }

    .nav-right a:hover {
        color: #ffffff; 
    }

    .nav-right a.active {
        background-color: #222029; 
        padding: 8px 12px;
        color: white;
    }

    .search-icon {
        cursor: pointer;
        width: 16px;
        height: 16px;
        fill: white; 
        margin-left: 10px;
    }

    /* =========================================
   5. 底部页脚样式 (Footer Section)
========================================= */
.site-footer {
    background-color: #121118; /* 比前面的卡片更深一点，营造沉底的视觉感 */
    color: #a0a0b0;
    padding: 80px 40px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* 上方加一条极其细腻的分割线 */
}

/* 页脚内部的三栏网格容器 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 60px;
    flex-wrap: wrap; /* 保证手机端窄屏幕时会自动向下折行 */
}

/* 左侧品牌简介 */
.footer-brand {
    flex: 1.5;
    min-width: 250px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #8a889b;
}

/* 中间与右侧栏 */
.footer-links, .footer-social {
    flex: 1;
    min-width: 150px;
}

.footer-links h4, .footer-social h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .social-icons a {
    color: #8a889b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover, .social-icons a:hover {
    color: white; /* 鼠标悬停时变白 */
}

.social-icons {
    display: flex;
    gap: 15px;
}
.social-logo {
    width: 28px;      
    height: 28px;     
    object-fit: contain;
    
    /* 👇 核心魔法：强制变白 */
    /* 第一步：brightness(0) 把图标变成纯黑 */
    /* 第二步：invert(1) 把纯黑反转成纯白 */

    filter: brightness(0) invert(1);
    
    opacity: 0.6; /* 默认半透明，融入深色背景 */
    transition: all 0.3s ease;
}
.social-logo2 {
    width: 28px;      
    height: 28px;     
    object-fit: contain;
    
    /* 👇 核心魔法：强制变白 */
    /* 第一步：brightness(0) 把图标变成纯黑 */
    /* 第二步：invert(1) 把纯黑反转成纯白 */
    
    /*filter: brightness(0) invert(1); */
    
    opacity: 0.6; /* 默认半透明，融入深色背景 */
    transition: all 0.3s ease;
}

/* 鼠标悬停时：图标变亮、微微上浮 */
.social-logo:hover {
    opacity: 1; 
    transform: translateY(-3px);
}
.social-logo2:hover {
    opacity: 1; 
    transform: translateY(-3px);
}

/* 最底部的版权声明栏 */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    font-size: 0.85rem;
    color: #6a687b;
    margin-top: 20px; 
    display: flex;
    flex-direction: column; /* 让版权和链接上下排列 */
    align-items: center;    /* 居中对齐 */
}


.legal-links {
    font-size: 0.8rem;      /* 字体比正常文字小一点，显得低调 */
}

.legal-links a {
    color: #6a687b;         /* 使用暗灰色，不抢视觉焦点 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #e5df82;         /* 鼠标放上去时亮起香槟金 */
}

.legal-links .divider {
    color: #353340;         /* 分割线的颜色更暗一些 */
    margin: 0 10px;         /* 分割线左右留出空隙 */
}