
/* 渐变极光背景与全局样式 */
:root {
    --primary-gradient: linear-gradient(135deg, #002f6c, #581845, #00ff7f);
    --secondary-gradient: linear-gradient(135deg, #1e3c72, #2a5298, #00ff7f);
    --text-shadow-light: 0px 4px 6px rgba(0, 0, 0, 0.2);
    --box-shadow-base: 0px 8px 16px rgba(0, 0, 0, 0.2);
    --hover-shadow: 0px 16px 32px rgba(0, 255, 127, 0.4);
    --font-family-base: 'Roboto', sans-serif;
}
body {
    margin: 0;
    font-family: var(--font-family-base);
    color: white;
    background: var(--primary-gradient);
    background-size: 400% 400%;
    animation: gradient-flow 10s ease infinite;
    overflow-x: hidden;
}
@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
h1, h2, h3, h4, h5, h6 {
    text-shadow: var(--text-shadow-light);
}
a {
    color: #00ff7f;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00c853;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}
.module {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow-base);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.module:hover {
    transform: scale(1.05);
    box-shadow: var(--hover-shadow);
}
.code-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #00ff7f;
    overflow-x: auto;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 10px;
    }
    .module {
        width: 100%;
        margin: 10px 0;
    }
    .code-block {
        font-size: 12px;
    }
}

