:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff6ee;
  background: #130b1a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, #4e1c6c 0, transparent 32rem),
    radial-gradient(circle at 95% 5%, #552209 0, transparent 29rem), #130b1a;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid #a65ac0;
  border-radius: 13px;
  padding: 13px 18px;
  background: #4b255d;
  color: #fff6ee;
  font-weight: 800;
  transition:
    transform 0.18s,
    filter 0.18s,
    box-shadow 0.18s;
}
button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffae39;
  outline-offset: 3px;
}
.hidden {
  /* biome-ignore lint/complexity/noImportantStyles: hiding utility, must win over any component display rule */
  display: none !important;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.wallet-address {
  font-size: 13px;
  color: #cfbddb;
}
.quiet {
  background: transparent;
  border: 0;
  color: #e5d2ed;
}
.header-create {
  border: 1px solid #a65ac0;
  border-radius: 12px;
  background: #4b255d;
  color: #fff6ee;
  padding: 11px 15px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}
.header-create:hover {
  filter: brightness(1.1);
}
.mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ead5f2;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}
.mode-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.mode-track {
  width: 39px;
  height: 23px;
  display: inline-block;
  border: 1px solid #8e5aa3;
  border-radius: 99px;
  background: #392249;
  position: relative;
  transition: background 0.18s;
}
.mode-track::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #e3c9ea;
  transition: transform 0.18s;
}
.mode-toggle input:checked + .mode-track {
  background: #8b38b7;
  border-color: #c775e9;
}
.mode-toggle input:checked + .mode-track::after {
  transform: translateX(16px);
  background: #fff3c9;
}
.mode-toggle input:focus-visible + .mode-track {
  outline: 3px solid #ffae39;
  outline-offset: 3px;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 26px 24px 45px;
}
.eyebrow {
  color: #ffae35;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.intro-jump {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ffc05f;
  border-radius: 13px;
  background: linear-gradient(105deg, #ffb337, #ff6900);
  box-shadow: 0 5px 0 #9b3d06;
  color: #1c0a0c;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  padding: 12px 19px;
  transition:
    transform 0.18s,
    filter 0.18s;
}
.intro-jump:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.intro-jump span {
  font-size: 19px;
  vertical-align: -1px;
  margin-left: 5px;
}

.message {
  padding: 12px 18px;
  border: 1px solid #724488;
  border-radius: 13px;
  background: #2d193a;
  color: #eddbf5;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
}
.message.error {
  border-color: #f98671;
  color: #ffe2dc;
}
.message a {
  color: #ffba5a;
  margin-left: 6px;
}
.panel {
  border: 1px solid #654071;
  border-radius: 26px;
  background: linear-gradient(150deg, #291832, #1c1125 85%);
  box-shadow: 0 15px 35px #08040d70;
  padding: 28px;
}
.reveal-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.status {
  white-space: nowrap;
  border: 1px solid #9559ad;
  border-radius: 99px;
  background: #4a2559;
  color: #ffbc5b;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 850;
}
.progress-text {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 38px 0 14px;
  color: #c9bad1;
}
.progress-text strong {
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.05em;
  color: #ffb34b;
  text-shadow: 0 3px 18px #ff730060;
}
.track {
  height: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #583768;
  background: #100917;
}
.track > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8921e5, #cb35e9 52%, #ff8300);
  box-shadow: 0 0 18px #a637f5;
  transition: width 0.35s;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 25px;
}
.facts > div {
  border: 1px solid #5d3a69;
  border-radius: 16px;
  background: #170d21;
  padding: 17px;
  min-width: 0;
}
.facts strong,
.facts a {
  display: block;
  font-size: 24px;
  font-weight: 850;
  color: #fff0e5;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.facts a:hover {
  color: #ffb344;
}
.facts span {
  display: block;
  color: #bdafc7;
  font-size: 12px;
  margin-top: 4px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.steps > div {
  text-align: center;
  border: 1px solid #4c3158;
  border-radius: 12px;
  padding: 11px 4px;
  background: #1a1024;
  color: #9f8cac;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.steps span {
  opacity: 0.7;
  margin-right: 3px;
}
.steps .done {
  color: #eacaf2;
  border-color: #794896;
}
.steps .active {
  color: #fff4e9;
  border-color: #b958df;
  background: #55266f;
}

.join {
  border-color: #9b50b0;
}
.join {
  scroll-margin-top: 24px;
}
.join h2 {
  font-size: 35px;
  letter-spacing: -0.05em;
  margin: 8px 0 12px;
}
.join > p {
  color: #cfbfd8;
  line-height: 1.55;
  font-size: 14px;
  margin: 0;
}
.receipt {
  border: 1px solid #5d3b69;
  border-radius: 17px;
  background: #180f22;
  padding: 16px 18px;
  margin: 22px 0;
}
.receipt > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
}
.receipt span {
  color: #baa9c5;
}
.receipt strong {
  text-align: right;
}
.join label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  margin: 15px 0 8px;
}
.field {
  display: flex;
  align-items: center;
  border: 1px solid #85509c;
  border-radius: 12px;
  background: #130a1b;
  overflow: hidden;
}
.field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 13px 15px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.field span {
  padding: 0 15px;
  color: #eacbef;
  font-weight: 800;
}
.primary {
  background: linear-gradient(105deg, #ffb337, #ff6900);
  border-color: #ffc05f;
  color: #1c0a0c;
  box-shadow: 0 5px 0 #9b3d06;
  font-size: 16px;
}
.primary:hover:not(:disabled) {
  box-shadow: 0 7px 17px #f70a;
}
.join .primary {
  width: 100%;
  margin-top: 14px;
}
.secondary {
  background: #482357;
  color: #f9e7fd;
}
.helper {
  /* biome-ignore lint/complexity/noImportantStyles: helper text, must win over the label and paragraph rules of each panel */
  color: #ae9bb9 !important;
  /* biome-ignore lint/complexity/noImportantStyles: helper text, must win over the label and paragraph rules of each panel */
  font-size: 12px !important;
  line-height: 1.5;
  /* biome-ignore lint/complexity/noImportantStyles: helper text, must win over the label and paragraph rules of each panel */
  margin: 17px 0 0 !important;
}
.reveal-section {
  margin-top: 20px;
  padding: 32px;
}
.reveal-heading h2 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.055em;
  margin: 6px 0 6px;
}
.reveal-heading p {
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 650px;
}
.simulation-badge {
  border: 1px solid #784a8c;
  border-radius: 99px;
  color: #d4b9dd;
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 900;
  white-space: nowrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.card {
  min-width: 0;
  border: 1px solid #71417f;
  border-radius: 18px;
  background: #1a1024;
  overflow: hidden;
  box-shadow: 0 14px 24px #0006;
}
.card-art {
  padding: 15px;
  background: radial-gradient(circle at 50% 20%, #743696, #180d24 80%);
  min-height: 260px;
  display: grid;
  place-items: center;
  position: relative;
}
.card-art img {
  display: block;
  max-width: 100%;
  width: auto;
  height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px #0009);
}

.card-body {
  padding: 16px;
}
.card-index {
  color: #f8ae43;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.card h3 {
  font-size: 18px;
  line-height: 1.1;
  margin: 7px 0;
}
.card p {
  color: #bdaac9;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0;
}
.card .outcome {
  color: #b6e7c9;
}
.card .mini-cta {
  width: 100%;
  padding: 10px;
  font-size: 12px;
  margin-top: 6px;
  background: #522568;
}
.reveal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.reveal-actions button {
  min-width: 180px;
}

footer {
  padding: 32px 4px 0;
  text-align: center;
  color: #8e7b9b;
  font-size: 12px;
}
footer a {
  color: #d9b3e7;
}
.create-main {
  max-width: 1100px;
}
.create-intro {
  padding: 38px 4px 26px;
}
.create-intro h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 12px 0 14px;
}
.create-intro p {
  color: #ccb9d6;
  line-height: 1.55;
  max-width: 660px;
  margin: 0;
}
.create-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.create-summary h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.05em;
  margin: 10px 0;
}
.create-summary > p {
  color: var(--color-text-muted);
  line-height: 1.55;
  font-size: 14px;
}

