/* 🎴 Tarot Modal — Anonymous card reading */

:root {
  --tarot-card-w: 110px;
  --tarot-card-h: 165px;
  --tarot-card-radius: 14px;
}

@media (max-width: 480px) {
  :root {
    --tarot-card-w: 90px;
    --tarot-card-h: 135px;
  }
}

/* ============== Modal Backdrop ============== */
#tarot-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 3, 15, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: tarotFadeIn 0.3s ease;
}

#tarot-modal.active {
  display: flex;
}

@keyframes tarotFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============== Modal Container ============== */
.tarot-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, var(--surface), rgba(14, 8, 35, 0.95));
  border: 1px solid var(--br);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 26px 22px;
  animation: tarotSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tarotSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ============== Close Button ============== */
.tarot-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.22);
  color: var(--tx);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.tarot-close:hover {
  background: rgba(232, 83, 74, 0.2);
  border-color: rgba(232, 83, 74, 0.5);
  color: #fff;
  transform: rotate(90deg);
}

/* ============== Steps ============== */
.tarot-step {
  display: none;
  animation: tarotFadeIn 0.4s ease;
}

.tarot-step.active {
  display: block;
}

.tarot-step h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--g2);
  font-family: "Chakra Petch", "Kanit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tarot-step .tarot-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--tx2);
  margin-bottom: 22px;
  opacity: 0.85;
}

/* ============== Category Selection ============== */
.tarot-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 380px) {
  .tarot-categories {
    grid-template-columns: 1fr;
  }
}

.tarot-category {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.06), rgba(91, 63, 166, 0.1));
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 16px;
  padding: 16px 12px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
  color: var(--tx);
  font-family: inherit;
}

.tarot-category:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.5);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(91, 63, 166, 0.18));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.tarot-category-emoji {
  font-size: 26px;
  margin-bottom: 4px;
}

.tarot-category-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--g2);
  margin-bottom: 2px;
}

.tarot-category-desc {
  font-size: 11px;
  color: var(--tx2);
  opacity: 0.75;
}

/* ============== Card Picker ============== */
.tarot-picker {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 18px;
  perspective: 1000px;
}

.tarot-card-back {
  width: var(--tarot-card-w);
  height: var(--tarot-card-h);
  cursor: pointer;
  transition: transform 0.3s;
  transform-style: preserve-3d;
  position: relative;
}

.tarot-card-back:hover {
  transform: translateY(-8px) scale(1.04);
}

.tarot-card-back-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--tarot-card-radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 173, 69, 0.18), transparent 60%),
    linear-gradient(135deg, #2a1a5c 0%, #4a2c8c 50%, #2a1a5c 100%);
  border: 2px solid rgba(214, 173, 69, 0.45);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.tarot-card-back-inner::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(214, 173, 69, 0.4);
  border-radius: 8px;
  pointer-events: none;
}

.tarot-card-pattern {
  font-size: 36px;
  color: var(--g);
  opacity: 0.6;
  text-shadow: 0 0 14px rgba(214, 173, 69, 0.6);
  animation: tarotShimmer 2.5s ease-in-out infinite;
}

.tarot-card-pattern-2 {
  position: absolute;
  font-size: 22px;
  opacity: 0.35;
  bottom: 30%;
}

