/**
 * Estilos para el botón Scroll to Top
 */

#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  color: #0b2652;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

#scrollToTop:hover {
  background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTop i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Animación de entrada */
@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#scrollToTop.show {
  animation: slideInUp 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  #scrollToTop {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  #scrollToTop {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
