Electronic structure of platinum at ultrahigh pressure