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

    body {
        font-family: 'Open Sans', 'Inter', sans-serif;
        background: linear-gradient(135deg, #000046, #1CB5E0, #2c3e50);
        color: #ffffff;
        line-height: 1.6;
        overflow-x: hidden;
    }

    header {
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    nav {
        display: flex;
        justify-content: center;
        padding: 20px 0;
    }

    .tab {
        margin: 0 15px;
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px 5px 0 0;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .tab::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: neon;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .tab:hover, .tab.active {
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    .tab.active::after {
        opacity: 1;
    }

    main {
        padding: 100px 20px 50px;
        max-width: 1200px;
        margin: 0 auto;
    }

    section {
        display: none;
        animation: fadeIn 0.5s ease forwards;
    }

    section.active {
        display: block;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* 视觉元素 */
    .particle-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: -1;
    }

    .particle {
        position: absolute;
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        animation: particles 5s infinite;
    }

    @keyframes particles {
        0% { transform: translate(0, 0); opacity: 1; }
        100% { transform: translate(-50px, -50px); opacity: 0; }
    }

    /* 图文布局 */
    .content {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 40px;
    }

    .content img {
        width: 100%;
        max-width: 320px;
        border-radius: 10px;
        object-fit: cover;
    }

    .content div {
        flex: 1;
        min-width: 300px;
    }

    /* 示例文章 */
    .example-article {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        margin-top: 50px;
    }

    .example-article h2,
    .example-article h3 {
        font-family: 'Poppins', sans-serif;
        color: #FFD700;
    }

    .example-article pre {
        background: rgba(0, 0, 0, 0.7);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin: 10px 0;
    }

    .example-article code {
        color: #00FF7F;
        font-family: 'Courier New', Courier, monospace;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        main {
            padding: 90px 15px 40px;
        }
    }

    @media (max-width: 1200px) {
        .content {
            flex-direction: column;
            align-items: center;
        }
    }

    @media (max-width: 1024px) {
        nav {
            flex-wrap: wrap;
        }
    }

    @media (max-width: 768px) {
        .tab {
            margin: 5px;
            padding: 8px 15px;
        }

        .content div {
            min-width: 100%;
        }
    }

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

        .tab {
            margin: 3px;
            padding: 6px 10px;
            font-size: 14px;
        }

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

    @media (max-width: 320px) {
        .tab {
            padding: 5px 8px;
            font-size: 12px;
        }
    }

