
    /* 基础重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* 字体与背景样式 */
    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #1e1e2d, #3f3cbb);
        color: #ffffff;
        line-height: 1.6;
        padding: 20px;
    }

    /* 头部样式 */
    header {
        text-align: center;
        padding: 40px 0;
    }

    header h1 {
        font-size: 2.5em;
        margin-bottom: 10px;
        letter-spacing: 2px;
    }

    header p {
        font-size: 1.2em;
        color: #00ffea;
    }

    /* 网格容器样式 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 50px;
    }

    /* 卡片样式 */
    .card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        padding: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .card:hover {
        transform: scale(1.05) rotate(1deg);
        box-shadow: 0 16px 32px rgba(0,0,0,0.5);
    }

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

    .card h3 {
        margin-bottom: 10px;
        font-size: 1.5em;
        color: #00ffea;
    }

    .card p {
        font-size: 1em;
        color: #ffffff;
    }

    /* 示例文章样式 */
    .sample-article {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }

    .sample-article h2 {
        font-size: 2em;
        margin-bottom: 15px;
        color: #00ffea;
    }

    .sample-article h3 {
        font-size: 1.5em;
        margin-top: 20px;
        color: #00ffea;
    }

    .sample-article h4 {
        font-size: 1.2em;
        margin-top: 15px;
        color: #00ffea;
    }

    .sample-article p {
        margin-bottom: 15px;
        font-size: 1em;
        color: #ffffff;
    }

    .sample-article ul {
        list-style: disc inside;
        margin-bottom: 15px;
    }

    .sample-article li {
        margin-bottom: 10px;
        font-size: 1em;
    }

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

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

    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 15px;
    }

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

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

    /* 提示样式 */
    .reference-note {
        text-align: center;
        font-size: 1.2em;
        margin-bottom: 30px;
        color: #00ffea;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        header h1 {
            font-size: 2.3em;
        }
    }

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

    @media (max-width: 1024px) {
        .grid-container {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .grid-container {
            grid-template-columns: 1fr;
        }

        .sample-article {
            padding: 20px;
        }
    }

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

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

        .sample-article h2 {
            font-size: 1.8em;
        }

        .sample-article h3 {
            font-size: 1.3em;
        }
    }

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

        .card h3 {
            font-size: 1.1em;
        }

        .sample-article h2 {
            font-size: 1.5em;
        }

        .sample-article h3 {
            font-size: 1.1em;
        }
    }

    /* 代码块样式优化 */
    pre code {
        display: block;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

