/**
 * Button Component Styles
 * Reusable button styles with variants and sizes
 */

/* Base Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

/* Size Variants */
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 14px;
}

.btn-md {
  padding: 0.875rem 1.75rem;
  font-size: 16px;
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 18px;
}

/* Primary Button */
.btn-primary {
  background-color: #FF30AA;
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(255, 48, 170, 0.25);
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Gradient Overlay for Primary Button */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #FF30AA, #B912DE, #32C8FA);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary > span {
  position: relative;
  z-index: 10;
}

/* Secondary Button */
.btn-secondary {
  border: 2px solid #0B0B1A;
  color: #0B0B1A;
  background: transparent;
}

.btn-secondary:hover {
  background-color: #0B0B1A;
  color: white;
  transform: scale(1.02);
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* Ghost Button */
.btn-ghost {
  color: #0B0B1A;
  background: transparent;
}

.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: scale(1.02);
}

.btn-ghost:active {
  transform: scale(0.98);
}

/* Disabled State */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button Group */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 640px) {
  .btn-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}
