
/* 全局样式设置 */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #1e0066, #5a00ff);
    overflow-x: hidden;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura', sans-serif;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}
section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.header {
    background: linear-gradient(to right, #3f00b8, #7a00ff);
    padding: 4rem 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}
.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}
.content {
    background: linear-gradient(to bottom, #5a00ff, #9c4fff);
    padding: 4rem 2rem;
}
.article-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.article-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 0.5rem;
}
.article-container h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #d4d4d4;
}
.article-container pre {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
    color: #00ffbf;
}
.article-container code {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}
.article-container ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.image-gallery img:hover {
    transform: scale(1.1);
}
.button {
    background-color: #00ffbf;
    color: #000000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s ease;
}
.button:hover::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}
.footer {
    background: linear-gradient(to top, #1e0066, #5a00ff);
    padding: 2rem;
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .article-container pre {
        font-size: 0.8rem;
    }
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

