Thanks, being able to get the current rotationX and rotationY is exactly what I was looking for! I'll swap out the card faces when the card is at 90 degrees.
The one issue I'm still having is that when I adjust the x and y values for the card, its perspective gets offset so that the card isn't perpendicular to the camera when it's turned 90 degrees. Should I just wrap the card in another div and apply position transforms to that parent div and keep 3D rotations on the child div?