
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    background: #0A192F; /* 深蓝色背景 */
    color: #FFFFFF; /* 白色字体 */
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景效果 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgb(0, 10, 38), transparent), url('https://images.gptkong.com/demo/sample1.png') no-repeat center center;
    background-size: cover;
    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;
}

/* 头部导航 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.header .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #FFD700; /* 金色 */
    text-decoration: none;
}

.navbar {
    display: flex;
    gap: 15px;
}

.navbar a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.navbar a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #38E54D; /* 霓虹绿 */
    transition: width 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

/* 主要内容 */
.main {
    padding: 40px 0;
}

.main h1, .main h2, .main h3, .main h4 {
    font-family: 'Poppins', sans-serif;
    color: #FFD700; /* 金色标题 */
}

.main p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

/* 卡片布局 */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background-color: #1B263B; /* 墨绿色 */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.5);
}

.card h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

.card p {
    color: #FFFFFF;
}

.button {
    background: linear-gradient(90deg, #8C52FF, #38E54D);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.button:hover {
    background: linear-gradient(90deg, #38E54D, #8C52FF); /* 颜色反转 */
}

/* 数据可视化 */
.chart {
    width: 100%;
    height: 400px;
    background-color: #0A192F;
    border: 1px solid #38E54D;
    border-radius: 8px;
    padding: 20px;
}

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

code {
    color: #38E54D;
    font-family: 'Source Code Pro', monospace;
}

/* 响应式设计 */
@media (max-width: 320px) {
    .header, .navbar, .container, .card, .button {
        padding: 10px;
    }
    .header .logo {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .navbar a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

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

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* 动态粒子效果 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    top: 0;
    left: 0;
    z-index: -2;
}

