Modern CSS selectors handle interaction patterns and state management that used to require JavaScript. Here are the most useful ones.