/* Cat Tarot page (matches Orders/Profile/Wishlist vibe) */

.tarot-body .tarot-shell{
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Chapter heading */
.tarot-body .chapter-heading{
  text-align: center;
  margin-bottom: 1.4rem;
}
.tarot-body .chapter-label{
  font-family:'Cinzel', serif;
  font-size:0.85rem;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color:#7b5532;
  margin-bottom:0.35rem;
}
.tarot-body .chapter-title{
  font-family:'Cinzel', serif;
  font-size:1.9rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:#4b2c16;
  text-shadow:
    0 0 6px rgba(255,248,205,0.9),
    0 0 18px rgba(223,188,115,0.85);
  margin:0;
}
.tarot-body .chapter-subtitle{
  margin-top:0.5rem;
  font-size:0.98rem;
  color:#5c3921;
  font-style:italic;
  font-family:'Crimson Pro', serif;
}
.tarot-body .chapter-divider{
  margin: 1.1rem auto 1.6rem;
  width:60%;
  height:1px;
  background: linear-gradient(to right,
    rgba(73,47,20,0),
    rgba(214,171,89,0.9),
    rgba(73,47,20,0));
}

/* Menu pill tweaks (same pattern as other pages) */
.tarot-body nav.magic-menu{
  display:flex !important;
  justify-content:center !important;
  width: 100% !important;
  margin: 0.4rem auto 1.1rem !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}
.tarot-body nav.magic-menu > ul{
  width: fit-content !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.tarot-body nav.magic-menu::before,
.tarot-body nav.magic-menu::after,
.tarot-body nav.magic-menu > ul::before,
.tarot-body nav.magic-menu > ul::after{
  content:none !important;
  display:none !important;
}

/* Intro copy */
.tarot-body .tarot-intro{
  text-align:center;
  margin-bottom:0.8rem;
  color:#5b3a29;
  font-family:'Crimson Pro', serif;
  font-size:0.98rem;
}
.tarot-body .tarot-subcopy{
  text-align:center;
  margin-bottom:1.4rem;
  font-size:0.95rem;
  color:#7b6b5d;
  font-family:'Crimson Pro', serif;
}

/* Toggle + draw */
.tarot-body .center-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 0.75rem;
  text-align:center;
}
.tarot-body .tarot-toggle{
  display:inline-flex;
  border-radius:999px;
  padding:3px;
  background: rgba(255,252,240,0.96);
  border:1px solid rgba(190,150,90,0.9);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2), 0 0 14px rgba(223,188,115,0.5);
  gap:3px;
}
.tarot-body .toggle-btn{
  border:none;
  border-radius:999px;
  padding: 0.35rem 0.9rem;
  font-size:0.8rem;
  font-family:'Cinzel', serif;
  letter-spacing:0.12em;
  text-transform:uppercase;
  cursor:pointer;
  background:transparent;
  color:#5b3a29;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.tarot-body .toggle-btn.active{
  background: linear-gradient(to right, #b68cff, #6a3d9a);
  color:#fffaf8;
  box-shadow: 0 0 12px rgba(158,111,232,0.8);
}
.tarot-body .toggle-btn--disabled{
  opacity:0.5;
  cursor:not-allowed;
}
.tarot-body .draw-btn{
  margin-top: 0.6em;
  background: radial-gradient(circle at 50% 0%, #b68cff, #6a3d9a);
  color:#fffaf8;
  padding: 0.7em 1.6em;
  border:none;
  border-radius:999px;
  font-size:0.95rem;
  cursor:pointer;
  font-family:'Cinzel', serif;
  letter-spacing:0.12em;
  text-transform:uppercase;
  box-shadow: 0 6px 15px rgba(0,0,0,0.35), 0 0 16px rgba(204,153,255,0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.tarot-body .draw-btn:hover{
  transform: translateY(-2px);
  background: radial-gradient(circle at 50% 0%, #d5b5ff, #8a52d6);
  box-shadow: 0 9px 20px rgba(0,0,0,0.4), 0 0 22px rgba(224,186,255,0.95);
}
.tarot-body .three-note{
  font-size:0.8rem;
  color:#7b6b5d;
  font-style:italic;
  font-family:'Crimson Pro', serif;
}
.tarot-body .no-cards{
  text-align:center;
  margin-top: 2rem;
  font-size: 1.05rem;
  color:#7b6b5d;
  font-family:'Crimson Pro', serif;
}

/* Card layout */
.tarot-body .tarot-layout{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-top: 2.2rem;
  gap: 1.4rem;
}
.tarot-body .tarot-container{
  perspective: 1000px;
  width: 260px;
  max-width: 100%;
}
.tarot-body .tarot-card{
  width:100%;
  transform-style:preserve-3d;
  transition: transform 1s ease;
  position:relative;
  height: 400px;
}
.tarot-body .tarot-card.flipped{ transform: rotateY(180deg); }

.tarot-body .card-face{
  position:absolute;
  width:100%;
  height:100%;
  backface-visibility:hidden;
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.4), 0 0 18px rgba(195,150,255,0.6);
}
.tarot-body .card-front{
  background: url('/images/card-back.png') no-repeat center;
  background-size: cover;
  border: 2px solid rgba(216,169,255,0.85);
}
.tarot-body .card-back{
  transform: rotateY(180deg);
  border: 2px solid rgba(216,169,255,0.85);
  background: radial-gradient(circle at 50% 0%, #4a335d, #190c25 60%);
  display:flex;
  flex-direction:column;
  align-items:center;
  padding: 0.9rem 0.8rem 1.1rem;
  color:#f1ddee;
}
.tarot-body .card-back h2{
  font-family:'Cinzel', serif;
  font-size:1.05rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  margin: 0 0 0.6rem;
  text-align:center;
  color:#fbe8ff;
}
.tarot-body .card-back img{
  max-width:100%;
  max-height:210px;
  border-radius:10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35), 0 0 18px rgba(255,255,255,0.25);
  object-fit:contain;
}
.tarot-body .card-back .meaning{
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color:#f6e8ff;
  text-align:center;
  line-height:1.5;
  font-family:'Crimson Pro', serif;
}
.tarot-body .tarot-help{
  font-size:1.1rem;
  color:#7b5b5d;
  text-align:center;
  max-width:520px;
  margin: 0 auto;
  font-style: italic;
  font-family:'Crimson Pro', serif;
}

/* Spread */
.tarot-body .spread-labels{
  display:flex;
  gap:2rem;
  font-size:0.92rem;
  color:#5b3a29;
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-family:'Cinzel', serif;
}
.tarot-body .spread-labels span{
  text-align:center;
  min-width:90px;
}
.tarot-body .tarot-spread{
  display:flex;
  gap:1.5rem;
  justify-content:center;
  align-items:flex-start;
  flex-wrap:wrap;
}

/* Message box */
.tarot-body .tarot-message-box{
  max-width: 640px;
  margin: 1.8rem auto 0;
  background: rgba(255,252,240,0.96);
  border-radius: 12px;
  border: 1px solid rgba(190,150,90,0.9);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25), 0 0 18px rgba(223,188,115,0.55);
  padding: 1rem 1.4rem 1.2rem;
  position: relative;
  overflow: hidden;
}
.tarot-body .tarot-message-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.4) 0, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(255,240,210,0.32) 0, transparent 60%);
  pointer-events:none;
  opacity:0.9;
}
.tarot-body .tarot-message-inner{ position:relative; z-index:1; }
.tarot-body .tarot-message-label{
  font-family:'Cinzel', serif;
  font-size:0.85rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:#7b5532;
  margin-bottom:0.4rem;
}
.tarot-body .tarot-message-text{
  font-family:'Crimson Pro', serif;
  font-size:0.98rem;
  color:#4b2c16;
  line-height:1.7;
}
.tarot-body .tarot-message-text span.spread-heading{
  display:block;
  margin-top:0.6rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:0.86rem;
  color:#6a3d9a;
}

/* Wax seals positioning */
.tarot-body .wax-seal{
  position:absolute;
  top: 78px;
  width: 86px;
  height: 86px;
  opacity: 0.92;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
  pointer-events:none;
}
.tarot-body .wax-seal--left{ left: -6px; }
.tarot-body .wax-seal--right{ right: -6px; }
.tarot-body .wax-seal__svg{ width:100%; height:100%; display:block; }

/* Responsive */
@media (max-width: 900px){
  .tarot-body .spread-labels{ gap: 1rem; }
  .tarot-body .spread-labels span{ font-size: 0.85rem; }
}
@media (max-width: 700px){
  .tarot-body .tarot-card{ height: 380px; }
  .tarot-body .wax-seal{ display:none; }
}
