/* ShowPass Interactive Annotation Pins */

.annotation-pin-container {
  position: absolute;
  z-index: 20;
  transform: translate(-50%, -50%);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.annotation-pin-container.active {
  opacity: 1;
  pointer-events: auto;
}

/* Dot Indicator */
.annotation-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
  transition: transform 0.25s ease;
}

.annotation-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  opacity: 0.6;
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Connecting Fine Line */
.annotation-line {
  position: absolute;
  top: 6px;
  left: 12px;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), rgba(182, 255, 60, 0.2));
  transform-origin: left center;
}

/* Annotation Label Card */
.annotation-card {
  position: absolute;
  left: 55px;
  top: -12px;
  background: rgba(18, 20, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.annotation-pin-container:hover .annotation-card,
.annotation-pin-container:focus-visible .annotation-card {
  border-color: var(--color-accent);
  transform: translateX(4px);
}

.annotation-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.annotation-desc {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-top: 0.1rem;
}
