/*
  Shared button styling for primary and secondary actions.
  These styles support consistent CTA treatment across the site.
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent) 0%, #2f6dff 45%, #7b5cff 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(76, 141, 255, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.btn--primary:hover {
  filter: brightness(1.08) saturate(1.05);
  box-shadow: 0 16px 32px rgba(76, 141, 255, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn--secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(67, 211, 255, 0.08));
}

.btn--secondary:focus-visible,
.btn--primary:focus-visible,
.final-cta__share:focus-visible {
  outline: 2px solid rgba(216, 255, 76, 0.85);
  outline-offset: 3px;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.btn--primary:hover::after {
  transform: translateX(120%);
}