
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgb(25, 25, 112), transparent);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

a {
    color: #00ff7f;
    text-decoration: none;
}

a:hover {
    text-shadow: 0 0 5px #00ff7f;
}

/* 模块化布局 */
.section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section:nth-child(odd) {
    background: linear-gradient(135deg, #191970, #483d8b);
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #483d8b, #6a5acd);
}

/* 动态背景效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.dynamic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, #ff7f50, #87cefa, #ff7f50, #87cefa);
    background-size: 200% 200%;
    animation: aurora-move 15s linear infinite;
    opacity: 0.2;
    z-index: -1;
}

/* 文章样式 */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

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

.article-container code {
    color: #00ff7f;
    font-size: 14px;
}

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

/* 按钮样式 */
button {
    background: linear-gradient(135deg, #00ff7f, #adff2f);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* 图片样式 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.1);
}

/* 特殊提示 */
.notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

