
/* 基础样式与全局设置 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #000046, #1cb5e0);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura PT Bold', sans-serif;
    margin: 1.5em 0 0.5em;
}
p, li {
    font-size: 1rem;
    margin-bottom: 1em;
}
a {
    color: #00ff99;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ff00ff;
}
code {
    display: block;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
pre {
    margin: 20px 0;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}
header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(120deg, #1cb5e0, #000046);
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 10%, transparent 70%);
    animation: moveBackground 10s infinite linear;
    transform: rotate(-45deg);
}
@keyframes moveBackground {
    from { transform: translateX(-50%) rotate(-45deg); }
    to { transform: translateX(0) rotate(-45deg); }
}
header h1 {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 10px #00ff99;
}
.module {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
.glass-effect {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border: 2px solid transparent;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
}
.icon:hover {
    transform: scale(1.2);
}
button {
    background: linear-gradient(135deg, #00ff99, #ff00ff);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}
button:hover {
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.9); }
    100% { box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); }
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .module {
        padding: 15px;
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    code {
        font-size: 0.9rem;
    }
}