.tarot-card-label {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--g2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes tarotShimmer {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

/* ============== Card Flip Animation ============== */
.tarot-card-back.flipping {
  animation: tarotFlipShake 0.4s ease;
}

.tarot-card-back.flipped {
  cursor: default;
  animation: tarotFlipReveal 0.9s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.tarot-card-back.flipped:hover {
  transform: none;
}

@keyframes tarotFlipShake {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-4px) rotate(-2deg); }
  75% { transform: translateY(-4px) rotate(2deg); }
}

@keyframes tarotFlipReveal {
  0% { transform: rotateY(0) scale(1); }
  50% { transform: rotateY(90deg) scale(1.1); }
  100% { transform: rotateY(0) scale(1); }
}

.tarot-card-front {
  width: 100%;
  height: 100%;
  border-radius: var(--tarot-card-radius);
  background: linear-gradient(135deg, #fff9e6 0%, #fef3c7 100%);
  border: 2px solid var(--g);
  box-shadow: 0 12px 30px rgba(214, 173, 69, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.tarot-card-emoji {
  font-size: 40px;
  margin-bottom: 4px;
}

.tarot-card-name-thai {
  font-size: 13px;
  font-weight: 700;
  color: #5a3a14;
  margin-bottom: 2px;
}

.tarot-card-name-en {
  font-size: 9px;
  color: #8b6914;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tarot-card-symbol {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 14px;
  color: var(--g3);
  opacity: 0.6;
}

/* ============== Result Card ============== */
.tarot-result-card {
  background: linear-gradient(145deg, rgba(255, 249, 230, 0.97), rgba(254, 243, 199, 0.95));
  border: 1.5px solid var(--g);
  border-radius: 20px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(214, 173, 69, 0.25);
  margin-bottom: 18px;
  animation: tarotFadeIn 0.5s ease;
}

.tarot-result-card.reversed .tarot-result-emoji {
  transform: rotate(180deg);
  display: inline-block;
}

.tarot-result-emoji {
  font-size: 56px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.tarot-result-name-thai {
  font-size: 22px;
  font-weight: 700;
  color: #5a3a14;
  margin-bottom: 2px;
  font-family: "Chakra Petch", "Kanit", sans-serif;
}

.tarot-result-name-en {
  font-size: 11px;
  color: #8b6914;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tarot-result-orientation {
  font-size: 12px;
  color: #8b6914;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.tarot-result-divider {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--g), transparent);
  margin: 0 auto 16px;
}

.tarot-result-category {
  font-size: 13px;
  color: #8b6914;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.tarot-result-meaning {
  font-size: 15px;
  line-height: 1.65;
  color: #3a2814;
  margin-bottom: 14px;
  font-weight: 500;
}

.tarot-result-keywords {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.tarot-keyword {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(139, 105, 20, 0.12);
  color: #5a3a14;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(139, 105, 20, 0.2);
}

/* ============== Action Buttons ============== */
.tarot-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.tarot-btn-primary,
.tarot-btn-secondary {
  flex: 1;
  padding: 13px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  letter-spacing: 0.04em;
}

.tarot-btn-primary {
  background: linear-gradient(135deg, var(--g), var(--g3));
  color: #05030f;
  box-shadow: 0 6px 18px rgba(214, 173, 69, 0.3);
}

.tarot-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(214, 173, 69, 0.45);
}

.tarot-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--tx);
  border: 1px solid rgba(201, 162, 39, 0.32);
}

.tarot-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 162, 39, 0.55);
}

/* ============== Daily Limit ============== */
#tarot-step-limit {
  text-align: center;
  padding: 10px 0;
}

.tarot-limit-icon {
  font-size: 60px;
  margin-bottom: 14px;
  animation: tarotShimmer 3s ease-in-out infinite;
}

#tarot-step-limit h3 {
  font-size: 19px;
  color: var(--g2);
  margin-bottom: 8px;
  font-family: "Chakra Petch", "Kanit", sans-serif;
}

#tarot-step-limit p {
  font-size: 14px;
  color: var(--tx2);
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0.9;
}

.tarot-limit-tip {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(91, 63, 166, 0.12));
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 16px 0 20px;
  font-size: 13px !important;
  color: var(--g2) !important;
}

.tarot-limit-tip strong {
  color: #ffe89b;
}

/* ============== Toast ============== */
.tarot-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 12, 45, 0.95);
  color: var(--g2);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(214, 173, 69, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10000;
}

.tarot-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============== Trigger Button (in main page) ============== */
.tarot-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, rgba(91, 63, 166, 0.5), rgba(201, 162, 39, 0.32));
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 50px;
  color: #ffe89b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.03em;
  margin: 8px 0;
  box-shadow: 0 8px 20px rgba(91, 63, 166, 0.3);
}

.tarot-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(91, 63, 166, 0.5);
  border-color: rgba(201, 162, 39, 0.8);
  background: linear-gradient(135deg, rgba(91, 63, 166, 0.6), rgba(201, 162, 39, 0.4));
}

.tarot-trigger-emoji {
  font-size: 18px;
}

/* ============== Spread Type Selection ============== */
.tarot-spread-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 380px) {
  .tarot-spread-options {
    grid-template-columns: 1fr;
  }
}

