Mohamed Amir took a brilliant hat-trick as Karachi Kings defeated Lahore Qalandars by seven wickets in the Pakistan Super League yesterday.