I would just like to say that i was also once a child “at risk”.First of all these ideas about unconditional love is false,saying i love u no matter what u do or how u act.Every person in this world’s love is condiotional to an extent only hashems love is unconditional.so when u tell a kid im ok if u listen to goyish music or do x y and z they will really know deep down ur lying 2 them.In my humble opinion the way to be a good parent and not have kids go off the derech is a: try as much 2 lead kids as much as possible on their own path like rav wolbe says al darco (see alei shur) not your own path.B:validate him for real and including is empathize with him and just try to be a friend not a parent yes thats a real concept ur kid should have open relationship with u err on the side of being 2 friendly over the side of being fearful(though a little bit is oviously important