[the flame dissolves into thin air when the nobody begins laughing] I once read that, if you burn sand, it becomes solid as a rock and that it's even possible to make glass out of melted sand. I have never tried it myself, to be honest, but hey, it's the perfect scenario to try that out. [imagine! A castle made out of glass!]
... or do you want to make a traditional castle of sand and water instead?