
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f4c81, #1e90ff);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}
h1, h2, h3 {
    font-weight: bold;
    color: #ffffff;
}
p {
    font-size: 16px;
    line-height: 1.8;
    color: #d3d3d3;
}
a {
    color: #ff4500;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* 全局布局 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}
.header {
    background: linear-gradient(135deg, #1e90ff, #0f4c81);
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header h1 {
    font-size: 2rem;
    margin: 0;
}
.main-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #0f4c81, #1e90ff);
    color: #ffffff;
    font-size: 14px;
}

/* 模块化设计 */
.module {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.module:hover {
    transform: translateY(-5px);
}
.module h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.module p {
    font-size: 1rem;
}

/* 渐变风格与动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 1s ease-in-out;
    opacity: 0;
}
.scroll-animation {
    opacity: 0;
    transform: translateY(20px);
}
.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
th {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: bold;
}
td {
    color: #d3d3d3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    p {
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

