
/* 全局样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #002147, #4B0082);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* 头部样式 */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #002147, #4B0082);
    text-align: center;
    position: relative;
}

header h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    margin: 0;
    padding: 0;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

header p {
    font-size: 24px;
    margin-top: 20px;
    color: #FFA500;
}

/* 主要内容区域 */
.main-content {
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
}

article {
    max-width: 1200px;
    margin: 0 auto;
}

article h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 20px;
}

article h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    color: #FFA500;
    margin-top: 30px;
    margin-bottom: 15px;
}

article p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

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

/* 示例数据展示 */
.data-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.data-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.data-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
}

.data-card h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 10px;
}

.data-card p {
    font-size: 16px;
    color: #FFFFFF;
    margin: 5px 0;
}

.progress-bar {
    width: 100%;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.progress {
    height: 10px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    width: 30%;
    animation: progress-fill 2s ease-in-out forwards;
}

@keyframes progress-fill {
    from { width: 0%; }
    to { width: 30%; }
}

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

/* 提示信息 */
.reference {
    text-align: center;
    font-size: 20px;
    color: #FFA500;
    margin: 40px 0;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    header h1 {
        font-size: 42px;
    }

    header p {
        font-size: 20px;
    }

    article h2 {
        font-size: 32px;
    }

    article h3 {
        font-size: 24px;
    }

    article p, .data-card p {
        font-size: 16px;
    }
}

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

    .data-section {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

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

    header p {
        font-size: 18px;
    }

    article h2 {
        font-size: 28px;
    }

    article h3 {
        font-size: 20px;
    }

    .data-card h4 {
        font-size: 20px;
    }

    .data-card p {
        font-size: 14px;
    }
}

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

    header p {
        font-size: 16px;
    }

    article h2 {
        font-size: 24px;
    }

    article h3 {
        font-size: 18px;
    }

    .data-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 24px;
    }

    header p {
        font-size: 14px;
    }

    article h2 {
        font-size: 20px;
    }

    article h3 {
        font-size: 16px;
    }

    .data-card h4 {
        font-size: 18px;
    }

    .data-card p {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 20px;
    }

    header p {
        font-size: 12px;
    }

    article h2 {
        font-size: 18px;
    }

    article h3 {
        font-size: 14px;
    }

    .data-card h4 {
        font-size: 16px;
    }

    .data-card p {
        font-size: 10px;
    }
}

