
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A66C2, #8B5CF6);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 50px 20px;
    color: white;
    background: rgba(10, 102, 194, 0.8);
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
}

section {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

section h2 {
    font-family: 'Poppins', sans-serif;
    color: #0A66C2;
    margin-bottom: 20px;
}

section h3 {
    color: #8B5CF6;
    margin-top: 30px;
}

section p {
    margin-bottom: 15px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

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

.article-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.article-section h2 {
    font-family: 'Poppins', sans-serif;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
}

.article-section h3 {
    color: #0A66C2;
    margin-top: 25px;
}

.article-section p {
    text-align: justify;
    margin-bottom: 15px;
}

.article-section ul, .article-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

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

.image-grid img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(10, 102, 194, 0.8);
    color: white;
    border-top-left-radius: 50% 20%;
    border-top-right-radius: 50% 20%;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}

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

a:hover {
    color: #FF6347;
}

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

    .image-grid img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 30px 10px;
    }

    header h1 {
        font-size: 2em;
    }

    .container {
        padding: 10px;
    }

    .image-grid {
        flex-direction: column;
        align-items: center;
    }

    .image-grid img {
        width: 100px;
        height: 100px;
    }
}

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

    section h2 {
        font-size: 1.8em;
    }

    .image-grid img {
        width: 80px;
        height: 80px;
    }
}

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

    section h2 {
        font-size: 1.5em;
    }

    .image-grid img {
        width: 60px;
        height: 60px;
    }
}

