
/* 全局样式定义 */
body {
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    background: linear-gradient(135deg, #1A1A40, #000000);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #6A0DAD;
}

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

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

a:hover {
    color: #FF69B4;
}

pre {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background-color: rgba(255, 255, 255, 0.1);
    color: #00FFFF;
}

td {
    color: #FFFFFF;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #1A1A40, #000000);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    color: #FFFFFF;
    margin: 10px 0;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: #6A0DAD;
    color: #FFFFFF;
}

.content {
    margin-left: 270px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px;
    }

    .content {
        margin-left: 0;
        padding: 10px;
    }
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #00FFFF;
    border-radius: 50%;
    animation: particleMove 3s infinite;
}

@keyframes particleMove {
    0% { transform: translateX(0) translateY(0); opacity: 1; }
    100% { transform: translateX(100px) translateY(-100px); opacity: 0; }
}

.header-section {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #6A0DAD, #000000);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.header-section h1 {
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.header-section p {
    font-size: 18px;
    color: #CCCCCC;
    margin-bottom: 20px;
}

.header-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

.module {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.module h3 {
    margin-top: 0;
    color: #00FFFF;
}

.module p {
    color: #CCCCCC;
}

.footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #000000, #1A1A40);
    color: #FFFFFF;
    margin-top: 50px;
}

.footer p {
    font-size: 14px;
    color: #CCCCCC;
}

