/* Void Oracle — local only */

.vo-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.35rem;
  justify-items: center;
  text-align: center;
}

.vo-orb-wrap {
  position: relative;
  display: block;
  width: min(220px, 70vw);
  height: min(220px, 70vw);
  aspect-ratio: 1;
  cursor: pointer;
  border: none;
  padding: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  border-radius: 50%;
  flex-shrink: 0;
}

.vo-orb-wrap:focus-visible {
  outline: none;
  box-shadow: var(--ring-offset, 0 0 0 2px var(--surface)), var(--ring, 0 0 0 3px rgba(37, 99, 235, 0.35));
  border-radius: 50%;
}

.vo-orb {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.6), transparent 44%),
    radial-gradient(circle at 72% 68%, rgba(192, 132, 252, 0.95), transparent 52%),
    radial-gradient(circle at 48% 52%, #7c3aed, #4c1d95 68%, #1e0a3d 88%, #0a0118);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 20px 50px rgba(76, 29, 149, 0.55),
    0 0 70px rgba(167, 139, 250, 0.4);
  animation: vo-idle 14s ease-in-out infinite;
}

.vo-orb--shook {
  animation: vo-shake 0.65s ease-out;
}

@keyframes vo-idle {
  0%,
  100% {
    transform: scale(1) translateY(0);
    filter: hue-rotate(0deg) brightness(1) saturate(1);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.16) inset,
      0 18px 46px rgba(76, 29, 149, 0.5),
      0 0 64px rgba(139, 92, 246, 0.32);
  }
  25% {
    transform: scale(1.07) translateY(-8px);
    filter: hue-rotate(22deg) brightness(1.1) saturate(1.12);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.22) inset,
      0 26px 58px rgba(91, 33, 182, 0.62),
      0 0 96px rgba(192, 132, 252, 0.48);
  }
  50% {
    transform: scale(0.97) translateY(5px);
    filter: hue-rotate(-14deg) brightness(0.94) saturate(0.92);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12) inset,
      0 14px 38px rgba(49, 20, 107, 0.55),
      0 0 52px rgba(124, 58, 237, 0.28);
  }
  75% {
    transform: scale(1.05) translateY(-4px);
    filter: hue-rotate(12deg) brightness(1.06) saturate(1.08);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2) inset,
      0 22px 52px rgba(76, 29, 149, 0.58),
      0 0 84px rgba(167, 139, 250, 0.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vo-orb {
    animation: vo-idle-subtle 18s ease-in-out infinite;
  }

  @keyframes vo-idle-subtle {
    0%,
    100% {
      filter: brightness(1);
    }
    50% {
      filter: brightness(1.05);
    }
  }
}

@keyframes vo-shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-4deg) scale(1.02);
  }
  40% {
    transform: rotate(4deg) scale(1.04);
  }
  60% {
    transform: rotate(-2deg);
  }
  80% {
    transform: rotate(2deg);
  }
}

.vo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.vo-prophecy {
  width: 100%;
  max-width: 36rem;
  min-height: 6.5rem;
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm, 12px);
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: linear-gradient(165deg, rgba(76, 29, 149, 0.07), rgba(15, 7, 40, 0.04));
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 650;
  color: var(--text);
  text-align: left;
}

.vo-prophecy--flash {
  animation: vo-flash 0.45s ease;
}

@keyframes vo-flash {
  from {
    opacity: 0.35;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vo-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 32rem;
}

.vo-whisper {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c3aed;
  margin: 0 0 0.35rem;
}
