/* TarotTolken – små överraskningar (påverkar inte köp eller pent) */

body.ee-konami-glow {
  box-shadow: inset 0 0 120px rgba(142, 108, 200, 0.35);
  transition: box-shadow 1.2s ease;
}

body.ee-season-yule::before,
body.ee-season-valborg::before,
body.ee-season-midsommar::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}
body.ee-season-yule::before {
  background: radial-gradient(circle at 10% 20%, rgba(180, 220, 255, 0.4), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.25), transparent 40%);
}
body.ee-season-valborg::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 140, 80, 0.35), transparent 55%);
}
body.ee-season-midsommar::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(120, 200, 140, 0.35), transparent 50%),
    radial-gradient(circle at 20% 30%, rgba(255, 220, 100, 0.2), transparent 40%);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.moon-badge.ee-living-moon .moon-badge-icon {
  display: inline-block;
  animation: eeMoonBreath 6s ease-in-out infinite;
}
@keyframes eeMoonBreath {
  0%,
  92%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  94% {
    transform: scale(1.12);
    filter: brightness(1.25);
  }
  96% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.tarot-card.ee-idle-mystery-pulse,
.rune-stone.ee-idle-mystery-pulse,
.qr-card.ee-idle-mystery-pulse {
  animation: eeGoldPulse 2.4s ease-in-out 2;
}
@keyframes eeGoldPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.75));
  }
}

.ee-footer-whisper {
  font-size: 0.72rem;
  color: #6a6050;
  font-style: italic;
  text-align: center;
  margin: 0.35rem 0 0.5rem;
  min-height: 1.2em;
  transition: opacity 0.5s ease;
}

.ee-pent-trinket-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin: 0.4rem 0 0;
}
.ee-pent-trinket {
  cursor: help;
  user-select: none;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
}
.ee-pent-trinket:hover {
  opacity: 0.95;
  transform: scale(1.08);
}

.ee-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  max-width: min(92vw, 420px);
  padding: 0.65rem 1rem;
  background: rgba(10, 6, 24, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  color: #e8dcc8;
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.ee-toast.ee-toast--show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.ee-confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10040;
  overflow: hidden;
}
.ee-star {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #f5d76e 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: eeStarFall 2.2s ease-out forwards;
}
@keyframes eeStarFall {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) scale(0.3);
  }
}

.ee-duplicate-draw-hint {
  display: none;
  text-align: center;
  font-size: 0.76rem;
  color: #c0b090;
  font-style: italic;
  margin: 0.4rem auto 0;
  max-width: 520px;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(142, 108, 200, 0.08);
  border: 1px dashed rgba(142, 108, 200, 0.35);
}

.ee-stjarn-extra {
  font-size: 0.72rem;
  color: #a098c0;
  font-style: italic;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.ee-rune-fact {
  margin-top: 0.5rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.72rem;
  color: #8a7f6a;
  background: rgba(212, 175, 55, 0.06);
  border-radius: 8px;
  border-left: 3px solid rgba(125, 206, 160, 0.5);
}

.notfound-ee {
  text-align: center;
  max-width: 520px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(10, 6, 24, 0.92), rgba(42, 31, 61, 0.88));
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: 16px;
}
.notfound-ee h1 {
  color: #d4af37;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  border: none;
}
.notfound-ee p {
  color: #c0b090;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  body.ee-konami-glow {
    box-shadow: none;
  }
  .moon-badge.ee-living-moon .moon-badge-icon {
    animation: none;
  }
  .ee-star {
    animation: none;
    opacity: 0 !important;
  }
}
