
    /* 基础样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Lato', sans-serif;
        background: linear-gradient(135deg, #0F172A, #1E1E1E);
        color: #FFFFFF;
        line-height: 1.6;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: 'Inter', sans-serif;
        color: #8B5CF6;
        margin-top: 1.5em;
        margin-bottom: 0.5em;
    }

    p {
        margin-bottom: 1em;
    }

    a {
        color: #10B981;
        text-decoration: none;
        position: relative;
    }

    a::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: #10B981;
        transition: width .3s;
        position: absolute;
        left: 0;
        bottom: -2px;
    }

    a:hover::after {
        width: 100%;
    }

    /* 头部样式 */
    header {
        padding: 20px;
        text-align: center;
        background: rgba(15, 23, 42, 0.9);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    header h1 {
        font-size: 2em;
        margin: 0;
    }

    /* 主内容区 */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* 卡片布局 */
    .card {
        background: #1E1E1E;
        border: 1px solid #333;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }

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

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background: #10B981;
        color: #FFFFFF;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .btn::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: -100%;
        background: rgba(255, 255, 255, 0.2);
        transition: all 0.5s;
    }

    .btn:hover::before {
        left: 0;
    }

    /* 图片样式 */
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .gallery img {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }

    /* 示例展示区 */
    .example-section {
        background: rgba(15, 23, 42, 0.8);
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 40px;
    }

    .example-section h2 {
        color: #8B5CF6;
        margin-bottom: 15px;
    }

    .example-section pre {
        background: #2D2D2D;
        padding: 15px;
        border-radius: 4px;
        overflow-x: auto;
    }

    .example-section code {
        color: #10B981;
        font-family: 'Courier New', Courier, monospace;
    }

    /* 表格样式 */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    table, th, td {
        border: 1px solid #444;
    }

    th, td {
        padding: 10px;
        text-align: left;
    }

    th {
        background: #333;
    }

    /* 动画效果 */
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s ease;
    }

    .fade-in.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .container {
            max-width: 1024px;
        }
    }

    @media (max-width: 1200px) {
        .container {
            max-width: 768px;
        }
    }

    @media (max-width: 1024px) {
        .gallery {
            flex-direction: column;
        }
    }

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

    @media (max-width: 480px) {
        .btn {
            width: 100%;
            text-align: center;
        }
    }

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

        .card {
            padding: 15px;
        }
    }

