.hero-magnifier {
  position: absolute;
  z-index: 4;
  width: 150px !important;
  height: 150px !important;
  border: 0;
  border-radius: 50%;
  background: #10261d;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .42);
  opacity: 0;
  transform: scale(.84);
  transition: opacity .2s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}

.hero.magnifying .hero-magnifier {
  opacity: 1;
  transform: scale(1);
}

.hero.magnifying,
.hero.magnifying * {
  cursor: none !important;
}

@media (hover: none), (max-width: 760px) {
  .hero-magnifier { display: none !important; }
}

.species-hotspot {
  position: absolute;
  z-index: 20;
  left: 75%;
  top: 58%;
  width: 42px;
  height: 42px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .55s ease .3s, transform .65s cubic-bezier(.2, .8, .2, 1) .3s, visibility 0s linear .9s;
}

.species-hotspot::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 41px;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.72), rgba(255,255,255,.24));
  transform: translateX(-50%);
  transition: height .55s cubic-bezier(.2,.7,.2,1);
}

.species-hotspot.open,.species-hotspot:hover{height:98px}
.species-hotspot.open::after,.species-hotspot:hover::after { height: 56px; }

.hero.settled .species-hotspot {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: .35s;
}

.hotspot-trigger {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(218, 170, 85, .12);
  cursor: pointer;
}

.hotspot-trigger::before,
.hotspot-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(232, 195, 123, .72);
  border-radius: inherit;
}

.hotspot-trigger::after { animation: speciesPulse 2.4s ease-out infinite; }
.hotspot-trigger span { position: absolute; inset: 17px; border-radius: 50%; background: #e2b563; box-shadow: 0 0 14px rgba(226, 181, 99, .8); }

@keyframes speciesPulse {
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

.hotspot-card {
  position: absolute;
  left: 50%;
  right: auto;
  z-index: 3;
  top: 98px;
  width: 270px;
  padding: 21px 22px 19px;
  border: 1px solid rgba(226, 199, 143, .17);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(8, 28, 20, .94), rgba(13, 35, 26, .86));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px) scale(.97);
  transform-origin: top center;
  transition: opacity .3s ease, transform .38s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .38s;
  pointer-events: none;
}

.species-hotspot.open .hotspot-card,.species-hotspot:hover .hotspot-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, 0) scale(1);
  transition: transform .34s cubic-bezier(.2,.8,.2,1) !important;
  pointer-events: auto;
}

.hotspot-kicker { color: #d7ad64; font-size: 8px; letter-spacing: .2em; }
.hotspot-card h2 { margin: 9px 0 1px; color: #f4eddf; font: 500 24px/1.25 'Noto Serif SC', serif; }
.hotspot-latin { margin: 0 0 15px; color: rgba(239, 235, 222, .48); font: italic 10px/1.4 Georgia, serif; letter-spacing: .06em; }
.hotspot-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.hotspot-data span { color: rgba(248, 242, 229, .85); font-size: 10px; line-height: 1.5; }
.hotspot-data small { display: block; margin-bottom: 2px; color: rgba(248, 242, 229, .36); font-size: 8px; }
.hotspot-note { margin: 13px 0 0; color: rgba(245, 239, 225, .55); font-size: 10px; line-height: 1.65; }

@media (max-width: 900px) {
  .species-hotspot { left: 74%; top: 56%; }
  .hotspot-card { width: 230px; }
}

@media (max-width: 620px) {
  .species-hotspot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hotspot-trigger::after { animation: none; }
}
