You can visit Alhambra at night. There is the "Nasrid Palaces Night Visit" ticket, which allows you to visit the Nasrid Palaces at night, and costs €8, and another ticket, the "Gardens Night Visit" ticket, which gives entry to Generalife at night, which costs €5.