/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover {
  border-color: oklch(74% 0.2 45 / 25%);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--accent-fg);
  border-color: transparent;
  font-weight: 600;
  box-shadow:
    0 0 24px oklch(74% 0.2 45 / 20%),
    0 2px 8px oklch(0% 0 0 / 20%);
}

.btn-primary::before {
  background: linear-gradient(135deg, oklch(100% 0 0 / 15%) 0%, transparent 60%);
  opacity: 0;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  border-color: transparent;
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  filter: brightness(0.95);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
}

.btn-ghost:hover {
  background: oklch(74% 0.2 45 / 6%);
  border-color: transparent;
  box-shadow: none;
  transform: translateY(0);
}

.btn-ghost::before {
  display: none;
}
