.agat-map-eurasia {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  margin: 24px auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
}

/* фон карты — твой файл */
.agat-map-bg {
  position: absolute;
  inset: 0;
  background: url('images/eurasia.svg') center/contain no-repeat;
  opacity: 0.9;
}


/* маркеры */
.agat-map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* точка маркера */
.agat-map-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #0ea5e9;
  box-shadow:
    0 0 0 6px rgba(14,165,233,0.25),
    0 0 18px rgba(56,189,248,0.75);
  animation: agat-pulse 2.4s infinite;
}

/* тултип */
.agat-map-tooltip {
  position: absolute;
  left: 18px;
  top: -4px;
  transform: translateY(-50%);
  background: rgba(15,23,42,0.92);
  color: #e5e7eb;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform-origin: left center;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

/* стрелочка тултипа */
.agat-map-tooltip::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent rgba(15,23,42,0.92) transparent transparent;
}

/* ховер по маркеру */
.agat-map-marker:hover .agat-map-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

/* лёгкая автоанимация появления тултипов (опционально) */
.agat-map-marker:nth-child(2) .agat-map-tooltip { animation: agat-tooltip-fade 6s infinite 1s; }
.agat-map-marker:nth-child(3) .agat-map-tooltip { animation: agat-tooltip-fade 6s infinite 2s; }
.agat-map-marker:nth-child(4) .agat-map-tooltip { animation: agat-tooltip-fade 6s infinite 3s; }

@keyframes agat-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(14,165,233,0.45), 0 0 18px rgba(56,189,248,0.75); }
  60%  { box-shadow: 0 0 0 14px rgba(14,165,233,0.0), 0 0 24px rgba(56,189,248,0.9); }
  100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.0), 0 0 18px rgba(56,189,248,0.75); }
}

@keyframes agat-tooltip-fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  40%  { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}

/* адаптив */
@media (max-width: 768px) {
  .agat-map-eurasia {
    max-width: 100%;
    border-radius: 14px;
  }

  .agat-map-tooltip {
    font-size: 11px;
  }
}
