/* Reusable UI pieces shared across sections. */

/* Brand (logo + wordmark) */
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand img { width: 40px; height: 40px; }

/* Eyebrow label above section titles */
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(108, 60, 240, .12);
  color: var(--purple);
  margin-bottom: 1rem;
}
.eyebrow--light { background: rgba(255, 255, 255, .16); color: #fff; }
.eyebrow--gold { background: rgba(255, 210, 63, .2); color: var(--yellow); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-primary { background: var(--yellow); color: var(--purple-dark); box-shadow: 0 8px 0 #e0a800; }
.btn-primary:hover { box-shadow: 0 11px 0 #e0a800; }
.btn-ghost { border: 3px solid rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Scroll-reveal (toggled by js/modules/reveal.js) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Confetti pieces (created by js/modules/confetti.js) */
.confetti {
  position: fixed;
  top: -20px;
  width: 10px;
  height: 16px;
  z-index: 100;
  pointer-events: none;
  border-radius: 3px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall { to { transform: translateY(110vh) rotate(720deg); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
