.btn-user-account {
    min-height: 40px;
    padding: 8px 15px;
    gap: 9px;
    border: 1px solid rgba(167, 139, 250, .32);
    border-radius: 13px;
    color: #f7f4ff !important;
    background: linear-gradient(145deg, rgba(35, 28, 52, .96), rgba(18, 16, 25, .96));
    box-shadow: inset 0 1px rgba(255,255,255,.07), 0 5px 18px rgba(0,0,0,.22);
    font: 800 13px/1.2 'Cairo', sans-serif;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.btn-user-account::before {
    content: '';
    position: relative;
    inset: auto;
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: #c4b5fd;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5' fill='white'/%3E%3Cpath d='M5 21v-1.5a7 7 0 0 1 14 0V21z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5' fill='white'/%3E%3Cpath d='M5 21v-1.5a7 7 0 0 1 14 0V21z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 5px rgba(167,139,250,.38));
    transform: none;
    z-index: auto;
    transition: background .2s ease, filter .2s ease;
}

.btn-user-account.has-account::before { display: none; }

.btn-user-account::after {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 45%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent);
    transform: skewX(-22deg);
    transition: left .55s ease;
}

.btn-user-account:hover {
    transform: translateY(-1px);
    border-color: rgba(196,181,253,.66);
    background: linear-gradient(145deg, rgba(52, 39, 78, .98), rgba(25, 20, 36, .98));
    box-shadow: inset 0 1px rgba(255,255,255,.1), 0 8px 24px rgba(124,58,237,.2);
}

.btn-user-account:hover::after { left: 150%; }
.btn-user-account:hover::before { left: auto; background: #e9ddff; filter: drop-shadow(0 0 7px rgba(167,139,250,.65)); }
.btn-user-account:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }

@media (max-width: 768px) {
    .desktop-nav .btn-user-account { width: auto; max-width: 190px; min-height: 36px; padding: 6px 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .btn-user-account, .btn-user-account::before, .btn-user-account::after { transition: none; }
}
