
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #00008B, #8A2BE2);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #00FF7F;
}

p {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

a {
    color: #ADD8E6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00FF7F;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 渐变极光背景动画 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, #00008B, #8A2BE2, #00FF7F, #ADD8E6);
    background-size: 200% 200%;
    animation: aurora-flow 20s infinite linear;
    z-index: -1;
    transform: rotate(-45deg);
}

@keyframes aurora-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* 模块化卡片式布局 */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

code {
    color: #00FF7F;
    font-size: 0.9rem;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .card {
        flex: 1 1 100%;
    }
}

/* 高亮文字效果 */
span.highlight {
    background: linear-gradient(90deg, #00FF7F, #ADD8E6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* 提示信息样式 */
.notice {
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 20px;
}

