/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #0a0f2c 0%, #12163a 50%, #1b1f4e 100%);
    color: #f0f0f8;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* 动态背景光晕 */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}
.glow-bg::before,
.glow-bg::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 80, 255, 0.15), transparent 70%);
    animation: float 20s infinite alternate;
}
.glow-bg::after {
    background: radial-gradient(circle, rgba(255, 100, 180, 0.12), transparent 70%);
    animation: float-reverse 18s infinite alternate;
}
@keyframes float {
    0% { transform: translate(0%, 0%) scale(1); opacity: 0.4; }
    100% { transform: translate(5%, 5%) scale(1.1); opacity: 0.7; }
}
@keyframes float-reverse {
    0% { transform: translate(0%, 0%) scale(1); opacity: 0.3; }
    100% { transform: translate(-4%, -3%) scale(1.15); opacity: 0.6; }
}

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* 玻璃卡片 */
.glass-card {
    background: rgba(20, 24, 54, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    border: 1px solid rgba(120, 100, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(150, 130, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.3);
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #b48eff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: #e0dcff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: #b48eff;
    border-bottom: 2px solid #b48eff;
    padding-bottom: 4px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: rgba(120, 100, 255, 0.2);
    border: 1px solid rgba(120, 100, 255, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}
.btn:hover {
    background: rgba(120, 100, 255, 0.5);
    border-color: #b48eff;
    transform: translateY(-2px);
}

/* 页面标题 */
.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #c2b6ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}
.section-subtitle {
    color: #bcafff;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 页脚 */
footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* 响应式 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        gap: 1.2rem;
    }
    .container {
        padding: 1rem;
    }
}
