.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.logo img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}



.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #8b5cf6;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: linear-gradient(to right, #8b5cf6, #ba97f5);
}

.nav-links a:hover::after {
    width: 100%;
}
.card{
    width: 600px;
    height: 600px;
    justify-content: center;
    align-items: center;

}

.profile-dropdown {
    position: relative;
    display: inline-block;
}
.profile-dropdown button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}
.profile-dropdown img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #8b5cf6;
    display: block;
}
.dropdown-menu {
    position: absolute;
    right: 0;
    margin-top: 8px;
    width: 192px;
    background-color: #1f2937;
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 4px 0;
    z-index: 50;
    display: none;
}
.profile-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
    z-index: 50;
}
.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.2s;
}
.dropdown-menu a:hover {
    background-color: #7c3aed;
}
.dropdown-menu a:last-child {
    color: #f87171;
}
.dropdown-menu a:last-child:hover {
    background-color: #7f1d1d;
}