What is root word for fanciful?

fancy, fan- (as in fantastic or fantasy)