The only free and comprehensive online etymological dictionary of the Spanish language
genial (Adjective) "brilliant," "great"

From Latin genialis "marital," but also "festive." From genius "guardian spirit" and -alis (see genio (2) and -al (2) respectively).

Romance: Western Vulgar Latin: Portuguese genial, Catalan genial, French génial, Italian geniale