
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0A1931, #1B2735);
    color: #FFBA49;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* 头部样式 */
header {
    text-align: center;
    padding: 60px 0;
    background: radial-gradient(circle, rgba(255,87,34,0.8), transparent);
    animation: aurora-move 15s linear infinite;
}

header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

header p {
    font-size: 18px;
    color: #FFD700;
}

/* 导航栏 */
nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

nav a {
    color: #FFBA49;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #FFD700;
}

/* 文章样式 */
article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

article h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

article h3, article h4 {
    color: #FFBA49;
    margin-top: 30px;
}

article p {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

article pre {
    background: #1B2735;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

article code {
    color: #FFD700;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

/* 模块样式 */
.module {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.module .left, .module .right {
    flex: 1;
    min-width: 300px;
}

.module .left img {
    width: 100%;
    border-radius: 10px;
}

.module .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.module .right h4 {
    margin-bottom: 10px;
}

.module .right p {
    font-size: 14px;
    color: #FFFFFF;
}

/* 按钮样式 */
button {
    background-color: #FFBA49;
    color: #0A1931;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 5px;
}

button:hover {
    background-color: #FFD700;
    transform: scale(1.1);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 32px;
    }
    nav {
        flex-direction: column;
        gap: 15px;
    }
    .module {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 24px;
    }
    article h2 {
        font-size: 24px;
    }
    nav a {
        font-size: 14px;
    }
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

