
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, #0B5394, #0A3D62);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}
a {
    color: #4CAF50;
    text-decoration: none;
}
a:hover {
    color: #FF9800;
    transition: color 0.3s ease;
}

/* 标题与导航 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: radial-gradient(circle, #0A3D62, transparent);
}
header h1 {
    font-size: 2rem;
    color: #fff;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
}
nav ul li a:hover {
    background: #4CAF50;
    color: #fff;
}

/* 内容区域 */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
section h2 {
    color: #4CAF50;
    margin-bottom: 10px;
}
section p {
    color: #EAEAEA;
}
section pre {
    background: #0A3D62;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
section code {
    color: #FF9800;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    section {
        padding: 15px;
    }
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
button {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover {
    background: #FF9800;
}
button:active {
    transform: scale(0.98);
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

