
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #4568DC, #B06AB3);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    animation: background-gradient 15s linear infinite;
}

/* 背景渐变动画 */
@keyframes background-gradient {
    0% {
        background: linear-gradient(135deg, #4568DC, #B06AB3);
    }
    50% {
        background: linear-gradient(225deg, #B06AB3, #4568DC);
    }
    100% {
        background: linear-gradient(315deg, #4568DC, #B06AB3);
    }
}

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

/* 标题样式 */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
}

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

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

/* 段落样式 */
p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

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

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

th, td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

/* 按钮样式 */
button {
    background: linear-gradient(135deg, #4568DC, #B06AB3);
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1em;
}

button:hover {
    background: linear-gradient(135deg, #B06AB3, #4568DC);
}

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

/* 提示信息样式 */
.alert {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-left: 5px solid #FF5722;
    margin-bottom: 30px;
    border-radius: 3px;
}

/* 内部链接样式 */
a {
    color: #FFD700;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 模块化布局 */
.section {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 40px;
}

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

.aurora {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
}

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

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

@media (max-width: 1024px) {
    .container {
        max-width: 750px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 90%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.75em;
    }
    h3 {
        font-size: 1.25em;
    }
}

@media (max-width: 320px) {
    body {
        padding: 10px;
    }
    button {
        width: 100%;
        padding: 15px;
    }
}

