Wicked!!Heh!
Think of the gnarled wood of the trunk of a tree as it transitions into the roots. Gnarl is the root of gnarly.
Gnarly became popular back in the '60s with the surfing culture of California and quickly became popular parlance. It is a term for extreme challenge, or extreme danger, or extreme beauty, or combinations of these.