
    /* 全局样式设置 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #6a11cb, #2575fc);
        color: #ffffff;
        overflow-x: hidden;
    }

    /* 动画效果 */
    @keyframes backgroundMove {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    body {
        background-size: 400% 400%;
        animation: backgroundMove 15s linear infinite;
    }

    /* 容器布局 */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* 头部样式 */
    header {
        text-align: center;
        padding: 50px 0;
        background: rgba(0, 0, 0, 0.3);
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }

    header h1 {
        font-size: 48px;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }

    /* 导航栏样式 */
    nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

    nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 18px;
        padding: 10px 20px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    nav a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    /* 主体内容样式 */
    main {
        padding: 50px 0;
    }

    .section {
        margin-bottom: 50px;
    }

    .section h2 {
        font-size: 36px;
        margin-bottom: 20px;
        text-align: center;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    }

    .section p {
        font-size: 18px;
        line-height: 1.6;
        text-align: justify;
    }

    /* 模块化3D网格布局 */
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }

    .grid-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .grid-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .grid-item img {
        width: 100%;
        height: auto;
        border-radius: 5px;
        margin-bottom: 15px;
    }

    .grid-item h3 {
        font-size: 24px;
        margin-bottom: 10px;
        text-align: center;
    }

    .grid-item p {
        font-size: 16px;
        text-align: center;
    }

    /* 示例展示样式 */
    .example-display {
        background: rgba(0, 0, 0, 0.5);
        padding: 30px;
        border-radius: 10px;
    }

    .example-display h2 {
        font-size: 32px;
        margin-bottom: 20px;
        text-align: center;
    }

    .example-display article {
        max-height: 600px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .example-display pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        font-size: 14px;
    }

    .example-display code {
        color: #00ffcc;
    }

    /* 提示信息样式 */
    .reference-note {
        text-align: center;
        font-size: 16px;
        margin-top: 20px;
        color: #ffcc00;
        font-weight: bold;
    }

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

        .section h2 {
            font-size: 32px;
        }

        nav a {
            font-size: 16px;
            padding: 8px 16px;
        }
    }

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

        .section h2 {
            font-size: 28px;
        }

        nav a {
            font-size: 15px;
            padding: 7px 14px;
        }
    }

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

        .section h2 {
            font-size: 24px;
        }

        nav a {
            font-size: 14px;
            padding: 6px 12px;
        }
    }

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

        .section h2 {
            font-size: 22px;
        }

        nav a {
            font-size: 13px;
            padding: 5px 10px;
        }

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

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

        .section h2 {
            font-size: 20px;
        }

        nav a {
            font-size: 12px;
            padding: 4px 8px;
        }

        .example-display {
            padding: 20px;
        }
    }

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

        .section h2 {
            font-size: 18px;
        }

        nav a {
            font-size: 11px;
            padding: 3px 6px;
        }

        .example-display {
            padding: 15px;
        }
    }

