<template>
  <div class="sonar-wrapper">
    <div class="sonar-ring pointer"></div>
    <div class="sonar-ring ring-1"></div>
    <div class="sonar-ring ring-2"></div>
    <div class="sonar-core"></div>
  </div>
</template>

<style scoped>
.sonar-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sonar-core {
  width: 12px;
  height: 12px;
  background-color: #00d4ff; /* Celeste Cian */
  border-radius: 50%;
  box-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff;
  z-index: 2;
  border: 2px solid white;
}

.sonar-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(0, 212, 255, 0.4);
  animation: pulse 2s infinite ease-out;
}

.ring-1 {
  animation-delay: 0.5s;
}

.ring-2 {
  animation-delay: 1s;
}

.pointer {
    width: 10px;
    height: 10px;
    background: white;
    box-shadow: 0 0 15px #00d4ff;
    animation: none;
    z-index: 3;
}

@keyframes pulse {
  0% {
    transform: scale(0.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}
</style>
