
    /* 全局样式 */
    * {
        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;
        overflow-x: hidden;
    }

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

    a:hover {
        color: #f39c12;
    }

    h1, h2, h3, h4 {
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        color: #f1c40f;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 3rem;
        text-align: center;
        margin-top: 40px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    h2 {
        font-size: 2.5rem;
        margin-top: 60px;
    }

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

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

    p {
        font-size: 1.1rem;
        margin-bottom: 20px;
        color: #ecf0f1;
    }

    pre {
        background: rgba(0,0,0,0.7);
        padding: 15px;
        border-radius: 8px;
        overflow: auto;
        margin-bottom: 20px;
    }

    code {
        color: #e74c3c;
        font-family: 'Courier New', Courier, monospace;
        font-size: 1rem;
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 0;
    }

    .gradient-section {
        background: linear-gradient(180deg, #1f4037, #99f2c8);
        padding: 60px 20px;
        border-radius: 12px;
        margin-bottom: 40px;
    }

    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        margin-bottom: 40px;
    }

    .image-gallery img {
        width: 100%;
        max-width: 320px;
        border-radius: 8px;
        transition: transform 0.3s ease;
    }

    .image-gallery img:hover {
        transform: scale(1.05);
    }

    .code-preview {
        background: #2c3e50;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 40px;
    }

    .code-preview pre {
        background: #34495e;
        padding: 15px;
        border-radius: 6px;
        overflow: auto;
    }

    .code-preview code {
        color: #1abc9c;
    }

    .example-article {
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 40px;
    }

    .example-article h2, .example-article h3, .example-article h4 {
        color: #ffffff;
    }

    .example-article p, .example-article ul {
        color: #bdc3c7;
    }

    .responsive-text {
        font-size: 1em;
    }

    /* 提示样式 */
    .reference-note {
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 40px;
        color: #f39c12;
        font-weight: bold;
    }

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

    @media (max-width: 1200px) {
        .image-gallery {
            flex-direction: row;
            justify-content: space-between;
        }
    }

    @media (max-width: 1024px) {
        .container {
            width: 95%;
        }
        h1 {
            font-size: 2.5rem;
        }
        h2 {
            font-size: 2rem;
        }
    }

    @media (max-width: 768px) {
        h1 {
            font-size: 2rem;
        }
        h2 {
            font-size: 1.8rem;
        }
        .image-gallery {
            flex-direction: column;
            align-items: center;
        }
    }

    @media (max-width: 480px) {
        h1 {
            font-size: 1.8rem;
        }
        h2 {
            font-size: 1.5rem;
        }
        p, pre, code {
            font-size: 1rem;
        }
        .reference-note {
            font-size: 1rem;
        }
    }

    @media (max-width: 320px) {
        h1 {
            font-size: 1.5rem;
        }
        h2 {
            font-size: 1.2rem;
        }
        p, pre, code {
            font-size: 0.9rem;
        }
    }

    /* 动画效果 */
    .fade-in {
        animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .slide-up {
        animation: slideUp 1s ease-out;
    }

    @keyframes slideUp {
        from { transform: translateY(20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

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

    .btn:hover {
        background: #c0392b;
    }

    /* 卡片样式 */
    .card {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 12px rgba(0,0,0,0.5);
    }

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

    li {
        margin-bottom: 10px;
    }

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

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

    th {
        background: #34495e;
    }

    td {
        background: rgba(255, 255, 255, 0.05);
    }

    /* 图片描述 */
    img[alt=""] {
        alt: "";
    }

