:root {
  --void: #02060f;
  --navy: #071428;
  --panel: rgba(8, 22, 48, 0.72);
  --line: rgba(110, 196, 255, 0.28);
  --cyan: #5ad4ff;
  --blue: #1c86ff;
  --ice: #f3fbff;
  --muted: #b7c9dc;
  --shadow: 0 0 80px rgba(28, 134, 255, 0.35);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Montserrat", "Outfit", sans-serif;
  --pixel: "Press Start 2P", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  font-family: var(--font);
  background: var(--void);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: white;
}

.sky {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(28, 134, 255, 0.38), transparent 60%),
    radial-gradient(700px 480px at 8% 80%, rgba(40, 180, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #03101f 0%, var(--void) 40%, #03101c 100%);
}

.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(90, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 75%);
}

.wordmark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  background: linear-gradient(90deg, #ffffff 0%, #e9f7ff 32%, #6fd4ff 68%, #2b92ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 6vw;
  background: rgba(2, 6, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-size: 1.55rem;
  line-height: 1;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(60, 170, 255, 0.65));
}

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

.nav-links a {
  color: var(--ice);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-social {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 80, 160, 0.25);
}

.menu-btn {
  display: none;
  font: inherit;
  font-weight: 700;
  color: var(--ice);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(320px, 46%) 1fr;
  align-items: stretch;
}

.hero::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.7;
}

.hero-copy {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 2.5rem 3.5rem 6vw;
  background:
    radial-gradient(520px 280px at 0% 80%, rgba(28, 134, 255, 0.16), transparent 70%),
    #02060f;
}

.hero-art {
  position: relative;
  min-height: 560px;
  background: url("banner.png") center right / cover no-repeat;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #02060f 0%, rgba(2, 6, 15, 0.35) 18%, transparent 42%);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--pixel);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1.8s ease-out infinite;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  font-size: clamp(3.4rem, 18cqi, 7.2rem);
  line-height: 0.85;
  filter: drop-shadow(0 12px 30px rgba(24, 120, 255, 0.45));
}

.ticker {
  margin: 0.8rem 0 0;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: white;
}

.lead {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  color: #041018;
  background: linear-gradient(90deg, #f7fcff 0%, #7fd8ff 45%, #2f93ff 100%);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  color: #041018;
  filter: brightness(1.06);
}

.btn-ghost {
  color: var(--ice);
  background: rgba(4, 16, 36, 0.45);
  border-color: rgba(120, 210, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(20, 70, 130, 0.45);
}

.btn-tiny {
  color: var(--ice);
  background: rgba(18, 70, 140, 0.45);
  border-color: var(--line);
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
}

.wallet-note {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  color: var(--cyan);
  font-size: 0.92rem;
}

.ca {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  max-width: 38rem;
  padding: 0.75rem 0.9rem;
  background: rgba(3, 10, 24, 0.72);
  border: 1px solid var(--line);
}

.ca-label {
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--cyan);
}

.ca code {
  flex: 1;
  min-width: 12rem;
  font-size: 0.92rem;
  color: white;
  word-break: break-all;
}

.hud {
  position: relative;
}

.hud::before,
.hud::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan);
}

.hud::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.hud::after {
  right: -2px;
  bottom: -2px;
  border-left: 0;
  border-top: 0;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(6, 18, 40, 0.85);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: ticker 28s linear infinite;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.marquee i {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: rotate(45deg);
}

.section {
  padding: 5.5rem 6vw;
}

.section-head h2,
.lore h2,
.join h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lore {
  display: grid;
  grid-template-columns: minmax(260px, 460px) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.lore-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.lore-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 30px rgba(40, 150, 255, 0.35));
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(110, 200, 255, 0.45);
  box-shadow: 0 0 30px rgba(40, 150, 255, 0.25), inset 0 0 30px rgba(40, 150, 255, 0.12);
}

.orbit-a {
  width: 108%;
  height: 78%;
  animation: spin 22s linear infinite;
}

.orbit-b {
  width: 78%;
  height: 108%;
  animation: spin 16s linear infinite reverse;
}

.lore-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.points li {
  padding: 0.95rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.points strong {
  display: block;
  color: white;
  margin-bottom: 0.15rem;
}

.facts {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}

.facts div {
  padding: 1.1rem 1rem 1rem;
  background:
    linear-gradient(180deg, rgba(30, 90, 170, 0.28), rgba(6, 16, 36, 0.4));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.facts dt {
  font-family: var(--pixel);
  font-size: 0.52rem;
  color: var(--cyan);
}

.facts dd {
  margin: 0.55rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.network {
  margin-top: 1.2rem;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(4, 12, 28, 0.65);
}

.network-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.network-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.net-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.net-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(110, 196, 255, 0.14);
}

.net-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.net-list code {
  font-size: 0.92rem;
  color: white;
  overflow-wrap: anywhere;
}

.net-list button {
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  color: #041018;
  background: var(--cyan);
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.net-list button:hover {
  filter: brightness(1.08);
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps li {
  padding: 1.3rem 1.2rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(400px 140px at 0% 0%, rgba(50, 160, 255, 0.22), transparent 60%),
    var(--panel);
}

.steps span {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--cyan);
}

.steps h3 {
  margin: 0.4rem 0 0.35rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.banner-band {
  padding: 0 6vw 1rem;
}

.banner-band img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.links-band {
  padding-top: 2.5rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.link-row a {
  text-decoration: none;
  color: var(--ice);
  font-weight: 700;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 24, 52, 0.7);
}

.link-row a:hover {
  border-color: var(--cyan);
  color: white;
  box-shadow: 0 0 24px rgba(40, 150, 255, 0.28);
}

.footer {
  padding: 1rem 6vw 2.5rem;
  color: var(--muted);
}

.footer-mark {
  font-size: 2rem;
  margin: 0 0 0.6rem;
}

.footer p {
  max-width: 62rem;
  margin: 0.4rem 0;
  font-size: 0.92rem;
}

.fine {
  margin-top: 1.2rem;
  font-size: 0.8rem;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(90, 212, 255, 0.7);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(90, 212, 255, 0);
  }
}

@media (max-width: 980px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps,
  .lore,
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    order: -1;
    min-height: 280px;
    background-position: center 30%;
  }

  .hero-art::before {
    background: linear-gradient(180deg, transparent 35%, #02060f 100%);
  }

  .hero-copy {
    padding: 0.4rem 6vw 2.8rem;
  }

  .lore-art {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 6vw 1.1rem;
    background: rgba(2, 6, 15, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-art {
    min-height: 220px;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .facts,
  .steps {
    grid-template-columns: 1fr;
  }

  .ca code {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 0.78rem;
  }

  .net-list li {
    grid-template-columns: 1fr auto;
  }

  .net-list span {
    grid-column: 1 / -1;
  }

  .network-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .marquee-track,
  .orbit,
  .pulse {
    animation: none;
  }
}
