
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #0A2463, #00BFFF);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #F5F7FA;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
p, ul, li {
    font-size: 16px;
    color: #F5F7FA;
    margin-bottom: 20px;
}
pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 14px;
    color: #fff;
    white-space: pre-wrap;
    word-wrap: break-word;
}
code {
    background-color: rgba(0, 191, 255, 0.2);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 14px;
}
a {
    color: #00BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #0A2463;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to right, #0A2463, #00BFFF);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
.header p {
    font-size: 18px;
    margin-bottom: 0;
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab {
    background: linear-gradient(to bottom, #0A2463, #00BFFF);
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tab:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.tab.active {
    background: linear-gradient(to top, #0A2463, #00BFFF);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.content {
    background-color: #F5F7FA;
    color: #333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}
.content h2 {
    color: #0A2463;
    font-size: 28px;
    margin-bottom: 20px;
}
.content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    display: block;
}
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    .tab {
        width: 100%;
        text-align: center;
    }
    pre {
        font-size: 12px;
        padding: 10px;
    }
}
@media (max-width: 480px) {
    .header h1 {
        font-size: 28px;
    }
    .header p {
        font-size: 16px;
    }
    .content h2 {
        font-size: 24px;
    }
}

