
    /* 全局样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Poppins', sans-serif;
        background: linear-gradient(135deg, #1A202C, #2D3748, #4A5568);
        color: #FFFFFF;
        line-height: 1.6;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        padding: 20px;
        box-sizing: border-box;
        z-index: 1000;
    }

    .navbar a {
        color: #FF9500;
        text-decoration: none;
        margin: 15px 0;
        font-size: 18px;
        transition: color 0.3s ease;
    }

    .navbar a:hover {
        color: #00FF7F;
    }

    /* 主内容区样式 */
    .main-content {
        margin-left: 250px;
        padding: 60px 40px 40px 40px;
        background: rgba(0, 0, 0, 0.5);
        flex: 1;
        overflow-y: auto;
    }

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

    h1, h2, h3, h4 {
        font-family: 'Poppins', sans-serif;
        color: #FFFFFF;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 2em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 1.75em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    h4 {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    p {
        font-size: 1em;
        margin-bottom: 15px;
        color: #E2E8F0;
    }

    b {
        color: #FF9500;
    }

    pre {
        background: #2D3748;
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        color: #00FF7F;
        margin-bottom: 20px;
    }

    code {
        background: #4A5568;
        padding: 2px 4px;
        border-radius: 4px;
        color: #FFDD57;
    }

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

    .images img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
    }

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

    button:hover, .button:hover {
        transform: scale(1.05);
        box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    }

    /* 代码展示区域 */
    .code-example {
        background: #1A202C;
        padding: 20px;
        border-radius: 10px;
        overflow-x: auto;
        margin-bottom: 30px;
    }

    /* 图片轮播 */
    .carousel {
        position: relative;
        width: 100%;
        max-width: 800px;
        margin: 40px auto;
        overflow: hidden;
        border-radius: 10px;
    }

    .carousel img {
        width: 100%;
        display: none;
    }

    .carousel img.active {
        display: block;
        animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* 动画效果 */
    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .gear {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 5px solid #FF9500;
        position: relative;
        animation: rotate 5s linear infinite;
        margin: 20px auto;
    }

    .gear::before, .gear::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 10px;
        background: #FF9500;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

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

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

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

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

        h1 {
            font-size: 2.2em;
        }

        h2 {
            font-size: 1.8em;
        }
    }

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

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

        .images {
            justify-content: center;
        }
    }

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

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

        .carousel {
            max-width: 100%;
        }

        .images img {
            width: 80px;
            height: 80px;
        }
    }

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

        h2 {
            font-size: 1.6em;
        }

        h3 {
            font-size: 1.4em;
        }

        .navbar a {
            font-size: 16px;
        }

        .images img {
            width: 60px;
            height: 60px;
        }
    }

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

        h2 {
            font-size: 1.3em;
        }

        .navbar a {
            font-size: 14px;
        }

        .images img {
            width: 50px;
            height: 50px;
        }
    }

    /* 提示文本样式 */
    .reference-note {
        text-align: center;
        font-size: 0.9em;
        color: #FFDD57;
        margin-top: 40px;
    }