.create-summary .receipt {
  margin-top: 22px;
}
.pool-history {
  margin-top: 20px;
}
.pool-history h2 {
  font-size: 27px;
  margin: 8px 0 19px;
}
.pool-list {
  display: grid;
  gap: 9px;
}
.pool-list a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border: 1px solid #5d3b69;
  border-radius: 12px;
  background: #180f22;
  padding: 14px 16px;
  color: #f8eaf8;
  text-decoration: none;
}
.pool-list a:hover {
  border-color: #b567cd;
}
.pool-list span {
  color: #c4b1ce;
  font-size: 13px;
  text-align: right;
}
@media (max-width: 950px) {
  .join {
    max-width: none;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .create-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  main {
    padding: 17px 14px 35px;
  }
  .top-actions {
    gap: 6px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .wallet-address {
    display: none;
  }
  .header-create {
    font-size: 11px;
    padding: 9px;
  }
  .panel {
    padding: 21px;
    border-radius: 21px;
  }
  .facts {
    gap: 7px;
  }
  .facts > div {
    padding: 11px;
  }
  .facts strong,
  .facts a {
    font-size: 18px;
  }
  .facts span {
    font-size: 10px;
  }
  .steps > div {
    font-size: 10px;
  }
  .reveal-heading {
    display: block;
  }
  .simulation-badge {
    display: inline-block;
    margin-top: 16px;
  }
  .cards {
    gap: 10px;
  }
  .card-art {
    padding: 9px;
    min-height: 200px;
  }
  .card-art img {
    height: 195px;
  }
  .card-body {
    padding: 11px;
  }
  .card h3 {
    font-size: 15px;
  }
  .card p {
    font-size: 11px;
  }
  .reveal-actions button {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion, accessibility override of every animation */
    animation-duration: 0.01ms !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion, accessibility override of every animation */
    scroll-behavior: auto !important;
    /* biome-ignore lint/complexity/noImportantStyles: reduced motion, accessibility override of every animation */
    transition-duration: 0.01ms !important;
  }
}

/* Circle theme: colour tokens and overrides of the base styles above. */
:root {
  --ink: var(--color-bg);
  --surface: var(--color-surface);
  --border: var(--color-border);
  --paper: #ffffff;
  --muted: #9a75ce;
  --pull-orange: var(--color-accent);
  --circle-violet: var(--color-violet);
  --holo-lilac: #d7c2f4;
  --volt: var(--color-accent);
}
:root {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paper);
  background: var(--ink);
}
body {
  background: var(--ink);
  color: var(--paper);
}
.wallet-address,
.mode-toggle {
  color: var(--muted);
}
.mode-track {
  border-color: var(--border);
  background: var(--surface);
}
.mode-toggle input:checked + .mode-track {
  background: var(--circle-violet);
  border-color: var(--circle-violet);
}
button,
.header-create {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--paper);
  border-radius: 12px;
  box-shadow: none;
}
button:hover:not(:disabled),
.header-create:hover {
  filter: none;
  border-color: var(--holo-lilac);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline-color: var(--volt);
}
.eyebrow {
  color: var(--holo-lilac);
  font-size: 12px;
  letter-spacing: 0.095em;
}

