.user-profile-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.balance-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.balance-amount {
    font-size: 15px;
    color: #FFD700;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.user-profile-dropdown {
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 16px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.dropdown-arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.user-profile-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: fixed;
    width: 280px;
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99999;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

.dropdown-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-large {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 20px;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name-large {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.user-balance-large {
    font-size: 14px;
    color: #FFD700;
    font-weight: 600;
}

.dropdown-body {
    padding: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(0, 255, 136, 0.1);
    color: #00FF88;
    transform: translateX(4px);
}

.dropdown-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.dropdown-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 6px;
    color: #FF6B6B;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: translateY(-1px);
}

.logout-btn i {
    font-size: 16px;
}

.navbar__cta .deposit-btn {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .user-profile-section {
        gap: 8px;
    }

    .user-balance {
        padding: 6px 12px;
    }

    .balance-label {
        display: none;
    }

    .balance-amount {
        font-size: 14px;
    }

    .user-profile-btn {
        padding: 6px 12px;
        gap: 8px;
    }

    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .user-name {
        display: none;
    }

    .user-dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 120px;
        left: 10px;
        right: 10px;
        width: auto;
        border-radius: 12px;
        transform: translateY(100%);
        z-index: 1050;
        max-height: calc(100vh - 200px);
        overflow-y: auto;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .user-dropdown-menu.show {
        transform: translateY(0);
    }

    .dropdown-header {
        padding: 16px;
    }

    .user-avatar-large {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.user-profile-section * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-balance:hover {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.user-profile-btn:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}