Oil gains as energy demand rises; WTI tops $80