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

    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #004AAD, #6A2C70);
        color: #333;
        line-height: 1.6;
        padding: 20px;
    }

    header {
        text-align: center;
        padding: 40px 0;
        background: radial-gradient(circle, rgba(255,87,34,0.8), transparent);
        color: #fff;
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 2.5em;
        font-weight: bold;
        margin-bottom: 10px;
    }

    header p {
        font-size: 1.2em;
    }

    nav {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    nav a {
        margin: 0 15px;
        text-decoration: none;
        color: #FFD700;
        font-weight: bold;
        transition: transform 0.3s, color 0.3s;
    }

    nav a:hover {
        color: #FFA500;
        transform: scale(1.1);
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.9);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    article h2 {
        font-size: 2em;
        margin-bottom: 20px;
        color: #004AAD;
    }

    article h3, article h4 {
        font-size: 1.5em;
        margin-top: 20px;
        margin-bottom: 10px;
        color: #6A2C70;
    }

    article p {
        margin-bottom: 15px;
    }

    article pre {
        background: #f4f4f4;
        padding: 15px;
        border-left: 5px solid #6A2C70;
        overflow-x: auto;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    article code {
        font-family: 'Courier New', Courier, monospace;
        background: #eaeaea;
        padding: 2px 4px;
        border-radius: 3px;
    }

    article ul {
        list-style: disc inside;
        margin-bottom: 20px;
    }

    .images {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .images img {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 5px;
    }

    footer {
        text-align: center;
        padding: 20px 0;
        background: #004AAD;
        color: #fff;
        margin-top: 30px;
        border-radius: 10px;
    }

    /* 代码示例样式 */
    .code-preview {
        background: #2d2d2d;
        color: #ccc;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
        font-family: 'Courier New', Courier, monospace;
    }

    .code-preview code {
        display: block;
        white-space: pre;
    }

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

    @media (max-width: 1200px) {
        .container {
            max-width: 768px;
        }
    }

    @media (max-width: 1024px) {
        nav {
            flex-direction: column;
        }

        nav a {
            margin: 10px 0;
        }
    }

    @media (max-width: 768px) {
        header h1 {
            font-size: 2em;
        }

        article h2 {
            font-size: 1.8em;
        }

        article h3, article h4 {
            font-size: 1.3em;
        }
    }

    @media (max-width: 480px) {
        .images {
            flex-direction: column;
            align-items: center;
        }

        .images img {
            max-width: 100%;
        }

        nav a {
            margin: 5px 0;
        }
    }

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

        article h2 {
            font-size: 1.5em;
        }

        article h3, article h4 {
            font-size: 1.1em;
        }
    }

    /* 动画效果 */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .fade-in {
        animation: fadeIn 2s ease-in;
    }

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background: #6A2C70;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        transition: background 0.3s, transform 0.3s;
    }

    .btn:hover {
        background: #FF5722;
        transform: scale(1.05);
    }

