Instead of writing code behind for Master Page and then having a PAGE PARSER Path, you can create a simple user control that will identify the user and his group either SPUserProfile property or what ever logic you want and then change the CSS file or class accordingly, that should change the appearance of PAGES.