
/* 全局样式与页面基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #00467F, #A5CC82);
    color: #fff;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #A5CC82;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.module {
    flex: 1 1 calc(33.33% - 20px);
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.module:hover {
    transform: scale(1.05);
    background-color: rgba(175, 204, 130, 0.8);
}
header {
    text-align: center;
    margin-bottom: 40px;
}
header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}
article {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
article h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
article p {
    font-size: 1rem;
    margin-bottom: 10px;
}
code {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: block;
    margin: 10px 0;
}
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
th {
    background: rgba(0, 70, 127, 0.8);
    color: #fff;
}
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: particle 3s infinite;
}
@keyframes particle {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(50px, -50px); opacity: 0; }
}
@media (max-width: 768px) {
    .module {
        flex: 1 1 100%;
    }
    article {
        padding: 15px;
    }
    code, pre {
        font-size: 0.8rem;
    }
}

