
    /* 基础样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Open Sans', sans-serif;
        background: linear-gradient(135deg, #000428, #004e92);
        color: #ffffff;
        overflow-x: hidden;
    }

    /* 头部样式 */
    header {
        text-align: center;
        padding: 50px 20px;
        background: rgba(0, 0, 0, 0.5);
    }

    header h1 {
        font-family: 'Roboto', sans-serif;
        font-size: 48px;
        margin-bottom: 20px;
        background: linear-gradient(90deg, #8e2de2, #4a00e0);
        -webkit-background-clip: text;
        color: transparent;
    }

    /* 文章内容样式 */
    article {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        line-height: 1.6;
    }

    article h2, article h3, article h4 {
        font-family: 'Roboto', sans-serif;
        color: #ffffff;
        margin-top: 40px;
    }

    article h2 {
        font-size: 36px;
    }

    article h3 {
        font-size: 28px;
    }

    article h4 {
        font-size: 22px;
    }

    article p {
        font-size: 16px;
        margin: 20px 0;
    }

    article pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
    }

    article code {
        font-family: 'Courier New', monospace;
        color: #39ff14;
    }

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

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

    table th {
        background: #004e92;
    }

    /* 图片样式 */
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin: 40px 0;
    }

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

    /* 按钮样式 */
    .button {
        display: inline-block;
        padding: 10px 20px;
        margin: 10px 0;
        background: #ffd700;
        color: #000;
        text-decoration: none;
        border-radius: 4px;
        transition: background 0.3s, transform 0.3s;
    }

    .button:hover {
        background: #ff8c00;
        transform: scale(1.05);
    }

    /* 动画效果 */
    @keyframes starTwinkle {
        0% { opacity: 0.2; }
        50% { opacity: 1; }
        100% { opacity: 0.2; }
    }

    .star {
        position: absolute;
        animation: starTwinkle 3s infinite ease-in-out;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        article {
            padding: 30px 15px;
        }
        header h1 {
            font-size: 40px;
        }
    }

    @media (max-width: 1200px) {
        header h1 {
            font-size: 36px;
        }
        article h2 {
            font-size: 32px;
        }
    }

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

    @media (max-width: 768px) {
        header h1 {
            font-size: 32px;
        }
        article h2 {
            font-size: 28px;
        }
        article p, article code {
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        header h1 {
            font-size: 28px;
        }
        article h2 {
            font-size: 24px;
        }
        article p, article code {
            font-size: 12px;
        }
    }

    @media (max-width: 320px) {
        header h1 {
            font-size: 24px;
        }
        article h2 {
            font-size: 20px;
        }
    }

