/* VENUS REALTY GROUP - MINIMAL VOICE GREETING BUTTON */

.vr-voiceover-wrap {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9990;
  width: 56px;
  height: 56px;
  user-select: none;
}

.vr-voiceover-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  color: #141118;
  background: linear-gradient(145deg, #f5cf8e, #d4a359);
  border: 1px solid rgba(255, 244, 218, 0.72);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 24px rgba(212, 163, 89, 0.28);
  cursor: pointer;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.vr-voiceover-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48), 0 0 28px rgba(212, 163, 89, 0.4);
}

.vr-voiceover-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.vr-speaker-icon {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.vr-sound-wave {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.vr-voiceover-pulse {
  position: absolute;
  inset: -4px;
  z-index: -1;
  border: 1.5px solid rgba(245, 207, 142, 0.86);
  border-radius: 50%;
  animation: vrVoicePulse 2s ease-out infinite;
  pointer-events: none;
}

.vr-voiceover-playing .vr-sound-wave-one {
  animation: vrVoiceWave 650ms ease-in-out infinite alternate;
}

.vr-voiceover-playing .vr-sound-wave-two {
  animation: vrVoiceWave 820ms ease-in-out 120ms infinite alternate;
}

.vr-voiceover-playing .vr-voiceover-button {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.48), 0 0 34px rgba(212, 163, 89, 0.58);
}

.vr-autoplay-blocked .vr-voiceover-pulse {
  animation-duration: 1.25s;
}

.vr-audio-error {
  display: none;
}

@keyframes vrVoicePulse {
  0% {
    opacity: 0.82;
    transform: scale(0.92);
  }
  72%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes vrVoiceWave {
  from {
    opacity: 0.42;
    transform: translateX(-1px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .vr-voiceover-wrap {
    bottom: 18px;
    left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vr-voiceover-pulse,
  .vr-sound-wave {
    animation: none !important;
  }
}
