When Indian Prime Minister Narendra Modi opened a Hindu temple on the site of a razed mosque in the holy city of Ayodhya in early 2024, he was making a bet on mixing Hindu nationalism and politics ahead of a national election in which he's seeking a rare third term.