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

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

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

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

    a:hover {
        color: #ffffff;
    }

    /* 容器 */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 15px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    /* 头部 */
    header {
        text-align: center;
        margin-bottom: 40px;
    }

    header h1 {
        font-size: 2.5rem;
        background: linear-gradient(90deg, #ff7b54, #ff6f91);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradient-bg 15s linear infinite;
    }

    @keyframes gradient-bg {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* 导航选项卡 */
    .tabs {
        display: flex;
        justify-content: space-around;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .tab {
        background: #2a5298;
        padding: 15px 25px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin: 10px;
    }

    .tab:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    }

    /* 主要内容 */
    .main-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    @media (max-width: 1024px) {
        .main-content {
            grid-template-columns: 1fr;
        }
    }

    .card {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .card img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .card h3 {
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .card p {
        font-size: 1rem;
        color: #e0e0e0;
    }

    /* 代码块 */
    pre {
        background: rgba(0, 0, 0, 0.8);
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        margin-bottom: 20px;
    }

    code {
        color: #39ff14;
        font-size: 0.95rem;
    }

    /* 示例展示 */
    .example-section {
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 15px;
        margin-bottom: 40px;
    }

    .example-section h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #ff6f91;
    }

    .example-section article {
        max-height: 600px;
        overflow-y: auto;
        padding: 15px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
    }

    .example-section pre {
        background: rgba(0, 0, 0, 0.9);
        padding: 10px;
        border-radius: 8px;
    }

    .example-section code {
        color: #39ff14;
    }

    /* 提示信息 */
    .reference-note {
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 30px;
        color: #ffde59;
    }

    /* 底部 */
    footer {
        text-align: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 10px;
    }

    /* 响应式媒体查询 */
    @media (max-width: 768px) {
        header h1 {
            font-size: 2rem;
        }

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

        .tab {
            width: 80%;
            text-align: center;
        }

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

    @media (max-width: 480px) {
        body {
            padding: 10px;
        }

        .card {
            padding: 15px;
        }

        .tab {
            padding: 10px 20px;
        }

        header h1 {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 320px) {
        .tab {
            padding: 8px 16px;
            font-size: 0.9rem;
        }

        .card h3 {
            font-size: 1.3rem;
        }

        .card p {
            font-size: 0.9rem;
        }

        .example-section h2 {
            font-size: 1.5rem;
        }
    }

