Long story short, I meet with this girl occasionally for a mutual hobby and over the year I've improved myself, which clearly is apparent as she wants the attention now but before she wouldn't even entertain the idea of messaging back.

We went for a birthday party off a mutual friend recently and she was very needy texting me before, double checking if I'm still going, then at the place we had a few drinks, some dancing and we were fooling around playing some random arcade game that was available, ended up grabbing my hand and biting it, then asking for a piggyback etc etc.

Unfortunately we were going to the club as a group, and I saw a message on her phone (which was conveniently placed in direct line of sight for me), where some guy said "I've got a free house tomorrow", and needless to say, my mood did drop. In the club she obviously danced with me and the group, then was going around to other groups and having fun with the guys, coming back, trying to get my attention, then dancing with me slowly and putting her head on my chest and I just lost the 'drive' to even close/try to pull.

What should I have done/what would you have done, and how should I act next time? I imagine I will be seeing her soon anyways, and she has texted me after but I just responded with some cold responses. Any advice?

Edit - If she asks me or says that I've been quiet/acting weird recently, what would you say? I was considering saying something that I'm chilling and misinterpreted her being drunk and having fun as flirting and just doing what's best for me (I know that this would need next level phrasing and tonality, because it is extremely easy to sound like a bitch saying that, but on the flip side, it would be a way to set a 'boundary' maybe and flip the script to essentially friendzone her (if she didn't intend for anything to happen, which would be weird as fuck because who bites someone's hand on the daily as a platonic friend lol) and if she wanted something she would potentially make it more obvious? Thoughts?