
/* 基础页面样式 */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #0F4C81, #34C759);
    color: #FFFFFF;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
}
h1 {
    text-align: center;
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.tab-item {
    padding: 10px 20px;
    background-color: #EAEAEA;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    color: #0F4C81;
}
.tab-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.tab-item.active {
    background-color: #0F4C81;
    color: #FFFFFF;
    border-color: #34C759;
}
.tab-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    padding: 20px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.2), transparent);
    border-radius: 10px;
}
.tab-content.active {
    opacity: 1;
    transform: translateY(0);
}
.code-block {
    background: #1E1E1E;
    color: #34C759;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-all;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #EAEAEA;
    color: #0F4C81;
}
th, td {
    padding: 10px;
    border: 1px solid #D3D3D3;
    text-align: left;
}
th {
    background-color: #34C759;
    color: #FFFFFF;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    .tab-content {
        padding: 10px;
    }
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #0F4C81, #34C759, #0F4C81);
    background-size: 600% 600%;
    animation: aurora-move 15s linear infinite;
    z-index: -1;
}

