/* 导航栏样式 */
.navbar {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.navbar-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.navbar-nav a:hover {
    color: white;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background: rgba(20, 20, 40, 0.95);
    border-radius: 10px;
    padding: 10px;
    min-width: 150px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.user-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.login-btn {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.login-btn:hover {
    transform: scale(1.05);
}

.manage-btn {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.manage-btn:hover {
    transform: scale(1.05);
}