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

    body {
        background: linear-gradient(135deg, #121212, #343a40);
        color: #ffffff;
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        padding: 20px;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.9);
        padding: 15px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .navbar .logo {
        font-family: 'Montserrat', sans-serif;
        font-size: 24px;
        color: #FFD700;
    }

    .navbar ul {
        list-style: none;
        display: flex;
    }

    .navbar ul li {
        margin-left: 20px;
    }

    .navbar ul li a {
        text-decoration: none;
        color: #ffffff;
        font-family: 'Roboto', sans-serif;
        transition: color 0.3s ease;
    }

    .navbar ul li a:hover {
        color: #FFD700;
    }

    /* 主要内容区域 */
    .container {
        max-width: 1200px;
        margin: 100px auto 50px auto;
        padding: 20px;
    }

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

    p {
        margin-bottom: 15px;
        color: #ffffff;
    }

    /* 按钮样式 */
    .button {
        display: inline-block;
        padding: 10px 25px;
        background-color: #4CAF50;
        color: #ffffff;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .button:hover {
        background-color: #FF6F61;
        transform: scale(1.05);
    }

    /* 卡片模块 */
    .card {
        background-color: #212121;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease;
    }

    .card:hover {
        transform: translateY(-10px);
    }

    .card h3 {
        color: #FFD700;
        margin-bottom: 10px;
    }

    .card p {
        color: #ffffff;
    }

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

    .images-grid img {
        width: 100%;
        border-radius: 8px;
    }

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

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

    /* 示例展示区域 */
    .example-section {
        background-color: #2c2c2c;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 30px;
    }

    .example-section h2 {
        color: #FFD700;
        margin-bottom: 15px;
    }

    .example-section p {
        color: #ffffff;
        margin-bottom: 10px;
    }

    /* 页脚样式 */
    footer {
        text-align: center;
        padding: 20px;
        background-color: rgba(18, 18, 18, 0.9);
        color: #ffffff;
        position: fixed;
        bottom: 0;
        width: 100%;
    }

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

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

    @media (max-width: 1024px) {
        .navbar ul li {
            margin-left: 15px;
        }

        .button {
            padding: 8px 20px;
        }
    }

    @media (max-width: 768px) {
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .navbar ul {
            flex-direction: column;
            width: 100%;
        }

        .navbar ul li {
            margin: 10px 0;
        }

        .images-grid {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        }
    }

    @media (max-width: 480px) {
        .navbar .logo {
            font-size: 20px;
        }

        h1 {
            font-size: 24px;
        }

        h2 {
            font-size: 20px;
        }

        h3 {
            font-size: 18px;
        }

        .button {
            padding: 6px 15px;
            font-size: 14px;
        }

        .images-grid {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        }
    }

    @media (max-width: 320px) {
        .container {
            padding: 10px;
        }

        .navbar {
            padding: 10px 20px;
        }

        h1 {
            font-size: 20px;
        }

        h2 {
            font-size: 18px;
        }

        h3 {
            font-size: 16px;
        }

        .button {
            padding: 5px 10px;
            font-size: 12px;
        }

        .images-grid {
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        }
    }

    /* 动画效果 */
    .hover-zoom:hover {
        transform: scale(1.05);
    }

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

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

    /* 粒子动画 */
    .particles {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background: transparent;
        z-index: 500;
    }

    /* 代码块内样式优化 */
    .code-block {
        background-color: #1e1e1e;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    .code-block code {
        color: #FFD700;
        font-family: 'Courier New', Courier, monospace;
        display: block;
    }

