The impact of diversity representation in digital media on cognitive development and self-perception among marginalized groups