
    /* 全局样式设置 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
        color: #e0e0e0;
        line-height: 1.6;
    }

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

    a:hover {
        color: #ff00ff;
    }

    /* 容器布局 */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* 头部样式 */
    header {
        text-align: center;
        padding: 50px 0;
        background: linear-gradient(135deg, #000000, #4B0082, #0000FF);
        border-bottom: 2px solid #4B0082;
    }

    header h1 {
        font-size: 48px;
        color: #ffffff;
        margin-bottom: 10px;
    }

    header p {
        font-size: 18px;
        color: #cccccc;
    }

    /* 文章样式 */
    article {
        padding: 40px 0;
    }

    article h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 36px;
        color: #4B0082;
        margin-bottom: 20px;
    }

    article h3 {
        font-family: 'Montserrat', sans-serif;
        font-size: 28px;
        color: #00ffff;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    article p {
        font-size: 16px;
        color: #e0e0e0;
        margin-bottom: 15px;
    }

    /* 代码块样式 */
    pre {
        background: #2c2c2c;
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

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

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

    table, th, td {
        border: 1px solid #4B0082;
    }

    th, td {
        padding: 12px;
        text-align: left;
    }

    th {
        background: #4B0082;
        color: #ffffff;
    }

    td {
        background: #333333;
        color: #e0e0e0;
    }

    /* 图片样式 */
    .image-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        margin: 30px 0;
    }

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

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

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

    .btn:hover {
        background: #00ffff;
    }

    /* 底部样式 */
    footer {
        text-align: center;
        padding: 20px 0;
        background: #1a1a1a;
        color: #666666;
        font-size: 14px;
    }

    /* 动画效果 */
    .card {
        background: #2c2c2c;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    @keyframes float {
        0% { transform: translateY(0); opacity: 1; }
        100% { transform: translateY(-50px); opacity: 0; }
    }

    .particles {
        position: absolute;
        width: 10px;
        height: 10px;
        background: #ffffff;
        border-radius: 50%;
        animation: float 5s infinite ease-in-out;
    }

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

        article h2 {
            font-size: 32px;
        }

        article h3 {
            font-size: 24px;
        }
    }

    @media (max-width: 1200px) {
        .container {
            width: 95%;
        }
    }

    @media (max-width: 1024px) {
        header {
            padding: 40px 0;
        }

        article {
            padding: 30px 0;
        }
    }

    @media (max-width: 768px) {
        header h1 {
            font-size: 32px;
        }

        article h2 {
            font-size: 28px;
        }

        article h3 {
            font-size: 20px;
        }

        .image-gallery {
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        }
    }

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

        article h2 {
            font-size: 24px;
        }

        article h3 {
            font-size: 18px;
        }

        .image-gallery {
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        }

        .btn {
            padding: 8px 16px;
            font-size: 14px;
        }
    }

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

        article h2 {
            font-size: 20px;
        }

        article h3 {
            font-size: 16px;
        }

        .image-gallery {
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        }

        .btn {
            padding: 6px 12px;
            font-size: 12px;
        }
    }

