/* components/button.css */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: var(--f-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out);
  cursor: pointer;
  user-select: none;
}
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.btn svg { width: 14px; height: 14px; }

/* Primary: gold pill on dark or paper */
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--gold-deep); }

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover { background: var(--gold-deep); color: var(--paper); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.btn--ghost-on-deep {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(245,241,232,0.24);
}
.btn--ghost-on-deep:hover { box-shadow: inset 0 0 0 1px var(--gold-soft); color: var(--gold-soft); }

.btn--sm { padding: 9px 14px; font-size: var(--f-tiny); }
.btn--lg { padding: 18px 28px; font-size: var(--f-body); }
