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

    body {
        font-family: 'Poppins', 'Roboto', sans-serif;
        line-height: 1.6;
        background: linear-gradient(135deg, #003366 0%, #663399 100%);
        color: #ffffff;
        padding: 20px;
    }

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

    a:hover {
        color: #ffffff;
    }

    header {
        text-align: center;
        padding: 50px 20px;
        animation: fadeIn 2s ease-in-out;
    }

    header h1 {
        font-size: 3em;
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
        animation: titleEffect 3s infinite;
    }

    @keyframes titleEffect {
        0%, 100% {
            text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700;
        }
        50% {
            text-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700, 0 0 40px #FFD700;
        }
    }

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

    nav {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 50px;
    }

    .menu-item {
        font-size: 1.2em;
        cursor: pointer;
        position: relative;
    }

    .menu-item::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: #FFD700;
        transition: width 0.3s;
        margin-top: 5px;
    }

    .menu-item:hover::after {
        width: 100%;
    }

    main {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

    section {
        margin-bottom: 40px;
    }

    h2, h3, h4 {
        color: #FFD700;
        margin-bottom: 20px;
    }

    p {
        margin-bottom: 20px;
        font-size: 1.1em;
    }

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

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

    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        margin-bottom: 40px;
    }

    .image-gallery img {
        width: 320px;
        height: 320px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .image-gallery img:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    }

    .code-block {
        background: rgba(0, 0, 0, 0.7);
        padding: 20px;
        border-radius: 10px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    .code-block code {
        color: #00FFEA;
        font-size: 1em;
    }

    .sample-article {
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

    .sample-article h2, 
    .sample-article h3, 
    .sample-article h4 {
        color: #FFD700;
    }

    .sample-article pre {
        background: rgba(0, 0, 0, 0.8);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
    }

    footer {
        text-align: center;
        padding: 20px;
        font-size: 1em;
        color: #cccccc;
    }

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

        .image-gallery img {
            width: 280px;
            height: 280px;
        }
    }

    @media (max-width: 1200px) {
        main {
            padding: 15px;
        }

        .image-gallery img {
            width: 240px;
            height: 240px;
        }
    }

    @media (max-width: 1024px) {
        nav {
            gap: 20px;
        }

        header h1 {
            font-size: 2em;
        }

        .image-gallery img {
            width: 200px;
            height: 200px;
        }
    }

    @media (max-width: 768px) {
        nav {
            flex-direction: column;
            gap: 10px;
        }

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

        .image-gallery img {
            width: 100%;
            max-width: 300px;
            height: auto;
        }
    }

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

        nav {
            gap: 5px;
        }

        .image-gallery img {
            width: 100%;
            max-width: 280px;
            height: auto;
        }
    }

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

        nav {
            flex-direction: column;
            gap: 5px;
        }

        .image-gallery img {
            width: 100%;
            max-width: 260px;
            height: auto;
        }
    }

