Anyone else get the best game ideas when you are about to head to bed?

I did a course about learning recently that covered this, so I can just share with you what I found out.

Most people get the same thing because it’s how your brain works. When you actively think about things you brain gets tired quickly, this is called the focused mode of thinking. When you are doing something that you don’t have to concentrate on too hard, like rearranging your game collection or showering, your brain goes into diffuse thinking mode. It becomes easier to make unconventional leaps in thought, and come up with crazy/interesting ideas. The trick is to recognise when you are having these kinds of thoughts and write it down.