:root {
  color-scheme: dark;
  --bg: #070603;
  --panel: rgba(16, 13, 7, 0.74);
  --panel-strong: rgba(18, 14, 7, 0.94);
  --line: rgba(255, 229, 126, 0.18);
  --line-strong: rgba(255, 235, 153, 0.38);
  --text: #fffaf0;
  --muted: #d2c8ad;
  --soft: #9c8f72;
  --cyan: #fff2b2;
  --green: #f6d24a;
  --gold: #f4c915;
  --amber: #ffdc73;
  --max: 1260px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(244, 201, 21, 0.16), transparent 30rem),
    radial-gradient(circle at 14% 78%, rgba(255, 250, 240, 0.06), transparent 28rem),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  content: "";
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 226, 77, 0.2), transparent 26rem),
    radial-gradient(circle at 22% 14%, rgba(255, 250, 240, 0.07), transparent 19rem),
    radial-gradient(circle at 50% 108%, rgba(244, 201, 21, 0.11), transparent 32rem),
    linear-gradient(118deg, rgba(7, 6, 3, 0.98) 0%, rgba(10, 8, 4, 0.96) 44%, rgba(24, 19, 7, 0.88) 72%, rgba(55, 42, 8, 0.72) 100%),
    #070603;
  opacity: 1;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  content: "";
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fffaf0' fill-opacity='0.078' d='M168 512 188 299c-38-6-64-31-78-82l40-16c12-48 50-75 100-75h31V89h53c34 0 59 27 59 62 0 23-10 44-30 60 19 31 30 70 30 113v59c0 43 17 68 52 68h67v61H168Z'/%3E%3Cpath fill='%23f4c915' fill-opacity='0.19' d='M202 202h65l-20 28h-45a14 14 0 0 1 0-28Z'/%3E%3C/svg%3E"),
    radial-gradient(circle at 74% 28%, rgba(244, 201, 21, 0.12), transparent 22rem),
    radial-gradient(circle at 26% 74%, rgba(255, 250, 240, 0.045), transparent 24rem),
    linear-gradient(90deg, rgba(7, 6, 3, 0.96) 0%, rgba(7, 6, 3, 0.72) 44%, rgba(7, 6, 3, 0.26) 72%, rgba(7, 6, 3, 0.68) 100%),
    repeating-linear-gradient(90deg, rgba(255, 229, 126, 0.018), rgba(255, 229, 126, 0.018) 1px, transparent 1px, transparent 92px),
    repeating-linear-gradient(0deg, rgba(255, 250, 240, 0.014), rgba(255, 250, 240, 0.014) 1px, transparent 1px, transparent 92px),
    linear-gradient(180deg, rgba(7, 6, 3, 0.04) 0%, rgba(7, 6, 3, 0.16) 48%, #070603 96%);
  background-position:
    center center,
    center,
    center,
    center,
    center,
    center,
    center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat, no-repeat;
  background-size:
    min(96vw, 1180px) auto,
    auto,
    auto,
    auto,
    auto,
    auto,
    auto;
  background-attachment: fixed;
}

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

button {
  font: inherit;
}

#constellation {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.28;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 250, 240, 0.018), rgba(255, 250, 240, 0.018) 1px, transparent 1px, transparent 6px),
    radial-gradient(circle at var(--mx, 72%) var(--my, 26%), rgba(244, 201, 21, 0.18), transparent 18rem);
  mix-blend-mode: screen;
  opacity: 0.34;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 320px;
  height: 320px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(244, 201, 21, 0.18), transparent 64%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 160ms ease;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: 70px;
  padding: 0 12px 0 16px;
  border: 1px solid rgba(255, 229, 126, 0.18);
  background: rgba(9, 8, 4, 0.72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 236, 102, 0.96), rgba(244, 201, 21, 0.96) 48%, rgba(207, 158, 0, 0.96));
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 12px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(244, 201, 21, 0.16),
    inset 0 1px 0 rgba(255, 250, 240, 0.36);
  isolation: isolate;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.brand-mark::before {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 38%),
    radial-gradient(circle at 76% 22%, rgba(255, 250, 240, 0.22), transparent 34%);
}

.brand-mark::after {
  inset: auto 7px 7px 7px;
  height: 1px;
  background: rgba(7, 6, 3, 0.2);
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  overflow: hidden;
}

