
/* 基础字体与盒模型 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgb(10, 36, 99), transparent);
    color: white;
    line-height: 1.6;
    padding: 20px;
    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;
}

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

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

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

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

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

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

code {
    color: #39FF14;
}

/* 按钮样式 */
.button {
    display: inline-block;
    background: #FFD700;
    color: #0A2463;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.button:hover {
    transform: scale(1.1);
    background: #39FF14;
}

/* 卡片布局 */
.container .card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.container .card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

/* 网格布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

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

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

a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    p {
        font-size: 0.95rem;
    }
}

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

@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1rem;
    }
    p {
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.3rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    h3 {
        font-size: 0.9rem;
    }
    p {
        font-size: 0.85rem;
    }
}

/* 额外视觉元素 */
.abstract-geometry {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: rgba(57, 255, 20, 0.3);
    border-radius: 50%;
    animation: rotate-geometry 20s linear infinite;
}

@keyframes rotate-geometry {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 数据可视化图表样式 */
.chart {
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.chart canvas {
    width: 100%;
    height: 100%;
}

/* 提示文字样式 */
.reference-note {
    text-align: center;
    font-size: 1rem;
    margin-top: 40px;
    color: #FFD700;
}

