
    /* 全局样式重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* 字体设置 */
    body {
        font-family: 'Open Sans', sans-serif;
        background: linear-gradient(135deg, #0A192F, #1E2D3D);
        color: #ffffff;
        line-height: 1.6;
        overflow-x: hidden;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar h1 {
        font-family: 'Roboto Mono', monospace;
        font-size: 1.5em;
        margin-bottom: 20px;
        color: #FF6B35;
    }

    .navbar ul {
        list-style: none;
    }

    .navbar ul li {
        margin-bottom: 15px;
    }

    .navbar ul li a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.1em;
        transition: color 0.3s ease;
    }

    .navbar ul li a:hover {
        color: #8A2BE2;
    }

    /* 主内容区样式 */
    .main-content {
        margin-left: 250px;
        padding: 40px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        min-height: 100vh;
    }

    /* 文章样式 */
    article {
        max-width: 800px;
        margin: 0 auto;
    }

    article h2, article h3 {
        font-family: 'Roboto Mono', monospace;
        color: #FF6B35;
        margin-bottom: 20px;
    }

    article h2 {
        font-size: 2em;
    }

    article h3 {
        font-size: 1.5em;
        margin-top: 30px;
    }

    article p {
        margin-bottom: 20px;
        font-size: 1em;
        color: #ffffff;
    }

    article pre {
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    article code {
        font-family: 'Fira Code', monospace;
        color: #8A2BE2;
    }

    /* 图片样式 */
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .gallery img {
        width: 100%;
        max-width: 320px;
        border-radius: 10px;
    }

    /* 按钮样式 */
    .button {
        background-color: #FF6B35;
        color: #ffffff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        font-size: 1em;
    }

    .button:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }

    /* 提示样式 */
    .note {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-left: 5px solid #8A2BE2;
        margin-bottom: 20px;
        border-radius: 3px;
    }

    /* 代码示例样式 */
    .code-example {
        background: rgba(0, 0, 0, 0.5);
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        overflow-x: auto;
    }

    .code-example code {
        color: #FF6B35;
    }

    /* 按钮与链接 */
    a {
        color: #8A2BE2;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    /* 动态粒子背景 */
    .particles {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
        animation: particlesMove 10s linear infinite;
        z-index: -1;
    }

    @keyframes particlesMove {
        from {
            transform: translate(0, 0);
        }
        to {
            transform: translate(-50px, -50px);
        }
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .navbar {
            width: 220px;
        }

        .main-content {
            margin-left: 220px;
        }
    }

    @media (max-width: 1200px) {
        .navbar {
            width: 200px;
        }

        .main-content {
            margin-left: 200px;
        }
    }

    @media (max-width: 1024px) {
        .navbar {
            width: 180px;
        }

        .main-content {
            margin-left: 180px;
            padding: 30px;
        }
    }

    @media (max-width: 768px) {
        .navbar {
            position: relative;
            width: 100%;
            height: auto;
            flex-direction: row;
            justify-content: space-between;
        }

        .navbar ul {
            display: flex;
            flex-direction: row;
        }

        .navbar ul li {
            margin: 0 10px;
        }

        .main-content {
            margin: 0;
            padding: 20px;
        }

        .gallery {
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .navbar h1 {
            font-size: 1.2em;
        }

        .navbar ul li a {
            font-size: 0.9em;
        }

        article h2 {
            font-size: 1.5em;
        }

        article h3 {
            font-size: 1.2em;
        }
    }

    @media (max-width: 320px) {
        .navbar h1 {
            font-size: 1em;
        }

        .navbar ul li a {
            font-size: 0.8em;
        }

        article h2 {
            font-size: 1.2em;
        }

        article h3 {
            font-size: 1em;
        }

        .button {
            padding: 8px 16px;
            font-size: 0.9em;
        }
    }

