:root {
  --black: #0c0a06;
  --brown: #1a1208;
  --panel: #14100b;
  --gold: #f6c84c;
  --gold-2: #fff1a6;
  --bronze: #b27422;
  --text: #fff8db;
  --muted: #b9aa86;
  --line: rgba(246, 200, 76, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 16%, rgba(246, 200, 76, 0.2), transparent 28%),
    linear-gradient(135deg, var(--black), var(--brown) 52%, #070604);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(246, 200, 76, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 200, 76, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 10, 6, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}

nav {
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

nav a {
  padding: 10px 13px;
  border-radius: 999px;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.buy,
.actions a,
.token button {
  color: #171006;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 52%, var(--bronze));
  font-weight: 950;
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 70px 0 42px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font: 800 12px "Courier New", ui-monospace, monospace;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7.8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(246, 200, 76, 0.38);
  animation: shine 3.4s ease-in-out infinite;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 999px;
}

.actions .secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.vault-card,
.panel,
.ticker-band,
.thesis {
  border: 1px solid var(--line);
  background: rgba(20, 16, 11, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.vault-card {
  overflow: hidden;
  border-radius: 28px;
}

.vault-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  color: var(--gold);
  font: 800 12px "Courier New", ui-monospace, monospace;
}

.portrait {
  padding: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 241, 166, 0.16), transparent 48%),
    #080704;
}

.portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 219, 0.16);
  border-radius: 20px;
  object-fit: cover;
  animation: float 4s ease-in-out infinite;
}

.vault-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.vault-meta p {
  margin: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.vault-meta p:last-child {
  border-right: 0;
}

.vault-meta span,
.ticker-band span,
dt {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font: 800 10px "Courier New", ui-monospace, monospace;
  text-transform: uppercase;
}

.vault-meta b {
  color: var(--gold-2);
  text-transform: uppercase;
}

.ticker-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 28px;
  border-radius: 24px;
  overflow: hidden;
}

.ticker-band div {
  min-height: 112px;
  padding: 22px;
}

.ticker-band div + div {
  border-left: 1px solid var(--line);
}

.ticker-band strong {
  font-size: clamp(20px, 2.4vw, 30px);
  text-transform: uppercase;
}

.terminal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: stretch;
}

.panel,
.thesis {
  border-radius: 24px;
  padding: 26px;
}

.panel h2,
.thesis h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rows {
  display: grid;
  gap: 14px;
}

.rows div {
  display: grid;
  grid-template-columns: 52px 170px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 248, 219, 0.12);
}

.rows span {
  color: var(--gold);
  font: 900 13px "Courier New", ui-monospace, monospace;
}

.rows h3 {
  margin-bottom: 0;
  font-size: 18px;
  text-transform: uppercase;
}

.rows p,
.thesis p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.token dl {
  margin: 0 0 24px;
}

.token dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 248, 219, 0.12);
}

dt,
dd {
  margin: 0;
}

dd {
  color: var(--gold-2);
  font-weight: 950;
  text-align: right;
  text-transform: uppercase;
}

.token button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.thesis {
  margin: 28px 0 54px;
}

.thesis p {
  max-width: 850px;
  font-size: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  color: var(--muted);
  font: 800 12px "Courier New", ui-monospace, monospace;
  text-transform: uppercase;
}

@keyframes shine {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.25);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 920px) {
  .hero,
  .terminal {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .vault-card {
    max-width: 520px;
  }

  .ticker-band {
    grid-template-columns: 1fr;
  }

  .ticker-band div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .rows div {
    grid-template-columns: 44px 1fr;
  }

  .rows p {
    grid-column: 2;
  }
}

@media (max-width: 660px) {
  .nav {
    align-items: flex-start;
    border-radius: 24px;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  nav a {
    padding: 8px 10px;
  }

  h1 {
    font-size: 50px;
  }

  footer {
    flex-direction: column;
  }
}
