
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #0E1E4A, #000000);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Sans', sans-serif;
    color: #FF8C00;
}

a {
    color: #FF8C00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.left-panel, .right-panel {
    width: calc(50% - 20px);
    padding: 20px;
    box-sizing: border-box;
}

.left-panel {
    background: radial-gradient(circle, #0E1E4A, transparent);
}

.right-panel {
    background: radial-gradient(circle, #1C2B4D, transparent);
}

@media (max-width: 768px) {
    .left-panel, .right-panel {
        width: 100%;
    }
}

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

.animate-element {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.animate-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* 文章排版 */
article {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

article h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

article p, article ul, article pre {
    font-size: 16px;
    margin-bottom: 20px;
}

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

article code {
    color: #FF8C00;
    font-family: monospace;
}

/* 图片装饰 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.image-gallery img {
    width: calc(33.33% - 10px);
    border-radius: 10px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .image-gallery img {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .image-gallery img {
        width: 100%;
    }
}

