/* ── Electric lightning border — card card-highlight ── */

.ec-wrap {
  position: relative;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.ec-wrap:hover {
  transform: translateY(-4px);
}

.ec-wrap .card-badge {
  z-index: 3;
}

/* Cancel the card's own hover lift — only ec-wrap controls the movement */
.ec-wrap .card:hover {
  transform: none;
  box-shadow: none;
}

/* Transparent overlay with only a border — filter applies here, NOT on the card content */
.ec-lightning-border {
  position: absolute;
  inset: 0;
  border: 2px solid #C060F0;
  border-radius: var(--r-card);
  background: transparent;
  pointer-events: none;
  filter: url(#turbulent-displace);
  z-index: 2;
}
