
/* 页面全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: radial-gradient(circle, rgb(25, 25, 112), transparent);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-top: 0;
}
a {
    color: #00FF7F;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FF4500;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
.header {
    background: linear-gradient(to right, #00008B, #000);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}
.header h1 {
    background: linear-gradient(to right, #00FF7F, #FF4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
}
.header p {
    font-size: 1.2rem;
    margin-top: 10px;
}
.section {
    padding: 40px 0;
    position: relative;
}
.section:nth-child(even) {
    background: radial-gradient(circle, rgba(0, 0, 139, 0.7), transparent);
}
.article {
    background: #191970;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.article h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.article p {
    line-height: 1.8;
    margin-bottom: 15px;
}
.code-block {
    background: #000;
    color: #00FF7F;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    margin: 15px 0;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.image-grid img:hover {
    transform: scale(1.1);
}
.button {
    display: inline-block;
    background: #00FF7F;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}
.button:hover {
    background: #FF4500;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .article h2 {
        font-size: 1.5rem;
    }
    .code-block {
        font-size: 0.8rem;
    }
}
@keyframes aurora-move {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

