body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #1f1f1f;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.scene {
  width: 300px;
  height: 200px;
  perspective: 1000px;
}

.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  cursor: pointer;
}

.card.is-flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.card-front {
  background: linear-gradient(135deg, #6b73ff, #000dff);
}

.card-back {
  background: linear-gradient(135deg, #ff5e62, #ff9966);
  transform: rotateY(180deg);
}
