/* Shared footer + donate modal (landing / dashboard / market) */

.fx-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: auto;
  padding: 1.35rem clamp(1rem, 3vw, 1.75rem) 1.75rem;
  border-top: 1px solid rgba(184, 255, 46, 0.16);
  background: linear-gradient(180deg, transparent, rgba(8, 14, 8, 0.85));
  color: rgba(244, 247, 240, 0.58);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.88rem;
}
.fx-foot-brand {
  margin: 0;
  letter-spacing: -0.01em;
}
.fx-foot-brand strong {
  color: #f4f7f0;
  font-weight: 600;
}
.fx-foot-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.donate-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(184, 255, 46, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  background: rgba(184, 255, 46, 0.1);
  color: #d6ff6a;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.donate-chip:hover {
  background: rgba(184, 255, 46, 0.18);
  border-color: rgba(184, 255, 46, 0.55);
  box-shadow: 0 0 24px rgba(184, 255, 46, 0.18);
  transform: translateY(-1px);
}
.donate-chip-ico {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d6ff6a, #b8ff2e 45%, #5a8a12);
  box-shadow: 0 0 10px rgba(184, 255, 46, 0.45);
}

.donate-modal {
  border: 1px solid rgba(184, 255, 46, 0.28);
  border-radius: 18px;
  padding: 0;
  background:
    radial-gradient(420px 220px at 50% -10%, rgba(184, 255, 46, 0.16), transparent 60%),
    rgba(8, 14, 8, 0.94);
  color: #f4f7f0;
  max-width: min(440px, calc(100vw - 2rem));
  width: 100%;
  box-shadow:
    0 0 0 1px rgba(184, 255, 46, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.65);
  font-family: "Space Grotesk", system-ui, sans-serif;
}
.donate-modal::backdrop {
  background: rgba(2, 4, 2, 0.78);
  backdrop-filter: blur(8px);
}
.donate-modal-inner {
  padding: 1.5rem 1.45rem 1.6rem;
}
.donate-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.donate-modal-head h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.donate-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(184, 255, 46, 0.75);
}
.donate-close {
  appearance: none;
  border: 1px solid rgba(184, 255, 46, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(244, 247, 240, 0.7);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.55rem;
}
.donate-close:hover {
  color: #f4f7f0;
  border-color: rgba(184, 255, 46, 0.4);
}
.donate-lede {
  margin: 0 0 1.15rem;
  color: rgba(244, 247, 240, 0.58);
  font-size: 0.94rem;
  line-height: 1.45;
}
.donate-qr-wrap {
  display: grid;
  place-items: center;
  margin: 0 auto 1.15rem;
}
.donate-qr {
  display: grid;
  place-items: center;
  padding: 0.9rem;
  background: #f4f7f0;
  border-radius: 14px;
  box-shadow:
    0 0 0 3px rgba(184, 255, 46, 0.35),
    0 0 28px rgba(184, 255, 46, 0.2);
}
.donate-qr img,
.donate-qr canvas {
  display: block;
  width: 208px !important;
  height: 208px !important;
}
.donate-addr {
  display: block;
  width: 100%;
  appearance: none;
  border: 1px solid rgba(184, 255, 46, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  color: #b8ff2e;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  line-height: 1.5;
  padding: 0.85rem 0.95rem;
  text-align: left;
  word-break: break-all;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.donate-addr:hover {
  border-color: rgba(184, 255, 46, 0.5);
  background: rgba(184, 255, 46, 0.06);
}
.donate-hint {
  margin: 0.65rem 0 0;
  text-align: center;
  color: rgba(244, 247, 240, 0.5);
  font-size: 0.78rem;
}
.donate-hint.is-ok {
  color: #b8ff2e;
}

@media (max-width: 640px) {
  .fx-foot {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
