Campaigners who went viral with their take on a Gen Z TikTok trend have raised £600,000 in a bid to buy their village pub.