Default [Q] help soft bricked s3

i flashed a new cyanogen mod on my phone and i did everything correctly and it was working and over night i placed my phone over night under my pillow and it got quite hot and i didnt check it but put it on the floor and then i checked it in the morning and it was stuck in a boot loop and the samsung one not the cm11 and i booted it in cwm recovery and tried to wipe all user data and it couldnt mount the sd card. Any help i thought the sd card melted coz it was very hot.