I have managed some good amount of mining rigs with many of them being Rx580.I have noticed only one thing and that is Rx580 Sapphire Nitro+ are the only cards worth buying for mining,in fact I have yet to see one failing because no one has failed with modified Bios running almost 31 mhs and at 80% fan in a relatively warm environment.
Sorry for your loss.
Sapphire amd or evga nvidia, avoid all others like plague. Leave fans maximum 85% and if they stop, replacing them is okay, sapphire fans are $8 each, evga fans are around $10. If I had a 3 years warranty and knew they would not honor if I modified bios, I would not take the risk, thing is, 3 years have not yet passed, mining started heavily only in 2017, so if you bought a gpu before july 2017 which at that time mining was not included as a misuse yet, then, all warrants should have been honored regardless of anything but as greedy as they are some manufactures will not honor it at all, so avoid them in the future.