/**
 * 加载动画模块
 * 全屏覆盖式加载动画，包含旋转图标和动态文本
 * @section 加载动画
 * @example
 * <div class="loader">
 *   <div class="loader-content">
 *     <div class="loader-spinner"></div>
 *     <div class="loader-text">加载中</div>
 *   </div>
 * </div>
 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 省略中间CSS代码... */

/* ========== 加载动画 ========== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(0, 102, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-top: 20px;
    position: relative;
}

.loader-text::after {
    content: "...";
    position: absolute;
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: ".";
    }

    40% {
        content: "..";
    }

    60%,
    100% {
        content: "...";
    }
}

/**
 * 全局CSS变量定义
 * 定义项目主题色和常用颜色变量
 * @section 主题变量
 * @property {color} --primary-color - 主色调(科技蓝 #0066ff)
 * @property {color} --dark-color - 深色背景(rgb(24, 26, 33))
 * @property {color} --light-color - 浅色文字(#f8f9fa)
 * @property {color} --accent-color - 强调色(科技青 #00d1b2)
 */
:root {
    --primary-color: #0066ff;
    --dark-color: rgb(24, 26, 33);
    --light-color: #f8f9fa;
    --accent-color: #00d1b2;
}

/**
 * 页面基础样式
 * 设置全局字体、背景渐变和基本布局
 * @section 基础样式
 * @property {gradient} background - 135度渐变背景(深色到更深的蓝灰)
 * @property {string} font-family - 系统优先字体栈
 * @property {color} color - 默认文字颜色(浅色)
 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-color) 0%, rgb(36, 40, 51) 100%);
    color: var(--light-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/**
 * 粒子背景容器
 * 用于承载particles.js生成的动态粒子效果
 * @section 粒子背景
 * @property {position} position - 绝对定位全屏覆盖
 * @property {number} z-index - 层级设置(位于主内容下层)
 * @see particlesJS - 粒子系统初始化函数
 */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    z-index: -1;
}

/* 原有背景层 - 保持深色渐变 */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-color) 0%, rgb(36, 40, 51) 100%);
    z-index: -2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/**
 * 页眉样式
 * 包含主标题和副标题，采用科技风渐变文字效果
 * @section 页眉
 * @property {text-align} text-align - 居中布局
 * @property {gradient} background-clip - 文字渐变填充效果
 * @property {shadow} text-shadow - 发光文字效果
 */
header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-radius: 10px;
    position: relative;
}

/**
 * 数据面板组件
 * 展示动态数据指标，带有计数动画和悬停效果
 * @component 数据面板
 * @property {backdrop-filter} backdrop-filter - 毛玻璃背景效果
 * @property {animation} panelGlow - 边框发光动画
 * @property {border} border - 半透明科技风边框
 */
.data-panel {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 209, 178, 0.2);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
    animation: panelGlow 3s infinite alternate;
}

@keyframes panelGlow {
    0% {
        box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 25px rgba(0, 209, 178, 0.3);
    }
}

.data-item {
    text-align: center;
    min-width: 100px;
    position: relative;
}

.data-item::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 209, 178, 0.5),
            transparent);
}

.data-item:last-child::after {
    display: none;
}

.data-value {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #00d1b2, #0066ff, #7e00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.7);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    position: relative;
}

.data-value::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right,
            rgba(0, 209, 178, 0.7),
            rgba(0, 102, 255, 0.7),
            rgba(126, 0, 255, 0.7));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.data-item:hover .data-value::after {
    transform: scaleX(1);
    transform-origin: left;
}

.data-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

h1.tech-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right,
            #00d1b2, #0066ff, #7e00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

/* 
 * 标题故障效果(glitch effect)
 * 实现原理：
 * 1. 使用伪元素创建重叠文本
 * 2. 通过动画改变裁剪路径和位置
 * 3. 产生数字故障视觉效果
 */
h1.tech-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    overflow: hidden;
    animation: glitch 3s infinite alternate;
}

/* 
 * 故障效果关键帧动画
 * 通过多阶段变换和裁剪路径变化模拟数字故障
 */
