@import url("/shared/css/gradient-text.css");

/* Reclaim SOL UI: hidden unless <html data-reclaim-public="true"> (and [hidden] removed). */
html:not([data-reclaim-public="true"]) #reclaim,
html:not([data-reclaim-public="true"]) a[href="#reclaim"],
html:not([data-reclaim-public="true"]) a[href="/#reclaim"],
html:not([data-reclaim-public="true"]) .mobile-sticky-bar__claim,
html:not([data-reclaim-public="true"]) [data-reclaim-ui] {
  display: none !important;
}

html:not([data-slider-public="true"]) #heroSlider,
html:not([data-slider-public="true"]) [data-slider-ui] {
  display: none !important;
}

:root {
  color-scheme: dark;
  --bg: #060713;
  --bg-soft: #0c1020;
  --text: #f5f7ff;
  --muted: #a6b0cf;
  --card: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.15);
  --accent-a: #14f195;
  --accent-b: #9945ff;
  --accent-c: #4fc3ff;
  --radius: 0;
  --radius-lg: 0;
  --radius-vibe: 999px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, #11172f 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

body.reclaim-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:not(.btn):not(.mobile-sticky-bar__buy):not(.mobile-sticky-bar__claim) {
  transition: color 0.25s ease, filter 0.25s ease, background-position 0.55s ease;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.bg-blur {
  position: fixed;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -3;
  opacity: 0.45;
}

.bg-blur--a {
  top: -12rem;
  left: -10rem;
  background: radial-gradient(circle, var(--accent-b), transparent 65%);
}

.bg-blur--b {
  right: -12rem;
  top: 12rem;
  background: radial-gradient(circle, var(--accent-a), transparent 65%);
}

.noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.25;
  z-index: -2;
  pointer-events: none;
}

.starfall {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.72;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.starfall.starfall--burst {
  opacity: 1;
  filter: brightness(1.18) saturate(1.25);
}

.click-sparks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 0 22px rgba(20, 241, 149, 0.7);
}

.nav {
  display: inline-flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-wallet-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 7.6rem;
  min-height: 2.35rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(255, 159, 46, 0.42);
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 203, 116, 0.18), transparent 38%),
    rgba(255, 159, 46, 0.08);
  color: #ffd28d;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 159, 46, 0.16);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.site-wallet-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 203, 116, 0.72);
  box-shadow: 0 0 24px rgba(255, 159, 46, 0.26);
}

.site-wallet-toggle.is-connected {
  border-color: rgba(20, 241, 149, 0.58);
  background:
    radial-gradient(circle at 18% 20%, rgba(20, 241, 149, 0.24), transparent 40%),
    linear-gradient(135deg, rgba(20, 241, 149, 0.14), rgba(79, 195, 255, 0.12));
  color: #b7fff0;
  box-shadow: 0 0 26px rgba(20, 241, 149, 0.28), 0 0 46px rgba(79, 195, 255, 0.14);
}

.site-wallet-toggle__icon {
  width: 1.12em;
  height: 1.12em;
  max-width: 1.12em;
  max-height: 1.12em;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  filter: invert(85%) sepia(28%) saturate(690%) hue-rotate(344deg) brightness(103%) contrast(101%)
    drop-shadow(0 0 7px currentColor);
}

.site-wallet-toggle.is-connected .site-wallet-toggle__icon {
  filter: invert(88%) sepia(25%) saturate(685%) hue-rotate(104deg) brightness(104%) contrast(104%)
    drop-shadow(0 0 7px currentColor);
}

.site-wallet-toggle__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px currentColor);
}

.site-wallet-toggle__label,
.site-wallet-toggle__address {
  min-width: 4.6rem;
  text-align: center;
}

.site-wallet-toggle__label[hidden],
.site-wallet-toggle__address[hidden] {
  display: none !important;
  min-width: 0;
}

.hero__launcher-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
}

.hero__launcher-ctas .launcher-cta {
  margin-top: 0;
}

@media (min-width: 720px) {
  .hero__launcher-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__launcher-ctas .launcher-cta {
    flex: 1 1 16.5rem;
    max-width: 100%;
  }
}

.site-wallet-toggle__address {
  display: inline-block;
  color: currentColor;
  font-size: 0.78rem;
}

.hero {
  display: flex;
  flex-direction: column;
  padding-block: 2rem 1rem;
}

.hero__intro {
  min-width: 0;
}

.hero__buy-row {
  margin-top: 1rem;
  min-width: 0;
}

.hero__home-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.1rem;
  max-width: 36rem;
}

.hero__home-ctas .hero__actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__buy-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.hero__buy-stack .instant-buy {
  margin-top: 0;
}

