
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0A192F, #7A5FFF);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
}

p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin-bottom: 1.5em;
}

a {
    color: #00FFA3;
    text-decoration: none;
}

a:hover {
    color: #7A5FFF;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

header {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #0A192F, #7A5FFF);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

header p {
    font-size: 1.2em;
    color: #00FFA3;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2em;
    color: #FFFFFF;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.left-column, .right-column {
    flex: 1 1 45%;
    padding: 20px;
}

.left-column {
    color: #FFFFFF;
}

.right-column img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.article-section {
    background: rgba(10, 25, 47, 0.8);
    padding: 40px;
    border-radius: 10px;
}

.article-section h2 {
    margin-bottom: 20px;
}

.article-section h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-section pre {
    background: #0A192F;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.article-section code {
    color: #00FFA3;
}

.article-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.article-section table, .article-section th, .article-section td {
    border: 1px solid #7A5FFF;
}

.article-section th, .article-section td {
    padding: 10px;
    text-align: left;
}

.footer {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #7A5FFF, #0A192F);
    color: #FFFFFF;
}

.footer p {
    margin: 0;
    font-size: 1em;
}

/* 按钮样式 */
button {
    background-color: #7A5FFF;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00FFA3;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 1200px) {
    .left-column, .right-column {
        flex: 1 1 48%;
    }
}

@media (max-width: 1024px) {
    .section-content {
        flex-direction: column;
    }
    .left-column, .right-column {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    .left-column, .right-column {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    .section-title h2 {
        font-size: 1.5em;
    }
    button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

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