/* ============================================================
   amplaio — Components
   Wiederverwendbare Bausteine: Buttons und Reveal-Animation.
   Einbinden nach base.css, vor layout.css.
   ============================================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.92rem 1.6rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-arrow { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(120deg, #3affd0, #74ecff);
  color: #04060c;
  box-shadow: 0 0 0 1px rgba(58, 255, 208, 0.4),
              0 12px 34px -10px rgba(58, 255, 208, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(58, 255, 208, 0.7),
              0 18px 46px -10px rgba(58, 255, 208, 0.85);
}
.btn-ghost {
  border: 1px solid var(--border-lit);
  color: var(--text);
  background: var(--surface);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--mint);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.btn-block { width: 100%; justify-content: center; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
