I think you've got nothing to worry about, since it's your first period. Brown blood is old blood, as the saying goes, and it's possible your uterus got ready to cycle last month but just didn't have the oomph to put out a full period quite yet. So the old endometrium just hung out until this first full period cleaned it all out along with the new blood. I would assume you will have some more red flow during this period. (But even if you don't, expect your next period to be more like a full period and last a few days.) It sounds like a normal start-up experience, frankly.
And don't worry, masturbating had nothing to do with it.