.brand-logo-plate {
  fill: url("#brandGold");
}

.brand-logo-alpaca {
  fill: #fffdfa;
  filter: drop-shadow(0 4px 8px rgba(7, 6, 3, 0.12));
}

.brand-logo-eye {
  fill: #f4c915;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 0;
}

.brand-copy strong::before {
  content: "羊驼";
  font-size: 1.05rem;
}

.brand-copy small {
  overflow: hidden;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  font-size: 0;
}

.brand-copy small::before {
  content: "BSC MINT FACTORY";
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  justify-content: center;
}

.nav-links a {
  min-width: 76px;
  padding: 12px 10px;
  color: #d7cba9;
  font-size: 0.86rem;
  font-weight: 850;
  text-align: center;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover {
  color: var(--amber);
  background: rgba(244, 201, 21, 0.08);
}

.wallet-button,
.primary-action,
.secondary-action,
.phase-button,
.stepper button,
.mint-button {
  border: 0;
  cursor: pointer;
}

.wallet-button {
  justify-self: end;
  min-width: 154px;
  min-height: 46px;
  padding: 0 18px;
  color: #121006;
  font-weight: 950;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(255, 231, 106, 0.86) 44%, rgba(244, 201, 21, 0.96)),
    var(--gold);
  box-shadow: 0 18px 44px rgba(244, 201, 21, 0.18);
}

.wallet-modal[hidden] {
  display: none;
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.wallet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
}

.wallet-dialog {
  position: relative;
  width: min(100%, 520px);
  padding: 20px;
  border: 1px solid rgba(255, 229, 126, 0.22);
  background:
    linear-gradient(180deg, rgba(30, 24, 9, 0.92), rgba(9, 8, 4, 0.96)),
    rgba(16, 13, 7, 0.92);
  box-shadow: 0 44px 130px rgba(0, 0, 0, 0.62);
}

.wallet-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.wallet-dialog-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.95;
}

.wallet-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.wallet-options {
  display: grid;
  gap: 10px;
}

.wallet-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 229, 126, 0.15);
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.wallet-option:hover,
.wallet-option.is-detected {
  border-color: rgba(244, 201, 21, 0.42);
  background: rgba(244, 201, 21, 0.08);
}

.wallet-option strong {
  font-size: 1rem;
}

.wallet-option span {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.45;
}

.wallet-option small {
  align-self: start;
  min-width: 64px;
  padding: 4px 7px;
  color: var(--soft);
  font-weight: 950;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
}

.wallet-option.is-detected small {
  color: #03110d;
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.wallet-network-card {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.wallet-network-card span {
  display: block;
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-network-card strong {
  display: block;
  margin-top: 7px;
  color: var(--green);
}

.wallet-network-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.wallet-disconnect {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid rgba(255, 180, 92, 0.34);
  color: var(--amber);
  font: inherit;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.launch-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 122px 16px 126px;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-field::before,
.hero-field::after {
  position: absolute;
  content: "";
}

.hero-field::before {
  right: -18vw;
  top: 10vh;
  width: min(62vw, 820px);
  height: min(62vw, 820px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 48% 42%, rgba(255, 226, 77, 0.24), rgba(244, 201, 21, 0.08) 42%, transparent 68%);
  box-shadow:
    0 50px 180px rgba(244, 201, 21, 0.12);
  opacity: 1;
}

.hero-field::after {
  left: 9vw;
  bottom: 16vh;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 229, 126, 0.42), transparent);
  box-shadow:
    0 54px 0 rgba(255, 229, 126, 0.14),
    0 108px 0 rgba(255, 229, 126, 0.08);
}

.hero-alpaca {
  display: none;
}

.hero-alpaca rect {
  fill: transparent;
}

.hero-alpaca path:first-of-type {
  fill: rgba(255, 250, 240, 0.5);
}

.hero-alpaca path:last-of-type {
  fill: rgba(244, 201, 21, 0.36);
}

.launch-code {
  position: absolute;
  top: 48%;
  left: max(18px, calc((100vw - var(--max)) / 2 - 56px));
  display: flex;
  gap: 20px;
  align-items: center;
  color: rgba(255, 229, 126, 0.86);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(244, 201, 21, 0.18);
  transform: rotate(-90deg);
  transform-origin: left center;
}

.launch-code i {
  display: block;
  width: 104px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 229, 126, 0.95), rgba(255, 250, 240, 0.34), transparent);
  box-shadow: 0 0 16px rgba(244, 201, 21, 0.24);
}

