Welcome to DV! Congrats on having your first LD.

Late-night studying and sleep deprivation in general lengthens the amount of time you dream in what is called a REM rebound.
That may be a reason why you had a lucid dream without trying. Or the lucid dream was just random, which when it happens is awesome.

Oh heh, it's LD, not LCD.