.value-card {
  --tilt-max: 10;
  --shadow-max: 28;
  --glow-opacity: 0;
  --mx: 50%;
  --my: 50%;

  position: relative;
  padding: 0.5rem;
  border-radius: 1rem;
  background: var(--bs-body-bg);
  transform-style: preserve-3d;
  will-change: transform, box-shadow, filter;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: none;
}

.value-card:hover {
  filter: saturate(1.02);
}

.value-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    400px 260px at var(--mx) var(--my),
    rgba(0, 186, 189, 0.25) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  opacity: var(--glow-opacity);
  transition: opacity 0.18s ease;
}

.value-card {
  transform: perspective(900px) rotateX(calc(var(--rx, 0) * 1deg));
}

.value-card [data-tilt-depth] {
  will-change: transform;
  transition: transform 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
  .value-card,
  .value-card [data-tilt-depth] {
    transition: none !important;
    transform: none !important;
  }
  .value-card::after {
    display: none;
  }
}
