/**
 * The Constellation - Interactive Portfolio
 * Stylesheet: Tooltip
 * Purpose: Project tooltip styling and animations
 */

/* Project tooltip */
#tooltip {
  position: fixed;
  z-index: 100;
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  max-width: 300px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  will-change: opacity, transform;
  /* GPU acceleration */
  transform: translateY(10px) translateZ(0);
  -webkit-transform: translateY(10px) translateZ(0);
}

#tooltip.visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  -webkit-transform: translateY(0) translateZ(0);
}

#tooltip h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px #ffffff;
}

#tooltip p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

#tooltip .url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.75rem;
  word-break: break-all;
}

#tooltip .hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: #dc2626;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
