
    /* 定义颜色变量 */
    :root {
        --primary-color: #0A1F3B;
        --secondary-color: #7E5BEF;
        --accent-color: #00FFAA;
        --background-gradient: linear-gradient(135deg, #0A1F3B, #7E5BEF);
        --text-color: #FFFFFF;
        --navbar-bg: rgba(10, 31, 59, 0.8);
        --card-bg: rgba(255, 255, 255, 0.1);
        --button-hover-bg: rgba(0, 255, 170, 0.2);
        --code-bg: rgba(0, 0, 0, 0.8);
        --code-color: #00FFAA;
    }

    /* 全局样式 */
    body {
        margin: 0;
        padding: 0;
        background: var(--background-gradient);
        color: var(--text-color);
        font-family: 'Roboto', sans-serif;
        overflow-x: hidden;
    }

    /* 悬浮导航栏样式 */
    .navbar {
        position: fixed;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: var(--navbar-bg);
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .navbar a {
        color: var(--text-color);
        text-decoration: none;
        font-family: 'Space Grotesk', sans-serif;
        font-weight: bold;
        transition: color 0.3s ease;
    }

    .navbar a:hover {
        color: var(--accent-color);
    }

    /* 主内容区样式 */
    .content {
        margin-left: 200px;
        padding: 40px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* 3D卡片样式 */
    .card {
        background: var(--card-bg);
        border: 1px solid var(--accent-color);
        border-radius: 10px;
        width: calc(33% - 20px);
        padding: 20px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 60px rgba(0, 0, 0, 0.2);
    }

    .card img {
        width: 100%;
        border-radius: 5px;
    }

    .card h3 {
        font-family: 'Space Grotesk', sans-serif;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 动态粒子背景效果 */
    .particles {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        background: transparent;
        pointer-events: none;
    }

    .particle {
        position: absolute;
        width: 2px;
        height: 2px;
        background: var(--accent-color);
        border-radius: 50%;
        animation: move 10s linear infinite;
    }

    @keyframes move {
        0% {
            transform: translate(0, 0);
            opacity: 1;
        }
        100% {
            transform: translate(1000px, 1000px);
            opacity: 0;
        }
    }

    /* 按钮样式 */
    .button {
        display: inline-block;
        padding: 10px 20px;
        margin-top: 10px;
        background-color: transparent;
        border: 2px solid var(--accent-color);
        color: var(--accent-color);
        font-family: 'Space Grotesk', sans-serif;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: color 0.3s ease;
    }

    .button::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background: var(--accent-color);
        z-index: -1;
        opacity: 0;
        border-radius: 10px;
        transition: opacity 0.3s ease;
    }

    .button:hover {
        color: var(--text-color);
    }

    .button:hover::before {
        opacity: 0.2;
    }

    /* 代码块样式 */
    pre {
        background: var(--code-bg);
        color: var(--code-color);
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        font-family: 'Roboto', monospace;
        font-size: 14px;
    }

    /* 示例数据展示样式 */
    .example-section {
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 10px;
        margin-top: 40px;
    }

    .example-section h2 {
        font-family: 'Space Grotesk', sans-serif;
        margin-bottom: 20px;
    }

    .example-item {
        margin-bottom: 20px;
    }

    .example-item h3 {
        margin-bottom: 10px;
    }

    .example-item p {
        margin: 5px 0;
    }

    /* 自适应布局 */
    @media (max-width: 1440px) {
        .card {
            width: calc(33% - 20px);
        }
    }

    @media (max-width: 1200px) {
        .card {
            width: calc(50% - 20px);
        }
    }

    @media (max-width: 1024px) {
        .navbar {
            left: 10px;
            padding: 15px;
        }

        .content {
            margin-left: 150px;
            padding: 30px;
        }

        .card {
            width: calc(50% - 20px);
        }
    }

    @media (max-width: 768px) {
        .card {
            width: 100%;
        }

        .navbar {
            flex-direction: row;
            top: auto;
            bottom: 20px;
            transform: none;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    @media (max-width: 480px) {
        .content {
            padding: 20px;
        }

        .navbar {
            flex-direction: column;
            bottom: 10px;
        }

        .card {
            padding: 15px;
        }
    }

    @media (max-width: 320px) {
        .navbar a {
            font-size: 12px;
        }

        .button {
            font-size: 14px;
            padding: 8px 16px;
        }

        pre {
            font-size: 12px;
        }
    }

    /* 提示文字样式 */
    .reference-note {
        position: fixed;
        bottom: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
    }

