
/* 全局样式 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0D1B2A, #162447);
    color: #E0E1DD;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #F59E0B;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: radial-gradient(circle, rgba(13, 27, 42, 0.8), transparent);
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(255, 158, 11, 0.1), rgba(255, 158, 11, 0.1) 10px, transparent 10px, transparent 20px);
    animation: moveBackground 15s linear infinite;
    z-index: -1;
}

@keyframes moveBackground {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tab-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.tab-header {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-header::-webkit-scrollbar {
    display: none;
}

.tab-button {
    background: #1E3A8A;
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.tab-button:hover {
    background: #F59E0B;
    transform: scale(1.05);
}

.tab-button.active {
    background: #F59E0B;
}

.tab-content {
    background: #1E3A8A;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-content.active {
    opacity: 1;
    transform: translateY(0);
}

article {
    background: #162447;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #E0E1DD;
}

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

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

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .tab-header {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        text-align: center;
    }
}

footer {
    text-align: center;
    padding: 10px;
    background: #1E3A8A;
    color: #E0E1DD;
    margin-top: 20px;
}

