@font-face { font-family: "Exo 2"; font-weight: 500; font-display: swap; src: url(/fonts/exo-2-500.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url(/fonts/exo-2-600.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url(/fonts/nunito-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url(/fonts/nunito-sans-600.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-500.woff2) format("woff2"); }

:root {
  --navy-950: #050d20; --navy-900: #07122a; --navy-850: #0a1834; --navy-800: #0d1f40; --navy-700: #15305c;
  --line: rgba(148, 197, 220, .16); --line-2: rgba(148, 197, 220, .28);
  --teal: #2dd4bf; --teal-2: #14b8a6; --teal-ink: #042f2e; --teal-soft: rgba(45, 212, 191, .14);
  --text: #e6f1f5; --muted: #93a8bf; --dim: #6b819b;
  --ok: #5eead4; --err: #fca5a5; --warn: #fcd34d;
  --radius: 18px; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  --display: "Exo 2", system-ui, sans-serif; --body: "Nunito Sans", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; color: var(--text); font: 400 16px/1.6 var(--body); background: radial-gradient(1200px 800px at 75% 20%, #0f2a52 0%, var(--navy-900) 55%, var(--navy-950) 100%) fixed; min-height: 100vh; }
#bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 13, 32, .82) 0%, rgba(5, 13, 32, .45) 48%, rgba(5, 13, 32, .05) 75%); }
.top, main, .foot, .mock-banner { position: relative; z-index: 2; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.1rem; }
.teal { color: var(--teal); }
.mono, code { font-family: var(--mono); font-size: .92em; }
code { background: rgba(255, 255, 255, .06); padding: .05em .35em; border-radius: 6px; }
.fine { color: var(--muted); font-size: .88rem; }
.ok { color: var(--ok); font-weight: 600; }
.err { color: var(--err); }
.warn { color: var(--warn); }

.mock-banner { text-align: center; font-size: .85rem; padding: .45rem 1rem; background: repeating-linear-gradient(-45deg, rgba(252, 211, 77, .16) 0 12px, rgba(252, 211, 77, .08) 12px 24px); color: #fde68a; border-bottom: 1px solid rgba(252, 211, 77, .25); }

/* header */
.top { position: sticky; top: 0; display: flex; align-items: center; gap: 1.5rem; padding: .9rem clamp(1rem, 4vw, 3rem); backdrop-filter: blur(12px); background: rgba(7, 18, 42, .62); border-bottom: 1px solid var(--line); }
.brand img { display: block; height: 22px; width: auto; }
.nav { display: flex; gap: 1.3rem; flex: 1; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav-admin { color: var(--warn) !important; }
.who { display: flex; align-items: center; margin-left: auto; }
.chip { display: flex; align-items: center; gap: .55rem; padding: .35rem .5rem .35rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(13, 31, 64, .7); font-size: .88rem; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.tag { display: inline-block; font: 600 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; padding: .35em .6em; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.tag-admin { background: rgba(252, 211, 77, .14); color: var(--warn); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: 600 .95rem/1 var(--body); padding: .75rem 1.15rem; border-radius: 12px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .15s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-lg { padding: .95rem 1.4rem; font-size: 1.02rem; border-radius: 14px; }
.btn-teal { background: linear-gradient(180deg, #3ee6d0, var(--teal-2)); color: var(--teal-ink); box-shadow: 0 10px 30px -12px rgba(45, 212, 191, .7); }
.btn-teal:hover { background: linear-gradient(180deg, #5ff0dc, #19c7b3); }
.btn-ghost { background: rgba(13, 31, 64, .55); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--teal); }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .85rem; padding: .2rem .3rem; }
.link:hover { color: var(--text); }

/* layout */
main { padding: 0 clamp(1rem, 4vw, 3rem); max-width: 1240px; margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; min-height: calc(100vh - 80px); padding: 3rem 0 4rem; }
.eyebrow { font: 600 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .18em; color: var(--teal); margin: 0 0 1.2rem; }
.lede { font-size: 1.18rem; color: #c3d4e2; max-width: 34rem; }
.hero-cta { display: flex; gap: .8rem; margin: 1.8rem 0 2.2rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.2rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font: 600 1.9rem/1 var(--display); }
.hero-stats span { color: var(--muted); font-size: .85rem; margin-top: .3rem; }
.hero-stats i { font-style: normal; }
.badge-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.badge-row .eyebrow { margin: 0; line-height: 1.6; }
.lockup-badge { width: 104px; height: 104px; border-radius: 16px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12); }
.stage { align-self: stretch; position: relative; min-height: 420px; }
.stage-cap { position: absolute; bottom: 0; right: 0; max-width: 300px; margin: 0; font-size: .8rem; color: var(--muted); display: flex; gap: .5rem; align-items: baseline; background: rgba(7, 18, 42, .55); padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--line); }
.stage-cap .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
.plaque { margin: 0; justify-self: center; padding: 18px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid var(--line-2); box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); }
.plaque img { display: block; width: min(100%, 440px); height: auto; border-radius: 14px; }
.plaque figcaption { text-align: center; color: var(--muted); font-size: .82rem; margin-top: .7rem; }

.band { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.band.two { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.6rem; align-items: start; }
.card { background: linear-gradient(180deg, rgba(13, 31, 64, .86), rgba(7, 18, 42, .86)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); backdrop-filter: blur(6px); }

.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { background: rgba(10, 24, 52, .78); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; backdrop-filter: blur(6px); }
.steps .n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--teal-soft); color: var(--teal); font: 600 1rem var(--display); margin-bottom: .8rem; box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .35); }
.steps p { color: #b4c5d6; font-size: .94rem; margin: 0; }

.counter .big { display: flex; align-items: baseline; gap: .5rem; margin: .4rem 0 1rem; }
.counter .big b { font: 600 4.2rem/1 var(--display); }
.counter .big span { color: var(--muted); font: 600 1.6rem var(--display); }
.counter .big i { font-style: normal; }
.bar { position: relative; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-bottom: 1.2rem; display: flex; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-2), var(--teal)); transition: width .6s; }
.bar i.pend { background: repeating-linear-gradient(-45deg, rgba(45, 212, 191, .45) 0 6px, rgba(45, 212, 191, .2) 6px 12px); }
.kv { list-style: none; padding: 0; margin: 0; }
.kv li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.kv li span { color: var(--muted); }

.buy p { margin: .2rem 0 1rem; }
.qr-preview { width: 148px; height: 148px; border-radius: 12px; overflow: hidden; margin: 0 0 1.1rem; border: 1px solid var(--line-2); }
.qr-preview svg { display: block; width: 100%; height: 100%; }
.signbox { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.signbox .qr { width: 200px; height: 200px; background: #fff; border-radius: 14px; padding: 8px; flex: none; }
.signbox .qr img, .signbox .qr svg { width: 100%; height: 100%; display: block; }
.signbox .side { flex: 1; min-width: 200px; }
.signbox .side .btn { margin: .3rem .4rem .3rem 0; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--teal-soft); border-top-color: var(--teal); border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -2px; margin-right: .4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* my xrpqr */
.mine { display: grid; gap: 1.4rem; }
.nft { display: grid; grid-template-columns: minmax(280px, 520px) 1fr; gap: 1.6rem; align-items: stretch; }
.viewer { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: #000; border: 1px solid var(--line-2); overflow: hidden; }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.viewer .hint { position: absolute; left: 12px; bottom: 10px; font-size: .75rem; color: var(--muted); pointer-events: none; }
.viewer .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 2rem; }
.nft .meta h3 { font-size: 1.6rem; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .9rem; margin-top: 1rem; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 24, 52, .72); margin: .6rem 0; padding: .2rem 1.2rem; max-width: 820px; }
.faq summary { cursor: pointer; font-weight: 600; padding: .8rem 0; }
.faq details p { color: #b4c5d6; margin: 0 0 1rem; }

/* admin */
.admin h2 { color: var(--warn); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.admin-grid .wide { grid-column: 1 / -1; overflow-x: auto; }
.row { display: flex; gap: .5rem; }
input { flex: 1; min-width: 0; background: rgba(5, 13, 32, .7); border: 1px solid var(--line-2); color: var(--text); padding: .7rem .8rem; border-radius: 10px; font: inherit; }
input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tbl th { text-align: left; color: var(--muted); font-weight: 600; padding: .5rem; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: .5rem; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.pill { display: inline-block; padding: .15em .55em; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .08); }
.pill.paid, .pill.minted, .pill.claimed, .pill.ok { background: var(--teal-soft); color: var(--teal); }
.pill.pending, .pill.queued, .pill.processing { background: rgba(252, 211, 77, .14); color: var(--warn); }
.pill.failed, .pill.refund_due, .pill.bad { background: rgba(252, 165, 165, .14); color: var(--err); }
.switch { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; cursor: pointer; font-weight: 600; }
.switch input { display: none; }
.switch span { width: 46px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .12); position: relative; flex: none; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--warn); }
.switch input:checked + span::after { transform: translateX(20px); }

/* modal */
.modal { width: min(560px, 94vw); border: 1px solid var(--line-2); border-radius: 22px; padding: 1.8rem; color: var(--text); background: linear-gradient(180deg, #0f2347, #081530); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8); }
.modal::backdrop { background: rgba(3, 8, 20, .7); backdrop-filter: blur(4px); }
.modal-x { position: absolute; right: 14px; top: 10px; }
.modal-x button { background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; }
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.2rem 0; }
.wallet { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: .8rem; text-align: left; align-items: center; padding: .9rem; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5, 13, 32, .55); color: var(--text); cursor: pointer; font: inherit; transition: border-color .15s, transform .15s; }
.wallet:hover { border-color: var(--teal); transform: translateY(-1px); }
.wallet.off, .wallet:disabled { opacity: .5; cursor: not-allowed; transform: none; border-color: var(--line); }
.wallet.off small { color: var(--warn); }
.wallet b { font-family: var(--display); }
.wallet small { color: var(--muted); grid-column: 2; }
.wlogo { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 600 1.25rem var(--display); }
.wlogo.xaman { background: #1a3cff; color: #fff; } .wlogo.joey { background: #ffb020; color: #1b1300; }
.wlogo.gem { background: #6d4aff; color: #fff; } .wlogo.cross { background: #0e1116; color: #fff; border: 1px solid #333; }
.mockbox { border: 1px dashed rgba(252, 211, 77, .4); border-radius: 14px; padding: .8rem 1rem; background: rgba(252, 211, 77, .05); }
.mockbox p { margin: 0 0 .6rem; }
.simwallet { border: 1px solid var(--line-2); border-radius: 16px; padding: 1rem 1.2rem; background: rgba(5, 13, 32, .6); margin: 1rem 0; }
.simwallet .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }

.foot { display: flex; gap: 1.2rem; align-items: center; justify-content: center; padding: 2.5rem 1rem 3rem; color: var(--dim); font-size: .85rem; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .hero, .band.two, .nft, .admin-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .veil { background: rgba(5, 13, 32, .62); }
  .plaque { transform: none; }
  .stage { min-height: 200px; }
}
@media (max-width: 560px) { .steps, .wallets { grid-template-columns: 1fr; } .hero-stats { gap: 1.2rem; } }

.pill.alpha { background: rgba(57, 255, 20, .16); color: #9dff8a; box-shadow: 0 0 12px rgba(57, 255, 20, .35); }
#alphaClaimBox .btn { box-shadow: 0 0 18px rgba(57, 255, 20, .28); }
#wlTbl { margin-top: .6rem; }
