TIFU by realizing I'm in love with my best friend - at her wedding

So I think if I just get it out of my system hopefully I won't keep dwelling on it.

Minor backstory, my best friend is the kind of girl that every guy falls for in the first 5 minutes. She's stunning, down to earth and incredibly genuine. She's the absolute definition of charisma and grace. Thus 5 years ago when we started hanging out I just thought hell, she'll never like someone like me. Well we became inseparable, and when she would get drunk I'd be the one to take her home and tuck her in, never once reciprocating her drunk advances. I always figured she only wanted me while drunk ya know? (Plus she had a bad habit of being an absolute heart breaker)

Anyway, she met a guy 2 years ago and he's everything she wants in a man. Fast forward to their wedding tonight - the nights winding down and she drags me out to the dance floor for a slow dance. Towards the end of it (mind you I'm a tad bit inebriated at this point) I jokingly tell her she'll just have to be the one that got away. Her response?

"You know that's bullshit, I was the one you never even wanted. You can't blame me after breaking my heart"

Now I'm lying in bed without the energy to even drown my sorrow in some low-budget erotica.

Her husband is a fantastic guy, and he'll make her so happy. But I fucked up, by letting my insecurities get between the one I always really wanted.

EDIT: Wow this blew up. Just an FYI, I'm not the author of the TIFU. I just saw it and thought the story was relevant.