:root {
  color-scheme: dark;
  --ink: #0a1428;
  --gold: #f4cb70;
  --white: #f8f3e9;
  --muted: #aeb9cf;
  --border: #344058;
  font-family: system-ui, sans-serif;
  background: var(--ink);
  color: var(--white);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 78% 14%, #1c355a 0, transparent 47%), var(--ink);
}
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid var(--border); }
.brand, nav, .actions, .mint-actions { display: flex; align-items: center; gap: 16px; }
.brand { gap: 10px; font-weight: 800; letter-spacing: .13em; text-decoration: none; }
.brand img { border-radius: 50%; object-fit: cover; }
nav a, footer a, .mint-actions a { font-weight: 650; text-decoration: none; }
nav a:hover, footer a:hover, .mint-actions a:hover { color: var(--gold); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr minmax(280px, 42%); align-items: center; gap: clamp(26px, 5vw, 70px); padding-block: clamp(44px, 7vw, 96px); }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: .73rem; letter-spacing: .16em; font-weight: 750; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 6px; }
h1, h2, dd { font-family: Georgia, serif; }
h1 { font-size: clamp(4.1rem, 10vw, 8.75rem); line-height: .84; letter-spacing: -.07em; margin: 17px 0 24px; }
h1 span, .coin span { color: var(--gold); }
.lede, .ledger > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; line-height: 1.6; max-width: 36rem; }
.launch {
  max-width: 27rem;
  margin-top: 24px;
  padding: clamp(12px, 2.5vw, 20px);
  border: 1px solid #74613c;
  border-radius: 12px;
  background: #111e34;
}
.launch .eyebrow { margin-bottom: 6px; }
.launch time { color: var(--muted); font-size: .9rem; }
.launch-countdown:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 10px);
  margin-top: 14px;
}
.launch-countdown > div {
  padding: 8px 2px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--ink);
  text-align: center;
}
.launch-countdown strong {
  display: block;
  color: var(--gold);
  font-size: clamp(1.25rem, 4vw, 2.1rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.launch-digit { display: inline-block; position: relative; overflow: hidden; vertical-align: top; }
.launch-digit > span { display: block; }
.launch-digit > .launch-digit-outgoing { position: absolute; inset: 0; }
.launch-countdown > div > span { color: var(--muted); font-size: clamp(.65rem, 2vw, .78rem); }
.launch-status { margin: 0; color: var(--gold); font-weight: 650; }
.launch-status:not(:empty) { margin-top: 12px; }
.actions { flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 10px 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary { background: var(--gold); color: #111b2a; }
.primary:hover { background: #ffe2a1; }
.secondary { background: #152138; border-color: #4d5b73; color: var(--white); }
.secondary:hover { border-color: var(--gold); }
.coin {
  margin: 0;
  border: 1px solid #74613c;
  border-radius: 18px;
  background: linear-gradient(150deg, #182b47, #091226 78%);
  box-shadow: inset 0 1px #f5cc6840, 0 24px 65px #0006;
  overflow: hidden;
}
.coin-stage {
  display: grid;
  position: relative;
  isolation: isolate;
  place-items: center;
  aspect-ratio: 1;
  perspective: 850px;
  background: radial-gradient(ellipse at 36% 20%, #9f754534, transparent 50%),
              radial-gradient(ellipse at 50% 52%, #f3bf4d22, transparent 63%);
}
.coin-stage::before, .coin-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.coin-stage::before { inset: 9%; border: 1px solid #f4cb7029; border-radius: 50%; }
.coin-stage::after { inset: 79% 14% 8%; border-radius: 50%; background: #020714; filter: blur(14px); opacity: .9; }
.coin-tilt {
  width: 77%;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .24s ease-out;
}
.coin-body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-9deg);
}
.coin-edge, .coin-face { position: absolute; inset: 0; border-radius: 50%; }
.coin-edge {
  transform: translate3d(3px, 9px, -8px);
  background: repeating-linear-gradient(100deg, transparent 0 4px, #48250388 5px 6px),
              linear-gradient(126deg, #fff0a2, #c88423 35%, #552b07 76%, #e3a43d 96%);
  border: 2px solid #9b611e;
  box-shadow: 4px 18px 27px #000a;
}
.coin-face { overflow: hidden; transform: translateZ(7px); border: 1px solid #ffe394; background: #a36216; }
.coin-face img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.027); }
.coin-glint {
  position: absolute;
  inset: 0;
  background: linear-gradient(117deg, transparent 31%, #ffeab04d 46%, #fff5d263 49%, #ffeab02b 54%, transparent 70%);
  transform: translateX(-115%);
  pointer-events: none;
}
.coin figcaption { padding: 13px 8px; border-top: 1px solid #f4cb7030; text-align: center; font-size: .73rem; font-weight: 750; letter-spacing: .18em; }
.coin figcaption span { margin-inline: 7px; }
.supply-strip { display: grid; grid-template-columns: 3fr 1fr; gap: 8px; margin-top: 18px; color: var(--muted); font-size: .8rem; }
.supply-strip > span:nth-child(2) { text-align: right; }
.supply-track { grid-column: 1 / -1; height: 6px; border-radius: 9px; background: #566887; overflow: hidden; }
.supply-track::before { content: ""; display: block; width: 75%; height: 100%; background: linear-gradient(90deg, #b27629, #f4cb70); border-radius: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .coin-body { animation: coin-settle 4.5s ease-in-out; }
  .coin-glint { animation: coin-reflection 4.5s ease-in-out; }
  .coin-stage:hover .coin-glint { animation: none; transform: translateX(var(--light, -115%)); transition: transform .25s ease-out; }
  @keyframes coin-settle {
    0% { transform: translateY(11px) rotateX(13deg) rotateY(-21deg); }
    48% { transform: translateY(-8px) rotateX(0deg) rotateY(9deg); }
    100% { transform: rotateX(6deg) rotateY(-9deg); }
  }
  @keyframes coin-reflection {
    0%, 18% { transform: translateX(-115%); }
    75%, 100% { transform: translateX(115%); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .coin-tilt { transform: none; transition: none; }
}
.ledger { padding-block: 42px 60px; border-top: 1px solid var(--border); }
h2 { margin: 8px 0 0; font-size: clamp(2.3rem, 6vw, 4.15rem); letter-spacing: -.045em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 0; border: 1px solid var(--border); border-radius: 12px; background: #111e34; }
.stats div { padding: clamp(14px, 3vw, 30px); }
.stats div + div { border-left: 1px solid var(--border); }
.stats dt { color: var(--muted); font-size: .92rem; }
.stats dd { margin: 5px 0 0; color: var(--gold); font-size: clamp(1.65rem, 4.6vw, 3.25rem); letter-spacing: -.04em; }
.mint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 30px; }
.mint > div { min-width: 0; }
.mint .eyebrow { margin-bottom: 8px; }
.mint code { overflow-wrap: anywhere; color: var(--white); font-size: .94rem; }
.mint-actions { flex-wrap: wrap; font-size: .88rem; }
footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px 30px; border-top: 1px solid var(--border); color: var(--muted); font-size: .86rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 520px); }
  .topbar { min-height: 64px; }
  .hero { grid-template-columns: 1fr; }
  .coin { width: min(100%, 380px); }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--border); }
}
