
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: radial-gradient(circle, #1a1a40, #000000);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}
p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
a {
    color: #ff9f00;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ffcc00;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(90deg, #1e86ff, #4abdf5);
    color: #ffffff;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}
.module {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}
.module:hover {
    transform: translateY(-5px);
}
pre {
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
code {
    color: #ff9f00;
    font-family: 'Consolas', monospace;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    text-align: left;
}
th {
    background: rgba(255, 255, 255, 0.1);
}
ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
button {
    background: linear-gradient(90deg, #1e86ff, #4abdf5);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
button:hover {
    transform: scale(1.1);
}
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('particles.svg');
    animation: particle-animation 5s infinite linear;
}
@keyframes particle-animation {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .module {
        padding: 1rem;
    }
    pre {
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    .container {
        width: 100%;
    }
}

