Perhaps you are thinking of the Russian word гениальный but in English 'genius' cannot be used as an adjective. You would have to say: I told myself it was a work of genius, or use a different word (...