:root {
  --void: #030705;
  --ink: #07110a;
  --panel: rgba(10, 22, 14, 0.72);
  --green: #1d9c3e;
  --leaf: #2fd45a;
  --neon: #3ee06a;
  --mint: #b8ffd0;
  --paper: #f3f7f4;
  --mute: #8b9c8e;
  --line: rgba(62, 224, 106, 0.22);
  --glow: rgba(29, 156, 62, 0.45);
  --display: "Exo 2", sans-serif;
  --serif: "Cinzel", serif;
  --body: "Sora", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--void);
  color: var(--paper);
  font-family: var(--body);
}

body {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020503;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2fd45a, #145c2a);
  border-radius: 999px;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite alternate;
}

.aurora-a {
  top: -12vw;
  left: -8vw;
  background: radial-gradient(circle, #1d9c3e 0%, transparent 68%);
}

.aurora-b {
  right: -10vw;
  bottom: 8vh;
  background: radial-gradient(circle, #0a4a22 0%, transparent 70%);
  animation-delay: -7s;
}

.circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.trace {
  fill: none;
  stroke: var(--neon);
  stroke-width: 1.15;
  stroke-linecap: square;
  stroke-dasharray: 12 18;
  animation: crawl 9s linear infinite;
}

.t2,
.t4 {
  animation-direction: reverse;
}

.node {
  fill: var(--leaf);
  animation: pulse 2.4s ease-in-out infinite;
}

.n2 { animation-delay: 0.4s; }
.n3 { animation-delay: 0.8s; }
.n4 { animation-delay: 1.2s; }

.dot-map {
  position: absolute;
  inset: 18% 12%;
  background-image: radial-gradient(circle, rgba(61, 224, 106, 0.18) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  opacity: 0.45;
  animation: mapdrift 40s linear infinite;
}

.grain,
.vignette {
  position: absolute;
  inset: 0;
}

.grain {
  opacity: 0.045;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(3, 7, 5, 0.78) 100%);
}

.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-rail-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--neon));
  box-shadow: 0 0 12px var(--glow);
}

.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 4vw;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.masthead.scrolled {
  background: rgba(3, 7, 5, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.sigil {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sigil img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 18px var(--glow);
  animation: sealglow 3.6s ease-in-out infinite;
}

.sigil strong {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sigil small {
  display: block;
  color: var(--mute);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.92rem;
  color: var(--mute);
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--paper);
}

.buy-chip,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.buy-chip {
  padding: 0.55rem 1rem;
  background: var(--green);
  color: var(--paper) !important;
  box-shadow: 0 0 18px var(--glow);
}

.buy-chip:hover,
.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--glow);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.menu-btn i {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.3s ease, top 0.3s ease;
}

.menu-btn i:first-child { top: 16px; }
.menu-btn i:last-child { top: 24px; }

.menu-btn.open i:first-child {
  top: 20px;
  transform: rotate(40deg);
}

.menu-btn.open i:last-child {
  top: 20px;
  transform: rotate(-40deg);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 7.5rem 4vw 0;
  display: flex;
  flex-direction: column;
}

.hero-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 72vh;
  perspective: 980px;
}

.stage-core {
  position: relative;
  width: min(640px, 88vw);
  height: min(420px, 68vw);
  display: grid;
  place-items: center;
}

.pedestal {
  position: absolute;
  width: min(640px, 88vw);
  height: min(640px, 88vw);
  pointer-events: none;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(62, 224, 106, 0.18);
}

.r-a {
  animation: spin 28s linear infinite;
  border-style: dashed;
}

.r-b {
  inset: 9%;
  animation: spin 18s linear infinite reverse;
  border-color: rgba(62, 224, 106, 0.32);
}

.r-c {
  inset: 20%;
  box-shadow: 0 0 80px rgba(29, 156, 62, 0.18), inset 0 0 60px rgba(29, 156, 62, 0.08);
}

.flare {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 46%;
  height: 18%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(62, 224, 106, 0.45), transparent 70%);
  filter: blur(8px);
  animation: breathe 3.4s ease-in-out infinite;
}