@keyframes glitch {
    0% {
        transform: translate(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    10% {
        transform: translate(-2px, 2px);
        clip-path: polygon(0 40%, 100% 40%, 100% 45%, 0 45%);
    }

    20% {
        transform: translate(2px, -2px);
        clip-path: polygon(0 70%, 100% 70%, 100% 75%, 0 75%);
    }

    30% {
        transform: translate(-2px, 2px);
        clip-path: polygon(0 10%, 100% 10%, 100% 15%, 0 15%);
    }

    40% {
        transform: translate(2px, -2px);
        clip-path: polygon(0 80%, 100% 80%, 100% 85%, 0 85%);
    }

    50% {
        transform: translate(-2px, 2px);
        clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }

    60% {
        transform: translate(2px, -2px);
        clip-path: polygon(0 20%, 100% 20%, 100% 25%, 0 25%);
    }

    70% {
        transform: translate(-2px, 2px);
        clip-path: polygon(0 60%, 100% 60%, 100% 65%, 0 65%);
    }

    80% {
        transform: translate(2px, -2px);
        clip-path: polygon(0 30%, 100% 30%, 100% 35%, 0 35%);
    }

    90% {
        transform: translate(-2px, 2px);
        clip-path: polygon(0 90%, 100% 90%, 100% 95%, 0 95%);
    }

    100% {
        transform: translate(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

h1.tech-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right,
            var(--primary-color),
            var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

h1.tech-title:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
}

/**
 * 导航卡片网格布局
 * 自适应列数的网格布局，支持响应式调整
 * @layout 卡片网格
 * @property {grid} grid-template-columns - 自适应列宽(minmax 250px)
 * @property {gap} gap - 卡片间距(1.5rem)
 * @media (max-width: 768px) - 移动端单列布局
 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/**
 * 导航卡片组件
 * 全息投影风格卡片，带有悬停3D效果和发光边框
 * @component 导航卡片
 * @property {backdrop-filter} backdrop-filter - 毛玻璃背景
 * @property {transform} transform - 悬停时的3D倾斜效果
 * @property {animation} pulse - 脉冲光效动画
 * @property {animation} hologramHover - 全息投影悬停动画
 */
.nav-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 209, 178, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
    perspective: 1000px;
}

/* 全息投影边框效果 */
.nav-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    background: linear-gradient(45deg,
            rgba(0, 102, 255, 0.8),
            rgba(0, 209, 178, 0.8),
            rgba(126, 0, 255, 0.8));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
    animation: borderGlow 3s infinite alternate, hologram 6s infinite;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.3;
    }

    100% {
        background-position: 100% 50%;
        opacity: 0.7;
    }
}

.nav-card:hover::after {
    opacity: 0.7;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--primary-color),
            var(--accent-color),
            var(--primary-color));
    background-size: 200%;
    z-index: -1;
    border-radius: 10px;
    opacity: 0;
    transition: 0.5s;
    animation: animate 4s linear infinite;
}

.nav-card:hover::before {
    opacity: 0.5;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes animate {
    0% {
        background-position: 0 0;
    }

    50% {
        background_position: 300% 0;
    }

    100% {
        background_position: 0 0;
    }
}

/* 全息投影效果 */
@keyframes hologram {
    0% {
        opacity: 0.1;
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        opacity: 0.3;
        transform: translateY(-5px) rotateX(5deg);
    }

    100% {
        opacity: 0.1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* 悬停时的全息投影效果 */
@keyframes hologramHover {
    0% {
        opacity: 0.5;
        transform: translateY(-5px) rotateX(5deg);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-8px) rotateX(8deg);
    }

    100% {
        opacity: 0.5;
        transform: translateY(-5px) rotateX(5deg);
    }
}

.nav-card:hover {
    transform: translateY(-5px) scale(1.02) rotateX(5deg);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.5);
    border-color: var(--primary-color);
    animation: pulse 2s infinite, hologramHover 3s infinite;
}

/* 
 * 卡片脉冲光效动画
 * 效果：创建向外扩散的光环效果
 * 用途：增强卡片悬停时的科技感反馈
 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

.nav-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
    transition: all 0.3s ease;
}

.nav-card:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 20px var(--accent-color);
}

.nav-card h3 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.nav-card p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.nav-card a {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ========== 入口方块样式 ========== */
.entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.entry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 209, 178, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 102, 255, 0.4);
    text-align: center;
    color: inherit;
    text-decoration: none;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.entry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(0, 102, 255, 0.1),
            rgba(0, 209, 178, 0.1),
            rgba(126, 0, 255, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.entry-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(0, 255, 252, 0.6);
    border-color: #00fffc;
}

.entry-card:hover::before {
    opacity: 1;
    animation: hologram 3s infinite linear;
}

@keyframes hologram {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.entry-card:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(45deg,
            rgba(0, 102, 255, 0.8),
            rgba(0, 255, 252, 0.8),
            rgba(126, 0, 255, 0.8));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0.7;
    animation: borderGlow 3s infinite alternate;
}

background-size: 200% 200%;
z-index: -1;
opacity: 0.7;
animation: borderGlow 3s infinite alternate;
}

.entry-card:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 20px #00fffc;
}

.entry-card i {
    font-size: 2.5rem;
    color: #00fffc;
    text-shadow: 0 0 15px #00fffc;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.entry-card:hover i {
    transform: scale(1.2) rotateY(15deg);
    text-shadow: 0 0 25px #00fffc;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% {
        text-shadow: 0 0 15px #00fffc;
    }

    50% {
        text-shadow: 0 0 30px #00fffc;
    }

    100% {
        text-shadow: 0 0 15px #00fffc;
    }
}

