/* Custom additions on top of the scraped Umia design system (site.css) */

html {
  scroll-behavior: smooth;
}
#claim {
  scroll-margin-top: 90px;
}

/* ---------- Mobile menu open state ---------- */
#mobile-menu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
#mobile-menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
#mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
#mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Term tip bubble (click-to-toggle on touch, hover on desktop already handled by base CSS) ---------- */
.tge-module__HH1TyG__termTipBubble.is-open,
.landing-module__termTipBubble.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* ---------- Connect Wallet button (nav) — non-responsive placeholder for now ---------- */
.wallet-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 999px;
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
}
.wallet-cta:hover {
  border-color: var(--border-default);
}
.wallet-cta:active {
  transform: scale(0.97);
}
.wallet-cta.is-primary {
  background: var(--brand-accent);
  color: var(--cta-text);
  border: none;
}
.wallet-cta.is-primary:hover {
  background: var(--cta-gradient-start, var(--brand-accent));
}
.wallet-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  background: var(--brand-accent);
  color: var(--cta-text);
  margin-top: 4px;
  gap: 8px;
}

/* ---------- Live status strip (hero) ---------- */
.live-strip {
  display: flex;
  justify-content: center;
  padding: 11px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--brand-accent) 5%, transparent);
}
.live-strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.live-strip-item strong {
  color: var(--text-primary);
  font-weight: 640;
  transition: color 0.25s;
}
.live-strip-item strong.is-bumping {
  color: var(--tge-accent-ink, var(--brand-accent));
}
.live-strip-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--tge-accent-ink, var(--text-primary));
  font-weight: 600;
}
.live-strip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green-500, #22c55e);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-green-500, #22c55e) 30%, transparent);
  flex-shrink: 0;
  animation: live-pulse 1.6s ease-in-out infinite;
}
.live-strip-sep {
  width: 1px;
  height: 14px;
  background: var(--border-subtle);
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Claim / allocation card (static placeholder for now) ---------- */
.claim-stage {
  aspect-ratio: auto !important;
  min-height: 340px;
  display: flex;
}
.claim-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: stretch;
  border-radius: clamp(20px, 2vw, 28px);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-raised);
  overflow: hidden;
}
.claim-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
  gap: 10px;
}
.claim-state h3 {
  margin: 4px 0 0;
  font-family: var(--font-sora), sans-serif;
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.claim-state p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 320px;
}
.claim-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand-accent) 14%, transparent);
  color: var(--tge-accent-ink, var(--brand-accent));
  margin-bottom: 4px;
}
.claim-icon svg {
  width: 22px;
  height: 22px;
}
.claim-btn {
  margin-top: 10px;
}
