
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    color: #333;
    line-height: 1.6;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #0A1F44;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #B026FF, #38FFBE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
section {
    margin-bottom: 40px;
}
.tabs {
    list-style: none;
    display: flex;
    justify-content: center;
    background: #0A1F44;
    padding: 0;
    margin: 0;
    border-radius: 8px;
}
.tabs li {
    flex: 1;
    text-align: center;
}
.tabs li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tabs li a:hover {
    background: #38FFBE;
    color: #0A1F44;
    transform: scale(1.1);
}
.tab-content {
    display: none;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}
.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
code {
    background: #f4f4f4;
    color: #0A1F44;
    padding: 2px 5px;
    border-radius: 4px;
}
pre {
    background: #2d2d2d;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}
th {
    background: #0A1F44;
    color: #fff;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
.module-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.module-item:hover {
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }
    .tab-content {
        padding: 15px;
    }
}

