/* =========================
   GLOBAL LINK SYSTEM + HITBOX
   applies to ALL 
========================= */

a {
  position: relative;
  display: inline-flex;
  align-items: center;

  font-family: inherit;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;

  opacity: 1;

  /* invisible clickable expansion */
  padding: 10px 12px;
  margin: -10px -12px;

  border-radius: 10px;

  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);

  -webkit-tap-highlight-color: transparent;
  will-change: transform, opacity;
}

/* hover effect */
a:hover {
  transform: translateY(-3px);
  opacity: 0.7;

  /* subtle interaction feedback */
  background: rgba(255, 255, 255, 0.04);
}

/* active (press) */
a:active {
  transform: translateY(-1px);
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.06);
}

/* focus accessibility */
a:focus-visible {
  outline: none;
  transform: translateY(-2px);
  opacity: 0.75;

  box-shadow: 0 0 0 2px rgba(140,160,255,0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* =========================
   OPTIONAL: avoid layout shift in inline text
========================= */

a {
  line-height: 1.2;
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }

  a:hover,
  a:active,
  a:focus-visible {
    transform: none;
    opacity: 1;
    background: transparent;
  }
}
