
    /* 全局样式设置 */
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: 'Roboto', sans-serif;
        color: #ffffff;
        line-height: 1.6;
        background: linear-gradient(135deg, #1a2a6c, #b21f66, #fdbb2d);
        background-size: 600% 600%;
        animation: gradient-animation 15s ease infinite;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* 背景动画 */
    @keyframes gradient-animation {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* 容器设置 */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        flex: 1;
    }

    /* 标题样式 */
    h1, h2, h3 {
        font-weight: bold;
        margin-bottom: 20px;
        color: #ffffff;
    }

    h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    h2 {
        font-size: 2rem;
        margin-top: 40px;
    }

    h3 {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    /* 文字段落样式 */
    p {
        font-size: 1rem;
        margin-bottom: 15px;
        color: #dddddd;
    }

    /* 卡片网格容器 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }

    /* 卡片样式 */
    .card {
        grid-column: span 4;
        background: rgba(30, 30, 45, 0.8);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        position: relative;
    }

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

    /* 卡片图像样式 */
    .card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    /* 卡片内容 */
    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
        color: #ffcc00;
    }

    .card-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
        color: #cccccc;
    }

    .card-icon {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
    }

    /* 示例展示区 */
    .example-section {
        background: rgba(0, 0, 0, 0.5);
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 40px;
    }

    .example-section h2 {
        color: #ffcc00;
    }

    .example-section pre {
        background: #1e1e2d;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

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

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

    table th, table td {
        border: 1px solid #444444;
        padding: 10px;
        text-align: left;
        color: #ffffff;
    }

    table th {
        background: #2a2a4a;
    }

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background: #ff5722;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        transition: background 0.3s ease;
    }

    .btn:hover {
        background: #e64a19;
    }

    /* 示例展示内链接 */
    .example-section a {
        color: #00e5ff;
        text-decoration: none;
    }

    .example-section a:hover {
        text-decoration: underline;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .card {
            grid-column: span 3;
        }
    }

    @media (max-width: 1200px) {
        .card {
            grid-column: span 6;
        }
    }

    @media (max-width: 1024px) {
        .card {
            grid-column: span 6;
        }
    }

    @media (max-width: 768px) {
        .card {
            grid-column: span 12;
        }
    }

    @media (max-width: 480px) {
        h1 {
            font-size: 2rem;
        }

        h2 {
            font-size: 1.75rem;
        }

        h3 {
            font-size: 1.25rem;
        }

        .card img {
            height: 150px;
        }
    }

    @media (max-width: 320px) {
        .card img {
            height: 120px;
        }

        .card-title {
            font-size: 1rem;
        }

        .card-description {
            font-size: 0.85rem;
        }
    }

    /* 代码块样式 */
    pre code {
        display: block;
        white-space: pre-wrap;
        word-wrap: break-word;
        background: #2a2a4a;
        padding: 15px;
        border-radius: 5px;
        color: #00ffcc;
        font-size: 0.9rem;
    }

    /* 图片样式 */
    .card img, .decorative-img {
        border-bottom: 1px solid #444444;
    }

    /* 页脚样式 */
    footer {
        text-align: center;
        padding: 20px;
        background: rgba(30, 30, 45, 0.8);
        color: #cccccc;
    }

    /* 链接样式 */
    a {
        color: #00e5ff;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    /* 过渡效果 */
    .card, .example-section, footer {
        transition: all 0.3s ease;
    }

