
    /* 导入字体 */
    @import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

    /* CSS变量定义 */
    :root {
        --primary-color: #6F00FF;
        --secondary-color: #00FFC9;
        --accent-color: #00FFB8;
        --background-gradient: linear-gradient(135deg, #121212, #1E1E1E);
        --font-family: 'Roboto Mono', monospace;
        --text-color: #FFFFFF;
        --header-bg: linear-gradient(135deg, #6F00FF, #00FFC9);
        --footer-bg: #1E1E1E;
        --card-bg: rgba(255, 255, 255, 0.05);
        --button-bg: #00FFC9;
        --button-hover-bg: #00FFB8;
    }

    /* 全局样式 */
    body {
        margin: 0;
        padding: 0;
        background: var(--background-gradient);
        color: var(--text-color);
        font-family: var(--font-family);
        line-height: 1.6;
        overflow-x: hidden;
    }

    /* 容器 */
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* 粒子动画背景 */
    .particles {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.gptkong.com/demo/sample12.png') repeat;
        opacity: 0.2;
        animation: moveParticles 60s linear infinite;
        z-index: -1;
    }

    @keyframes moveParticles {
        from { background-position: 0 0; }
        to { background-position: 10000px 5000px; }
    }

    /* 头部样式 */
    header {
        width: 100%;
        padding: 50px 20px;
        background: var(--header-bg);
        text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    }

    header h1 {
        font-size: 3em;
        margin: 0;
        color: var(--text-color);
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    }

    /* 导航菜单 */
    nav {
        margin-top: 20px;
    }

    nav ul {
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 0 15px;
    }

    nav ul li a {
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.2em;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    nav ul li a:hover {
        color: var(--accent-color);
        transform: scale(1.1) rotate(2deg);
        text-shadow: 0 0 10px var(--accent-color);
    }

    /* 主要内容区域 */
    section {
        width: 100%;
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    /* 示例展示区 */
    .sample-display {
        width: 100%;
        background: var(--card-bg);
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        margin-top: 40px;
    }

    .sample-display h2 {
        color: var(--secondary-color);
        margin-bottom: 20px;
    }

    .sample-display article {
        background: rgba(0, 0, 0, 0.6);
        padding: 20px;
        border-radius: 5px;
    }

    .sample-display h3, .sample-display h4 {
        color: var(--secondary-color);
        margin-bottom: 15px;
    }

    .sample-display p {
        margin-bottom: 20px;
    }

    /* 代码块样式 */
    pre {
        background: #1E1E1E;
        padding: 20px;
        border-radius: 5px;
        overflow-x: auto;
    }

    code {
        color: #00FFC9;
        font-family: 'Roboto Mono', monospace;
        font-size: 1em;
    }

    /* 表格样式 */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    table th, table td {
        border: 1px solid var(--secondary-color);
        padding: 10px;
        text-align: left;
    }

    table th {
        background: var(--secondary-color);
        color: #121212;
    }

    /* 图片画廊 */
    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }

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

    /* 按钮样式 */
    .button {
        background: var(--button-bg);
        border: none;
        padding: 15px 30px;
        color: #121212;
        font-size: 1em;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin-top: 20px;
    }

    .button:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0px 10px 20px rgba(0, 255, 200, 0.5);
        background: var(--button-hover-bg);
    }

    /* 页脚样式 */
    footer {
        width: 100%;
        padding: 20px;
        text-align: center;
        background: var(--footer-bg);
        color: var(--primary-color);
        font-size: 1.2em;
    }

    /* 层次感与发光效果 */
    .glow {
        text-shadow: 0 0 10px var(--secondary-color), 0 0 20px var(--secondary-color), 0 0 30px var(--secondary-color);
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        header h1 {
            font-size: 2.8em;
        }
    }

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

        .sample-display {
            padding: 30px;
        }

        .button {
            padding: 12px 25px;
            font-size: 0.9em;
        }
    }

    @media (max-width: 1024px) {
        nav ul li {
            margin: 0 10px;
        }

        .sample-display h2 {
            font-size: 2em;
        }

        pre {
            padding: 15px;
        }
    }

    @media (max-width: 768px) {
        nav ul {
            flex-direction: column;
            align-items: center;
        }

        nav ul li {
            margin: 10px 0;
        }

        section {
            padding: 40px 10px;
        }

        .image-gallery {
            flex-direction: column;
            align-items: center;
        }
    }

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

        nav ul li a {
            font-size: 1em;
        }

        .sample-display h2 {
            font-size: 1.8em;
        }

        .button {
            padding: 10px 20px;
            font-size: 0.8em;
        }
    }

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

        nav ul li a {
            font-size: 0.9em;
        }

        .sample-display h2 {
            font-size: 1.5em;
        }

        .button {
            padding: 8px 16px;
            font-size: 0.7em;
        }
    }

    /* 链接样式 */
    a {
        color: var(--secondary-color);
        text-decoration: none;
    }

    a:hover {
        color: var(--accent-color);
    }


