.button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 30px;
  border: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10rem;

  transition: all 0.15s ease;
  font-weight: bold;
  cursor: pointer;

  color: rgb(37, 37, 37);
  background: rgba(255, 255, 255, 0.92);

  box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
}

/* Button matni ustida tursin */
.button .label {
  position: relative;
  z-index: 2;
}

.button:hover {
  background: rgb(193, 228, 248);
  color: rgb(33, 0, 85);
}

.button:active {
  transform: scale(0.97);
}

/* Hover effekt (orqa fon) */
.button .hoverEffect {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none; /* klikni to‘smasin */
}

.button .hoverEffect div {
  background: linear-gradient(
    90deg,
    rgba(222, 0, 75, 1) 0%,
    rgba(191, 70, 255, 1) 49%,
    rgba(0, 212, 255, 1) 100%
  );
  border-radius: 40rem;

  width: 10rem;
  height: 10rem;

  transition: 0.4s;
  filter: blur(20px);
  animation: effect 3s linear infinite;
  opacity: 0.55;
}

.button:hover .hoverEffect div {
  width: 8rem;
  height: 8rem;
}

@keyframes effect {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