.hero__buy-stack .hero__actions--below-buy {
  margin-top: 0.25rem;
}

.hero__actions--below-buy {
  margin-top: 0;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.hero__actions--below-buy .btn {
  flex: 0 1 auto;
}

.hero__buy-foot {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
}

.hero__meta-link {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hero__meta-link:hover {
  color: var(--accent-c);
}

.hero__meta-sep {
  margin: 0 0.35rem;
  color: var(--muted);
}

.section__caption {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
}

.section__caption.launcher-cta--center {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.section__caption--launcher {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.25rem;
  max-width: 36rem;
}

.section__caption--launcher .launcher-cta {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
}

.hero__visual {
  width: min(330px, 100%);
  transform: translateX(8px);
}

@media (min-width: 901px) {
  .hero {
    padding-block: clamp(2.5rem, 5vh, 4rem) 1rem;
  }

  .hero__buy-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.78fr);
    gap: clamp(1.2rem, 3vw, 2.4rem);
    align-items: start;
    margin-top: 1.15rem;
  }

  .hero__buy-row .instant-buy {
    margin-top: 0;
    max-width: 100%;
  }

  .hero__buy-stack {
    gap: 0.65rem;
  }

  .hero__visual {
    justify-self: end;
  }

  .hero__visual.reveal {
    transform: translate(8px, 18px);
  }

  .hero__visual.reveal.is-visible {
    transform: translate(8px, 0);
  }

  .stats {
    margin-top: 1.15rem;
    max-width: calc((100% - clamp(1.2rem, 3vw, 2.4rem)) * 1.2 / 1.98);
  }
}

.eyebrow {
  margin: 0;
  color: var(--accent-c);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.05;
  margin: 0.45rem 0 0.8rem;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.instant-buy {
  margin-top: 1rem;
  max-width: min(100%, 26rem);
  padding: 0.95rem 1rem 1rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(79, 195, 255, 0.06), rgba(20, 241, 149, 0.04));
  display: grid;
  gap: 0.7rem;
}

.instant-buy.instant-buy--panel {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin-top: 0;
  padding: 1rem 1.05rem 1.05rem;
  border: 1px solid rgba(79, 195, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(20, 241, 149, 0.08), transparent 58%),
    radial-gradient(90% 70% at 100% 100%, rgba(79, 195, 255, 0.07), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(7, 10, 18, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 38px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.instant-buy.instant-buy--panel .instant-buy__controls {
  position: relative;
  z-index: 1;
  padding: 0.82rem 0.88rem;
  border: 1px solid rgba(79, 195, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(79, 195, 255, 0.07), transparent 58%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(8, 12, 20, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.instant-buy.instant-buy--panel .instant-buy__eyebrow {
  color: #b8ecff;
  letter-spacing: 0.14em;
}

.instant-buy.instant-buy--panel .instant-buy__range {
  height: 1.55rem;
  background: transparent;
  appearance: none;
}

.instant-buy.instant-buy--panel .instant-buy__range::-webkit-slider-runnable-track {
  height: 0.4rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.instant-buy.instant-buy--panel .instant-buy__range::-webkit-slider-thumb {
  appearance: none;
  width: 1.08rem;
  height: 1.08rem;
  margin-top: -0.34rem;
  border: 2px solid rgba(234, 247, 255, 0.95);
  border-radius: 0;
  background: radial-gradient(circle at 35% 30%, #f4fbff, #7fd6ff 58%, #1f6f9f 100%);
  box-shadow:
    0 0 0 4px rgba(79, 195, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.instant-buy.instant-buy--panel .instant-buy__range::-moz-range-track {
  height: 0.4rem;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.instant-buy.instant-buy--panel .instant-buy__range::-moz-range-thumb {
  width: 1.08rem;
  height: 1.08rem;
  border: 2px solid rgba(234, 247, 255, 0.95);
  border-radius: 0;
  background: radial-gradient(circle at 35% 30%, #f4fbff, #7fd6ff 58%, #1f6f9f 100%);
  box-shadow:
    0 0 0 4px rgba(79, 195, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.instant-buy.instant-buy--panel .instant-buy__amount-input {
  min-height: 2.45rem;
  border-color: rgba(79, 195, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.instant-buy.instant-buy--panel .instant-buy__actions-panel {
  position: relative;
  z-index: 1;
}

.instant-buy.instant-buy--panel .instant-buy__submit {
  box-shadow: 0 10px 28px rgba(20, 241, 149, 0.16);
}

.instant-buy__layout {
  display: grid;
  gap: 0.7rem;
}

.instant-buy__actions-panel {
  display: block;
  min-width: 0;
}

.instant-buy__actions-band {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.instant-buy__bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  min-height: 0;
  margin-top: 0.05rem;
}

.instant-buy__bottom:has(.instant-buy__footer[hidden]) {
  display: none;
}

.instant-buy__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-width: 0;
}

.instant-buy__eyebrow {
  margin: 0;
  color: var(--accent-c);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.instant-buy__controls {
  display: grid;
  gap: 0.55rem;
}

.instant-buy__range-label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
}

.instant-buy__range-min,
.instant-buy__range-max {
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.instant-buy__range {
  width: 100%;
  margin: 0;
  accent-color: var(--accent-a);
  cursor: pointer;
}

.instant-buy__amount-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.instant-buy__max-btn {
  flex-shrink: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
}

.instant-buy__balance {
  margin: 0;
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
}

.instant-buy__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0;
}

.instant-buy__wallet-chip,
.reclaim-tool__wallet-chip {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent-a) 0%, var(--accent-c) 55%, #b8ffe8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-c);
  filter: drop-shadow(0 0 10px rgba(20, 241, 149, 0.22));
}

.instant-buy__wallet-chip {
  max-width: min(15rem, 62vw);
  margin-left: auto;
  font-size: 0.92rem;
  text-align: right;
}

.reclaim-tool__wallet-chip {
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(16rem, 68vw);
  font-size: 0.95rem;
  text-align: left;
}

.instant-buy__forget-toggle {
  opacity: 0.88;
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
}

[data-forget-wallet-row][hidden],
[data-reclaim-ref-link-row][hidden],
.instant-buy__footer[hidden] {
  display: none !important;
}

.instant-buy__forget-toggle:hover:not(:disabled) {
  opacity: 1;
}

.instant-buy__amount-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.62rem 0.72rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.instant-buy__amount-input:focus {
  outline: none;
  border-color: rgba(79, 195, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(79, 195, 255, 0.25);
}

.instant-buy__unit {
  color: #d9fff0;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.instant-buy__actions-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  flex: 0 0 auto;
  min-width: 0;
}

.instant-buy__submit {
  width: 100%;
}

.wallet-address-chip {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  color: #9fdcff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.wallet-address-chip[hidden] {
  display: none !important;
}

.reclaim-tool__connect-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 0;
  min-width: 0;
}

.reclaim-tool__connect-group [data-connect-wallet] {
  flex: 0 1 auto;
  min-width: 0;
}

.reclaim-tool__connect-hint {
  margin: 0;
  flex: 1 1 11rem;
  align-self: center;
  min-width: 0;
  line-height: 1.35;
}

.instant-buy__hint {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  font-size: 0.74rem;
  line-height: 1.3;
  text-align: right;
  word-break: break-word;
  align-self: center;
}

.instant-buy__tx-link {
  color: #7ee8ff;
  text-decoration: none;
  white-space: nowrap;
}

.instant-buy__tx-link:hover {
  text-decoration: underline;
}

@media (min-width: 901px) {
  .instant-buy:not(.instant-buy--panel) {
    max-width: 100%;
    padding: 1rem 1.2rem 1.05rem;
    gap: 0.65rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__layout {
    grid-template-columns: minmax(0, 1fr) minmax(10.5rem, 13.5rem);
    gap: 0 1.35rem;
    align-items: stretch;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__controls {
    gap: 0.5rem;
    padding: 0.1rem 0;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__range-label {
    gap: 0.65rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__amount-row {
    max-width: 16rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__actions-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.25rem 0 0.25rem 1.25rem;
    border-left: 1px solid rgba(79, 195, 255, 0.18);
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__actions-band {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__actions-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    width: 100%;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__submit {
    min-height: 0;
    padding: 0.38rem 0.85rem;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__submit {
    font-weight: 600;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__max-btn {
    padding: 0.34rem 0.55rem;
    font-size: 0.78rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__balance {
    font-size: 0.62rem;
  }

  .reclaim-tool__actions {
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .reclaim-tool__actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .reclaim-tool__connect-group [data-connect-wallet] {
    flex: 1 1 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.72rem 1.12rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #04060f;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-c));
}

.btn--secondary {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.04);
}

.hero__actions--below-buy .btn {
  padding: 0.54rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.2;
}

.hero__actions--below-buy .btn[data-buy-raydium],
.instant-buy__submit {
  color: #eaf4ff;
  background: linear-gradient(145deg, #0b6b52 0%, #1b5488 100%);
  border-color: rgba(79, 195, 255, 0.18);
}

.hero__actions--below-buy .btn[data-buy-raydium]:hover,
.instant-buy__submit:hover {
  background: linear-gradient(145deg, #0c7a5e 0%, #206098 100%);
}

[data-connect-wallet].btn--primary,
.mobile-sticky-bar .btn[data-buy-raydium] {
  color: #eaf4ff;
  background: linear-gradient(145deg, #0b6b52 0%, #1b5488 100%);
  border-color: rgba(79, 195, 255, 0.18);
}

[data-connect-wallet].btn--primary:hover,
.mobile-sticky-bar .btn[data-buy-raydium]:hover {
  background: linear-gradient(145deg, #0c7a5e 0%, #206098 100%);
}

.btn--ghost {
  border-color: var(--stroke);
  background: transparent;
}

.btn--small {
  padding: 0.54rem 0.85rem;
  font-size: 0.9rem;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.stats li {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
}

.stats strong {
  display: block;
  font-size: 1.1rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.banner-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.banner-card.is-slider-hit-target {
  cursor: pointer;
}

.slider-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  isolation: isolate;
  --slider-mask-inner: 29%;
  --slider-mask-mid: 41%;
  --slider-mask-outer: 56%;
  --slider-mask-gradient: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 1) var(--slider-mask-inner),
    rgba(0, 0, 0, 0.58) var(--slider-mask-mid),
    rgba(0, 0, 0, 0) var(--slider-mask-outer)
  );
}

.slider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  opacity: 0;
  z-index: 1;
  transform: scale(1);
  transform-origin: center center;
  transition:
    opacity 0.75s ease,
    transform 0.42s cubic-bezier(0.34, 1.35, 0.64, 1);
  will-change: opacity, transform;
  -webkit-mask-image: var(--slider-mask-gradient);
  mask-image: var(--slider-mask-gradient);
}

.slider-image.is-active {
  opacity: 1;
  z-index: 2;
}

.slider-frame.is-tapped .slider-image.is-active {
  transform: scale(0.962);
}

.slider-tap-flash,
.slider-tap-ripple {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  -webkit-mask-image: var(--slider-mask-gradient);
  mask-image: var(--slider-mask-gradient);
}

.slider-tap-flash {
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    circle at var(--tap-x, 50%) var(--tap-y, 50%),
    rgba(255, 255, 255, 0.34) 0%,
    rgba(20, 241, 149, 0.18) 16%,
    rgba(153, 69, 255, 0.1) 32%,
    transparent 58%
  );
  mix-blend-mode: screen;
  animation: slider-tap-flash 0.72s ease-out forwards;
}

.slider-tap-ripple {
  left: var(--tap-x, 50%);
  top: var(--tap-y, 50%);
  width: var(--ripple-size, 120px);
  height: var(--ripple-size, 120px);
  margin-left: calc(var(--ripple-size, 120px) / -2);
  margin-top: calc(var(--ripple-size, 120px) / -2);
  border-radius: 50%;
  border: 1.5px solid rgba(79, 195, 255, 0.72);
  box-shadow:
    0 0 18px rgba(20, 241, 149, 0.35),
    inset 0 0 24px rgba(153, 69, 255, 0.22);
  transform: scale(0.15);
  opacity: 0.95;
  animation: slider-tap-ripple 0.88s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slider-tap-ripple--delay {
  border-color: rgba(20, 241, 149, 0.55);
  box-shadow:
    0 0 14px rgba(153, 69, 255, 0.28),
    inset 0 0 18px rgba(79, 195, 255, 0.18);
  animation-delay: 0.08s;
}

.slider-tap-ring {
  position: absolute;
  inset: 10.4%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  border: 1px solid rgba(20, 241, 149, 0.45);
  box-shadow:
    0 0 28px rgba(79, 195, 255, 0.22),
    inset 0 0 36px rgba(153, 69, 255, 0.14);
  animation: slider-tap-ring 0.82s ease-out forwards;
  -webkit-mask-image: var(--slider-mask-gradient);
  mask-image: var(--slider-mask-gradient);
}

@keyframes slider-tap-flash {
  0% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
  }
}

@keyframes slider-tap-ripple {
  0% {
    transform: scale(0.15);
    opacity: 0.95;
  }
  100% {
    transform: scale(2.65);
    opacity: 0;
  }
}

@keyframes slider-tap-ring {
  0% {
    opacity: 0.85;
    transform: scale(0.88);
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slider-image {
    transition: opacity 0.75s ease;
  }

  .slider-frame.is-tapped .slider-image.is-active {
    transform: none;
  }

  .slider-tap-flash,
  .slider-tap-ripple,
  .slider-tap-ring {
    animation: none;
    display: none;
  }
}

.banner-card figcaption {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.7rem;
}

.section {
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

.section__head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.section__text {
  color: var(--muted);
  max-width: 76ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.card {
  grid-column: span 4;
  border: 1px solid var(--stroke);
  background: var(--card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.card h3 {
  margin-top: 0.1rem;
  margin-bottom: 0.35rem;
}

.card p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.card--wide {
  grid-column: span 12;
}

.contract {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  color: #d9fff0;
  word-break: break-all;
}

.contract__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.hint {
  min-height: 1.4rem;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--accent-a);
}

.reclaim-tool {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  overflow: hidden;
}

.reclaim-tool__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.reclaim-tool__topbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}

@media (min-width: 901px) {
  .reclaim-tool__topbar {
    justify-content: flex-start;
  }

  .reclaim-tool__topbar-actions {
    order: 1;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .reclaim-tool__wallet-chip {
    order: 2;
    margin-left: auto;
    flex: 0 1 auto;
    max-width: min(20rem, 50%);
    text-align: right;
  }
}

.reclaim-tool__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.1rem;
}

.reclaim-tool__disclaimer-toggle {
  opacity: 0.88;
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
}

.reclaim-tool__disclaimer-toggle:hover:not(:disabled) {
  opacity: 1;
}

.reclaim-tool__demo-toggle {
  border-color: rgba(79, 195, 255, 0.32);
  color: #c8e8ff;
}

.reclaim-tool__demo-toggle[aria-pressed="true"] {
  border-color: rgba(20, 241, 149, 0.5);
  color: #d9fff0;
  box-shadow: 0 0 0 1px rgba(20, 241, 149, 0.2);
}

.reclaim-tool__forget-toggle {
  opacity: 0.88;
}

.reclaim-tool__ref-link-toggle {
  opacity: 0.92;
  border-color: rgba(20, 241, 149, 0.28);
  color: #d9fff0;
}

.reclaim-tool__ref-link-toggle:hover:not(:disabled) {
  opacity: 1;
  border-color: rgba(20, 241, 149, 0.45);
}

.reclaim-tool__forget-toggle:hover:not(:disabled) {
  opacity: 1;
}

.reclaim-disclaimer-popup .reclaim-popup__panel {
  text-align: left;
}

.reclaim-disclaimer-popup__body {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.reclaim-disclaimer-popup__body p {
  margin: 0 0 0.75rem;
}

.reclaim-disclaimer-popup__body p:last-child {
  margin-bottom: 0;
}

.reclaim-tool__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.reclaim-tool__cybkit-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.1rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(110, 185, 231, 0.28);
  border-radius: var(--radius);
  background: rgba(110, 185, 231, 0.06);
  cursor: pointer;
  user-select: none;
}

.reclaim-tool__cybkit-checkbox {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  accent-color: var(--accent-a);
  flex-shrink: 0;
}

.reclaim-tool__cybkit-label {
  color: #d9e8ff;
  font-size: 0.92rem;
  line-height: 1.4;
}

.reclaim-tool__cybkit-hint {
  margin: -0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.reclaim-tool__wallet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.15rem;
}

.reclaim-tool__wallet-list .btn {
  font-size: 0.9rem;
}

.reclaim-tool__wallet-list .btn.is-active {
  border-color: var(--accent-a);
  box-shadow: 0 0 0 1px rgba(20, 241, 149, 0.35);
}

/* Reown AppKit / WalletConnect modal must sit above the site wallet picker */
:root {
  --w3m-z-index: 10000;
}

html.wallet-connect-active .wallet-modal {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

w3m-modal,
#w3m-modal,
wcm-modal {
  z-index: 10000 !important;
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.wallet-modal.is-visible {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wallet-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: radial-gradient(circle at 18% 12%, rgba(153, 69, 255, 0.18), transparent 34%),
    radial-gradient(circle at 82% 86%, rgba(20, 241, 149, 0.18), transparent 38%),
    rgba(4, 6, 15, 0.72);
  backdrop-filter: blur(10px);
}

.wallet-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 96vw);
  max-width: 100%;
  border: 1px solid rgba(20, 241, 149, 0.32);
  border-radius: var(--radius-lg);
  background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.015) 35%,
      rgba(255, 255, 255, 0) 65%
    ),
    rgba(8, 12, 28, 0.84);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 42px rgba(20, 241, 149, 0.14);
  padding: 1.1rem;
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.34s ease;
}

.wallet-modal.is-visible .wallet-modal__panel {
  transform: translateY(0) scale(1);
}

.wallet-modal__head {
  margin-bottom: 0.85rem;
}

.wallet-modal__eyebrow {
  margin: 0;
  color: var(--accent-c);
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.wallet-modal__title {
  margin: 0.35rem 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.wallet-modal__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.wallet-modal__list {
  display: grid;
  gap: 0.6rem;
  max-height: min(60vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 4px 2px 2px;
  scrollbar-gutter: stable;
}

.wallet-modal__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem 0.65rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.68rem 0.74rem;
  background: linear-gradient(
      150deg,
      rgba(79, 195, 255, 0.06) 0%,
      rgba(153, 69, 255, 0.05) 28%,
      rgba(20, 241, 149, 0.03) 72%,
      rgba(255, 255, 255, 0.01) 100%
    ),
    rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.wallet-modal__item:hover {
  border-color: rgba(79, 195, 255, 0.34);
  background-color: rgba(255, 255, 255, 0.045);
}

.wallet-modal__item.is-selected {
  border-color: rgba(20, 241, 149, 0.54);
  box-shadow: inset 0 0 0 1px rgba(20, 241, 149, 0.35);
}

.wallet-modal__item.is-recommended {
  border-color: rgba(79, 195, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(79, 195, 255, 0.28);
}

.wallet-modal__item-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  grid-column: 1;
}

.wallet-modal__badge {
  width: 2rem;
  height: 2rem;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: #eaf6ff;
  background: linear-gradient(135deg, rgba(79, 195, 255, 0.44), rgba(153, 69, 255, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 16px rgba(79, 195, 255, 0.24);
  flex: 0 0 auto;
}

.wallet-modal__item-text {
  display: grid;
  min-width: 0;
}

.wallet-modal__item-title {
  font-weight: 600;
  color: #edf6ff;
}

.wallet-modal__item-meta {
  color: var(--muted);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-modal__item.is-detected .wallet-modal__item-meta {
  color: #b7fff0;
}

.wallet-modal__action {
  grid-column: 2;
  flex-shrink: 0;
  min-width: 0;
  max-width: 9.5rem;
  padding: 0.58rem 0.8rem;
  font-size: 0.88rem;
  white-space: nowrap;
  border-radius: var(--radius);
}

.wallet-modal__action:hover {
  transform: none;
}

.wallet-modal__foot {
  margin-top: 0.85rem;
  display: flex;
  justify-content: flex-end;
}

.reclaim-tool__rpc {
  display: grid;
  gap: 0.4rem;
}

.reclaim-tool__rpc span {
  color: var(--muted);
  font-size: 0.88rem;
}

.reclaim-tool__rpc input {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.64rem 0.72rem;
  font: inherit;
}

.reclaim-tool__rpc-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.reclaim-tool__rpc-row .btn {
  white-space: nowrap;
}

.reclaim-tool__status {
  color: #b7fff0;
}

.status-collapsible {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: default;
}

.status-collapsible[hidden] {
  display: none !important;
}

.status-collapsible--expandable {
  cursor: pointer;
}

.status-collapsible--expandable .status-collapsible__summary {
  text-decoration: underline dotted rgba(183, 255, 240, 0.35);
  text-underline-offset: 0.18em;
}

.status-collapsible--expandable::after {
  content: "▸";
  opacity: 0.5;
  margin-left: 0.35rem;
  font-size: 0.82em;
  vertical-align: 0.05em;
}

.status-collapsible--expanded::after {
  content: "▾";
}

.status-collapsible__detail {
  display: block;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88em;
  color: var(--muted);
  line-height: 1.45;
  word-break: break-word;
  white-space: pre-wrap;
}

.status-collapsible__detail[hidden] {
  display: none !important;
}

.instant-buy__hint.status-collapsible--expandable .status-collapsible__summary {
  text-decoration-color: rgba(183, 255, 240, 0.28);
}

.reclaim-tool__metrics {
  color: var(--muted);
  font-size: 0.92rem;
}

.reclaim-tool__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.reclaim-tool__list li {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 1.35;
  word-break: break-all;
}

/* Off-screen card for share image capture (plain colors — html-to-image safe) */
.reclaim-share-capture {
  position: fixed;
  left: -9999px;
  top: 0;
  z-index: -1;
  box-sizing: border-box;
  width: 520px;
  max-width: 520px;
  min-height: 280px;
  padding: 2rem 1.75rem 1.6rem;
  border: 1px solid rgba(20, 241, 149, 0.45);
  border-radius: var(--radius-lg);
  background: #0a1024;
  box-shadow: 0 0 48px rgba(20, 241, 149, 0.2);
  text-align: center;
  font-family: inherit;
  pointer-events: none;
  overflow: hidden;
}

.reclaim-share-capture__eyebrow {
  margin: 0;
  color: #4fc3ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.reclaim-share-capture__title {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #edf6ff;
}

.reclaim-share-capture__amount {
  margin: 0.5rem 0 0.2rem;
  font-size: 3.25rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #d9fff0;
}

.reclaim-share-capture__detail {
  margin: 0.75rem 0 0;
  color: #a6b0cf;
  font-size: 0.95rem;
  line-height: 1.45;
}

.reclaim-share-capture__site {
  margin: 1.1rem 0 0;
  color: #14f195;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.reclaim-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding:
    max(0.75rem, env(safe-area-inset-top))
    max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom))
    max(0.75rem, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.reclaim-popup[hidden] {
  display: none !important;
}

.reclaim-popup.is-visible {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.reclaim-disclaimer-popup.is-visible {
  z-index: 111;
}

.instant-buy-popup.is-visible {
  z-index: 110;
}

.instant-buy-popup .reclaim-popup__panel {
  border-color: rgba(110, 185, 231, 0.4);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 48px rgba(110, 185, 231, 0.18);
}

.instant-buy-popup__panel--from-reclaim {
  border-color: rgba(20, 241, 149, 0.42);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 52px rgba(20, 241, 149, 0.2);
}

.reclaim-popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(4, 6, 15, 0.62);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.reclaim-popup__panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: min(560px, calc(100vw - 1.5rem));
  min-width: 0;
  padding: clamp(1rem, 3.5vw, 2.2rem);
  border: 1px solid rgba(20, 241, 149, 0.35);
  border-radius: var(--radius-lg);
  background: rgba(8, 12, 28, 0.58);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 48px rgba(20, 241, 149, 0.16);
  text-align: center;
  transform: translateY(18px) scale(0.96);
  transition: transform 0.4s ease;
  overflow-wrap: anywhere;
}

.reclaim-popup.is-visible .reclaim-popup__panel {
  transform: translateY(0) scale(1);
}

.reclaim-popup__eyebrow {
  margin: 0;
  color: var(--accent-c);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.reclaim-popup__title {
  margin: 0.55rem 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.reclaim-popup__amount {
  margin: 0.5rem 0 0.2rem;
  font-size: clamp(1.35rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #d9fff0;
  text-shadow: 0 0 28px rgba(20, 241, 149, 0.35);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.reclaim-popup__detail {
  margin: 0.75rem 0 1.2rem;
  color: var(--muted);
  font-size: clamp(0.82rem, 3.4vw, 0.95rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.reclaim-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.reclaim-popup__actions .btn {
  min-width: 9rem;
}

.reclaim-popup__share-hint {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  color: #b7fff0;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.reclaim-popup__share-hint.reclaim-popup__share-hint--visible {
  opacity: 1;
}

.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding:
    max(0.75rem, env(safe-area-inset-top))
    max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom))
    max(0.75rem, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.share-sheet[hidden] {
  display: none !important;
}

.share-sheet.is-visible {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.share-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 6, 15, 0.72);
  cursor: pointer;
}

.share-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
  background: linear-gradient(165deg, rgba(17, 23, 47, 0.98), rgba(8, 10, 22, 0.98));
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.45);
}

.share-sheet__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  text-align: center;
}

.share-sheet__status {
  margin: -0.35rem 0 0.75rem;
  color: #b7fff0;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
}

.share-sheet__status[hidden] {
  display: none !important;
}

.share-sheet__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.share-sheet__option {
  min-width: 0;
  width: 100%;
  padding: 0.62rem 0.75rem;
  font-size: 0.88rem;
}

@media (min-width: 901px) {
  .share-sheet {
    align-items: center;
  }

  .share-sheet__panel {
    border-radius: var(--radius-lg);
  }
}

.community {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.community a {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 0.6rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
}

.footer {
  margin-top: 3.5rem;
  padding-block: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.mobile-sticky-bar {
  display: none;
}

.scroll-to-top {
  display: none;
}

@media (min-width: 901px) {
  .scroll-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 18;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(8, 12, 28, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.05);
    color: var(--text);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.75rem);
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .scroll-to-top:hover {
    border-color: rgba(20, 241, 149, 0.45);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.42),
      0 0 18px rgba(20, 241, 149, 0.16);
    color: var(--accent-a);
  }

  .scroll-to-top:focus-visible {
    outline: 2px solid var(--accent-c);
    outline-offset: 3px;
  }

  .scroll-to-top__icon {
    width: 1.35rem;
    height: 1.35rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .reclaim-tool__topbar {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
  }

  .reclaim-tool__wallet-chip {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
  }

  .reclaim-tool__topbar-actions {
    flex: 0 0 auto;
    max-width: none;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .reclaim-tool__topbar-actions .btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .reclaim-tool__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .reclaim-tool__connect-group {
    width: 100%;
    flex: none;
  }

  .reclaim-tool__connect-group [data-connect-wallet],
  .reclaim-tool__actions .btn {
    width: 100%;
    flex: none;
  }

  .hero__buy-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero__visual {
    width: min(420px, 100%);
    align-self: center;
    transform: none;
  }

  .nav {
    display: none;
  }

  .card {
    grid-column: span 6;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__actions-band {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__actions-row {
    width: 100%;
    flex: none;
    grid-template-columns: 1fr 1fr;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__hint {
    width: 100%;
    flex: none;
    text-align: right;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 5.2rem;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: space-between;
  }

  .card {
    grid-column: span 12;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    gap: 1rem;
    padding-block: 0.8rem 0.6rem;
  }

  .hero__actions .btn[data-buy-raydium] {
    display: none;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions--below-buy {
    flex-wrap: wrap;
  }

  .hero__actions--below-buy .btn {
    width: 100%;
  }

  .instant-buy:not(.instant-buy--panel) {
    max-width: none;
    width: 100%;
    min-width: 0;
    padding: 0.85rem 0.75rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__range-label {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "range range"
      "min max";
    gap: 0.35rem 0.5rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__range {
    grid-area: range;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__range-min {
    grid-area: min;
    white-space: normal;
    font-size: 0.68rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__range-max {
    grid-area: max;
    justify-self: end;
    text-align: right;
    white-space: normal;
    font-size: 0.68rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__amount-row {
    min-width: 0;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__balance {
    font-size: 0.6rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__balance::-webkit-scrollbar {
    display: none;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__bottom {
    margin-top: 0.15rem;
  }

  .instant-buy:not(.instant-buy--panel) .instant-buy__hint {
    font-size: 0.7rem;
  }

  .contract__actions {
    flex-wrap: wrap;
  }

  .contract__actions .btn {
    width: 100%;
  }

  .reclaim-tool__wallet-chip {
    font-size: 0.88rem;
  }

  .reclaim-tool__footer {
    margin-top: 0.2rem;
  }

  .reclaim-tool__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .reclaim-tool__connect-group {
    flex: none;
    width: 100%;
  }

  .reclaim-tool__connect-group [data-connect-wallet] {
    width: 100%;
    flex: none;
  }

  .reclaim-tool__actions .btn {
    width: 100%;
    flex: none;
  }

  .reclaim-tool__test-actions .btn {
    width: 100%;
  }

  .reclaim-tool__wallet-list .btn {
    width: 100%;
  }

  .wallet-modal__item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .wallet-modal__item-label {
    grid-column: 1;
  }

  .wallet-modal__action {
    grid-column: 1;
    width: 100%;
    max-width: none;
  }

  .reclaim-tool__rpc-row {
    flex-direction: column;
    align-items: stretch;
  }

  .reclaim-tool__rpc-row .btn {
    width: 100%;
  }

  .reclaim-popup {
    padding:
      max(0.65rem, env(safe-area-inset-top))
      max(0.65rem, env(safe-area-inset-right))
      max(0.65rem, env(safe-area-inset-bottom))
      max(0.65rem, env(safe-area-inset-left));
  }

  .reclaim-popup__panel {
    max-width: min(560px, calc(100vw - 1.3rem));
    padding: 1rem 0.85rem 1.05rem;
  }

  .reclaim-popup__eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.7rem;
  }

  .reclaim-popup__title {
    font-size: clamp(1.15rem, 5.2vw, 1.75rem);
  }

  .reclaim-popup__amount {
    font-size: clamp(1.2rem, 7vw, 2.6rem);
  }

  .reclaim-popup__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .reclaim-popup__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .community a {
    width: 100%;
    text-align: center;
  }

  .section {
    margin-top: 2.1rem;
  }

  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    left: 0.8rem;
    right: 0.8rem;
    bottom: calc(0.7rem + env(safe-area-inset-bottom));
    z-index: 20;
    gap: 0.65rem;
    padding: 0.55rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.084);
    background: rgba(8, 12, 28, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.042);
  }

  .mobile-sticky-bar .btn {
    flex: 1;
    min-height: 2.85rem;
    padding: 0.72rem 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .mobile-sticky-bar__buy {
    color: #04060f;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 0.95rem;
  }


  .stats {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(1.7rem, 9vw, 2.3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
