:root {
  --ink: #070218;
  --night: #12062a;
  --violet: #4c1d95;
  --cape: #7c3aed;
  --magenta: #e879f9;
  --cyan: #22e0e8;
  --teal: #5eead4;
  --sunset: #fb923c;
  --gold: #fde68a;
  --paper: #fff4c8;
  --caption: #1a1028;
  --white: #f8f5ff;
  --muted: #c4b5e8;
  --gutter: clamp(1.1rem, 3vw, 2.4rem);
  --max: 1120px;
  --frame: 5px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  font-family: "Exo 2", sans-serif;
  background: var(--ink);
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: "Bangers", cursive;
  letter-spacing: 0.04em;
  margin: 0;
}

p {
  margin: 0;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(232, 121, 249, 0.28), transparent 60%),
    radial-gradient(900px 640px at 8% 18%, rgba(34, 224, 232, 0.2), transparent 55%),
    radial-gradient(800px 500px at 90% 70%, rgba(251, 146, 60, 0.16), transparent 50%),
    linear-gradient(180deg, #14082f 0%, #1b0a3d 28%, #2a1054 52%, #3a1640 76%, #12062a 100%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--gutter);
  background: rgba(7, 2, 24, 0.82);
  border-bottom: 3px solid rgba(34, 224, 232, 0.45);
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #0b0618;
  border: 3px solid var(--cyan);
}

.brand strong {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}

.brand small {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

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

.nav-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  background: linear-gradient(90deg, var(--cyan), #a78bfa);
  color: #12061f !important;
  border: 3px solid #05010d;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

.hero,
.about,
.howto,
.community {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 2.2rem 0 1.8rem;
}

.board,
.rally {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.about .board {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1rem;
}

.section-head {
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 0.92;
  color: #67f6ff;
  background: linear-gradient(90deg, #67f6ff, #e879f9 55%, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 0.92;
  color: #67f6ff;
  background: linear-gradient(90deg, #67f6ff, #e879f9 55%, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash,
.landing {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #080414;
  border: var(--frame) solid #080414;
  box-shadow:
    0 0 0 3px var(--cyan),
    0 0 0 8px #080414,
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(34, 224, 232, 0.18);
}

.pano {
  margin: 0;
  width: 100%;
  background: #080414;
  border: var(--frame) solid #080414;
  box-shadow:
    0 0 0 3px var(--cyan),
    0 0 0 8px #080414,
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(34, 224, 232, 0.18);
}

.splash img,
.landing img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: min(64vh, 540px);
  object-fit: contain;
  object-position: center;
}

.pano img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.nameplate,
.rally-copy {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nameplate {
  padding: 1.25rem 1.2rem;
  background: linear-gradient(180deg, rgba(18, 6, 42, 0.92), rgba(8, 4, 20, 0.96));
  border: 4px solid #080414;
  box-shadow: 0 0 0 3px var(--magenta);
}

.kicker {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.symbol {
  margin: 0.35rem 0 0.9rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: var(--cyan);
}

.bio {
  max-width: none;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 3px solid #080414;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-buy {
  background: linear-gradient(90deg, var(--cyan), #67e8f9);
  color: #081018;
}

.btn-x {
  background: #0f0f13;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

.btn-dex {
  background: linear-gradient(90deg, #34d399, #22d3ee);
  color: #06201a;
}

.ca-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding: 0.55rem 0.7rem;
  background: #0a0618;
  border: 3px dashed rgba(34, 224, 232, 0.45);
  overflow: hidden;
}

.ca-bar span {
  flex: none;
  padding: 0.2rem 0.45rem;
  background: var(--paper);
  color: #1a0b2e;
  font-weight: 800;
  font-size: 0.75rem;
}

.ca-bar code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--teal);
  font-size: 0.86rem;
}

.ca-bar button {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
}

.about {
  padding-top: 2.4rem;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0.85rem;
  margin: 0;
  min-height: 0;
}

.caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 1.2rem 1.3rem;
  background: var(--paper);
  color: var(--caption);
  border: 4px solid #080414;
  box-shadow: 8px 8px 0 #080414;
}

.caption h3 {
  margin-bottom: 0.55rem;
  font-size: 1.8rem;
  color: #5b21b6;
}

.caption p {
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 600;
}

.howto {
  padding-top: 2.4rem;
}

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

.steps li {
  padding: 1.1rem 1.15rem;
  background: rgba(10, 6, 24, 0.88);
  border-left: 8px solid var(--cyan);
  border-right: 3px solid #080414;
  border-top: 3px solid #080414;
  border-bottom: 3px solid #080414;
}

.steps li:nth-child(2) {
  border-left-color: #a78bfa;
}

.steps li:nth-child(3) {
  border-left-color: var(--magenta);
}

.steps li:nth-child(4) {
  border-left-color: var(--sunset);
}

.steps h3 {
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}

.steps p {
  color: var(--muted);
  line-height: 1.6;
}

.mission-actions {
  margin-top: 1.4rem;
}

.community {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

.rally {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.rally-copy {
  padding: 1.25rem 1.2rem;
  background: linear-gradient(180deg, rgba(58, 22, 64, 0.72), rgba(12, 6, 28, 0.94));
  border: 4px solid #080414;
  box-shadow: 0 0 0 3px var(--sunset);
}

.pack-logo {
  width: 88px;
  max-height: 88px;
  margin-bottom: 0.9rem;
  background: #080414;
  border: 3px solid var(--cyan);
}

.rally-copy h3 {
  font-size: 2.1rem;
  margin-bottom: 0.55rem;
}

.rally-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem var(--gutter) 2rem;
  border-top: 3px solid rgba(232, 121, 249, 0.35);
  background: rgba(7, 2, 24, 0.9);
}

.footer img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 3px solid var(--magenta);
}

.footer strong {
  font-family: "Bangers", cursive;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.footer p {
  color: var(--muted);
  font-size: 0.95rem;
}

.disclaimer {
  flex-basis: 100%;
  font-size: 0.82rem !important;
  opacity: 0.8;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: #12062a;
    border: 3px solid var(--cyan);
  }

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

  .board,
  .rally,
  .story {
    grid-template-columns: 1fr;
  }

  .hero,
  .about,
  .howto,
  .community {
    padding-top: 1.6rem;
  }

  .splash img,
  .landing img {
    width: 100%;
    height: auto;
    max-height: min(42vh, 340px);
  }

  .pano img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}
