
/* 全局样式设置 */
body {
    font-family: 'Helvetica', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a2647, #1e3c72);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #ff7f50;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header {
    text-align: center;
    margin-bottom: 30px;
}
.header h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ff7f50, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.article-content {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.8;
    text-align: justify;
}
.article-content pre {
    background: #1e3c72;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.article-content code {
    color: #ff7f50;
    font-family: 'Courier New', monospace;
}
@media (max-width: 768px) {
    .article-content pre {
        font-size: 0.9rem;
    }
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #ff7f50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 2px solid #ff7f50;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.image-grid img:hover {
    transform: scale(1.05);
}
.footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #b3b3b3;
}

