can someone HELPPP What is the meaning of the idiom “on top of the world”?

sad and lonely
surprised and cheerful
ecstatic and confident
arrogant and intelligent