.launch-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(386px, 448px);
  gap: 58px;
  align-items: center;
  width: min(100%, var(--max));
  min-height: calc(100svh - 256px);
  margin: 0 auto;
}

.mission-brief {
  max-width: 830px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  color: #fffaf0;
  font-size: clamp(5.2rem, 10vw, 9.2rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  text-wrap: balance;
}

.mission-lede {
  max-width: 690px;
  margin-bottom: 28px;
  color: #dfd2b1;
  font-size: clamp(1rem, 1.34vw, 1.18rem);
  line-height: 1.85;
}

.mission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 690px);
  margin-top: 22px;
  border: 1px solid var(--line);
  background: rgba(11, 9, 5, 0.54);
  backdrop-filter: blur(18px);
}

.assurance-strip div {
  min-width: 0;
  padding: 13px 15px;
  border-right: 1px solid var(--line);
}

.assurance-strip div:last-child {
  border-right: 0;
}

.assurance-strip span {
  display: block;
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.assurance-strip strong {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: #fff6df;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 950;
}

.primary-action {
  color: #121006;
  background: linear-gradient(135deg, #fff7cf, var(--gold), #d6a300);
  box-shadow: 0 22px 54px rgba(244, 201, 21, 0.22);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(255, 250, 240, 0.055);
}

.launch-terminal {
  position: relative;
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(255, 229, 126, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(31, 25, 9, 0.9), rgba(9, 8, 4, 0.96)),
    rgba(13, 10, 5, 0.92);
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(244, 201, 21, 0.08),
    inset 0 1px 0 rgba(255, 250, 240, 0.1);
  backdrop-filter: blur(30px);
}

.launch-terminal::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 229, 126, 0.52), transparent 22%, rgba(244, 201, 21, 0.24) 68%, transparent),
    radial-gradient(circle at 66% 0%, rgba(244, 201, 21, 0.24), transparent 18rem);
  border-radius: inherit;
  filter: blur(18px);
  opacity: 0.42;
}

.terminal-header,
.progress-meta,
.quantity-control,
.cost-row,
.feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.terminal-header {
  margin-bottom: 14px;
}

.terminal-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.24rem);
  line-height: 0.95;
}

.panel-kicker {
  margin-bottom: 8px;
  color: var(--amber);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 229, 126, 0.18);
  color: #f7e6a6;
  font-size: 0.76rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.06);
}

.status-pill.is-connected {
  border-color: rgba(244, 201, 21, 0.55);
  color: #121006;
  background: linear-gradient(135deg, rgba(255, 247, 207, 0.96), rgba(244, 201, 21, 0.94));
}

.launch-window {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 128px;
  margin-bottom: 14px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 229, 126, 0.22), transparent 9rem),
    linear-gradient(145deg, rgba(255, 250, 240, 0.09), rgba(255, 250, 240, 0.025)),
    rgba(12, 10, 5, 0.72);
}

.launch-window::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.04), transparent 30%, rgba(244, 201, 21, 0.06)),
    repeating-linear-gradient(90deg, rgba(255, 229, 126, 0.025), rgba(255, 229, 126, 0.025) 1px, transparent 1px, transparent 44px);
  pointer-events: none;
}

.alpaca-token {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 92px;
  height: 100px;
}

.alpaca-token svg {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 34px rgba(244, 201, 21, 0.14);
}

.alpaca-token img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 34px rgba(244, 201, 21, 0.14);
}

.alpaca-token rect {
  fill: url("#brandGold");
}

.alpaca-token path:first-of-type {
  fill: #fffdfa;
}

.alpaca-token path:last-of-type {
  fill: #f4c915;
}

.alpaca-token span {
  position: absolute;
  right: -4px;
  bottom: 2px;
  min-width: 64px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  color: #121006;
  background: linear-gradient(135deg, #fff7cf, var(--gold));
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-align: center;
}

.window-readout {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 0;
  border-top: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.window-readout strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 1.04rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-readout span {
  display: block;
  overflow: hidden;
  line-height: 1.55;
  text-overflow: ellipsis;
}

.phase-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.05);
}

.phase-button {
  min-height: 38px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 950;
  background: transparent;
}

