If you stay up for so long that you get to watch the moon go down and the dawn come, then people will say you have serious guts. Staying up that late is really hard, and not everyone can do it. If you don't have the guts to stay up, you'll just fall asleep and never see the moon and the sun switch places in the sky.
You were outside for so long, proving you had guts, that you also got a sweet tan (たん) out of it! It's a really deep tan though, and you probably need more guts if you ever want to do all that again.