/* ═══════════════════════════════════════════
   POKIT — tarot.css
   Tarot Cards · Oracle Room
   ═══════════════════════════════════════════ */

.tarot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.tarot-card-wrapper { perspective: 1000px; margin: 20px 0; }

.tarot-card {
  width: 180px;
  height: 280px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  cursor: pointer;
}
.tarot-card.flipped { transform: rotateY(180deg); }
.tarot-card.shaking { animation: cardShake 0.4s ease infinite; }

.tarot-face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.tarot-back {
  background: linear-gradient(135deg, #1a0a2e, #2d1b69, #1a0a2e);
  border: 2px solid #D4A84B;
}
.tarot-back-pattern { font-size: 48px; opacity: 0.5; }
.tarot-back-center { font-size: 36px; }

.tarot-front {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #FFF5F7, #FFF0E6);
  border: 2px solid var(--primary);
}

.tarot-numeral {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 3px;
}
.tarot-front-icon { font-size: 48px; margin: 12px 0; }
.tarot-front-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  line-height: 1.3;
}
.tarot-verdict {
  font-size: 18px;
  font-weight: 700;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 8px;
}

/* ── Oracle Room Stars ── */
.oracle-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  top: 0; left: 0;
}
.oracle-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}