.phase-button.is-active {
  color: #121006;
  background: linear-gradient(135deg, #fff7cf, var(--gold));
}

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.allocation-grid div {
  min-width: 0;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.045);
}

.allocation-grid span,
.metric-label {
  display: block;
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.allocation-grid strong {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: var(--amber);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-block {
  margin-bottom: 12px;
}

.progress-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.progress-meta strong {
  color: var(--amber);
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.09);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff7cf, var(--gold), #d6a300);
  box-shadow: 0 0 28px rgba(244, 201, 21, 0.32);
  transition: width 220ms ease;
}

.mint-controls {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
}

.quantity-control,
.cost-row {
  min-height: 46px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.045);
}

.stepper {
  display: grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  justify-items: center;
  height: 38px;
  border: 1px solid rgba(255, 229, 126, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.stepper button {
  width: 38px;
  height: 36px;
  color: var(--text);
  font-size: 1.2rem;
  background: transparent;
}

.stepper strong {
  color: var(--text);
}

.cost-row strong {
  color: var(--gold);
}

.mint-button {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  color: #121006;
  font-weight: 950;
  background: linear-gradient(135deg, #fff7cf, var(--gold), #d6a300);
  box-shadow: 0 22px 52px rgba(244, 201, 21, 0.22);
}

.feed-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 229, 126, 0.14);
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.045), rgba(255, 250, 240, 0.018)),
    rgba(0, 0, 0, 0.14);
}

.feed-row {
  justify-content: flex-start;
  min-height: 24px;
}

.feed-row p {
  margin: 0;
}

.feed-row strong {
  color: var(--text);
}

.feed-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(244, 201, 21, 0.86);
}

.platform-metrics {
  position: absolute;
  right: 16px;
  bottom: 24px;
  left: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--max));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(2, 8, 7, 0.66);
  backdrop-filter: blur(20px);
}

.platform-metrics div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.platform-metrics div:last-child {
  border-right: 0;
}

.metric-value {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-label {
  margin-top: 8px;
}

.queue-section,
.project-detail-section,
.creator-section,
.launch-standard-section,
.mechanics-section,
.intelligence-section,
.control-section,
.faq-section {
  position: relative;
  width: min(100%, var(--max));
  padding: 96px 16px;
  margin: 0 auto;
}

.section-head {
  max-width: 810px;
  margin-bottom: 30px;
}

.section-head.compact {
  max-width: 600px;
}

.section-head h2,
.control-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.queue-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.queue-filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.queue-filter.is-active {
  border-color: rgba(92, 255, 154, 0.44);
  color: #03110d;
  background: linear-gradient(135deg, rgba(236, 203, 120, 0.96), rgba(92, 255, 154, 0.88));
}

.market-shell {
  display: grid;
  gap: 14px;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(2, 8, 7, 0.52);
  backdrop-filter: blur(18px);
}

.market-stats div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.market-stats div:last-child {
  border-right: 0;
}

.market-stats span,
.project-contract-card span,
.factory-dock span,
.project-page-topline span {
  display: block;
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.market-stats strong,
.project-contract-card strong,
.factory-dock strong {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: var(--green);
  text-overflow: ellipsis;
  white-space: nowrap;
}

#projectSaleContract,
#projectTokenContract {
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  text-overflow: initial !important;
  white-space: normal !important;
  line-height: 1.35;
}

.creator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
  align-items: start;
}

.creator-console {
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(5, 14, 13, 0.76);
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
}

.creator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.creator-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 0.95;
}

.creator-head > span,
.creator-status span,
.requirements-board article > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(211, 255, 242, 0.16);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.04);
}

.creator-form,
.token-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-field,
.token-form-grid div {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.form-field label,
.form-field .form-label,
.token-form-grid span {
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(211, 255, 242, 0.16);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
  outline: none;
}

.form-field textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(92, 255, 154, 0.52);
  box-shadow: 0 0 0 3px rgba(92, 255, 154, 0.08);
}

.form-field select option {
  color: #06120f;
}

.form-field.span-2 {
  grid-column: 1 / -1;
}

.logo-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: stretch;
}

.logo-drop {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 229, 126, 0.15);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.042);
  cursor: pointer;
}

.logo-drop strong,
.logo-drop small {
  display: block;
}

.logo-drop strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 950;
}

.logo-drop small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.45;
}

