Samsung A50 shutdown on me randomly

Ight, i little bit of more context. I was doing about my day in my A50 when it shutdown. It booted fine after but kept rebooting and different times. It eventually refused to boot. I opened it up and replaced the battery. Nothing. I then replaced the charging port and tried again (with my a71s charger) and it came up with the charging sign. I left it to charge abit and checked later to see the percentage and it didnt turn on, nor did it display the charging logo. I didnt even touch it while it was charging so il kinda confused on what happened. Any ideas?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0