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

body {
    background: linear-gradient(180deg, #000046 0%, #1cb5e0 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    padding: 20px;
    animation: aurora-move 15s linear infinite;
    background-size: cover;
}

/* 渐变背景动画 */
@keyframes aurora-move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

/* 标题样式 */
h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

h2 {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

/* 段落样式 */
p {
    margin-bottom: 20px;
    font-size: 1em;
    letter-spacing: 0.5px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

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

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

th {
    background: rgba(255, 255, 255, 0.1);
}

/* 代码块样式 */
pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ffea;
}

/* 按钮样式 */
button {
    background: #1cb5e0;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px auto;
    display: block;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

/* 星星动画 */
@keyframes starGlow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.star {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: starGlow 3s infinite ease-in-out;
}

/* 模块化布局 */
.section {
    margin-bottom: 50px;
}

.section .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.section .content .text {
    flex: 1 1 45%;
    padding: 20px;
}

.section .content .image {
    flex: 1 1 45%;
    padding: 20px;
    text-align: center;
}

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

@media (max-width: 1200px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 1024px) {
    .section .content {
        flex-direction: column;
    }
    .section .content .text, .section .content .image {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    .container {
        padding: 20px 10px;
    }
    p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.6em;
    }
    h3 {
        font-size: 1.2em;
    }
    button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 15px 5px;
    }
    p {
        font-size: 0.9em;
    }
}

/* 链接样式 */
a {
    color: #1cb5e0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 额外装饰 */
.decorative-lines {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1cb5e0, #ffffff, #1cb5e0);
    top: 50%;
    left: 0;
    animation: moveLines 10s linear infinite;
}

@keyframes moveLines {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

