:root {
  --void: #010f36;
  --deep: #04153f;
  --ink: #eaf4ff;
  --soft: #9ec0ea;
  --cyan: #4de8ff;
  --blue: #2f7bff;
  --mint: #3dff8a;
  --gold: #f0c14a;
  --line: rgba(77, 232, 255, 0.18);
  --font-display: "Pixelify Sans", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: linear-gradient(180deg, #02123c 0%, var(--void) 45%, #031336 100%);
}

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

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

button {
  font: inherit;
}

::selection {
  background: var(--blue);
  color: #fff;
}

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

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(1, 15, 54, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.2rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.brand img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--mint);
  color: #032015;
  font-family: var(--font-display);
  box-shadow: 0 0 18px rgba(61, 255, 138, 0.28);
}

.nav-cta:hover {
  filter: brightness(1.08);
}

.nav-cta img,
.chip img,
.step-icon img,
.btn img,
.eyebrow img {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(77, 232, 255, 0.35);
}

h1,
h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  text-shadow:
    0 0 24px rgba(47, 123, 255, 0.45),
    0 3px 0 rgba(0, 0, 0, 0.45);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.ticker {
  margin: 0.35rem 0 0.8rem;
  color: var(--mint);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  text-shadow: 0 0 16px rgba(61, 255, 138, 0.35);
}

.lead {
  margin: 0;
  max-width: 34rem;
  color: #f2f8ff;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.section-copy {
  margin: 0.9rem 0 0;
  max-width: 46rem;
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
}

.hero > * {
  grid-area: 1 / 1;
}

.hero-art {
  width: 100%;
  height: auto;
}

.hero-content {
  align-self: center;
  padding: clamp(1.6rem, 5vw, 3rem) 0;
  background: linear-gradient(
    90deg,
    rgba(1, 12, 42, 0.88) 0%,
    rgba(1, 12, 42, 0.55) 42%,
    rgba(1, 12, 42, 0.08) 68%,
    transparent 100%
  );
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 232, 255, 0.35);
  background: rgba(4, 20, 58, 0.72);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  backdrop-filter: blur(8px);
}

.chip:hover {
  border-color: var(--mint);
  color: var(--mint);
  box-shadow: 0 0 16px rgba(61, 255, 138, 0.2);
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  margin-top: 1rem;
  color: #d7e9ff;
  font-size: 0.94rem;
}

.ca-row .label {
  color: var(--mint);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.ca-row code {
  word-break: break-all;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.copy-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.copy-btn:hover {
  color: var(--mint);
}

/* ---------- about ---------- */

.about {
  padding: clamp(3rem, 7vw, 5rem) 0 1rem;
}

.about-head {
  margin-bottom: 1.6rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 1.6rem;
}

.gallery .wide {
  grid-column: 1 / -1;
}

.shot {
  margin: 0;
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: var(--deep);
  box-shadow: 0 0 0 1px rgba(4, 20, 58, 0.5);
}

.shot img {
  width: 100%;
}

.shot figcaption {
  padding: 0.9rem 1.1rem 1.05rem;
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* ---------- howto ---------- */

.howto {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.howto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
  margin-top: 1.6rem;
  align-items: start;
}

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

.step {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 1.05rem;
  border: 1px solid var(--line);
  background: rgba(4, 21, 63, 0.78);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: rgba(77, 232, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(77, 232, 255, 0.18);
}

.step-icon i {
  color: var(--mint);
  font-size: 1.15rem;
}

.step strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--soft);
  line-height: 1.5;
}

.buy-panel {
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(61, 255, 138, 0.35);
  background:
    radial-gradient(circle at top right, rgba(61, 255, 138, 0.12), transparent 42%),
    radial-gradient(circle at bottom left, rgba(77, 232, 255, 0.1), transparent 40%),
    rgba(3, 18, 54, 0.96);
}

.buy-panel h3 {
  margin: 0 0 0.3rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.buy-panel .hint {
  margin: 0 0 1rem;
  color: var(--soft);
  line-height: 1.5;
}

.contract-box {
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(1, 10, 32, 0.72);
}

.contract-box span {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-box code {
  display: block;
  word-break: break-all;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.45;
}

.btn-stack {
  display: grid;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: var(--blue);
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-mint {
  background: var(--mint);
  color: #032015;
  box-shadow: 0 0 20px rgba(61, 255, 138, 0.25);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: #fff;
}

/* ---------- community ---------- */

.community {
  display: grid;
}

.community > * {
  grid-area: 1 / 1;
}

.community-art {
  width: 100%;
  height: auto;
}

.community-content {
  align-self: start;
  text-align: center;
  padding: clamp(1.6rem, 4.5vw, 2.8rem) 0 4.5rem;
  background: linear-gradient(
    180deg,
    rgba(1, 12, 40, 0.86) 0%,
    rgba(1, 12, 40, 0.42) 55%,
    transparent 100%
  );
}

.community-content .eyebrow {
  justify-content: center;
}

.community-content .lead {
  margin: 0.85rem auto 0;
  max-width: 36rem;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

/* ---------- footer ---------- */

.footer {
  padding: 1.4rem 0 2.1rem;
  border-top: 1px solid var(--line);
  background: rgba(1, 10, 32, 0.75);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.footer-brand img {
  height: 60px;
  width: auto;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.footer-brand span {
  color: var(--soft);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-family: var(--font-display);
}

.footer-links a {
  color: var(--soft);
}

.footer-links a:hover {
  color: var(--mint);
}

section {
  scroll-margin-top: 5rem;
}

@media (max-width: 900px) {
  .howto-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-self: start;
    background: linear-gradient(
      180deg,
      rgba(1, 12, 42, 0.88) 0%,
      rgba(1, 12, 42, 0.5) 58%,
      transparent 100%
    );
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1180px, calc(100% - 1.2rem));
  }

  .brand img {
    height: 42px;
  }

  .brand span {
    font-size: 1.1rem;
  }
}
