
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0A1F44, #000000);
    color: #FFFFFF;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    margin-bottom: 15px;
}

pre {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
}

code {
    color: #39FF14;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7B68EE;
}

/* 顶部导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #7B68EE, #0A1F44);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
}

.navbar .menu {
    display: flex;
    gap: 20px;
}

.navbar .menu a {
    color: #FFFFFF;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
}

.navbar .menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主体内容区域 */
.container {
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
}

.header-section h1 {
    font-size: 36px;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header-section p {
    font-size: 18px;
    color: #39FF14;
}

/* 卡片式布局 */
.card {
    background: linear-gradient(135deg, #7B68EE, #0A1F44);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* 选项卡式布局 */
.tabs {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #7B68EE, #0A1F44);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tab-button {
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    background-color: #39FF14;
    color: #000000;
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .menu {
        flex-direction: column;
        gap: 10px;
    }

    .tabs {
        flex-direction: column;
    }

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

/* 背景粒子效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background-color: #39FF14;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    animation: move 5s infinite linear;
}

@keyframes move {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(100vw) translateY(calc(100vh - 50%)); }
}

