You are looking for the phrase "de puta madre". I lived in Spain for three years and this is how they say "badass".
For instance:
Dude, sick fucking jacket!
¡Tío, esta chaqueta es de puta madre!
You may be interested in these words at this page.