Unraveling the global energy puzzle: Exploring energy demand and trade flows in a changing world