If Maya society had already collapsed by the time of contact, what were they doing when they met the Spanish?

by [deleted]

Did they still have some semblance of their former society or were they living in scattered villages? Were their pyramids and cities decaying and unoccupied? I am asking because I recently watched Apocolypto and afterwards I read that the Maya depicted in the movie would not have existed when the Spanish colonized.

Mictlantecuhtli