.vault {
  position: relative;
  width: min(320px, 62vw);
  height: min(320px, 62vw);
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 2px rgba(243, 247, 244, 0.18), 0 0 70px var(--glow);
  animation: floaty 6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  width: min(420px, 78vw);
  height: min(420px, 78vw);
  pointer-events: none;
  animation: spin 14s linear infinite;
}

.orbit b {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--glow);
}

.orbit b:nth-child(1) { top: 0; left: 50%; }
.orbit b:nth-child(2) { right: 8%; top: 62%; background: #fff; }
.orbit b:nth-child(3) { left: 6%; top: 38%; }

.vault video,
.vault-seal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vault video {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.vault.has-video video {
  opacity: 0.55;
}

.vault.no-video video {
  display: none;
}

.vault-seal {
  mix-blend-mode: normal;
  transform: scale(0.92);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.vault-glint {
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.18), transparent 60%);
  animation: sweep 5.5s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: 1.4rem;
  text-align: center;
  max-width: 860px;
}

.eyebrow,
.kicker {
  font-family: var(--serif);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--mint);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 10, 0.55);
}

h1 {
  margin: 1rem 0 0.35rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.word-true {
  display: block;
  color: #fff;
}

.word-btc {
  display: block;
  background: linear-gradient(180deg, #7dff9a 0%, #1d9c3e 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(61, 224, 106, 0.25));
}

.ticker {
  margin: 0.4rem 0 0;
  font-family: var(--mono);
  letter-spacing: 0.32em;
  color: var(--leaf);
}

.tagline {
  margin: 0.8rem auto 0;
  max-width: 28rem;
  color: var(--mute);
  font-size: 1.08rem;
}

.ca {
  margin: 1.4rem auto 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(720px, 100%);
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 17, 10, 0.72);
  backdrop-filter: blur(10px);
}

.ca span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--leaf);
  text-transform: uppercase;
}

.ca code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--paper);
}

.copy-btn {
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  background: rgba(29, 156, 62, 0.2);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-btn.copied {
  background: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.btn {
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

.btn-fill {
  background: linear-gradient(180deg, #2fd45a, #1d9c3e);
  box-shadow: 0 0 22px var(--glow);
  position: relative;
  overflow: hidden;
}

.btn-fill::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: shine 3.2s ease-in-out infinite;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(7, 17, 10, 0.5);
}

.btn-ghost:hover {
  border-color: var(--leaf);
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 56px;
  padding: 0.9rem 1.5rem;
}

.tape {
  margin-top: 3rem;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(7, 17, 10, 0.45);
}

.tape-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.tape-track span::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 2.4rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--glow);
  vertical-align: middle;
}

.band {
  position: relative;
  z-index: 1;
  padding: 7rem 4vw;
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.band-head {
  max-width: 680px;
  margin-bottom: 3rem;
}

.band-head h2,
.join-inner h2 {
  margin: 0.45rem 0 0.7rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
}

.lede {
  color: var(--mute);
  font-size: 1.05rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.manifest,
.pillars li,
.spec,
.protocol li,
.chart-frame,
.chamber a,
.ca {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 0 0 40px rgba(29, 156, 62, 0.04);
}

.manifest {
  padding: 2rem;
  border-radius: 22px;
}

.manifest p {
  color: #c5d3c8;
  line-height: 1.7;
}

.lead {
  font-size: 1.18rem;
  color: var(--paper) !important;
}

.close {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  color: var(--mint) !important;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillars li:hover {
  transform: translateX(6px);
  border-color: rgba(62, 224, 106, 0.45);
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  box-shadow: 0 0 12px var(--glow);
}

.mark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 8px;
  height: 13px;
  border: solid var(--green);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}

.pillars h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-style: italic;
}

.pillars p,
.protocol p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

.spec {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 18px;
  overflow: hidden;
}

.spec div {
  padding: 1.15rem 1.2rem;
  border-right: 1px solid var(--line);
}

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

.spec dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.spec dd {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.protocol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
  position: relative;
}

.protocol::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--leaf), transparent);
  opacity: 0.45;
}

