.wfa-tarot-shell {
  position: relative;
  max-width: 860px;
  margin: 40px auto;
  padding: 24px;
  font-family: "Georgia", "Times New Roman", serif;
}

.wfa-tarot-glow {
  position: absolute;
  inset: 20px;
  background: radial-gradient(circle at top, rgba(215, 193, 255, 0.38), rgba(89, 41, 132, 0.08) 45%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.wfa-tarot-card {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(246,239,255,0.92)),
    linear-gradient(160deg, #fff 0%, #f7f2ff 45%, #efe7ff 100%);
  border: 1px solid rgba(126, 87, 194, 0.18);
  box-shadow: 0 18px 60px rgba(49, 22, 74, 0.12);
}

.wfa-tarot-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: #7a5c99;
  margin: 0 0 12px;
}

.wfa-tarot-title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  margin: 0;
  color: #2d183f;
}

.wfa-tarot-subtitle {
  margin: 14px 0 28px;
  font-size: 17px;
  line-height: 1.7;
  color: #5f4877;
  max-width: 640px;
}

.wfa-tarot-form {
  display: grid;
  gap: 16px;
}

.wfa-label,
.wfa-question-label,
.wfa-toggle-wrap span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: #45295d;
}

.wfa-input,
.wfa-textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 18px;
  border: 1px solid rgba(94, 54, 142, 0.18);
  background: rgba(255,255,255,0.82);
  padding: 16px 18px;
  font-size: 16px;
  color: #2b173d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.wfa-input:focus,
.wfa-textarea:focus {
  outline: none;
  border-color: rgba(118, 66, 185, 0.55);
  box-shadow: 0 0 0 4px rgba(170, 129, 223, 0.16);
}

.wfa-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,0.56);
  border-radius: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(113, 74, 167, 0.12);
}

.wfa-toggle {
  position: relative;
  width: 58px;
  height: 32px;
  display: inline-flex;
  align-items: center;
}

.wfa-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wfa-slider {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #d8c6f4, #baa0e5);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.wfa-slider::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  left: 4px;
  top: 4px;
  background: white;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
}

.wfa-toggle input:checked + .wfa-slider {
  background: linear-gradient(145deg, #6f42c1, #9a6df0);
}

.wfa-toggle input:checked + .wfa-slider::after {
  transform: translateX(26px);
}

.wfa-submit-button,
.wfa-share-button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.wfa-submit-button {
  background: linear-gradient(135deg, #5f2da8, #8d63da);
  color: #fff;
  box-shadow: 0 14px 30px rgba(95, 45, 168, 0.28);
}

.wfa-submit-button:hover,
.wfa-share-button:hover {
  transform: translateY(-1px);
}

.wfa-status {
  min-height: 28px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
}

.wfa-status.is-loading { color: #6b4ea2; }
.wfa-status.is-success { color: #3b6a4e; }
.wfa-status.is-error { color: #a03355; }

.wfa-reading-results {
  margin-top: 24px;
}

.wfa-drawn-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.wfa-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(110, 69, 178, 0.1);
  color: #4b2b72;
  font-size: 14px;
  font-weight: 700;
}

.wfa-reading-accordion {
  display: grid;
  gap: 14px;
}

.wfa-reading-panel {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(108, 66, 169, 0.12);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 10px 24px rgba(74, 40, 110, 0.06);
}

.wfa-reading-toggle {
  width: 100%;
  background: transparent;
  color: #351c4b;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.wfa-reading-content {
  padding: 0 20px 22px;
  color: #563c6e;
  line-height: 1.75;
  font-size: 16px;
}

.wfa-reading-content p:last-child {
  margin-bottom: 0;
}

.wfa-reading-icon {
  color: #8a65ca;
  font-size: 18px;
}

.wfa-share-wrap {
  margin-top: 24px;
  padding-top: 10px;
}

.wfa-share-title {
  font-size: 15px;
  font-weight: 700;
  color: #4c2f69;
  margin-bottom: 12px;
}

.wfa-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wfa-share-button {
  background: rgba(93, 49, 153, 0.1);
  color: #5a3390;
  border: 1px solid rgba(93, 49, 153, 0.12);
}

@media (max-width: 640px) {
  .wfa-tarot-shell { padding: 14px; }
  .wfa-tarot-card { padding: 22px; border-radius: 22px; }
  .wfa-reading-toggle { font-size: 16px; }
  .wfa-toggle-wrap { align-items: flex-start; }
}
