Actually, I can't spoil you but...
The secret of the world is that the world to where Riki is now is not a real world. It's an artificial world made by Kyousuke's and his friends' wishes and desires. He created this to let Riki and Rin grow strong enough to face the reality that only the two of them survive the bus accident.