
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #121212, #000000);
    color: #FFFFFF;
    line-height: 1.6;
    padding: 20px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #0074D9;
}
a {
    color: #1ABC9C;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(to right, #121212, #000000);
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}
.navbar a {
    display: block;
    margin: 15px 0;
    color: #FFFFFF;
    font-size: 18px;
    transition: color 0.3s ease;
}
.navbar a:hover {
    color: #0074D9;
}
.content {
    margin-left: 270px;
    padding: 20px;
}
.module {
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #1ABC9C, #0074D9);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
    transition: transform 0.3s ease;
}
.module:hover {
    transform: translateY(-5px);
}
pre {
    background: #121212;
    color: #BDC3C7;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #BDC3C7;
    padding: 10px;
    text-align: center;
}
th {
    background: #0074D9;
    color: #FFFFFF;
}
td {
    background: #121212;
}
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: move 5s infinite ease-in-out;
}
@keyframes move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(200px, -200px); }
}
@media (max-width: 768px) {
    .navbar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .content {
        margin-left: 0;
    }
    pre {
        font-size: 14px;
    }
}

