
    /* 全局样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body {
        font-family: 'Poppins', sans-serif;
        background: linear-gradient(135deg, #000046, #1cb5e0);
        color: #ffffff;
        line-height: 1.6;
        overflow-x: hidden;
    }
    header, footer {
        background-color: rgba(0, 0, 70, 0.8);
        padding: 20px;
        text-align: center;
    }
    header h1 {
        font-size: 2.5rem;
        color: #ff69b4;
    }
    main {
        padding: 40px 20px;
    }
    .section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60px 20px;
    }
    .section:nth-child(even) {
        background: linear-gradient(135deg, #1cb5e0, #000046);
    }
    h2, h3, h4 {
        font-family: 'Montserrat', sans-serif;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 2rem;
        color: #ff69b4;
    }
    h3 {
        font-size: 1.5rem;
        color: #ffffff;
    }
    h4 {
        font-size: 1.2rem;
        color: #ffffff;
    }
    p, ul {
        font-size: 1rem;
        color: #ffffff;
        max-width: 800px;
        text-align: left;
        margin-bottom: 20px;
    }
    ul {
        list-style: disc inside;
    }
    pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        width: 100%;
        max-width: 800px;
        margin-bottom: 20px;
    }
    code {
        font-family: 'Courier New', Courier, monospace;
        color: #00ffea;
    }
    /* 图片样式 */
    .images {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 40px;
    }
    .images img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 10px;
    }
    /* 链接样式 */
    a {
        color: #00ffea;
        text-decoration: none;
        transition: color 0.3s;
    }
    a:hover {
        color: #ff69b4;
    }
    /* 代码高亮 */
    .code-block {
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        width: 100%;
        max-width: 800px;
        margin-bottom: 20px;
    }
    /* 示例展示样式 */
    .example-article {
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 40px;
    }
    /* 这是一个网页样式设计参考提示 */
    .reference-note {
        position: fixed;
        bottom: 10px;
        right: 10px;
        background: rgba(0, 0, 70, 0.8);
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 0.9rem;
        color: #ffffff;
    }
    /* 响应式设计 */
    @media (max-width: 1440px) {
        header h1 {
            font-size: 2.2rem;
        }
        h2 {
            font-size: 1.8rem;
        }
    }
    @media (max-width: 1200px) {
        .images img {
            width: 130px;
            height: 130px;
        }
    }
    @media (max-width: 1024px) {
        main {
            padding: 30px 10px;
        }
        .section {
            padding: 40px 10px;
        }
        pre, .code-block {
            max-width: 100%;
        }
    }
    @media (max-width: 768px) {
        header h1 {
            font-size: 2rem;
        }
        h2 {
            font-size: 1.6rem;
        }
        h3 {
            font-size: 1.3rem;
        }
        h4 {
            font-size: 1rem;
        }
        p, ul {
            font-size: 0.9rem;
        }
        .images img {
            width: 100px;
            height: 100px;
        }
    }
    @media (max-width: 480px) {
        header h1 {
            font-size: 1.8rem;
        }
        h2 {
            font-size: 1.4rem;
        }
        h3 {
            font-size: 1.1rem;
        }
        h4 {
            font-size: 0.9rem;
        }
        p, ul {
            font-size: 0.8rem;
        }
        .images img {
            width: 80px;
            height: 80px;
        }
    }
    @media (max-width: 320px) {
        header h1 {
            font-size: 1.5rem;
        }
        h2 {
            font-size: 1.2rem;
        }
        h3 {
            font-size: 1rem;
        }
        h4 {
            font-size: 0.8rem;
        }
        p, ul {
            font-size: 0.7rem;
        }
        .images img {
            width: 70px;
            height: 70px;
        }
    }

