:root {
  --bg: #0b0907;
  --bg-2: #14100c;
  --ink: #f6ead2;
  --muted: #c4b08a;
  --gold: #e3c15a;
  --gold-2: #f3de95;
  --gold-deep: #9a7420;
  --collar: #2a4d3a;
  --collar-2: #4e7a5d;
  --line: rgba(227, 193, 90, 0.22);
  --glass: rgba(18, 14, 10, 0.62);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --display: "Cinzel", serif;
  --serif: "Cormorant Garamond", serif;
  --sans: "Outfit", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(227, 193, 90, 0.12), transparent 55%),
    radial-gradient(700px 420px at 90% 8%, rgba(42, 77, 58, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #100d0a 40%, var(--bg) 100%);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.grain,
#dust,
.orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 8;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

#dust { z-index: 2; }

.orb { z-index: 1; filter: blur(70px); }
.orb-a {
  width: 36vw; height: 36vw; left: -8vw; top: 12vh;
  background: radial-gradient(circle, rgba(227, 193, 90, 0.18), transparent 70%);
  animation: drift 18s ease-in-out infinite;
}
.orb-b {
  width: 28vw; height: 28vw; right: -6vw; top: 40vh;
  background: radial-gradient(circle, rgba(78, 122, 93, 0.2), transparent 70%);
  animation: drift 22s ease-in-out infinite reverse;
}
.orb-c {
  width: 22vw; height: 22vw; left: 40vw; bottom: -8vw;
  background: radial-gradient(circle, rgba(243, 222, 149, 0.1), transparent 70%);
  animation: drift 26s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
}

.cursor {
  display: none;
  position: fixed;
  width: 28px; height: 28px;
  border: 1px solid rgba(227, 193, 90, 0.7);
  border-radius: 50%;
  z-index: 40;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}
.cursor.hot {
  width: 48px; height: 48px;
  background: rgba(227, 193, 90, 0.08);
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 30;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2));
  box-shadow: 0 0 12px var(--gold);
}

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  z-index: 20;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 42px; height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(227, 193, 90, 0.35);
  animation: coinpulse 4.5s ease-in-out infinite;
}
.brand strong {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.16em;
  font-size: 13px;
}
.brand small {
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: 10px;
}

.links {
  display: flex;
  gap: 26px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.links a {
  position: relative;
  color: var(--muted);
}
.links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.links a:hover { color: var(--gold-2); }
.links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(227, 193, 90, 0.05);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.icon-btn img { width: 15px; height: 15px; }
.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(227, 193, 90, 0.28);
}

.menu {
  display: none;
  width: 38px; height: 38px;
  place-items: center;
  gap: 6px;
}
.menu span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--gold);
  transition: transform .3s;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 90px;
}

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: coinpulse 2.4s ease-in-out infinite;
}

h1 { margin: 18px 0 16px; }
.title-soft {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--muted);
}
.title-main {
  display: block;
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 112px);
  line-height: 0.88;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff6d2 0%, var(--gold) 42%, #8a6718 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(227, 193, 90, 0.18);
  animation: titleSheen 7s linear infinite;
  background-size: 100% 200%;
}
.title-coin {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  letter-spacing: 0.62em;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--gold-2);
}

@keyframes titleSheen {
  0% { background-position: 0 0; }
  50% { background-position: 0 100%; }
  100% { background-position: 0 0; }
}

.lede {
  max-width: 520px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.45;
  color: #efe3c6;
}

.ca-box {
  margin: 28px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(520px, 100%);
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(20, 16, 12, 0.7);
  box-shadow: inset 0 0 0 1px rgba(227, 193, 90, 0.05);
}
.ca-box span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.ca-box code {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--gold-2);
  word-break: break-all;
}
.ca-box button {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #1a1308;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.ca-box.copied button { background: var(--collar-2); color: #f6ead2; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.btn img { width: 16px; height: 16px; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.35) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 4.8s ease-in-out infinite;
}
.btn.gold {
  background: linear-gradient(180deg, #f4de98, #b88920);
  color: #1b1408;
  box-shadow: 0 10px 28px rgba(184, 137, 32, 0.28);
}
.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(227, 193, 90, 0.04);
  color: var(--gold-2);
}
.btn.ghost.light { border-color: rgba(255,255,255,.2); color: #fff; }
.btn:hover { transform: translateY(-3px); }

@keyframes shimmer {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.chain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}
.chain img { width: 22px; }

.relic {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  margin-left: auto;
  isolation: isolate;
  perspective: 900px;
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

.relic-halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 193, 90, 0.28), transparent 68%);
  filter: blur(18px);
  animation: coinpulse 5s ease-in-out infinite;
}

.relic-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(227, 193, 90, 0.28);
}
.relic-ring.outer {
  inset: 0;
  background:
    repeating-conic-gradient(from 0deg, rgba(227,193,90,.18) 0 3deg, transparent 3deg 7deg);
  mask: radial-gradient(circle, transparent 72%, #000 73%);
  animation: spin 28s linear infinite;
}
.relic-ring.mid {
  inset: 7%;
  border-color: rgba(243, 222, 149, 0.45);
  box-shadow: inset 0 0 30px rgba(227, 193, 90, 0.12), 0 0 40px rgba(227, 193, 90, 0.12);
  animation: spin 18s linear infinite reverse;
}

.relic-lens {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(201, 162, 55, 0.55);
  box-shadow:
    0 0 0 2px rgba(255, 236, 170, 0.25),
    0 20px 60px rgba(0, 0, 0, 0.45);
  background: #120e0a;
}
.relic-lens video,
.lens-fallback {
  width: 100%; height: 100%;
  object-fit: cover;
}
.lens-fallback {
  display: none;
  background:
    radial-gradient(circle at 40% 35%, rgba(243,222,149,.25), transparent 40%),
    radial-gradient(circle at 60% 70%, rgba(42,77,58,.35), #120e0a 70%);
}
.relic.novid .lens-fallback { display: block; }
.relic.novid video { display: none; }

.relic-logo {
  position: absolute;
  width: 34%;
  right: -2%;
  bottom: 6%;
  border-radius: 50%;
  z-index: 3;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.55));
  animation: floaty 6s ease-in-out infinite;
}

