:root {
  --blue: #0052ff;
  --blue-deep: #0038c7;
  --navy: #071433;
  --ink: #0d1b3d;
  --muted: #3d5a8a;
  --paper: #eef4ff;
  --white: #ffffff;
  --line: #b9cff8;
  --lp: #0052ff;
  --com: #7aa7ff;
  --mkt: #0038c7;
  --radius: 18px;
  --border: 3px solid var(--blue);
  --shadow: 8px 8px 0 var(--blue);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  background-image:
    linear-gradient(rgba(0, 82, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  line-height: 1.5;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Archivo Black", Outfit, sans-serif;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.kicker {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: 3px solid var(--blue);
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn--solid {
  background: var(--blue);
  color: #fff;
}

.btn--line,
.btn--ghost {
  background: #fff;
  color: var(--blue);
}

.btn--lg {
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.tape {
  background: repeating-linear-gradient(
    -45deg,
    var(--blue),
    var(--blue) 14px,
    #fff 14px,
    #fff 28px
  );
  border-bottom: 3px solid var(--navy);
  overflow: hidden;
}

.tape__track {
  display: flex;
  gap: 2.2rem;
  padding: 0.45rem 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--navy);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  mix-blend-mode: multiply;
}

.tape__track span {
  background: #fff;
  padding: 0.1rem 0.55rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 6vw;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.15rem;
  color: var(--blue);
}

.nav__brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 3px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 650;
  color: var(--muted);
}

.nav__links a:hover {
  color: var(--blue);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: var(--border);
  background: #fff;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav__toggle span {
  width: 18px;
  height: 3px;
  background: var(--blue);
}

.hero,
.section,
.cta,
.footer {
  width: min(1180px, calc(100% - 8vw));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.4rem;
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.4rem 0.35rem 0.9rem;
  margin-bottom: 1.2rem;
  max-width: 100%;
}

.ca-box__label {
  font-weight: 800;
  color: var(--blue);
  font-size: 0.75rem;
}

.ca-box code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border: var(--border);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.stats li {
  padding: 0.85rem 1rem;
  border-right: 3px solid var(--blue);
}

.stats li:last-child {
  border-right: 0;
}

.stats span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.hero__mascot {
  background: #fff;
  border: 4px solid var(--blue);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.2rem 0.8rem;
  overflow: visible;
}

.hero__mascot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: float 4.5s ease-in-out infinite;
}

.hero__mascot figcaption {
  text-align: center;
  font-weight: 800;
  color: var(--blue);
  padding: 0.7rem 0 0.4rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section {
  padding: 4.2rem 0;
}

.section--tint {
  width: 100%;
  padding-inline: 8vw;
  background: rgba(255, 255, 255, 0.55);
  border-block: 3px solid var(--line);
}

.section--tint .section__head,
.section--tint .tokenomics,
.section--tint .gallery {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.section__head h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  color: var(--blue-deep);
  margin-bottom: 0.6rem;
}

.section__head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-grid,
.gallery {
  display: grid;
  gap: 1.2rem;
}

.about-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.6rem;
}

.lore {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.4rem;
  align-items: center;
}

.lore__copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  color: var(--blue-deep);
  margin-bottom: 0.85rem;
}

