
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: white;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

a {
    color: #8B5CF6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 页面头部 */
.header {
    height: 100vh;
    background: url("https://images.gptkong.com/demo/sample1.png"), linear-gradient(135deg, #0F172A, #1E293B);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
}

.header h1 {
    font-size: 3rem;
    z-index: 2;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.navbar a {
    color: white;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #8B5CF6;
}

/* 内容区域 */
.content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

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

.card-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card-item:hover {
    transform: scale(1.05);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s forwards;
}

/* 粒子效果 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    background-size: 10px 10px;
    animation: moveParticles 10s infinite linear;
}

@keyframes moveParticles {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .card {
        grid-template-columns: 1fr;
    }
}

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

    .navbar a {
        margin: 5px 0;
    }
}

