
/* 页面全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F44, #000000);
    color: #B87333;
    line-height: 1.6;
    padding: 20px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #FFA726;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}
a {
    color: #4DB6AC;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #FFA726;
}
p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.module {
    background: linear-gradient(135deg, #0A1F44, #000000);
    border: 2px solid #B87333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.module::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 167, 38, 0.2), transparent);
    transform: rotate(45deg);
    z-index: -1;
}
.module img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}
.button {
    background-color: #FFA726;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #0A1F44;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}
.button:hover {
    transform: scale(1.1);
}
.code-block {
    background: #0A1F44;
    color: #4DB6AC;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.neon {
    position: relative;
    color: #4DB6AC;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: neon 1.5s infinite alternate;
}
@keyframes neon {
    from { text-shadow: 0 0 5px #4DB6AC, 0 0 10px #4DB6AC, 0 0 15px #4DB6AC; }
    to { text-shadow: 0 0 10px #4DB6AC, 0 0 20px #4DB6AC, 0 0 30px #4DB6AC; }
}
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #FFA726;
    border-radius: 50%;
    animation: move 3s infinite linear;
}
@keyframes move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(200px, 200px); }
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
}

