
/* 全局样式定义 */
body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #0A1F3D, #1E2C43);
    color: white;
    line-height: 1.6;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1440px;
    margin: auto;
    padding: 20px;
}

/* 导航栏样式 */
.sidebar {
    width: 25%;
    background: linear-gradient(180deg, #0A1F3D, #1E2C43);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.sidebar h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    color: #00BFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sidebar a:hover {
    color: #FF6F61;
    transform: scale(1.05);
}

/* 内容区域样式 */
.content-area {
    flex-grow: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00BFFF;
}

p {
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 15px;
}

pre {
    background: #1E2C43;
    color: #00BFFF;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9em;
}

code {
    background: rgba(0, 191, 255, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}

.module {
    background: linear-gradient(135deg, #1E2C43, #0A1F3D);
    border: 1px solid #00BFFF;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
}

.module::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #00BFFF, #FF6F61);
    z-index: -1;
    border-radius: 10px;
    filter: blur(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        order: 2;
    }
    .content-area {
        order: 1;
        width: 100%;
    }
    .container {
        flex-direction: column;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeInEffect 1s ease-in-out;
}

@keyframes fadeInEffect {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 图片装饰样式 */
.decorative-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

