
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, #0d1b2a, #1b263b, #415a77);
    color: #e0e1dd;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    animation: aurora-move 15s linear infinite;
}

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

/* 容器布局 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    text-align: center;
    padding: 50px 0;
    color: #00bfff;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #b3b3b3;
}

/* 文章样式 */
article {
    background-color: rgba(38, 38, 38, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

article h2 {
    font-size: 2em;
    color: #00bfff;
    margin-bottom: 20px;
}

article h3 {
    font-size: 1.5em;
    color: #e0e1dd;
    margin-top: 30px;
    margin-bottom: 15px;
}

article p {
    font-size: 1em;
    color: #d3d3d3;
    margin-bottom: 15px;
}

article pre {
    background-color: #1b263b;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #00bfff;
}

article code {
    color: #00bfff;
}

article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

article table, article th, article td {
    border: 1px solid #333;
}

article th, article td {
    padding: 10px;
    text-align: left;
}

article th {
    background-color: #415a77;
    color: #e0e1dd;
}

article td {
    background-color: #1b263b;
    color: #d3d3d3;
}

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

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.image-gallery img {
    margin: 10px;
}

/* 按钮和链接样式 */
button, a {
    background: linear-gradient(90deg, #1e88e5, #673ab7);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: box-shadow 0.3s ease;
}

button:hover, a:hover {
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.5);
}

/* 提示文本 */
.notice {
    text-align: center;
    font-size: 1.2em;
    color: #ff5722;
    margin: 20px 0;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    header h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 1024px) {
    article {
        padding: 20px;
    }

    header h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .image-gallery {
        flex-direction: column;
        align-items: center;
    }

    article h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    article h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.2em;
    }

    article p, article pre, article table, button, a {
        font-size: 0.9em;
    }
}

