@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Bangers&family=Space+Mono:wght@400;700&display=swap');

:root {
  --sand: #d7835d;
  --sand-soft: #cc9378;
  --clay: #6a342b;
  --ink: #121212;
  --panel: rgba(232, 220, 208, 0.94);
  --panel-soft: rgba(239, 231, 222, 0.9);
  --alien: #79887f;
  --alien-dark: #53615a;
  --mint: #afebc4;
  --text-dark: #1d1a18;
  --text-soft: #483c35;
  --outline: #1a1614;
  --shadow: 0 14px 0 rgba(18, 18, 18, 0.2);
  --radius-lg: 28px;
  --radius-md: 20px;
  --font-display: 'Bangers', cursive;
  --font-body: 'Baloo 2', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #2e241f;
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

p {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(17, 13, 11, 0.55) 0%, rgba(17, 13, 11, 0.84) 100%),
    url('assets/background.png');
  background-size: cover;
  background-position: center;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2) 0, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0, transparent 2px);
  background-size: 18px 18px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 14px 20px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(26, 21, 18, 0.86);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  border: 3px solid var(--outline);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--outline);
  background: #f2f2f2;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 1px;
  color: var(--clay);
  line-height: 1;
}

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

.nav-links a {
  font-weight: 700;
  color: var(--text-dark);
  padding: 0.2rem 0.1rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  border-color: var(--clay);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.05rem;
  font-weight: 800;
  font-size: 0.93rem;
  border: 3px solid var(--outline);
  border-radius: 14px;
  background: var(--mint);
  color: var(--text-dark);
  box-shadow: 0 6px 0 rgba(18, 18, 18, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(18, 18, 18, 0.2);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(18, 18, 18, 0.2);
}

.btn-ghost {
  background: #f4e5d8;
}

.btn-small {
  padding: 0.6rem 0.9rem;
  font-size: 0.86rem;
}

.menu-btn {
  display: none;
  border: 3px solid var(--outline);
  background: #f4e5d8;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  max-width: 1240px;
  margin: 0.6rem auto 0;
  border: 3px solid var(--outline);
  border-radius: 20px;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
  display: none;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  padding: 0.8rem;
}

.mobile-menu.active {
  display: grid;
}

.mobile-menu a {
  font-weight: 700;
  padding: 0.5rem 0.4rem;
}

.signal-strip {
  position: sticky;
  top: 82px;
  z-index: 100;
  border-top: 3px solid var(--outline);
  border-bottom: 3px solid var(--outline);
  background: rgba(175, 235, 196, 0.9);
  overflow: hidden;
  height: 42px;
}

.signal-track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  white-space: nowrap;
  width: max-content;
  min-width: 100%;
  padding: 0 1rem;
  height: 100%;
  animation: marquee 26s linear infinite;
}

.signal-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--ink);
}

main {
  padding: 1.6rem 1.25rem 3.5rem;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.8rem 2.2rem;
  border: 3px solid var(--outline);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  scroll-margin-top: 155px;
}

.section + .section {
  margin-top: 1.4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #332923;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  border: 2px solid var(--outline);
  background: #f6dfcc;
  margin-bottom: 0.55rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-dark);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  letter-spacing: 1px;
  line-height: 0.95;
}

h1 span {
  color: var(--clay);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: 0.8px;
  margin-bottom: 0.5rem;
}

h3 {
  font-family: var(--font-display);
  letter-spacing: 0.6px;
  font-size: 1.52rem;
}

.section-head p {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 68ch;
}

.hero {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 2rem;
  margin-top: 5.5rem;
}

.hero-sub {
  margin-top: 0.6rem;
  font-size: 1.24rem;
  font-weight: 700;
  color: #322822;
}

.hero-body {
  margin-top: 0.7rem;
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 61ch;
}

.transmission {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  border: 2px dashed var(--outline);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  background: #f8ece2;
}

.hero-mini-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.mini-card {
  border: 3px solid var(--outline);
  border-radius: 16px;
  padding: 0.7rem 0.75rem;
  background: #f7ede4;
  box-shadow: 0 5px 0 rgba(18, 18, 18, 0.15);
}

