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

    body {
        font-family: 'Poppins', sans-serif;
        background: linear-gradient(135deg, #00001a, #1a1a2e);
        color: #ffffff;
        line-height: 1.6;
        padding: 20px;
    }

    a {
        color: #39ff14;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #c503d3;
    }

    /* 头部样式 */
    header {
        text-align: center;
        padding: 50px 20px;
        background: radial-gradient(circle, rgba(0,0,26,1) 0%, rgba(26,26,46,1) 100%);
        border-radius: 15px;
        margin-bottom: 40px;
        position: relative;
        overflow: hidden;
    }

    header h1 {
        font-size: 48px;
        background: linear-gradient(90deg, #39ff14, #c503d3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: fadeIn 2s ease-in-out;
    }

    header p {
        font-size: 18px;
        margin-top: 10px;
    }

    /* 导航栏样式 */
    nav {
        position: fixed;
        top: 20px;
        left: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        background: rgba(57, 255, 20, 0.1);
        padding: 10px 15px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        transition: background 0.3s ease;
    }

    nav a:hover {
        background: rgba(197, 3, 211, 0.2);
    }

    nav a svg {
        width: 24px;
        height: 24px;
        fill: #39ff14;
        transition: fill 0.3s ease;
    }

    nav a:hover svg {
        fill: #c503d3;
    }

    /* 主内容样式 */
    main {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    article {
        background: rgba(26, 26, 46, 0.8);
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }

    article h2 {
        font-size: 36px;
        margin-bottom: 20px;
        text-align: center;
    }

    article h3 {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 10px;
        color: #39ff14;
    }

    article p {
        margin-bottom: 15px;
    }

    article pre {
        background: #1a1a2e;
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
    }

    article code {
        font-family: 'Courier New', Courier, monospace;
        color: #ffdd57;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    table th, table td {
        border: 1px solid #39ff14;
        padding: 10px;
        text-align: left;
    }

    table th {
        background: #39ff14;
        color: #00001a;
    }

    /* 图片样式 */
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        margin-top: 20px;
    }

    .gallery img {
        width: 160px;
        height: 160px;
        object-fit: cover;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }

    .gallery img:hover {
        transform: scale(1.05);
    }

    /* 示例展示样式 */
    .sample-display {
        background: rgba(197, 3, 211, 0.1);
        padding: 20px;
        border-left: 5px solid #c503d3;
        margin-top: 40px;
        border-radius: 5px;
    }

    .sample-display h2 {
        font-size: 28px;
        margin-bottom: 15px;
        color: #c503d3;
    }

    /* 注释样式 */
    .note {
        text-align: center;
        font-size: 16px;
        color: #ffdd57;
        margin-top: 50px;
    }

    /* 动画效果 */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }

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

        article h2 {
            font-size: 28px;
        }

        article h3 {
            font-size: 20px;
        }

        nav {
            flex-direction: row;
            top: auto;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
        }

        nav a {
            padding: 8px 12px;
        }

        .gallery img {
            width: 120px;
            height: 120px;
        }
    }

    @media (max-width: 480px) {
        body {
            padding: 10px;
        }

        header {
            padding: 30px 10px;
        }

        header h1 {
            font-size: 24px;
        }

        article {
            padding: 20px;
        }

        .gallery img {
            width: 100px;
            height: 100px;
        }
    }

