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

    /* 颜色变量 */
    :root {
        --primary-dark-blue: #0A1F3C;
        --secondary-black: #111111;
        --gradient-blue: linear-gradient(135deg, #4A90E2, #50E3C2);
        --gradient-orange: linear-gradient(135deg, #FF7F50, #FF6347);
        --text-white: #FFFFFF;
        --text-light: #F0F0F0;
        --font-title: 'Roboto', sans-serif;
        --font-body: 'Montserrat', sans-serif;
    }

    /* 全局字体和背景 */
    body {
        font-family: var(--font-body);
        background: radial-gradient(circle, rgba(10,31,60,1) 0%, rgba(17,17,17,1) 100%);
        color: var(--text-white);
        line-height: 1.6;
        padding: 20px;
    }

    /* 容器布局 */
    .container {
        display: flex;
        flex-direction: row;
        max-width: 1200px;
        margin: 0 auto;
        background: rgba(17, 17, 17, 0.8);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    /* 侧边栏样式 */
    .sidebar {
        width: 30%;
        background-color: var(--primary-dark-blue);
        padding: 30px;
        position: relative;
    }

    .sidebar h1 {
        font-family: var(--font-title);
        font-size: 48px;
        margin-bottom: 20px;
        color: var(--text-white);
    }

    .sidebar nav ul {
        list-style: none;
    }

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

    .sidebar nav ul li a {
        color: var(--text-light);
        text-decoration: none;
        font-size: 18px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .sidebar nav ul li a:hover {
        color: var(--text-white);
        transform: scale(1.05);
    }

    /* 内容区样式 */
    .content {
        width: 70%;
        padding: 30px;
        background: rgba(17, 17, 17, 0.9);
        overflow-y: auto;
    }

    .content h2, .content h3, .content h4 {
        font-family: var(--font-title);
        color: var(--text-white);
        margin-bottom: 15px;
    }

    .content h2 {
        font-size: 36px;
        margin-top: 20px;
    }

    .content h3 {
        font-size: 28px;
        margin-top: 25px;
    }

    .content h4 {
        font-size: 22px;
        margin-top: 20px;
    }

    .content p {
        font-size: 18px;
        margin-bottom: 15px;
        color: var(--text-light);
    }

    .content pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    .content code {
        font-family: 'Courier New', Courier, monospace;
        color: #FFD700;
    }

    .content ul {
        list-style: disc inside;
        margin-bottom: 20px;
        color: var(--text-light);
    }

    /* 示例展示区 */
    .example-section {
        background: rgba(0, 0, 0, 0.7);
        padding: 20px;
        border-radius: 10px;
        margin-top: 30px;
    }

    .example-section h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .example-section p {
        font-size: 16px;
    }

    /* 媒体查询 - 小尺寸手机 */
    @media (max-width: 320px) {
        .container {
            flex-direction: column;
        }
        .sidebar, .content {
            width: 100%;
            padding: 15px;
        }
        .sidebar h1 {
            font-size: 32px;
        }
        .content h2 {
            font-size: 28px;
        }
        .content h3 {
            font-size: 24px;
        }
        .content h4 {
            font-size: 20px;
        }
    }

    /* 媒体查询 - 大尺寸手机 */
    @media (max-width: 480px) {
        .sidebar h1 {
            font-size: 36px;
        }
        .content h2 {
            font-size: 32px;
        }
        .content h3 {
            font-size: 26px;
        }
    }

    /* 媒体查询 - 竖屏平板 */
    @media (max-width: 768px) {
        .container {
            flex-direction: column;
        }
        .sidebar, .content {
            width: 100%;
            padding: 20px;
        }
    }

    /* 媒体查询 - 中等屏幕 */
    @media (max-width: 1024px) {
        .sidebar h1 {
            font-size: 40px;
        }
        .content h2 {
            font-size: 34px;
        }
    }

    /* 媒体查询 - 桌面显示器 */
    @media (max-width: 1200px) {
        .sidebar h1 {
            font-size: 44px;
        }
        .content h2 {
            font-size: 38px;
        }
    }

    /* 媒体查询 - 大尺寸桌面显示器 */
    @media (min-width: 1440px) {
        .container {
            max-width: 1400px;
        }
        .sidebar h1 {
            font-size: 52px;
        }
        .content h2 {
            font-size: 40px;
        }
    }

    /* 按钮样式 */
    .button {
        background: var(--gradient-orange);
        color: var(--text-white);
        padding: 12px 25px;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s ease;
        display: inline-block;
        text-decoration: none;
    }

    .button:hover {
        background: var(--gradient-blue);
        transform: scale(1.1);
    }

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

    .image-grid img {
        width: calc(33.333% - 10px);
        border-radius: 8px;
    }

    @media (max-width: 768px) {
        .image-grid img {
            width: calc(50% - 10px);
        }
    }

    @media (max-width: 480px) {
        .image-grid img {
            width: 100%;
        }
    }

    /* 提示信息 */
    .info-banner {
        background: var(--gradient-blue);
        color: var(--text-white);
        padding: 10px 20px;
        border-radius: 5px;
        text-align: center;
        margin-bottom: 20px;
        font-size: 18px;
    }

    /* 代码块样式 */
    .code-block {
        background: rgba(0, 0, 0, 0.6);
        padding: 20px;
        border-radius: 10px;
        overflow-x: auto;
        margin-bottom: 30px;
    }

    .code-block code {
        color: #00FF7F;
        font-family: 'Courier New', Courier, monospace;
        font-size: 16px;
    }

    /* 渐变背景动画 */
    @keyframes aurora-move {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* 粒子特效 */
    .particle-effect {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 87, 34, 0.3), transparent);
        animation: aurora-move 15s linear infinite;
        pointer-events: none;
        z-index: -1;
    }


