
/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 字体设置 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000033, #000000);
    color: #FFFFFF;
    line-height: 1.6;
    padding: 20px;
}

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

/* 标题样式 */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #6F00FF;
}

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

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

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

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

/* 段落样式 */
p {
    margin-bottom: 20px;
    color: #FFFFFF;
}

/* 链接样式 */
a {
    color: #00FF7F;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6F00FF;
}

/* 按钮样式 */
button, .button {
    background-color: #6F00FF;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover, .button:hover {
    background-color: #00FF7F;
    transform: scale(1.05);
}

/* 代码块样式 */
pre {
    background: #1A1A1A;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

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

/* 文章示例展示 */
.article-example {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.article-example h2, .article-example h3, .article-example h4 {
    color: #FFFFFF;
}

.article-example pre {
    background: #2E2E2E;
    border-left: 5px solid #6F00FF;
}

.article-example code {
    color: #00FFFF;
}

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

/* 提示信息 */
.reference-note {
    text-align: center;
    font-size: 1.2em;
    margin: 30px 0;
    color: #FFFFFF;
    animation: aurora-move 15s linear infinite;
}

/* 渐变背景和动画 */
.background-gradient {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
}

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

/* 数据可视化模块 */
.data-visualization {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.data-item {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.data-item h3 {
    margin-bottom: 15px;
    color: #00FF7F;
}

.data-item p {
    color: #FFFFFF;
}

.data-item img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
}

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

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 1200px) {
    .data-visualization {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    .data-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }

    .reference-note {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .data-visualization {
        flex-direction: column;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.2em;
    }
}

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

    h1 {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1em;
    }
}

/* 粒子效果 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background: transparent;
}


