Roughly chop the almonds, cashews and pistachios. Lightly roast the fox nuts (makhana) in a dry pan until crisp, then crush them coarsely.
Heat the ghee in a heavy-bottomed pan. Add the grated coconut and roast over low-medium heat, stirring constantly, until lightly golden and fragrant, about 5-6 minutes.
Add the chopped nuts, watermelon seeds and crushed makhana to the roasted coconut. Mix well and set aside.
In a separate pan, combine the sugar and water and heat over medium flame, stirring until the sugar dissolves. Continue simmering until the syrup reaches a one-string consistency.
Crush the cardamom pods and stir the seeds into the syrup.
Add the roasted coconut-nut mixture to the syrup and mix quickly and thoroughly until well combined and slightly thickened.
Immediately transfer the mixture to a greased plate or tray and spread evenly, pressing down firmly with a greased spatula or the back of a bowl.
Let it cool for 20-30 minutes until just set but still slightly warm, then cut into squares or diamonds.
Allow the burfi to cool completely before removing the pieces and storing in an airtight container.