Definition of "Nasty" :
adjective: disgustingly dirty; filled or smeared with offensive matter
"A nasty pigsty of a room."
adjective: characterized by obscenity
adjective: exasperatingly difficult to handle or circumvent
"A nasty problem."
adjective: offensive or even (of persons) malicious
"In a nasty mood."