.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;

  width: 50px;
  height: 50px;

  border: none;
  border-radius: 50%;

  background: linear-gradient(
    135deg,
    #882ce4,
    #3b82f6
  );

  color: #ffffff;
  font-size: 22px;
  font-weight: 700;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 24px rgba(142, 76, 230, 0.35);

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px);

  transition: all 0.3s ease;

  z-index: 9999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(173, 156, 194, 0.5);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 46px;
    height: 46px;
    right: 18px;
    bottom: 18px;
    font-size: 20px;
  }
}