
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
    background: radial-gradient(circle, rgba(135,206,235,1) 0%, rgba(148,0,211,1) 100%);
    color: #FFFFFF;
    line-height: 1.6;
    transition: background 0.5s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
}

a {
    color: #FF6347;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #FFA07A;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* 模块化网格系统 */
.static-display {
    flex: 1 1 45%;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dynamic-interaction {
    flex: 1 1 45%;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 按钮样式 */
.button {
    background-color: #FF6347;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ffffff50;
}

th {
    background-color: rgba(255, 99, 71, 0.2);
}

pre {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

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

/* 图片样式 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-background {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
}

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

@media (max-width: 1200px) {
    .container {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .static-display, .dynamic-interaction {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    .button {
        width: 100%;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.8rem;
    }
}

/* 分类样式 */
.article-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

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

.article-section pre {
    background: rgba(0, 0, 0, 0.8);
}

.notice {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 99, 71, 0.2);
    border-radius: 5px;
}

/* 表格响应式 */
table {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    th, td {
        padding: 10px;
    }

    th {
        background-color: transparent;
        color: #FFD700;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
    }
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

