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

    body {
        font-family: 'Poppins', sans-serif;
        color: #ffffff;
        background: linear-gradient(135deg, #000046, #2c3e50, #8e2de2);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* 导航栏样式 */
    nav {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 20px 40px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        transition: background 0.5s ease;
        z-index: 1000;
    }

    nav.scrolled {
        background: rgba(0, 0, 0, 0.8);
    }

    nav ul {
        list-style: none;
        display: flex;
        justify-content: flex-end;
    }

    nav ul li {
        margin-left: 30px;
    }

    nav ul li a {
        text-decoration: none;
        color: #34ebff;
        font-family: 'Orbitron', sans-serif;
        font-size: 16px;
        transition: color 0.3s ease;
    }

    nav ul li a:hover {
        color: #ff6b6b;
    }

    /* 主要内容样式 */
    .container {
        padding: 100px 20px 50px 20px;
        max-width: 1200px;
        margin: 0 auto;
        flex: 1;
    }

    h1, h2, h3 {
        font-family: 'Orbitron', sans-serif;
        color: #34ebff;
        margin-bottom: 20px;
    }

    p {
        font-family: 'Roboto Mono', monospace;
        line-height: 1.6;
        margin-bottom: 20px;
        color: #ffffff;
    }

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

    code {
        font-family: 'Roboto Mono', monospace;
        color: #ff6b6b;
    }

    /* 按钮样式 */
    .button {
        background-color: #34ebff;
        color: #000000;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    }

    .button:hover {
        background-color: #000046;
        color: #ffffff;
    }

    /* 图片样式 */
    .images-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .images-grid img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    /* 示例展示样式 */
    .example-section {
        background: rgba(255, 255, 255, 0.05);
        padding: 40px;
        border-radius: 15px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        margin-bottom: 50px;
    }

    .example-section h2 {
        color: #ff6b6b;
    }

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

    .code-example code {
        display: block;
        white-space: pre-wrap;
        word-wrap: break-word;
        color: #ff6b6b;
        font-family: 'Roboto Mono', monospace;
    }

    /* 粒子效果 */
    .particle {
        position: absolute;
        width: 5px;
        height: 5px;
        background-color: #34ebff;
        opacity: 0.7;
        border-radius: 50%;
        animation: float 6s infinite ease-in-out;
    }

    @keyframes float {
        0% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-50px) rotate(360deg); }
        100% { transform: translateY(0) rotate(720deg); }
    }

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

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

    @media (max-width: 1024px) {
        nav ul {
            justify-content: center;
        }
    }

    @media (max-width: 768px) {
        nav ul li {
            margin-left: 20px;
        }

        h1 {
            font-size: 2em;
        }

        h2 {
            font-size: 1.75em;
        }

        h3 {
            font-size: 1.5em;
        }
    }

    @media (max-width: 480px) {
        nav {
            padding: 15px 20px;
        }

        nav ul li {
            margin-left: 15px;
        }

        h1 {
            font-size: 1.5em;
        }

        h2 {
            font-size: 1.3em;
        }

        h3 {
            font-size: 1.1em;
        }
    }

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

        nav ul li {
            margin: 10px 0;
        }

        .images-grid {
            grid-template-columns: 1fr;
        }
    }

    /* 自适应代码块 */
    pre, code {
        max-width: 100%;
    }

    /* 过渡效果 */
    .fade-in {
        animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
        from {opacity: 0;}
        to {opacity: 1;}
    }

    /* 标题装饰 */
    h1::after, h2::after, h3::after {
        content: '';
        display: block;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #34ebff, #ff6b6b);
        margin-top: 10px;
        border-radius: 2px;
    }