.lore__copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.species {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding: 0.28rem 0.75rem;
  border: 3px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.species strong {
  color: var(--blue);
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.06em;
}

.lore__media {
  background: #fff;
  border: 4px solid var(--blue);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lore__media video {
  width: 100%;
  height: auto;
  display: block;
  background: #071433;
  object-fit: contain;
}

.lore__media figcaption {
  text-align: center;
  font-weight: 800;
  color: var(--blue);
  padding: 0.75rem 0.8rem 0.9rem;
}

.card,
.gallery__card,
.steps li,
.map li {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
}

.card {
  padding: 1.4rem;
  box-shadow: 5px 5px 0 var(--blue);
}

.card h3 {
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p,
.steps p,
.map p,
.tokencard p {
  color: var(--muted);
}

.tokenomics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.tokencard {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 5px 5px 0 var(--blue);
}

.tokencard h3 {
  color: var(--muted);
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.tokencard__value {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.steps,
.map {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.steps li,
.map li {
  padding: 1.3rem;
}

.steps__n,
.map span {
  display: inline-block;
  font-family: "Archivo Black", sans-serif;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.steps a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.steps h3,
.map h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.gallery {
  grid-template-columns: repeat(3, 1fr);
}

.gallery__card {
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.18s ease;
}

.gallery__card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
}

.gallery__card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
  padding: 0.7rem 0.7rem 0.2rem;
  border-bottom: 3px solid var(--blue);
}

.gallery__card figcaption {
  padding: 0.85rem 1rem 1rem;
  text-align: center;
  font-family: "Archivo Black", sans-serif;
  color: var(--blue-deep);
  font-size: 1.02rem;
}

.cta {
  padding: 1rem 0 4rem;
}

.cta__inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: #fff;
  border: 4px solid var(--blue);
  border-radius: 28px;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}

.cta__inner img {
  width: 140px;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
}

.cta p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0 2.4rem;
  border-top: var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.footer__brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  padding: 3px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.footer__brand strong {
  color: var(--blue);
}

.footer__brand a {
  color: var(--blue);
  font-weight: 700;
}

.footer__brand a:hover {
  text-decoration: underline;
}

.footer__note {
  max-width: 28rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 51, 0.82);
  display: grid;
  place-items: center;
  z-index: 80;
  padding: 4vw;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: min(86vh, 100%);
  max-width: min(720px, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 16px;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 2rem;
  cursor: pointer;
}

.toast {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  z-index: 90;
  font-weight: 700;
}

.toast[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .hero,
  .lore {
    grid-template-columns: 1fr;
  }

  .tokenomics,
  .about-grid,
  .steps,
  .map,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    gap: 1.5rem;
    padding: 2rem 0 2.4rem;
  }

  .hero__mascot {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stats li:nth-child(1),
  .stats li:nth-child(2) {
    border-bottom: 3px solid var(--blue);
  }

  .stats li:nth-child(2),
  .stats li:nth-child(4) {
    border-right: 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    right: max(6vw, env(safe-area-inset-right));
    left: max(6vw, env(safe-area-inset-left));
    display: none;
    flex-direction: column;
    background: #fff;
    border: var(--border);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.6rem;
  }

  .nav__links.is-open {
    display: flex;
  }
}

@media (max-width: 700px) {
  .hero,
  .section,
  .cta,
  .footer {
    width: calc(100% - 1.25rem);
  }

  .section--tint {
    padding-inline: 0.625rem;
  }

  .section {
    padding: 2.4rem 0;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  .lede {
    font-size: 1rem;
  }

  .nav {
    padding: 0.55rem 0.75rem;
  }

  .hero,
  .lore,
  .about-grid,
  .tokenomics,
  .steps,
  .map,
  .gallery,
  .footer,
  .cta__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .gallery {
    gap: 1rem;
  }

  .ca-box {
    border-radius: 16px;
    flex-wrap: wrap;
    padding: 0.55rem;
  }

  .ca-box code {
    flex: 1 1 140px;
    font-size: 0.72rem;
  }

  .hero__actions .btn,
  .cta .btn {
    width: 100%;
  }

  .cta {
    padding: 0.5rem 0 2.4rem;
  }

  .cta__inner {
    text-align: center;
    justify-items: center;
    padding: 1rem;
    gap: 0.8rem;
  }

  .cta__inner img {
    width: min(180px, 70%);
  }

  .hero__mascot,
  .lore__media,
  .card,
  .tokencard,
  .gallery__card,
  .cta__inner,
  .steps li,
  .map li {
    box-shadow: 4px 4px 0 var(--blue);
  }

  .hero__mascot,
  .lore__media {
    border-radius: 20px;
  }

  .tokencard__value {
    font-size: clamp(1.35rem, 7vw, 2rem);
    overflow-wrap: anywhere;
  }

  .stats strong {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .lightbox {
    padding: 4.2rem 0.7rem 0.7rem;
  }

  .lightbox img {
    width: 100%;
    max-width: 100%;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 420px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .tokenomics,
  .about-grid,
  .steps,
  .map {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .gallery__card:hover,
  .btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
