
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    background: linear-gradient(to bottom, #0F4C81, #000000);
    overflow-x: hidden;
    animation: aurora-move 15s linear infinite;
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 76, 129, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFA500;
}
header nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}
header nav a:hover {
    color: #34C759;
}
main {
    margin-top: 80px;
    padding-bottom: 40px;
}
section {
    margin-bottom: 40px;
}
h1, h2, h3 {
    color: #FFA500;
    margin-bottom: 20px;
}
p {
    line-height: 1.6;
    margin-bottom: 15px;
}
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    color: #34C759;
    font-family: monospace;
}
ul {
    list-style: none;
    padding: 0;
}
li {
    margin-bottom: 10px;
}
.tab-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}
.tab {
    padding: 10px 20px;
    background: rgba(255, 165, 0, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.tab.active {
    background: #FFA500;
    color: #000000;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    header nav a {
        margin: 5px 0;
    }
    .tab-container {
        flex-direction: column;
    }
}

