not bitmedia.io, but i have used cointraffic before, and they had similar BS terms as well. the inactivity period was even shorter, 120 days if my memory isn't failing me.
after the 120 days, they would start charging the account monthly until there was nothing left in the balance.
i'm guessing every one of those sites has terms like that in some shape or form.
My Bitmedia.io advertising accounts had $1,000+ Bitcoin on them and had used their services to advertise an altcoin. No terms and conditions were broken, however they deactivated the accounts from inactivity and claimed the Bitcoin balance was "unrecoverable" and the inactive accounts permanently suspended, again not from breaking rules rather inactivity.
but was your account inactive or not, and for how long? did they send you any warning emails?
because as shitty as it is, if they are just following their terms, which you agreed to when creating your account, there is not much you can do.
At least they should have just put all inactive accounts into only withdrawal mode. forfeiting one's funds just because they have been inactive is diabolical but legally, this is a hard dispute to win since they already have the clause in their ToS.
it's just greed. it costs them next to nothing to keep the account as OP left it.
i mean, they could even just charge a small monthly maintenance fee of $5 to $10 for the account, but no no no, let's just take the entire balance.