2 traits that are extremely incompatible with someone that's considered a borderline genius and one of the smartest people in manga. Light is just a moron who had every advantage in the world and that ended up losing to L.
One character had to figure out another character's name, while the other character had to prove that the first guy has magical killing powers. Take a wild guess at to wich guy lost in that scenario.
So yeah, no matter what you say, Light is borderline retarded, moronic and lacking of a functional brain. Sure, that does NOT take away the fact that L is extremely fucking smart and the real genius. The fact that this entire exchange was still somewhat close despite Light's overwhelming advantage shows how inferior Light's IQ is
This is taking out a lot of context. Yes L may have been (slightly) more intelligent and skilled, but this doesn't mean Light had it easy by any means. He had to deal with several things, such as:
Getting cameras installed in every inch of his house, which he could still circumvent by hiding a camera in a potato chip bag.
Having agents stalking him, with him only even knowing about Raye Penber because Ryuk was personally creeped out by Raye and decided to snitch (which was one of the only times in the entire series Ryuk ever bothered to actually help Light or anyone else for that matter since he's usually just neutral).
The thing I mentioned with Raye's wife earlier.
And constantly being put into positions where, if he DID kill L, he'd immediately be confirmed as Kira no matter what.
Not to mention his own father was one of the heads of the investigation and he didn't really want to take out his own family.
The theme of the story, at any given point, was "the world's smartest criminal vs the world's smartest detective". L is meant to be a Sherlock Holmes types of character, and he did his very best to stop Light, with his efforts ultimately being pivotal to Light getting caught despite Light having supernatural powers. However, Light having said supernatural powers does not inherently mean he ever had it easy even from the start. He even had to give up the notebook at some point so he wouldn't be suspected. So I don't get why you're saying all this as if it were really easy to get L's name and kill him while still being seen as innocent.
Edit: Also, you can have a high ego while still being highly intelligent. In fact highly intelligent people would be more prone to that as they'd overestimate themselves due to their intelligence.