.to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 16px;
  background-color: #ff4b44;
  box-shadow: 0 0 5px rgba(0, 0, 27, 0.25);
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease, border-radius 0.3s ease;
  z-index: 999;
}

.to-top-btn:hover {
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0, 0, 27, 0.5);
}

.to-top-btn.active {
  opacity: 1;
  visibility: visible;
}