.tarot-spread-btn {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.06), rgba(91, 63, 166, 0.1));
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 16px;
  padding: 20px 14px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  color: var(--tx);
  font-family: inherit;
}

.tarot-spread-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.5);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(91, 63, 166, 0.18));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.tarot-spread-btn.premium {
  border-color: rgba(214, 173, 69, 0.35);
  background: linear-gradient(135deg, rgba(214, 173, 69, 0.08), rgba(91, 63, 166, 0.12));
  position: relative;
}

.tarot-spread-btn.premium:hover {
  border-color: rgba(214, 173, 69, 0.6);
  box-shadow: 0 12px 28px rgba(214, 173, 69, 0.2);
}

.spread-emoji {
  font-size: 32px;
  margin-bottom: 8px;
}

.spread-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--g2);
  margin-bottom: 4px;
}

.spread-desc {
  font-size: 11px;
  color: var(--tx2);
  opacity: 0.75;
  line-height: 1.4;
}

.spread-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: linear-gradient(135deg, rgba(214, 173, 69, 0.2), rgba(214, 173, 69, 0.1));
  border: 1px solid rgba(214, 173, 69, 0.3);
  border-radius: 50px;
  font-size: 11px;
  color: var(--g);
  font-weight: 600;
}

/* ============== 3-Card Picker ============== */
.tarot-picker-3 {
  flex-wrap: wrap;
  gap: 10px;
}

.tarot-pick3-counter {
  text-align: center;
  font-size: 13px;
  color: var(--tx2);
  margin: 10px 0 4px;
  opacity: 0.8;
}

/* ============== 3-Card Result ============== */
.tarot-result-3cards {
  margin-bottom: 18px;
}

.tarot-result-3cards .tarot-result-category {
  text-align: center;
  margin-bottom: 16px;
}

.tarot-result-3card {
  background: linear-gradient(145deg, rgba(255, 249, 230, 0.97), rgba(254, 243, 199, 0.95));
  border: 1.5px solid var(--g);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(214, 173, 69, 0.18);
  animation: tarotFadeIn 0.5s ease;
}

.tarot-result-3card.reversed .tarot-result-emoji {
  transform: rotate(180deg);
  display: inline-block;
}

.tarot-result-3card-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--g3);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tarot-result-3card.tarot-past {
  border-color: rgba(155, 138, 184, 0.6);
}

.tarot-result-3card.tarot-past .tarot-result-3card-label {
  color: #9B8AB8;
}

.tarot-result-3card.tarot-present {
  border-color: rgba(201, 162, 39, 0.6);
}

.tarot-result-3card.tarot-present .tarot-result-3card-label {
  color: var(--g);
}

.tarot-result-3card.tarot-future {
  border-color: rgba(110, 200, 154, 0.6);
}

.tarot-result-3card.tarot-future .tarot-result-3card-label {
  color: #6EC89A;
}

.tarot-result-card-inner .tarot-result-emoji {
  font-size: 38px;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.tarot-result-card-inner .tarot-result-name-thai {
  font-size: 18px;
  font-weight: 700;
  color: #5a3a14;
  margin-bottom: 2px;
  font-family: "Chakra Petch", "Kanit", sans-serif;
}

.tarot-result-card-inner .tarot-result-name-en {
  font-size: 10px;
  color: #8b6914;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tarot-result-card-inner .tarot-result-orientation {
  font-size: 11px;
  color: #8b6914;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.tarot-result-card-inner .tarot-result-divider {
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--g), transparent);
  margin: 0 auto 8px;
}

.tarot-result-card-inner .tarot-result-meaning {
  font-size: 13px;
  line-height: 1.6;
  color: #3a2814;
}

/* ============== Combined Interpretation ============== */
.tarot-result-combined {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(91, 63, 166, 0.1));
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  animation: tarotFadeIn 0.6s ease;
  margin-bottom: 16px;
}

.tarot-result-combined-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--g2);
  margin-bottom: 10px;
  font-family: "Chakra Petch", "Kanit", sans-serif;
}

.tarot-result-combined-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--tx);
  font-weight: 500;
  margin-bottom: 12px;
}

