.tilted-card-figure {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  display: flex;
  /* overflow-x: auto; */
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.tilted-card-inner {
  position: relative;
  transform-style: preserve-3d;
  margin: 5px;
  border-radius: 1rem;
  overflow: hidden;
  background: #111;
  border: 2px solid rgba(79, 70, 229, 0.6); /* Indigo glow */
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.4);
}

.tilted-card-content {
  padding: 2rem;
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.6;
}

.tilted-card-overlay {
  position: relative;
  z-index: 2;
  color: #e0e0e0;
}

.tilted-card-caption {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 4px;
  background-color: rgba(79, 70, 229, 0.9);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  opacity: 0;
  z-index: 3;
}
