/* ===== ESTILOS MEJORADOS PARA BOTONES ===== */

/* Estilo base para todos los botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: 'Merienda', cursive;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform, box-shadow;
}

/* Botón primario */
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(184, 92, 60, 0.2);
}

/* Efecto hover básico */
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(184, 92, 60, 0.3);
}

/* Efecto de pulsación */
.btn:active {
  transform: translateY(-1px) scale(0.98);
  transition: transform 0.1s ease;
}

/* Efecto de onda al hacer hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(100%);
}

/* Botón fantasma */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

/* Ajustes de accesibilidad para reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover,
  .btn:active {
    transition: none;
    transform: none !important;
    animation: none !important;
  }
  
  .btn::after {
    display: none;
  }
}