.creator-logo-preview,
.project-page-logo {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 1px solid rgba(244, 201, 21, 0.46);
  border-radius: 18px;
  color: #121006;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Crect x='8' y='8' width='112' height='112' rx='24' fill='%23f4c915'/%3E%3Cpath fill='%23fffdfa' d='M42 118 47 73c-10-1-17-8-21-21l11-5c3-12 13-20 26-20h8V17h14c9 0 16 7 16 17 0 6-3 11-8 16 5 8 8 18 8 29v12c0 12 5 19 15 19v10H42Z'/%3E%3Cpath fill='%23f4c915' d='M51 50h17l-5 8H51a4 4 0 0 1 0-8Z'/%3E%3C/svg%3E") center / 76% auto no-repeat,
    linear-gradient(145deg, rgba(255, 247, 207, 0.14), rgba(244, 201, 21, 0.06));
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.22),
    0 0 34px rgba(244, 201, 21, 0.12);
}

.creator-logo-preview span,
.project-page-logo span {
  max-width: 54px;
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 950;
  text-align: center;
  background: rgba(255, 247, 207, 0.9);
}

.creator-logo-preview.has-custom-logo,
.project-page-logo.has-custom-logo {
  background: rgba(255, 250, 240, 0.05);
}

.creator-logo-preview img,
.project-page-logo img,
.project-logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#projectLogoInput {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.logo-clear-button {
  min-height: 82px;
  border: 1px solid rgba(255, 229, 126, 0.15);
  border-radius: 14px;
  color: var(--soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  background: rgba(255, 250, 240, 0.042);
  cursor: pointer;
}

.token-form-grid div {
  min-height: 68px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(211, 255, 242, 0.16);
  background: rgba(255, 255, 255, 0.028);
}

.token-form-grid strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  color: #e9f8f3;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.creator-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.creator-action {
  min-height: 46px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.creator-action.primary {
  border: 0;
  color: #03110d;
  background: linear-gradient(135deg, var(--gold), var(--green), var(--cyan));
}

.creator-action.danger {
  border-color: rgba(255, 180, 92, 0.34);
  color: var(--amber);
}

.creator-feedback {
  min-height: 46px;
  padding: 12px 14px;
  margin: 12px 0 0;
  border: 1px solid rgba(211, 255, 242, 0.14);
  color: var(--muted);
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.035);
}

.creator-feedback.is-success {
  border-color: rgba(92, 255, 154, 0.48);
  color: var(--text);
  background: linear-gradient(135deg, rgba(92, 255, 154, 0.16), rgba(131, 248, 255, 0.08));
  box-shadow: 0 0 0 3px rgba(92, 255, 154, 0.05);
}

.creator-feedback.is-warning {
  border-color: rgba(236, 203, 120, 0.46);
  color: var(--gold);
  background: rgba(236, 203, 120, 0.08);
}

.factory-dock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.factory-dock div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(211, 255, 242, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.creator-status span:first-child,
.requirements-board article:nth-child(-n + 2) > span,
.builder-preview article:first-child > span {
  border-color: rgba(92, 255, 154, 0.38);
  color: #03110d;
  background: linear-gradient(135deg, rgba(92, 255, 154, 0.94), rgba(131, 248, 255, 0.84));
}

.builder-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.builder-preview article {
  min-height: 196px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 14, 13, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.builder-preview article > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(211, 255, 242, 0.16);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.04);
}

.builder-preview h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.builder-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.preview-grid div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(211, 255, 242, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.preview-grid small {
  display: block;
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
}

.preview-grid strong {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: var(--green);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.requirements-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.requirements-board article {
  min-height: 196px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 14, 13, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.requirements-board h3 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
}

.requirements-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.mechanics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  align-items: start;
}

.issuer-console {
  position: sticky;
  top: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(5, 14, 13, 0.76);
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
}

.issuer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.issuer-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 0.95;
}

