/* 顶部导航栏样式 */
.top-nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ffff;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-right {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 40px;
    padding: 15px 0;
    white-space: nowrap;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 5px;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-link:hover {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2));
    color: #00ffff;
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
}

/* 语言切换按钮样式 */
.language-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 60px;
}

.lang-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
}

.lang-btn.active {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 10px;
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-left {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .nav-right {
        order: -1;
        align-self: flex-end;
    }
    
    .logo {
        font-size: 20px;
        margin-right: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
        width: 100%;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .language-switcher {
        margin-bottom: 5px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        align-items: stretch;
    }
    
    .nav-left {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        text-align: center;
        margin-right: 0;
        padding: 10px 0;
        order: 1;
    }
    
    .nav-menu {
        justify-content: center;
        padding: 10px 0;
        order: 2;
    }
    
    .nav-right {
        order: 0;
        align-self: center;
        margin-bottom: 10px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
} 