:root {
    --primary-gradient: linear-gradient(135deg, #1E3C72 0%, #2A5298 100%);
    --secondary-gradient: linear-gradient(135deg, #243B55 0%, #141E30 100%);
    --accent-color: #4CAF50;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1a1a1a;
    --card-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 30px rgba(30, 60, 114, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right,
        rgba(30, 60, 114, 0.95),
        rgba(42, 82, 152, 0.92)
    );
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 当滚动时添加的样式 */
.navbar.scrolled {
    background: linear-gradient(to right,
        rgba(30, 60, 114, 0.98),
        rgba(42, 82, 152, 0.95)
    );
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 1.2rem 0;
}

.nav-container {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--light-text);
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 添加悬停效果 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* 页脚样式 */
footer {
    background: var(--secondary-gradient);
    color: var(--light-text);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.6rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(to bottom,
            rgba(30, 60, 114, 0.98),
            rgba(42, 82, 152, 0.95)
        );
        padding: 1rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }
} 

@keyframes glow {
    from {
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.2),
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.2),
            0 0 20px rgba(255, 255, 255, 0.4),
            0 0 30px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(30, 144, 255, 0.2);
    }
} 