
    /* 基本样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Montserrat', sans-serif;
        background: linear-gradient(135deg, #8BC34A, #7986CB);
        background-repeat: no-repeat;
        background-size: cover;
        color: #424242;
        line-height: 1.6;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    /* 容器 */
    .container {
        max-width: 1200px;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        padding: 30px;
        margin: 20px 0;
    }

    /* 标题样式 */
    h1, h2, h3, h4 {
        font-family: 'Roboto', sans-serif;
        color: #3E2723;
    }

    h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 2.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 2rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    h4 {
        font-size: 1.5rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

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

    /* 代码块样式 */
    pre {
        background: #f5f5f5;
        padding: 15px;
        border-radius: 8px;
        overflow: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
        margin-bottom: 20px;
    }

    code {
        font-family: 'Courier New', Courier, monospace;
        color: #d32f2f;
    }

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

    th, td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: left;
    }

    th {
        background-color: #8BC34A;
        color: white;
    }

    /* 列表样式 */
    ul {
        list-style-type: disc;
        padding-left: 20px;
        margin-bottom: 20px;
    }

    li {
        margin-bottom: 10px;
    }

    /* 按钮样式 */
    button {
        background: linear-gradient(45deg, #CDDC39, #FFEB3B);
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: transform 0.3s ease;
        font-size: 1rem;
    }

    button:hover {
        transform: scale(1.1);
    }

    /* 图片样式 */
    img {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 10px;
        margin: 10px;
    }

    /* 提示信息 */
    .reference {
        text-align: center;
        font-size: 1.2rem;
        color: #FF5722;
        margin: 20px 0;
    }

    /* 示例展示样式 */
    .example {
        border: 2px dashed #757575;
        padding: 20px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.9);
    }

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

    @media (max-width: 1200px) {
        .container {
            padding: 25px;
        }
        h1 {
            font-size: 2.5rem;
        }
    }

    @media (max-width: 1024px) {
        h1 {
            font-size: 2.2rem;
        }
        .container {
            padding: 20px;
        }
    }

    @media (max-width: 768px) {
        h1 {
            font-size: 2rem;
        }
        h2 {
            font-size: 2rem;
        }
        .container {
            padding: 15px;
        }
    }

    @media (max-width: 480px) {
        h1 {
            font-size: 1.8rem;
        }
        h2 {
            font-size: 1.8rem;
        }
        p, li {
            font-size: 0.9rem;
        }
    }

    @media (max-width: 320px) {
        h1 {
            font-size: 1.6rem;
        }
        h2 {
            font-size: 1.6rem;
        }
        p, li {
            font-size: 0.8rem;
        }
    }

    /* 动画效果 */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .fade-in {
        animation: fadeIn 2s ease-in-out forwards;
    }

    /* 代码块优化 */
    pre code {
        display: block;
        background: #eeeeee;
        padding: 10px;
        border-radius: 5px;
        overflow-x: auto;
    }

