
/* 全局样式与背景渐变 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgb(255, 87, 34), transparent), linear-gradient(to bottom right, #121212, #0a0a0a);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxwYXRoIGQ9Ik0wLDBoMTIwMHYxMjAwaC0xMjAweiIgZmlsbD0iIzAwMDAwMCIgb3BhY2l0eT0iMC4yNSIvPjwvc3ZnPgo=') no-repeat center center;
    opacity: 0.1;
    z-index: -1;
}

/* 标题与导航栏 */
header {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: #f4d03f;
    margin: 0;
}
header p {
    font-size: 1rem;
    color: #ffffff;
    margin-top: 5px;
}

/* 容器与模块布局 */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}
.module {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* 按钮与交互效果 */
.button {
    display: inline-block;
    background-color: #2ecc71;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.button:hover {
    background-color: #f4d03f;
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* 图片装饰与代码块样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #f4d03f;
    margin: 15px 0;
}
code {
    color: #f4d03f;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
    .container {
        padding: 0 10px;
    }
    pre {
        font-size: 0.8rem;
    }
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-aurora {
    background: linear-gradient(270deg, #1e3c72, #2a5298, #1e3c72);
    background-size: 600% 600%;
    animation: aurora-move 15s linear infinite;
}

/* 提示信息 */
.tip {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #f4d03f;
    margin: 20px 0;
}