.mini-card h3 {
  font-size: 1rem;
  font-family: var(--font-mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

.mini-card p {
  margin-top: 0.2rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-art {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-card {
  width: min(430px, 100%);
  border: 4px solid var(--outline);
  border-radius: 26px;
  overflow: hidden;
  background: #eaebe8;
  box-shadow: 0 12px 0 rgba(18, 18, 18, 0.2);
}

.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-float {
  position: absolute;
  width: 190px;
  border: 4px solid var(--outline);
  border-radius: 20px;
  background: #eaebe8;
  box-shadow: 0 10px 0 rgba(18, 18, 18, 0.2);
}

.hero-float-a {
  top: 8%;
  left: 0;
  transform: rotate(-7deg);
  animation: bobA 4.4s ease-in-out infinite;
}

.hero-float-b {
  bottom: 6%;
  right: 0;
  transform: rotate(8deg);
  animation: bobB 5.3s ease-in-out infinite;
}

.lore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.lore-card {
  border: 3px solid var(--outline);
  border-radius: 18px;
  background: #f8ebe1;
  padding: 1rem;
  box-shadow: 0 7px 0 rgba(18, 18, 18, 0.16);
}

.lore-step {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border: 2px solid var(--outline);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  margin-bottom: 0.35rem;
  background: var(--mint);
}

.lore-card h3 {
  font-size: 1.3rem;
}

.lore-card p {
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.character-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.character-card {
  margin: 0;
  border: 3px solid var(--outline);
  border-radius: 18px;
  overflow: hidden;
  background: #eaebe8;
  box-shadow: 0 8px 0 rgba(18, 18, 18, 0.16);
}

.character-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center center;
  background: #d8d8d8;
  padding: 0.2rem;
}

.character-card figcaption {
  padding: 0.5rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.token-card {
  border: 3px solid var(--outline);
  border-radius: 18px;
  background: #f8ebe1;
  padding: 1rem;
  box-shadow: 0 8px 0 rgba(18, 18, 18, 0.16);
}

.token-card h3 {
  font-size: 1.14rem;
}

.token-card p {
  margin-top: 0.2rem;
  font-size: 1.26rem;
  font-weight: 800;
}

.token-card span {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.mono {
  font-family: var(--font-mono);
}

.radar-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.95rem;
}

.radar-embed {
  position: relative;
  border: 3px solid var(--outline);
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  background: #241b16;
}

.radar-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) saturate(1.05);
}

.radar-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  background: linear-gradient(180deg, rgba(16, 14, 13, 0.45), rgba(16, 14, 13, 0.78));
  color: #f8f4ef;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.3rem;
}

.radar-overlay h3 {
  color: #fff9f1;
}

.radar-overlay p {
  color: #f0ddd1;
  max-width: 54ch;
}

.radar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.radar-note {
  border: 3px solid var(--outline);
  border-radius: 20px;
  padding: 1rem;
  background: #f8ebe1;
  box-shadow: 0 8px 0 rgba(18, 18, 18, 0.16);
}

.radar-note ul {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.4rem;
  color: var(--text-soft);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.road-card {
  border: 3px solid var(--outline);
  border-radius: 18px;
  padding: 1rem;
  background: #f8ebe1;
  box-shadow: 0 8px 0 rgba(18, 18, 18, 0.16);
}

.road-card ul {
  margin-top: 0.5rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.3rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 3px solid var(--outline);
  border-radius: 16px;
  overflow: hidden;
  background: #f8ebe1;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 800;
  text-align: left;
  padding: 0.8rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  font-family: var(--font-mono);
  font-weight: 700;
  border: 2px solid var(--outline);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  background: #e6d4c7;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 0.95rem 0.95rem;
  color: var(--text-soft);
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

.faq-item.active .faq-question span {
  background: var(--mint);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.community-card {
  border: 3px solid var(--outline);
  border-radius: 18px;
  padding: 0.95rem;
  background: #f8ebe1;
  box-shadow: 0 8px 0 rgba(18, 18, 18, 0.16);
  transition: transform 0.15s ease;
}

.community-card:hover {
  transform: translateY(-3px);
}

.community-card p {
  margin-top: 0.35rem;
  color: var(--text-soft);
}

.community-card span {
  margin-top: 0.45rem;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  border: 2px solid var(--outline);
  border-radius: 8px;
  padding: 0.16rem 0.4rem;
  background: #e6d4c7;
}

.launch-cta {
  margin-top: 1rem;
  border: 3px solid var(--outline);
  border-radius: 20px;
  padding: 0.9rem;
  background: #f7dfcf;
  box-shadow: 0 8px 0 rgba(18, 18, 18, 0.16);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
}

.launch-cta img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid var(--outline);
}

.launch-cta p {
  color: var(--text-soft);
}

.site-footer {
  max-width: 1240px;
  margin: 1.4rem auto 2.5rem;
  border: 3px solid var(--outline);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  text-align: center;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--clay);
}

.footer-copy {
  color: var(--text-soft);
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 250;
  border: 3px solid var(--outline);
  background: var(--mint);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.45rem 0.6rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

@keyframes bobA {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-10px);
  }
}

@keyframes bobB {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-12px);
  }
}

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

  .hero-art {
    min-height: 0;
    padding-top: 0.5rem;
  }

  .hero-float {
    display: none;
  }

  .character-grid,
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .token-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .nav-links,
  .nav-wrap > .btn-small {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .section {
    padding: 3.2rem 1.35rem;
  }

  .signal-strip {
    top: 76px;
  }

  .hero {
    margin-top: 5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .launch-cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 10px 10px;
  }

  .signal-strip {
    height: 38px;
  }

  .signal-track span {
    font-size: 0.72rem;
  }

  main {
    padding: 1.1rem 0.7rem 2.5rem;
  }

  .lore-grid,
  .token-grid,
  .roadmap-grid,
  .character-grid,
  .community-grid,
  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .mini-card h3 {
    font-size: 0.88rem;
  }

  .hero-sub {
    font-size: 1.08rem;
  }

  .section-head p,
  .hero-body {
    font-size: 1rem;
  }
}