.issuer-head > span {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 8px 10px 0;
  border: 1px solid rgba(211, 255, 242, 0.16);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.launch-mode {
  min-height: 40px;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  background: transparent;
  cursor: pointer;
}

.launch-mode.is-active {
  color: #03110d;
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.blueprint-grid div {
  min-width: 0;
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid rgba(211, 255, 242, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.blueprint-grid span {
  display: block;
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blueprint-grid strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  color: #e9f8f3;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.issuer-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.75;
}

.mechanics-flow {
  display: grid;
  gap: 10px;
}

.mechanics-flow article {
  position: relative;
  min-height: 132px;
  padding: 20px 22px 20px 72px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 14, 13, 0.68);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.mechanics-flow article > span {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(236, 203, 120, 0.34);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.mechanics-flow h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.mechanics-flow p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 12px;
  justify-content: center;
}

.market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
}

.launch-card,
.control-board article,
.faq-list details {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(5, 14, 13, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.launch-card {
  position: relative;
  min-height: 286px;
  padding: 24px;
  overflow: hidden;
}

.launch-card.is-live {
  min-height: 330px;
}

.project-card {
  min-height: 390px;
}

.project-card.is-selected {
  border-color: rgba(92, 255, 154, 0.58);
  box-shadow:
    0 28px 84px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(92, 255, 154, 0.18);
}

.launch-card::after {
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 180px;
  height: 180px;
  content: "";
  border: 1px solid rgba(236, 203, 120, 0.22);
  transform: rotate(45deg);
}

.launch-orb {
  width: 62px;
  height: 62px;
  margin-bottom: 38px;
  border: 1px solid rgba(92, 255, 154, 0.54);
  background:
    radial-gradient(circle, rgba(92, 255, 154, 0.92), rgba(92, 255, 154, 0.1) 54%, transparent 68%),
    rgba(4, 16, 14, 0.86);
  box-shadow: 0 0 34px rgba(92, 255, 154, 0.26);
}

.launch-orb.gold {
  border-color: rgba(236, 203, 120, 0.58);
  background: radial-gradient(circle, rgba(236, 203, 120, 0.92), rgba(236, 203, 120, 0.08) 58%, transparent 70%);
}

.launch-orb.cyan {
  border-color: rgba(131, 248, 255, 0.58);
  background: radial-gradient(circle, rgba(131, 248, 255, 0.9), rgba(131, 248, 255, 0.08) 58%, transparent 70%);
}

.launch-status {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launch-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.launch-card p,
.intel-card p,
.control-copy p,
.control-board p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.launch-card strong {
  display: block;
  margin-top: 26px;
  color: var(--gold);
}

.launch-card.is-hidden {
  display: none;
}

.card-specs {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.card-specs span {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(211, 255, 242, 0.12);
  color: #cbd9d5;
  font-size: 0.78rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.035);
}

.card-progress {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.card-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--cyan));
}

.project-card-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.project-card-actions button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.project-card-actions button:last-child {
  border: 0;
  color: #03110d;
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.project-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 14px;
  align-items: stretch;
}

.project-hero-card,
.project-contract-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(5, 14, 13, 0.72);
  box-shadow: 0 30px 88px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

.project-hero-card {
  min-height: 430px;
  padding: 26px;
}

.project-page-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 42px;
}

.project-page-topline strong {
  color: var(--gold);
  font-size: 0.86rem;
}

.project-page-logo {
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
}

.project-hero-card h3 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.92;
}

.project-hero-card p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.76;
}

.project-progress-stack {
  margin-top: 34px;
}

.project-page-numbers {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.project-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.project-page-actions .primary-action,
.project-page-actions .secondary-action {
  border: 0;
  cursor: pointer;
}

.project-contract-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.project-contract-card div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(211, 255, 242, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.project-contract-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.standard-grid article {
  position: relative;
  min-height: 236px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 14, 13, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.standard-grid article::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 38px;
  height: 38px;
  content: "";
  border: 1px solid rgba(92, 255, 154, 0.26);
  transform: rotate(45deg);
}

.standard-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border: 1px solid rgba(236, 203, 120, 0.32);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.standard-grid h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.standard-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.standard-grid strong {
  display: block;
  margin-top: 20px;
  color: var(--green);
  font-size: 0.88rem;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.intel-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 14, 13, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.intel-card::after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  content: "";
  border: 1px solid rgba(236, 203, 120, 0.24);
  transform: rotate(45deg);
}

.intel-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 36px;
  border: 1px solid rgba(236, 203, 120, 0.32);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.intel-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.intel-card strong {
  display: block;
  margin-top: 22px;
  color: var(--green);
  font-size: 0.9rem;
}

.control-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 44px;
  align-items: start;
}

.control-copy {
  position: sticky;
  top: 132px;
}

.control-copy h2 {
  margin-bottom: 20px;
}

.control-board {
  display: grid;
  gap: 12px;
}

.control-board article {
  min-height: 158px;
  padding: 24px;
}

.control-board span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.control-board strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 950;
}

.faq-list p {
  margin-top: 12px;
}

/* Alpaca brand polish for lower sections */
.platform-metrics,
.market-stats,
.creator-console,
.builder-preview article,
.requirements-board article,
.issuer-console,
.mechanics-flow article,
.launch-card,
.project-hero-card,
.project-contract-card,
.standard-grid article,
.intel-card,
.control-board article,
.faq-list details {
  border-color: rgba(255, 229, 126, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.055), rgba(255, 250, 240, 0.018)),
    rgba(14, 11, 5, 0.76);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 250, 240, 0.06);
}

