
/* 全局样式与背景动画 */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #000022, #000044);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    animation: aurora-move 15s linear infinite;
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: radial-gradient(circle, rgba(0, 116, 217, 0.8), transparent);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
header h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
}
section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
section:hover {
    transform: translateY(-5px);
}
section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #0074D9;
    margin-bottom: 15px;
}
section p {
    font-size: 1rem;
    color: #e0e0e0;
}
code, pre {
    background: rgba(0, 0, 0, 0.5);
    color: #00ff00;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    section {
        padding: 15px;
    }
    code, pre {
        font-size: 0.8rem;
    }
}

