.hover-effect {
  background: radial-gradient(
    var(--radius, 0px) circle at var(--x, 0px) var(--y, 0px),
    rgb(110, 255, 183) 0%,
    transparent 80%
  );
}

.hover-effect:hover {
  --radius: 65px; /* Adjust the radius as needed */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.hover-effect {
  transform: skew(-4deg);
}

.valorant-button {
  padding: 0;
  color: var(--button-text-color);
  cursor: crosshair;
  --button-text-color: var(--background-color);
  --button-text-color-hover: var(--button-background-color);
  --border-color: #7d8082;
  --button-background-color: #2f2f2f;
  --background-color: #ece8e1;
  --highlight-color: #3f3f3f;
  --button-inner-border-color: white;

  position: relative;
  padding: 8px;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 20px;
  transition: all 0.15s ease;
}

/* contain the button with a block you are making of your own */
.valorant-button::before,
.valorant-button::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid var(--border-color);
  transition: all 0.15s ease;
}

.valorant-button::before {
  top: 0;
  border-bottom-width: 0;
}

.valorant-button::after {
  bottom: 0;
  border-top-width: 0;
}

.valorant-button:active,
.valorant-button:focus {
  outline: none;
}

.valorant-button:active::before,
.valorant-button:active::after {
  right: 3px;
  left: 3px;
}

.valorant-button:active::before {
  top: 3px;
}

.valorant-button:active::after {
  bottom: 3px;
}

.label {
  position: relative;
  display: block;
  padding: 20px 30px;
  background-color: var(--button-background-color);
  overflow: hidden;
}

.hover-button {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -8px;
  width: 0;
  background-color: var(--highlight-color);
  transform: skew(-15deg);
  transition: all 0.2s ease;
}

.label-text {
  position: relative;
  pointer-events: none;
}

.valorant-button:hover {
  color: var(--button-text-color-hover);
}

.valorant-button:hover .hover-button {
  left: -10px;
  width: calc(100% + 50px);
}

.valorant-button:hover .label::after {
  background-color: var(--button-bits-color-hover);
}

.valorant-button {
  --button-background-color: var(--background-color);
  --button-text-color: var(--highlight-color);
  --button-inner-border-color: var(--highlight-color);
  --button-text-color-hover: #ece8e1;
  --button-bits-color-hover: #ece8e1;
}
