.custom-toastr {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 9999;
  display: none;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  padding: 20px;
  min-width: 250px;
  text-align: center;
  animation: appear 0.5s ease-out forwards, float 3s ease-in-out infinite;
}

.coin-icon {
  font-size: 3rem;
  animation: pulse 2s ease-in-out infinite;
}

.points-value {
  font-size: 1.5rem;
  font-weight: bold;
}

.message {
  font-size: 1.2rem;
  color: #6a6a6a;
}

@keyframes appear {
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, -60%);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffd700;
  opacity: 0;
  animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}
