I feel like Jack Vance's Dying Earth comes into play here as well. The setting and the way people act in the stories gives this tone of fatalism and madness in a world that won't be around for too much longer.
"They were gay, these people of waning Earth, feverishly merry, for infinite night...