.flip-card {
  perspective: 1000px;
  width: 200px;
  height: 130px;
  margin: 20px auto;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.flip-card-front {
  background: linear-gradient(45deg, #667eea, #764ba2);
}

.flip-card-back {
  background: linear-gradient(45deg, #f093fb, #f5576c);
  transform: rotateY(180deg);
}