.protocol li {
  position: relative;
  padding: 1.4rem 1.15rem 1.3rem;
  border-radius: 20px;
}

.protocol li:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 224, 106, 0.5);
}

.idx {
  display: block;
  font-family: var(--mono);
  color: var(--leaf);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.protocol img,
.idx-glyph {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
}

.idx-glyph {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(29, 156, 62, 0.18);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mint);
}

.protocol h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
}

.protocol-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.chart-frame {
  border-radius: 22px;
  overflow: hidden;
}

.chart-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--mute);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--leaf);
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--glow);
  animation: pulse 1.4s ease-in-out infinite;
}

.chart-frame iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #0b1210;
}

.joinus {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 7rem 4vw;
  overflow: hidden;
}

.join-banner,
.join-veil {
  position: absolute;
  inset: 0;
}

.join-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 28s ease-in-out infinite alternate;
}

.join-veil {
  background:
    linear-gradient(180deg, rgba(3, 7, 5, 0.55), rgba(3, 7, 5, 0.72) 40%, rgba(3, 7, 5, 0.82)),
    radial-gradient(ellipse at center, transparent 20%, rgba(3, 7, 5, 0.55) 100%);
}

.join-inner {
  position: relative;
  z-index: 1;
}

.on-banner {
  text-align: center;
  margin-inline: auto;
}

.ca-wide {
  margin-top: 0;
}

.chamber {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.chamber a {
  padding: 1.4rem 1.2rem;
  border-radius: 18px;
  background: rgba(7, 17, 10, 0.62);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.chamber a:hover {
  transform: translateY(-6px);
  border-color: var(--leaf);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), 0 0 24px rgba(29, 156, 62, 0.2);
}

.chamber strong {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--display);
  font-style: italic;
}

.chamber small {
  color: var(--mute);
}

.colophon {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 2rem 4vw;
  background: #020503;
}

.foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.foot p {
  margin: 0;
  color: var(--mute);
  font-size: 0.86rem;
}

.foot-links {
  display: flex;
  gap: 0.8rem;
}

.foot-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 17, 10, 0.6);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.85s ease forwards;
}

.pillars li.reveal:nth-child(2),
.protocol li.reveal:nth-child(2),
.chamber a.reveal:nth-child(2) { animation-delay: 0.1s; }

.pillars li.reveal:nth-child(3),
.protocol li.reveal:nth-child(3),
.chamber a.reveal:nth-child(3) { animation-delay: 0.2s; }

.protocol li.reveal:nth-child(4) { animation-delay: 0.3s; }

@media (max-width: 980px) {
  .menu-btn { display: block; }

  .nav {
    position: fixed;
    inset: 72px 4vw auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(3, 7, 5, 0.94);
    backdrop-filter: blur(16px);
  }

  .nav.open { display: flex; }

  .about-layout,
  .protocol,
  .spec,
  .chamber,
  .foot {
    grid-template-columns: 1fr;
  }

  .protocol::before { display: none; }

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

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

  .chart-frame iframe { height: 520px; }

  .foot { text-align: left; }
}

@media (max-width: 640px) {
  h1 { font-size: 3rem; }
  .ca { flex-wrap: wrap; }
  .hero-actions .btn { width: 100%; }
  .chart-frame iframe { height: 440px; }
}

@keyframes drift {
  to { transform: translate(6%, 8%) scale(1.08); }
}

@keyframes crawl {
  to { stroke-dashoffset: -240; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes mapdrift {
  to { background-position: 220px 140px; }
}

@keyframes sealglow {
  50% { box-shadow: 0 0 28px rgba(62, 224, 106, 0.7); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes breathe {
  50% { opacity: 0.55; transform: translateX(-50%) scaleX(1.12); }
}

@keyframes floaty {
  50% { transform: translateY(-10px); }
}

@keyframes sweep {
  0% { transform: translateX(-20%) rotate(18deg); }
  100% { transform: translateX(40%) rotate(18deg); }
}

@keyframes shine {
  0% { left: -40%; }
  55%, 100% { left: 120%; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes ken {
  to { transform: scale(1.08) translate(-1.5%, -1%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
