Panthers hold off Seahawks, 31-24