(Edit: I'm not looking for an official diagnosis. I'd just like to hear the community's thoughts on the matter)

Lots of things trigger my anxiety, but one of the things that make it incinerate me from within is romantic relationships, or relationships with the opposite sex (I'm straight). My anxiety flares when I can't get a girl I'm interested in, I get angry and very very very anxious if I find out they like someone else, hell I even get passively outraged when female friends get boyfriends. I get angry that I couldn't "win" the girl I want, it legit torments me, makes me feel like I'm a loser, and am inadequate. It's like I have this huge ego that screeches and wails if not satisfied.

 I know how absurd this all sounds, just wish the part of my brain giving rise to my anxiety did too. Is this megalomania? If not, does it point to anything else? 

Thanks in advance 

Any response will be appreciated