A Modern Approach to Critical Phenomena