/* Daily Card on Homepage */
.daily-tarot-section {
  text-align: center;
  padding: 24px 16px;
}
.daily-tarot-date {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold, #d4a853);
  margin-bottom: 16px;
}
.daily-tarot-card {
  width: 120px;
  height: 180px;
  margin: 0 auto 16px;
  perspective: 600px;
  cursor: pointer;
  position: relative;
}
.daily-tarot-front, .daily-tarot-back {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  transition: transform 0.6s;
}
.daily-tarot-front {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px solid var(--gold, #d4a853);
  font-size: 48px;
  color: var(--gold, #d4a853);
  position: absolute;
}
.daily-tarot-back {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  border: 2px solid var(--gold, #d4a853);
  transform: rotateY(180deg);
  position: absolute;
}
.daily-tarot-card.flipped .daily-tarot-front {
  transform: rotateY(-180deg);
}
.daily-tarot-card.flipped .daily-tarot-back {
  transform: rotateY(0deg);
}
.daily-tarot-emoji {
  font-size: 40px;
  margin-bottom: 8px;
}
.daily-tarot-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.daily-tarot-orientation {
  font-size: 12px;
  color: var(--gold, #d4a853);
  margin-top: 4px;
}
.daily-tarot-meaning {
  max-width: 360px;
  margin: 0 auto;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(212,168,83,0.2);
  color: #ccc;
  line-height: 1.6;
}
.daily-tarot-share {
  margin-top: 12px;
  padding: 8px 20px;
  background: var(--gold, #d4a853);
  color: #1a1a2e;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
}

/* ============== AI Interpretation ============== */
.tarot-ai-section {
  margin-top: 20px;
  text-align: center;
}

.tarot-ai-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tarot-ai-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.tarot-ai-loading {
  padding: 20px;
  font-size: 16px;
  color: var(--gold, #d4a853);
  animation: tarot-pulse 1.5s ease-in-out infinite;
}

@keyframes tarot-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.tarot-ai-content {
  text-align: left;
  padding: 16px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  color: #ccc;
  line-height: 1.7;
  font-size: 14px;
  white-space: pre-wrap;
}

.tarot-ai-error {
  padding: 16px;
  color: #ef4444;
  font-size: 14px;
}
/* Tarot Card Images */
.tarot-card-image,
.tarot-result-image {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.tarot-card-image img,
.tarot-result-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3-card spread images */
.tarot-result-3card .tarot-result-image {
  max-width: 120px;
  margin-bottom: 0.5rem;
}

/* Reversed card effect */
.tarot-result-card.reversed .tarot-result-image img,
.tarot-result-3card.reversed .tarot-result-image img {
  transform: rotate(180deg);
}

/* Card back pattern */
.tarot-card-back {
  background: linear-gradient(135deg, #1a0a2e 0%, #0d0521 100%);
  border: 2px solid #c9a227;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.tarot-card-back::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(201, 162, 39, 0.1) 10px,
    rgba(201, 162, 39, 0.1) 20px
  );
  pointer-events: none;
}

/* Premium PIN Input */
.tarot-pin-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.tarot-pin-label {
  font-size: 13px;
  color: #b8a8d8;
  margin-bottom: 8px;
}

.tarot-pin-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tarot-pin-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 8px;
  color: #F8F1DF;
  font-family: 'Kanit', monospace;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.tarot-pin-input:focus {
  border-color: #C9A227;
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.15);
}

.tarot-pin-input::placeholder {
  color: rgba(184, 168, 216, 0.4);
  text-transform: none;
  letter-spacing: 0;
}

.tarot-pin-btn {
  padding: 10px 18px !important;
  font-size: 14px !important;
  white-space: nowrap;
}

.tarot-pin-status {
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
}

/* Premium Unlocked State */
.tarot-spread-btn.unlocked {
  border-color: rgba(50, 205, 50, 0.4);
  background: rgba(50, 205, 50, 0.05);
}

.tarot-spread-btn.unlocked .spread-badge {
  background: linear-gradient(135deg, #32CD32, #228B22);
  color: white;
}

.tarot-spread-btn.unlocked:hover {
  border-color: rgba(50, 205, 50, 0.6);
  background: rgba(50, 205, 50, 0.1);
}