.relic-shine {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  mix-blend-mode: screen;
  animation: sweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes coinpulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(227,193,90,.25)); opacity: 1; }
  50% { filter: drop-shadow(0 0 22px rgba(227,193,90,.55)); opacity: .92; }
}
@keyframes sweep {
  0%, 40% { transform: translateX(-30%) rotate(8deg); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateX(30%) rotate(8deg); opacity: 0; }
}

.wave {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120vw;
  height: 90px;
  transform: translateX(-50%);
  fill: rgba(227, 193, 90, 0.05);
  animation: tide 9s ease-in-out infinite;
}
@keyframes tide {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-48%) translateY(-8px); }
}

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(20, 16, 12, 0.55);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
}
.ticker i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--collar-2);
  box-shadow: 0 0 8px var(--collar-2);
}
@keyframes marquee { to { transform: translateX(-50%); } }

section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 96px 0; }

.section-head { margin-bottom: 42px; max-width: 720px; }
.section-head h2,
.join-copy h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.tablet {
  position: relative;
  padding: 36px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(227,193,90,.08), rgba(20,16,12,.7));
  border: 1px solid var(--line);
  overflow: hidden;
}
.tablet-rim {
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(227,193,90,.2);
  border-radius: 22px;
  pointer-events: none;
}
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  margin-bottom: 20px;
}
.tablet p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.ledger { display: grid; gap: 16px; }
.ledger-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(16, 13, 10, 0.72);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.ledger-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227,193,90,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.ledger-card img, .g-mark {
  width: 28px; height: 28px;
  margin-bottom: 12px;
}
.g-mark {
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--display);
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #1b1408;
  font-weight: 700;
}
.ledger-card h3 {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 8px;
}
.ledger-card p { color: var(--muted); line-height: 1.6; }

.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.path-line {
  position: absolute;
  top: 78px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
}
.path-line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: run 5.5s linear infinite;
}
@keyframes run { from { left: 0; } to { left: 100%; } }

.step {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(14, 11, 8, 0.72);
  text-align: left;
}
.step-num {
  display: block;
  font-family: var(--display);
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 14px;
}
.step-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(227,193,90,.06);
  box-shadow: 0 0 20px rgba(227,193,90,.08);
}
.step-icon img { width: 30px; height: 30px; object-fit: contain; }
.step-icon.sol img { width: 36px; }
.step h3 {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 8px;
}
.step p { color: var(--muted); line-height: 1.6; min-height: 72px; }
.step a {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  border-bottom: 1px solid rgba(227,193,90,.3);
}

.chart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gold-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}
.chart-link img { width: 16px; }

.chart-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0b08;
  box-shadow: var(--shadow);
}
.mint-edge {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(227,193,90,.18);
  border-radius: 22px;
  pointer-events: none;
  z-index: 2;
}
.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 0;
  filter: saturate(0.92);
}

.joinus {
  width: min(1180px, calc(100% - 40px));
  padding-top: 40px;
}

.join-banner {
  position: relative;
  min-height: 560px;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.join-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: ken 22s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-12px); }
}
.join-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,6,4,.78) 0%, rgba(8,6,4,.28) 58%, rgba(8,6,4,.15) 100%);
}
.join-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 64px 48px;
}
.kicker.light { color: #f3de95; }
.join-copy p:not(.kicker) {
  margin: 16px 0 28px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.45;
}
.join-links { display: flex; flex-wrap: wrap; gap: 12px; }

.foot {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 56px;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  justify-items: center;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-brand img {
  width: 48px; height: 48px; border-radius: 50%;
}
.foot-brand strong {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.16em;
}
.foot-brand span, .foot p, .foot small { color: var(--muted); }
.foot p { font-family: var(--serif); font-size: 20px; max-width: 620px; }
.foot-icons { display: flex; gap: 10px; }
.foot-icons a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.foot-icons img { width: 16px; height: 16px; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise .9s ease forwards;
}
.reveal[data-delay="80"] { animation-delay: .08s; }
.reveal[data-delay="120"] { animation-delay: .12s; }
.reveal[data-delay="160"] { animation-delay: .16s; }
.reveal[data-delay="240"] { animation-delay: .24s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}

@media (max-width: 980px) {
  .links { display: none; }
  .links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    padding: 18px;
    border-radius: 22px;
    background: rgba(14, 11, 8, 0.96);
    border: 1px solid var(--line);
  }
  .menu { display: grid; }
  .hero, .about-grid, .path { grid-template-columns: 1fr; }
  .relic { margin: 20px auto 0; }
  .path-line { display: none; }
  .join-copy { padding: 36px 24px; }
  .chart-frame iframe { height: 520px; }
}

@media (max-width: 640px) {
  .nav { top: 10px; border-radius: 22px; }
  .hero { padding-top: 120px; }
  .ca-box { flex-direction: column; align-items: stretch; }
  .chart-frame iframe { height: 420px; }
}

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