
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #003366, #660066, #FF00CC);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin-top: 0;
}

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

.title {
    background: linear-gradient(90deg, #FFFFFF, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.section {
    margin-bottom: 40px;
}

.section-header {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #00FF00);
    margin: 10px auto 0;
}

/* 图片样式 */
.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.image-item {
    width: calc(33.33% - 10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 文章内容样式 */
.article {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.article h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.article h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

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

/* 响应式布局 */
@media (max-width: 1024px) {
    .image-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .image-item {
        width: 100%;
    }

    .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .title {
        font-size: 2rem;
    }
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 1rem;
    color: #FFD700;
    margin-top: 20px;
}

