.glass-menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(1, 3, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(103, 98, 254, 0.2);
    border-radius: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(103, 98, 254, 0.1),
        0 0 40px rgba(103, 98, 254, 0.15);
}

.glass-menu:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(103, 98, 254, 0.2),
        0 0 60px rgba(103, 98, 254, 0.25);
    border-color: rgba(103, 98, 254, 0.3);
}

.glass-menu .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    transition: transform 0.3s ease;
}

.glass-menu .logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    height: 40px;
    width: 40px;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(103, 98, 254, 0.4));
    flex-shrink: 0;
}

.logo-name {
    height: 34px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    margin-left: 0px;
    margin-top: 10px;
    padding-top: 0;
    padding-bottom: 0;
}

.glass-menu .logo:hover .logo-icon {
    filter: drop-shadow(0 6px 20px rgba(103, 98, 254, 0.6));
    transform: scale(1.05);
}

.glass-menu .logo:hover .logo-name {
    transform: scale(1.02);
}

.glass-menu .menu-items {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.glass-menu .menu-items li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 4px;
    opacity: 0.9;
}

.glass-menu .menu-items li a:hover {
    color: #ffffff;
    opacity: 1;
    transform: translateY(-1px);
}

.glass-menu .menu-items li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6762FE 0%, #7c77ff 100%);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-menu .menu-items li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-menu-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(103, 98, 254, 0.1);
    border: 1.5px solid rgba(103, 98, 254, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.user-menu-button:hover {
    background: rgba(103, 98, 254, 0.2);
    border-color: rgba(103, 98, 254, 0.5);
    transform: translateY(-1px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6762FE 0%, #7c77ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.user-menu-button.active .user-menu-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(103, 98, 254, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(103, 98, 254, 0.1);
    border-bottom: 1px solid rgba(103, 98, 254, 0.2);
}

.user-dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6762FE 0%, #7c77ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.user-dropdown-info {
    flex: 1;
    min-width: 0;
}

.user-dropdown-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-email {
    font-size: 13px;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(103, 98, 254, 0.2);
    margin: 8px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-dropdown-item:hover {
    background: rgba(103, 98, 254, 0.15);
    color: #ffffff;
}

.user-dropdown-item i {
    width: 18px;
    text-align: center;
    color: #6762FE;
    font-size: 16px;
}

.user-dropdown-item-logout {
    color: #fca5a5;
}

.user-dropdown-item-logout:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.user-dropdown-item-logout i {
    color: #fca5a5;
}

@media (max-width: 768px) {
    .user-name {
        display: none;
    }
    
    .user-dropdown {
        right: -20px;
    }
}

.btn-signin {
    padding: 10px 20px;
    background: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #1e293b;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-signin:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-signup {
    padding: 0;
    background: #000000;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 50px;
}

.btn-signup::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #9D00FF 0%, #4A00FF 50%, #FF00FF 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 1;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 2px;
}

.btn-signup:hover {
    transform: translateY(-2px);
}

body {
    padding-top: 75px;
}

@media (max-width: 768px) {
    .glass-menu {
        top: 10px;
        width: calc(100% - 40px);
        padding: 12px 20px;
        border-radius: 16px;
        flex-wrap: wrap;
    }
    
    .glass-menu .menu-items {
        gap: 20px;
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    
    .glass-menu .logo {
        font-size: 18px;
    }

    .logo-icon {
        height: 32px;
        width: 32px;
    }
    
    .logo-name {
        height: 22px;
        width: auto;
        margin-left: 8px;
    }

    .nav-actions {
        gap: 12px;
    }

    .btn-signin,
    .btn-signup {
        padding: 12px 24px;
        font-size: 14px;
    }

    body {
        padding-top: 80px;
    }
}
