:root {
  --black: #09090b;
  --panel: #111114;
  --ivory: #e9e2d3;
  --gold: #bfa46a;
  --gold-dim: #6a5a39;
  --muted: #9b958a;
  --line: #302e29;
}

* { box-sizing: border-box; }
html { background: var(--black); }
body {
  margin: 0;
  color: var(--ivory);
  background: radial-gradient(ellipse at 50% 0%, #2a211326, transparent 38rem), var(--black);
  font-family: "IBM Plex Mono", monospace;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
pump-if { display: inline; }
pump-if[hidden] { display: none !important; }
::selection { color: var(--black); background: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.notice {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2rem .75rem;
  padding: .65rem 1rem;
  color: var(--muted);
  background: #17140e;
  border-bottom: 1px solid var(--gold-dim);
  font-size: .6rem;
  line-height: 1.5;
  text-align: center;
}
.notice span {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.notice p { margin: 0; }

.rare {
  width: min(calc(100% - 2.5rem), 760px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

/* The rainbow is reserved for the ASCII crest; everything else stays regal. */
.header {
  position: relative;
  margin-bottom: 2rem;
  border-bottom: 1px solid #6a5a3955;
}
.header::before {
  content: "♔";
  position: absolute;
  top: 1.25rem;
  left: 0;
  color: var(--gold);
  font-size: 1.1rem;
}
.wordmark {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding-block: 3.7rem 2rem;
  overflow: hidden;
  color: var(--gold);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(.3rem, 2.55vw, 1.35rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  white-space: pre;
  animation: rainbowGlow 12s linear infinite;
  will-change: filter;
}
.dex-paid {
  position: absolute;
  top: 1.2rem;
  left: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dex-paid > span {
  width: .9rem;
  height: .9rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  font-size: .55rem;
}
.status {
  position: absolute;
  top: 1.2rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding-bottom: .3rem;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  font-size: .52rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dot { width: .3rem; height: .3rem; border-radius: 50%; background: var(--gold); }

/* A dark, double-ruled plaque rather than a bright card. */
.burned {
  position: relative;
  margin-bottom: 1.5rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, #141417, #0e0e10);
  border: 1px solid var(--gold-dim);
}
.burned::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid #bfa46a1f;
  pointer-events: none;
}
.burned__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, .85fr);
  gap: 2rem;
  align-items: center;
}
.burned__main { min-width: 0; }
.usps {
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--gold-dim);
  list-style: none;
}
.usps li { padding-block: .8rem; }
.usps li:first-child { padding-top: 0; padding-right: 1.6rem; }
.usps li:last-child { padding-bottom: 0; }
.usps li + li { border-top: 1px solid var(--line); }
.usps span {
  display: block;
  margin-bottom: .2rem;
  color: var(--gold-dim);
  font-size: .48rem;
}
.usps strong {
  display: block;
  color: var(--ivory);
  font-family: "Cinzel", serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.4;
  text-transform: uppercase;
}
.usps small {
  display: block;
  margin-top: .15rem;
  color: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-size: .95rem;
  line-height: 1.3;
}
.crest {
  position: absolute;
  top: 1.35rem;
  right: 1.5rem;
  color: var(--gold);
  font-size: 1.45rem;
  opacity: .8;
}
.burned h1 {
  max-width: calc(100% - 3rem);
  margin: 0;
  color: var(--gold);
  font-size: .59rem;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.amount {
  margin-block: 1.25rem .85rem;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: clamp(3.1rem, 11vw, 6.25rem);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.05;
  letter-spacing: .015em;
  white-space: nowrap;
}
.amount pump-value { display: inline-block; }
.amount pump-value[data-flash] { animation: quietPulse .6s ease-out; }
.burned__main > p {
  margin: 0;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .04em;
  line-height: 1.6;
  text-transform: uppercase;
}
.launch-note {
  display: inline-block;
  margin-top: 1.1rem;
  padding-left: .7rem;
  color: var(--ivory);
  border-left: 2px solid var(--gold-dim);
  font-size: .56rem;
  line-height: 1.6;
  text-transform: uppercase;
}

/* Contract line: compact, functional and almost unboxed. */
.contract {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-block: 1.1rem;
  border-block: 1px solid var(--line);
}
.contract__ca { min-width: 0; display: flex; align-items: center; gap: .75rem; }
.contract__label {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .12em;
}
.contract code {
  min-width: 0;
  flex: 1;
  color: var(--ivory);
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  overflow-wrap: anywhere;
}
.copy-ca { flex: 0 0 auto; }
.copy-ca button,
.pump-button,
.pump-soon {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .8rem;
  border: 1px solid var(--gold-dim);
  border-radius: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: .57rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.copy-ca button { color: var(--ivory); background: transparent; cursor: pointer; }
.copy-ca button:hover { color: var(--gold); border-color: var(--gold); }
.copy-success { display: none; }
.copy-ca[data-copied] .copy-default { display: none; }
.copy-ca[data-copied] .copy-success { display: inline; }
.pump-link { display: inline-block; }
.pump-button { min-width: 7.5rem; color: var(--black); background: var(--gold); border-color: var(--gold); }
.pump-button:hover { background: var(--ivory); border-color: var(--ivory); }
.pump-soon { min-width: 7.5rem; color: #777168; border-style: dashed; }

.lore {
  position: relative;
  margin-bottom: 1.5rem;
  padding-block: 1rem 2.5rem;
  border-bottom: 1px solid var(--line);
}
.lore .label {
  color: var(--gold);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lore .label::before { content: "— "; color: var(--gold-dim); }
.lore h2 {
  margin: 1.5rem 0 1.25rem;
  color: var(--ivory);
  font-family: "Cinzel", serif;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.lore h2 mark { padding: 0; color: var(--gold); background: transparent; font-weight: 500; }
.lore p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  line-height: 1.6;
}
.lore .tagline {
  margin-top: 1.1rem;
  color: var(--gold);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.4;
}

footer {
  margin-top: auto;
  padding-block: 1rem 1.5rem;
  color: #68635b;
  font-size: .5rem;
  letter-spacing: .06em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
footer span { color: var(--gold); }

html[data-pump-mode="prelaunch"] .copy-ca { display: none !important; }

@keyframes rainbowGlow { to { filter: hue-rotate(360deg); } }
@keyframes quietPulse { 50% { color: var(--ivory); } }

@media (max-width: 680px) {
  .burned__layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .usps {
    order: -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--gold-dim);
    border-left: 0;
  }
  .usps li,
  .usps li:first-child,
  .usps li:last-child { padding: 0; }
  .usps li + li { padding-left: .7rem; border-top: 0; border-left: 1px solid var(--line); }
  .usps strong { font-size: .62rem; }
  .usps small { display: none; }
  .crest { display: none; }
}

@media (max-width: 560px) {
  .rare { width: calc(100% - 2rem); }
  .header { margin-bottom: 1.5rem; }
  .header::before { top: 1rem; }
  .wordmark { padding-block: 3.7rem 1.7rem; }
  .dex-paid { top: 1rem; left: 1.5rem; font-size: .46rem; }
  .status { top: 1rem; font-size: .46rem; }
  .burned { padding: 1.5rem 1.35rem; }
  .burned h1 { font-size: .53rem; }
  .crest { top: 1.15rem; right: 1.2rem; }
  .amount { font-size: clamp(2.85rem, 12vw, 4.6rem); }
  .burned__main > p { font-size: .55rem; }
  .contract { grid-template-columns: 1fr; gap: .8rem; }
  .contract__ca { flex-wrap: wrap; gap: .6rem; }
  .contract code { font-size: .63rem; }
  .pump-link, .pump-button, .pump-soon { width: 100%; }
  .lore h2 { font-size: clamp(1.65rem, 7.5vw, 2.35rem); }
  .lore p { font-size: 1.1rem; }
  .lore .tagline { font-size: 1.15rem; }
  footer { font-size: .46rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
