
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 渐变背景与动态粒子效果 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 70%);
    z-index: -1;
    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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 20px;
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    color: #00aaff;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.7);
}

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

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

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

h4 {
    font-size: 1.2em;
    margin-top: 25px;
}

/* 文章内容样式 */
.article {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
}

.article p {
    margin-bottom: 15px;
}

.article ul, .article ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.article li {
    margin-bottom: 10px;
}

/* 代码块样式 */
pre {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

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

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

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

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

th {
    background: rgba(0, 170, 255, 0.2);
}

/* 按钮样式 */
.button {
    background: linear-gradient(135deg, #00d68f, #00aaff);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 10px #00d68f, 0 0 20px #00d68f, 0 0 30px #00d68f;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: linear-gradient(135deg, #00aaff, #00d68f);
    box-shadow: 0 0 20px #00aaff, 0 0 40px #00aaff, 0 0 60px #00aaff;
}

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

/* 互动卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

.card:hover {
    transform: translateY(-10px);
}

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

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

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

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.3em;
    }
    .button {
        padding: 8px 16px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 10px;
    }
    h1 {
        font-size: 1.8em;
    }
}

