.founding-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--dark);
  border: 1px solid rgba(201,151,61,0.45);
  border-radius: 20px;
  padding: 0.4rem 1rem;
}

.founding-badge-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: var(--amber);
}

.founding-badge-label {
  line-height: 1;
}

.founding-badge--large {
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
  gap: 0.75rem;
}

.founding-badge--large .founding-badge-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ── Celebration modal ───────────────────────────────────────────────────── */
.celebration-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 20, 0.78);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: celebration-fade 0.25s ease-out;
}

@keyframes celebration-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.celebration-dialog {
  background: var(--green-deep);
  border: 1px solid rgba(201, 151, 61, 0.25);
  border-radius: 12px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  animation: celebration-pop 0.32s ease-out;
}

@keyframes celebration-pop {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.celebration-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.celebration-heading {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.celebration-subcopy {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.celebration-invite {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 151, 61, 0.25);
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
}

.celebration-invite code {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  color: var(--cream);
  background: transparent;
  padding: 0.45rem 0.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  min-width: 0;
}

.celebration-invite .celebration-copy-btn {
  background: transparent;
  border: 1px solid rgba(201, 151, 61, 0.45);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.95rem;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.celebration-invite .celebration-copy-btn:hover,
.celebration-invite .celebration-copy-btn:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(201, 151, 61, 0.06);
  outline: none;
}
.celebration-invite .celebration-copy-btn.is-copied {
  color: var(--green-light);
  border-color: rgba(64, 145, 108, 0.5);
  background: rgba(64, 145, 108, 0.08);
}

.celebration-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.celebration-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-body);
  background: transparent;
  border: 1px solid rgba(201, 151, 61, 0.35);
  border-radius: 2px;
  padding: 0.5rem 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.celebration-share-btn:hover,
.celebration-share-btn:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(201, 151, 61, 0.06);
  outline: none;
}
.celebration-share-btn-label { line-height: 1; }

.celebration-continue {
  background: var(--amber);
  color: var(--dark);
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
}
.celebration-continue:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .celebration-dialog { padding: 2.25rem 1.5rem 2rem; }
  .celebration-heading { font-size: 1.5rem; }
  .celebration-invite { flex-direction: column; }
}