.entry-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.5rem;
    color: #00fffc;
    text-shadow: 0 0 8px #00fffc;
    position: relative;
    transition: all 0.4s ease;
}

.entry-card:hover h3 {
    transform: translateY(-3px);
    text-shadow: 0 0 15px #00fffc;
}

.entry-card p {
    opacity: 0.7;
    font-size: 1rem;
    color: #00fffc;
    transition: all 0.4s ease;
    position: relative;
}

.entry-card:hover p {
    opacity: 1;
    transform: translateY(3px);
}

/* ========== 下载卡片样式 ========== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.download-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 209, 178, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
    text-align: center;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 252, 0.5);
    border-color: #00fffc;
}

.download-icon i {
    font-size: 3rem;
    color: #00fffc;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px #00fffc;
}

.download-card h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #00fffc;
    text-shadow: 0 0 5px #00fffc;
}

.download-card p {
    opacity: 0.8;
    margin: 0.5rem 0;
}

.download-meta {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.download-btn {
    display: inline-block;
    background: rgba(0, 255, 252, 0.2);
    color: #00fffc;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 1rem;
    border: 1px solid #00fffc;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(0, 255, 252, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 252, 0.5);
}

/* ========== 返回链接样式 ========== */
.back-link {
    text-align: center;
    margin: 2rem 0;
}

.back-link a {
    color: #00fffc;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link a:hover {
    text-shadow: 0 0 10px #00fffc;
    transform: translateX(-5px);
}

.back-link i {
    transition: all 0.3s ease;
}

.back-link a:hover i {
    transform: translateX(-3px);
}

/* ========== 文档中心布局 ========== */
.docs-layout {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.docs-sidebar {
    width: 250px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 209, 178, 0.3);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.docs-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.docs-menu-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #00fffc;
    text-shadow: 0 0 5px #00fffc;
}

.docs-menu-item span {
    font-size: 1.1rem;
}

.docs-menu-item.active {
    background: rgba(0, 255, 252, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 252, 0.3);
}

.docs-menu-item:not(.active):hover {
    background: rgba(0, 255, 252, 0.1);
}

.docs-content-area {
    flex: 1;
}

.docs-content {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 209, 178, 0.3);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.docs-content.active {
    display: block;
}

.docs-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 209, 178, 0.2);
}

.docs-header i {
    font-size: 2.5rem;
    color: #00fffc;
    margin-right: 1rem;
    text-shadow: 0 0 10px #00fffc;
}

.docs-header h2 {
    color: #00fffc;
    margin: 0;
    font-size: 1.8rem;
    text-shadow: 0 0 5px #00fffc;
}

.docs-content-inner h3 {
    color: #00fffc;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
    text-shadow: 0 0 3px #00fffc;
}

.docs-content-inner ol,
.docs-content-inner ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.docs-content-inner li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #00fffc;
}

.faq-item h4 {
    color: #00fffc;
    margin: 0 0 0.5rem;
}

.faq-item p {
    margin: 0;
    opacity: 0.9;
}

/* ========== 下载链接样式 ========== */
.download-link {
    color: #00fffc;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.download-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #00fffc;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.download-link:hover {
    text-shadow: 0 0 5px #00fffc;
}

.download-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.download-link+span {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 0.3em;
}

/**
 * 响应式设计断点
 * 针对移动设备(≤768px)的样式调整
 * @section 响应式设计
 * @property {padding} .container - 减少内边距
 * @property {font-size} h1 - 缩小标题字号
 * @property {grid} .nav-grid - 单列布局
 * @property {grid} .download-grid - 单列布局
 */
@media (max-width: 768px) {
    .docs-layout {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .docs-menu-item {
        padding: 0.8rem;
    }
}

/* ========== 公告容器 ========== */
.announcement-container {
    max-width: 800px;
    margin: 2rem auto;
}

/* 公告卡片 */
.announcement-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* 公告标题区 */
.announcement-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.announcement-header i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #0066ff;
}

.announcement-header h3 {
    margin: 0;
    flex-grow: 1;
}

.announcement-date {
    color: #aaa;
    font-size: 0.9rem;
}

/* 公告内容区 */
.announcement-content {
    padding-left: 2.5rem;
}

.announcement-content p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.announcement-content ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

/* ========== 滚动公告栏 ========== */
.announcement-bar {
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 209, 178, 0.3);
    border-radius: 6px;
    padding: 0.8rem;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.announcement-content {
    white-space: normal;
    display: block;
}

/* 公告页特定样式 */
.announcement-container .announcement-content {
    white-space: normal;
    display: block;
    padding-left: 0;
}

/* 首页滚动公告栏保持不变 */
.announcement-bar .announcement-content {
    white-space: nowrap;
    animation: scrollText 15s linear infinite;
    display: inline-block;
    padding-left: 100%;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .nav-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }
}