.card {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  z-index: 0;
  overflow: hidden;
  transition: transform 0.8s ease-in-out;
  transform-style: preserve-3d;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 102%;
  height: 102%;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
  z-index: -2;
  pointer-events: none;
  transition: transform 0.8s ease-in-out;
}

.card::after {
  content: "";
  z-index: -3;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
  transform: scale(0.95);
  filter: blur(20px);
  transition: filter 0.8s ease-in-out;
}

.card:hover {
  transform: rotate(1turn); /* 🎯 Giro completo */
}

.card:hover::before {
  transform: rotate(1turn);
}

.card:hover::after {
  filter: blur(30px);
}

/* From Uiverse.io by adamgiebl */ 
a {
  --green: #1BFD9C;
  font-size: 15px;
  padding: 0.7em 2.7em;
  letter-spacing: 0.06em;
  position: relative;
  font-family: inherit;
  border-radius: 0.6em;
  overflow: hidden;
  transition: all 0.3s;
  line-height: 1.4em;
  border: 2px solid var(--green);
  background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%,transparent 60% , rgba(27, 253, 156, 0.1) 100%);
  color: var(--green);
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
}

a:hover {
  color: #82ffc9;
  box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}

a:before {
  content: "";
  position: absolute;
  left: -4em;
  width: 4em;
  height: 100%;
  top: 0;
  transition: transform .4s ease-in-out;
  background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%,rgba(27, 253, 156, 0.1) 60% , transparent 100%);
}

a:hover:before {
  transform: translateX(15em);
}