
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #4B0082, #0D47A1);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    margin-top: 20px;
    margin-bottom: 10px;
}
p {
    font-size: 16px;
    margin-bottom: 15px;
}
pre code {
    display: block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background: rgba(255, 255, 255, 0.1);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 布局容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #0D47A1, #4B0082);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.header h1 {
    font-size: 36px;
    color: #FFD700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* 选项卡设计 */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.tab-item {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #FFFFFF;
}
.tab-item:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.content {
    animation: fadeIn 1s ease-in-out;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    h1 {
        font-size: 28px;
    }
    p {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    h1 {
        font-size: 24px;
    }
    p {
        font-size: 12px;
    }
}