.market-stats strong,
.project-contract-card strong,
.factory-dock strong,
.allocation-grid strong,
.preview-grid strong,
.standard-grid strong,
.intel-card strong,
.launch-status {
  color: var(--amber);
}

.queue-filter,
.creator-action,
.project-card-actions button,
.form-field input,
.form-field select,
.form-field textarea,
.factory-dock div,
.preview-grid div,
.project-contract-card div,
.blueprint-grid div,
.token-form-grid div {
  border-color: rgba(255, 229, 126, 0.15);
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.042);
}

.queue-filter.is-active,
.creator-action.primary,
.launch-mode.is-active,
.project-card-actions button:last-child,
.creator-status span:first-child,
.requirements-board article:nth-child(-n + 2) > span,
.builder-preview article:first-child > span {
  color: #121006;
  background: linear-gradient(135deg, #fff7cf, var(--gold), #d6a300);
  border-color: rgba(255, 229, 126, 0.34);
}

.project-card.is-selected {
  border-color: rgba(244, 201, 21, 0.64);
  box-shadow:
    0 28px 84px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(244, 201, 21, 0.2),
    0 0 54px rgba(244, 201, 21, 0.08);
}

.launch-card::after,
.standard-grid article::after,
.intel-card::after {
  border-color: rgba(255, 229, 126, 0.18);
  border-radius: 10px;
}

.launch-orb,
.launch-orb.gold,
.launch-orb.cyan {
  border-color: rgba(244, 201, 21, 0.46);
  border-radius: 18px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Crect x='8' y='8' width='112' height='112' rx='24' fill='%23f4c915'/%3E%3Cpath fill='%23fffdfa' d='M42 118 47 73c-10-1-17-8-21-21l11-5c3-12 13-20 26-20h8V17h14c9 0 16 7 16 17 0 6-3 11-8 16 5 8 8 18 8 29v12c0 12 5 19 15 19v10H42Z'/%3E%3Cpath fill='%23f4c915' d='M51 50h17l-5 8H51a4 4 0 0 1 0-8Z'/%3E%3C/svg%3E") center / 76% auto no-repeat,
    linear-gradient(145deg, rgba(255, 247, 207, 0.14), rgba(244, 201, 21, 0.06));
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(244, 201, 21, 0.14);
}

.launch-orb.has-custom-logo,
.launch-orb.gold.has-custom-logo,
.launch-orb.cyan.has-custom-logo {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.05);
}

.card-specs span {
  border-color: rgba(255, 229, 126, 0.12);
  border-radius: 999px;
  color: #e6d8b5;
  background: rgba(255, 250, 240, 0.034);
}

.card-progress,
.progress-track {
  background: rgba(255, 250, 240, 0.08);
}

