For me it’s first person puzzle games. I can think of maybe a dozen off the top of my head that came out in the last decade. I especially enjoy when they’re open world. The ability to just quit a puzzle that’s stumped you and go try something else for a little bit is incredibly refreshing.
Hat in Time is probably the last big indie 3d platformer, but I’d say Kirby and the Forgotten Land is a decent 3d platformer, unless you meant collectathon style 3d platformer a la what Rare made on the N64 etc. since you mentioned Hat.