.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 22px;
    gap: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-brand i {
    font-size: 26px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.nav-links a:hover::before {
    transform: translateY(0);
}

.nav-links a:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-links a i {
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.nav-links a span {
    position: relative;
    z-index: 1;
}

/* 当前页面激活状态 */
.nav-links a.active {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.nav-links a.active::before {
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
}

/* 添加动画效果 */
.nav-links a {
    animation: navFadeIn 0.3s ease backwards;
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a:nth-child(1) { animation-delay: 0.1s; }
.nav-links a:nth-child(2) { animation-delay: 0.2s; }
.nav-links a:nth-child(3) { animation-delay: 0.3s; }
.nav-links a:nth-child(4) { animation-delay: 0.4s; }
.nav-links a:nth-child(5) { animation-delay: 0.5s; }
.nav-links a:nth-child(6) { animation-delay: 0.6s; }

/* 品牌链接悬浮效果 */
.brand-link:hover {
    transform: scale(1.05);
}

.brand-link:hover i {
    animation: spinDice 0.6s ease;
}

@keyframes spinDice {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 导航项图标特效 */
.nav-links a:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}