.card-progress i,
.progress-track span {
  background: linear-gradient(90deg, #fff7cf, var(--gold), #d6a300);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(244, 201, 21, 0.56);
  box-shadow: 0 0 0 3px rgba(244, 201, 21, 0.08);
}

.creator-feedback.is-success {
  border-color: rgba(244, 201, 21, 0.48);
  background: linear-gradient(135deg, rgba(244, 201, 21, 0.13), rgba(255, 250, 240, 0.045));
  box-shadow: 0 0 0 3px rgba(244, 201, 21, 0.045);
}

.mode-switch,
.phase-toggle,
.creator-status,
.issuer-note {
  border-color: rgba(255, 229, 126, 0.16);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 580ms ease,
    transform 580ms ease;
}

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

@keyframes slowSpin {
  to {
    transform: rotate(405deg);
  }
}

@keyframes ignitionPulse {
  0%,
  100% {
    opacity: 0.56;
    transform: scaleX(0.82);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.12);
  }
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .launch-code {
    display: none;
  }

  .launch-stage,
  .control-section {
    grid-template-columns: 1fr;
  }

  .launch-stage {
    min-height: 0;
  }

  .hero-alpaca {
    top: 100px;
    right: 18px;
    width: min(44vw, 360px);
    min-width: 240px;
    opacity: 0.34;
  }

  .launch-terminal {
    max-width: 540px;
  }

  .platform-metrics,
  .launch-grid,
  .market-grid,
  .market-stats,
  .project-page-layout,
  .standard-grid,
  .creator-layout,
  .builder-preview,
  .mechanics-layout,
  .intel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issuer-console {
    position: static;
  }

  .platform-metrics div:nth-child(2) {
    border-right: 0;
  }

  .platform-metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .control-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  body::before {
    opacity: 1;
  }

  body::after {
    background-position:
      center center,
      center,
      center,
      center,
      center,
      center,
      center;
    background-size:
      620px auto,
      auto,
      auto,
      auto,
      auto,
      auto,
      auto;
  }

  .topbar {
    top: 12px;
    width: min(calc(100% - 22px), var(--max));
    min-height: 66px;
    padding: 0 10px 0 12px;
  }

  .brand-copy strong {
    max-width: 88px;
  }

  .brand-copy small {
    display: none;
  }

  .wallet-button {
    min-width: 124px;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .cursor-glow {
    display: none;
  }

  .launch-hero {
    padding: 104px 12px 18px;
  }

  .launch-stage {
    gap: 28px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero-alpaca {
    top: 86px;
    right: -72px;
    width: 270px;
    min-width: 0;
    opacity: 0.18;
  }

  h1 {
    font-size: clamp(3.16rem, 15.2vw, 4.55rem);
    line-height: 0.9;
  }

  .mission-lede {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .mission-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .primary-action,
  .secondary-action {
    min-width: 0;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .launch-terminal {
    width: 100%;
    max-width: calc(100vw - 24px);
    padding: 16px;
  }

  .launch-window {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 116px;
    padding: 12px;
  }

  .alpaca-token {
    width: 78px;
    height: 86px;
  }

  .alpaca-token svg {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .alpaca-token span {
    right: -2px;
    bottom: 0;
    min-width: 54px;
    padding: 3px 6px;
    font-size: 0.58rem;
  }

  .mission-brief {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .terminal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .window-readout {
    align-items: flex-start;
    flex-direction: column;
  }

  .allocation-grid,
  .platform-metrics,
  .launch-grid,
  .market-grid,
  .market-stats,
  .project-page-layout,
  .standard-grid,
  .intel-grid,
  .assurance-strip {
    grid-template-columns: 1fr;
  }

  .assurance-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .assurance-strip div:last-child {
    border-bottom: 0;
  }

  .platform-metrics {
    position: static;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-top: 24px;
  }

  .platform-metrics div,
  .market-stats div,
  .platform-metrics div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-metrics div:last-child,
  .market-stats div:last-child {
    border-bottom: 0;
  }

  .queue-section,
  .project-detail-section,
  .creator-section,
  .launch-standard-section,
  .mechanics-section,
  .intelligence-section,
  .control-section,
  .faq-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-head h2,
  .control-copy h2 {
    font-size: clamp(2.08rem, 10.4vw, 3.15rem);
  }

  .launch-card,
  .launch-card.is-live,
  .intel-card,
  .standard-grid article,
  .mechanics-flow article {
    min-height: 236px;
  }

  .mechanics-layout,
  .creator-layout,
  .requirements-board,
  .builder-preview,
  .factory-dock,
  .token-form-grid,
  .creator-form,
  .blueprint-grid {
    grid-template-columns: 1fr;
  }

  .issuer-head {
    flex-direction: column;
  }

  .mode-switch {
    grid-template-columns: 1fr;
  }

  .creator-actions {
    grid-template-columns: 1fr;
  }

  .logo-upload-row {
    grid-template-columns: 1fr;
  }

  .logo-clear-button {
    min-height: 44px;
  }

  .project-hero-card {
    min-height: 0;
    padding: 22px;
  }

  .project-card-actions,
  .project-page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mechanics-flow article {
    padding-left: 22px;
  }

  .mechanics-flow article > span {
    position: static;
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