.intro-jump,
.primary {
  background: var(--pull-orange);
  border: 1px solid var(--pull-orange);
  color: var(--ink);
  border-radius: 12px;
  box-shadow: none;
}
.intro-jump:hover,
.primary:hover:not(:disabled) {
  box-shadow: none;
  background: #ff8a60;
  filter: none;
}
.panel,
.pool-list a {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}
.panel {
  border-radius: 20px;
}
.message {
  background: var(--surface);
  border-color: var(--border);
  color: var(--paper);
}
.message a {
  color: var(--holo-lilac);
}
.join h2,
.reveal-heading h2 {
  color: var(--paper);
}
.status {
  background: #a24bff20;
  border: 1px solid var(--circle-violet);
  color: var(--holo-lilac);
}
.progress-text,
.join > p,
.create-intro p,
.create-summary > p,
.reveal-heading p {
  color: var(--muted);
}
.progress-text strong {
  color: var(--paper);
  text-shadow: none;
}
.track {
  background: var(--ink);
  border-color: var(--border);
  height: 12px;
}
.track > div {
  background: var(--pull-orange);
  box-shadow: none;
}
.facts > div,
.receipt,
.field,
.steps > div,
.card,
.pool-list a {
  background: var(--ink);
  border-color: var(--border);
  border-radius: 16px;
}
.facts strong,
.facts a {
  color: var(--paper);
}
.facts span,
.receipt span,
.helper {
  /* biome-ignore lint/complexity/noImportantStyles: helper text, must win over the label and paragraph rules of each panel */
  color: var(--muted) !important;
}
.steps .active {
  background: #a24bff20;
  border-color: var(--circle-violet);
  color: var(--paper);
}
.steps .done {
  color: var(--holo-lilac);
  border-color: var(--border);
}
.join {
  border-color: var(--border);
}
.field input {
  color: var(--paper);
}
.field span {
  color: var(--muted);
}
.secondary,
.header-create {
  background: transparent;
  color: var(--paper);
  border-color: var(--border);
}
.secondary:hover:not(:disabled),
.header-create:hover {
  background: var(--surface);
  border-color: var(--holo-lilac);
}
.simulation-badge {
  color: var(--holo-lilac);
  border-color: var(--border);
}
.card-index {
  color: var(--holo-lilac);
}
.card p {
  color: var(--muted);
}

.card {
  border-radius: 16px;
}
.card-art {
  background: var(--surface);
}
.card .mini-cta {
  background: #a24bff25;
  border-color: var(--circle-violet);
  color: var(--paper);
}

footer,
footer a {
  color: var(--muted);
}
.collector-crypt-note {
  display: grid;
  gap: 0.25rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(196, 255, 82, 0.25);
  border-radius: 14px;
  background: rgba(196, 255, 82, 0.06);
  color: var(--muted, #bdb5ca);
  font-size: 0.9rem;
  line-height: 1.45;
}

.collector-crypt-note strong {
  color: var(--text, #fff);
}
.collector-crypt-note a {
  color: #c4ff52;
  font-weight: 800;
  width: fit-content;
}
.card .collector-link {
  display: inline-block;
  margin-top: 0.65rem;
  color: #c4ff52;
  font-weight: 800;
}
