.glossary-term {
  cursor: help;
  border-bottom: 1px dotted rgba(6, 182, 212, 0.45);
  color: #06b6d4;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.glossary-term:hover {
  border-bottom-color: #06b6d4;
  color: #67e8f9;
}

.glossary-tooltip {
  position: absolute;
  z-index: 9999;
  width: 300px;
  padding: 14px 16px;
  background: #1a1a2e;
  border: 1px solid rgba(6, 182, 212, 0.32);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  font-family: "Rajdhani", system-ui, sans-serif;
  animation: glossaryTooltipIn 0.15s ease-out;
}

@keyframes glossaryTooltipIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.glossary-tooltip-title {
  font-weight: 800;
  color: #06b6d4;
  margin-bottom: 6px;
  font-size: 1rem;
}

.glossary-tooltip-body {
  color: #d0d0d0;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.glossary-tooltip-more {
  color: #06b6d4;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.glossary-tooltip-more:hover {
  text-decoration: underline;
}
