
/* 全局样式 */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0d47a1, #000000);
    overflow-x: hidden;
    animation: aurora-move 15s linear infinite;
}

@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.header {
    text-align: center;
    padding: 40px 0;
    color: #fff;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    color: #ff9800;
}

.tab {
    display: flex;
    justify-content: space-around;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.2), transparent);
    padding: 10px 0;
    border-radius: 10px;
    margin-bottom: 20px;
}

.tab button {
    padding: 10px 20px;
    border: none;
    background-color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #0d47a1;
}

.tab button:hover {
    background-color: #ff9800;
    color: #fff;
    transform: scale(1.1);
}

.tab-content {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.tab-content.active {
    display: block;
}

pre {
    background: #0d47a1;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

th {
    background: #ff9800;
    color: #fff;
}

tr:hover {
    background: #f9f9f9;
}

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

    .tab button {
        width: 100%;
        margin-bottom: 10px;
    }
}

.article-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-container img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 10px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #fff;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

