/* ==========================================================================
   WHITE MAGIC — 9 CARD DESTINY READING GAME (LUXURY MYSTICAL STYLES)
   ========================================================================== */

:root {
  --wm-midnight: #0A0414;
  --wm-obsidian: #120722;
  --wm-purple-deep: #1F0A36;
  --wm-purple-mid: #3B1666;
  --wm-purple-light: #7C3AED;
  --wm-purple-glow: rgba(139, 92, 246, 0.4);
  --wm-gold: #D4AF37;
  --wm-gold-light: #F8E7B9;
  --wm-gold-glow: rgba(212, 175, 55, 0.45);
  --wm-champagne: #ECC968;
  --wm-text-bright: #FAF5FF;
  --wm-text-muted: rgba(250, 245, 255, 0.75);
}

.destiny-game-wrapper {
  min-height: 90vh;
  background: radial-gradient(circle at 50% 20%, #1A072E 0%, #0D0318 60%, #07010E 100%);
  color: var(--wm-text-bright);
  position: relative;
  overflow: hidden;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  padding: 7.5rem 1rem 5rem;
}

/* Background Ambient Glows & Sacred Rings */
.destiny-ambient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.destiny-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.destiny-glow-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.destiny-glow-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #D4AF37 0%, transparent 70%);
  bottom: 50px;
  right: 5%;
}

.destiny-sacred-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: ring-rotate 60s linear infinite;
}

.destiny-sacred-ring-1 { width: 650px; height: 650px; }
.destiny-sacred-ring-2 { width: 900px; height: 900px; border-style: dotted; animation-duration: 90s; animation-direction: reverse; }

