Ezra Mam starred with a hat-trick as Souths Logan Magpies bounced back to post an important 38-28 win against Tweed Seagulls in their postponed Round 12 match.