Yes you played it fine, unlucky. Your range seems ok.
The thing is though, nothing can really be learned from this hand. If you're looking to improve you have to ask good questions to get good answers. I'm guessing there are probably a lot of small pot hands that you don't completely understand yet. Some good basic questions might be... for e.g. Do i cbet here and why? or Do i 3b here? Then some of the regs might answer with a thoughtful response.