@keyframes ring-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Screen Management */
.destiny-screen {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.destiny-screen.active-screen {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Typography & Badges */
.destiny-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--wm-gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.destiny-heading {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.destiny-heading-gold {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8E7B9 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.destiny-subheading {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--wm-text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.2rem;
  font-weight: 400;
}

/* Primary CTA Buttons */
.btn-destiny-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #ECC968 50%, #C59725 100%);
  color: #0F051C !important;
  font-family: var(--font-body, sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-destiny-primary:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 45px rgba(212, 175, 55, 0.6), 0 0 30px rgba(212, 175, 55, 0.4);
  filter: brightness(1.08);
}

.btn-destiny-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-destiny-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  color: #FAF5FF !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.btn-destiny-secondary:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #D4AF37;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   STEP 1: INTRO SCREEN
   ========================================================================== */
.destiny-intro-card {
  background: linear-gradient(160deg, rgba(31, 10, 54, 0.75) 0%, rgba(15, 4, 26, 0.9) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 30px;
  padding: 4rem 2.5rem;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(124, 58, 237, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.intro-tarot-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.intro-tarot-orb {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--wm-gold-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  animation: float-gentle 4s ease-in-out infinite alternate;
}

.intro-tarot-orb:nth-child(2) { animation-delay: 0.7s; }
.intro-tarot-orb:nth-child(3) { animation-delay: 1.4s; }

@keyframes float-gentle {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

/* ==========================================================================
   STEP 2 & 3: 9 FACE-DOWN CARDS GRID
   ========================================================================== */
.selection-counter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
}

.counter-capsule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 6, 34, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  padding: 10px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.35s ease;
}

.counter-capsule.all-selected {
  border-color: #D4AF37;
  background: linear-gradient(135deg, rgba(46, 17, 78, 0.95) 0%, rgba(20, 6, 34, 0.95) 100%);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.45);
}

.destiny-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto 3rem;
  perspective: 1200px;
}

/* Card Slot & Back Design */
.destiny-card-slot {
  aspect-ratio: 4 / 5;
  width: 100%;
  cursor: pointer;
  position: relative;
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  user-select: none;
}

.destiny-card-back-face {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(150deg, #220B38 0%, #120422 60%, #090112 100%);
  border: 1.8px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* Card Back Sacred Art Patterns */
.card-back-pattern {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 65%),
    repeating-linear-gradient(45deg, rgba(124, 58, 237, 0.03) 0, rgba(124, 58, 237, 0.03) 10px, transparent 10px, transparent 20px);
}

.card-back-center-seal {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(31, 10, 54, 0.9) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--wm-gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  z-index: 2;
  transition: transform 0.4s ease;
}

.card-back-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wm-gold-light);
  margin-top: 1rem;
  z-index: 2;
  opacity: 0.85;
}

/* Hover on Desktop */
@media (hover: hover) {
  .destiny-card-slot:hover:not(.is-disabled) {
    transform: translateY(-8px) scale(1.03);
  }
  .destiny-card-slot:hover:not(.is-disabled) .destiny-card-back-face {
    border-color: #D4AF37;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.35);
  }
  .destiny-card-slot:hover:not(.is-disabled) .card-back-center-seal {
    transform: scale(1.1) rotate(15deg);
  }
}

/* Selected State */
.destiny-card-slot.is-selected {
  transform: translateY(-8px) scale(1.04);
}

.destiny-card-slot.is-selected .destiny-card-back-face {
  border: 2px solid #D4AF37;
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.6), 0 15px 40px rgba(0, 0, 0, 0.7);
  background: linear-gradient(150deg, #321152 0%, #1A072E 60%, #100220 100%);
}

.card-selected-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #D4AF37;
  color: #0D041A;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 4;
}

.destiny-card-slot.is-selected .card-selected-badge {
  display: inline-block;
  animation: badge-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badge-pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* Disabled State (When 3 are selected) */
.destiny-card-slot.is-disabled:not(.is-selected) {
  opacity: 0.45;
  filter: grayscale(0.5);
  cursor: not-allowed;
}

/* Shake Animation on 4th Selection Attempt */
@keyframes rejectShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.destiny-card-slot.shake-reject {
  animation: rejectShake 0.4s ease-in-out;
}

/* ==========================================================================
   STEP 4 & 5: DATE OF BIRTH INPUT FORM
   ========================================================================== */
.destiny-dob-card {
  background: linear-gradient(160deg, rgba(31, 10, 54, 0.85) 0%, rgba(15, 4, 26, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 30px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  max-width: 650px;
  margin: 0 auto;
}

.dob-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 480px;
}

.dob-field-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dob-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wm-gold-light);
  margin-bottom: 0.4rem;
}

.dob-select-custom,
.dob-input-custom {
  background: rgba(10, 3, 18, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
}

.dob-select-custom option {
  background: #1A072E;
  color: #FFFFFF;
}

.dob-select-custom:focus,
.dob-input-custom:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.dob-error-msg {
  color: #F87171;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  display: none;
}

/* ==========================================================================
   STEP 6: MAGICAL PREPARATION LOADING
   ========================================================================== */
.destiny-prep-container {
  text-align: center;
  padding: 4rem 1rem;
}

.prep-celestial-portal {
  width: 160px;
  height: 160px;
  margin: 0 auto 2.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prep-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #D4AF37;
  border-bottom-color: #7C3AED;
  animation: prep-spin 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.prep-orbit-ring-inner {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px dashed rgba(212, 175, 55, 0.6);
  animation: prep-spin 3s linear infinite reverse;
}

.prep-portal-core {
  font-size: 2.4rem;
  color: var(--wm-gold-light);
  animation: core-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes prep-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes core-pulse {
  from { transform: scale(0.9); text-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
  to { transform: scale(1.15); text-shadow: 0 0 30px rgba(212, 175, 55, 0.9), 0 0 50px rgba(124, 58, 237, 0.7); }
}

.prep-status-text {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  min-height: 2.2rem;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   STEP 7: ONE-BY-ONE 3D CARD REVEAL
   ========================================================================== */
.destiny-reveal-container {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.reveal-stage-wrapper {
  perspective: 1600px;
  width: 100%;
  max-width: 380px;
  height: 480px;
  margin: 0 auto 2.5rem;
}

.reveal-card-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.reveal-card-3d.is-flipped {
  transform: rotateY(180deg);
}

.reveal-card-back,
.reveal-card-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
}

.reveal-card-back {
  background: linear-gradient(150deg, #2A0D46 0%, #120422 60%, #090112 100%);
  border: 2px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Front Face Artwork Display */
.reveal-card-front {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #1D0933 0%, #100320 100%);
  border: 2px solid #D4AF37;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.45);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

/* Individual Card Vector Artwork Container */
.tarot-art-frame {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #0E031A;
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.tarot-art-svg {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

.tarot-card-name-plate {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.6rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.tarot-card-roman-num {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--wm-gold);
  font-weight: 700;
}

/* Reveal Text Box */
.reveal-interpretation-box {
  background: linear-gradient(160deg, rgba(31, 10, 54, 0.85) 0%, rgba(15, 4, 26, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  line-height: 1.7;
  font-size: 0.95rem;
  color: rgba(250, 245, 255, 0.95);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.reveal-interpretation-box.show-text {
  opacity: 1;
  transform: translateY(0);
}

.reveal-position-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 3px;
}

/* ==========================================================================
   STEP 8 & 9: FINAL COMPLETE READING DASHBOARD
   ========================================================================== */
.destiny-results-container {
  max-width: 1000px;
  margin: 0 auto;
}

.final-3cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}

.final-card-summary-item {
  background: linear-gradient(160deg, #240E3E 0%, #120422 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.final-card-summary-item:hover {
  transform: translateY(-5px);
  border-color: #D4AF37;
}

.final-pos-header {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wm-gold);
  margin-bottom: 0.8rem;
}

.final-mini-card-art {
  width: 90px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: #0E031A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.final-mini-card-art svg {
  width: 55px;
  height: 55px;
}

.final-card-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

/* Detailed Interpretations Section */
.results-interpretations-panel {
  background: linear-gradient(160deg, rgba(31, 10, 54, 0.8) 0%, rgba(15, 4, 26, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.reading-card-detail-block {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.reading-card-detail-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.reading-block-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
}

.reading-block-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0D041A;
  background: #D4AF37;
  padding: 3px 10px;
  border-radius: 999px;
}

.reading-block-name {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #F8E7B9;
}

.reading-block-text {
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(250, 245, 255, 0.92);
}

/* Personalized Energy & DOB Insights Panel */
.results-energy-panel {
  background: linear-gradient(160deg, rgba(46, 17, 78, 0.7) 0%, rgba(18, 5, 32, 0.9) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.45);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.numerology-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.8rem 0;
}

.numerology-badge-card {
  background: rgba(14, 3, 24, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: center;
}

.num-badge-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wm-gold);
  margin-bottom: 0.4rem;
}

.num-badge-val {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Energy Meters Grid */
.energy-meters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.energy-meter-item {
  background: rgba(14, 3, 24, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}

.meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.meter-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7C3AED 0%, #D4AF37 100%);
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Synthesis Summary & Spiritual Disclaimer */
.destiny-italic-subheading {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-style: italic;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: #F8E7B9;
  letter-spacing: 0.03em;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 1.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

.synthesis-summary-card {
  background: rgba(26, 10, 44, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  padding: 1.8rem 2.4rem;
  margin: 2rem 0;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.85;
  color: #FAF5FF;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(124, 58, 237, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.destiny-disclaimer {
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(250, 245, 255, 0.65);
  text-align: center;
  max-width: 680px;
  margin: 2rem auto;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* CTA Row */
.results-actions-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Toast message for Web Share fallback */
.destiny-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #241038 0%, #150624 100%);
  color: #FFFFFF;
  border: 1.5px solid #D4AF37;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

.destiny-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================= */
@media (max-width: 900px) {
  .destiny-grid-9 {
    gap: 1.2rem;
  }
  .final-3cards-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .numerology-badges-row {
    grid-template-columns: 1fr;
  }
  .energy-meters-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .destiny-game-wrapper {
    padding: 6.5rem 1rem 4rem;
  }
  .destiny-grid-9 {
    gap: 0.75rem;
  }
  .destiny-card-back-face {
    padding: 0.5rem;
  }
  .card-back-center-seal {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
  .card-back-title {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    margin-top: 0.5rem;
  }
  .intro-tarot-icons {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .intro-tarot-orb {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .card-selected-badge {
    top: 6px;
    right: 6px;
    padding: 3px 8px;
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }
  .dob-inputs-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .reveal-stage-wrapper {
    height: 420px;
  }
  .results-interpretations-panel,
  .results-energy-panel {
    padding: 1.5rem 1.2rem;
  }
}

@media (max-width: 420px) {
  .destiny-game-wrapper {
    padding: 5.5rem 0.6rem 3rem;
  }
  .destiny-grid-9 {
    gap: 0.45rem;
    margin-bottom: 2rem;
  }
  .destiny-card-back-face {
    padding: 0.35rem 0.2rem;
    border-radius: 14px;
  }
  .card-back-center-seal {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .card-back-title {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
  }
  .intro-tarot-icons {
    gap: 0.75rem;
    margin-bottom: 1.2rem;
  }
  .intro-tarot-orb {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .card-selected-badge {
    top: 4px;
    right: 4px;
    padding: 2px 6px;
    font-size: 0.5rem;
  }
  .destiny-intro-card,
  .destiny-dob-card {
    padding: 2rem 1.2rem;
    border-radius: 18px;
  }
  .btn-destiny-primary {
    font-size: 0.8rem;
    padding: 0.9rem 1.4rem;
    width: 100%;
  }
}

/* FontAwesome Free Fallback for Pro Glyphs */
.fa-sparkles::before {
  content: "\f72b" !important; /* fa-wand-magic-sparkles */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.fa-stars::before {
  content: "\f005" !important; /* fa-star */
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/* Self-contained Offerings Step Icons */
.consult-step-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.12);
  color: #7C3AED;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.1);
}

@media (max-width: 991px) {
  .consult-step-card.mv-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .destiny-sacred-ring,
  .intro-tarot-orb,
  .prep-orbit-ring,
  .prep-orbit-ring-inner,
  .prep-portal-core {
    animation: none !important;
  }
  .reveal-card-3d {
    transition: transform 0.2s ease !important;
  }
}

