:root {
  --orange: #ff8a14;
  --orange-deep: #e56a00;
  --blue: #1e5eff;
  --blue-ink: #1236b8;
  --sky: #7ec8ff;
  --sky-deep: #3aa0ff;
  --navy: #08111f;
  --ink: #11151c;
  --cream: #fff6ea;
  --paper: #fffdf8;
  --mute: #5b6472;
  --line: rgba(8, 17, 31, 0.12);
  --green: #12e38a;
  --shadow: 0 22px 50px rgba(8, 17, 31, 0.18);
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--blue-ink);
  margin-bottom: 12px;
}
.eyebrow.light { color: #cfe3ff; }
h1, h2, h3 { font-family: "Luckiest Guy", cursive; line-height: 0.92; letter-spacing: 0.01em; }
h2 { font-size: clamp(2.6rem, 6vw, 5rem); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 0 var(--orange-deep); }
.btn-primary:hover { background: #ff9a32; }
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 8px 0 #000; }
.btn-ghost { background: #fff; border-color: var(--navy); }
.btn-xl { min-height: 56px; padding: 0 24px; font-size: 1.05rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--line);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.nav-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: #8fd0ff;
}
.nav-brand em {
  font-style: normal;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
}
.nav-links { display: flex; gap: 22px; font-weight: 600; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 99px; }

.hero {
  position: relative;
  background: linear-gradient(180deg, #8fd4ff 0%, #4aa7ff 58%, #2f8dff 100%);
  overflow: hidden;
  padding: 36px 0 0;
}
.clouds i {
  position: absolute;
  background: rgba(255,255,255,0.72);
  border-radius: 40px;
  filter: blur(0.2px);
  animation: drift 18s linear infinite;
}
.clouds i:nth-child(1) { width: 160px; height: 42px; top: 12%; left: -10%; }
.clouds i:nth-child(2) { width: 220px; height: 50px; top: 22%; left: 30%; animation-duration: 24s; }
.clouds i:nth-child(3) { width: 120px; height: 34px; top: 8%; right: 8%; animation-duration: 20s; }
.clouds i:nth-child(4) { width: 180px; height: 40px; top: 36%; right: -8%; animation-duration: 26s; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(40px); }
}
.hero-grid {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  font-size: clamp(4.2rem, 10vw, 8.4rem);
  color: #fff;
  text-shadow: 0 8px 0 #1236b8, 0 16px 0 rgba(8,17,31,0.18);
  margin: 8px 0 18px;
}
.hero-copy h1 span { color: #ffe27a; }
.slogan {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 14px;
}
.lede {
  max-width: 520px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: #10233f;
  margin-bottom: 24px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(8,17,31,0.88);
  color: #fff;
  padding: 10px 12px 10px 14px;
  border-radius: 16px;
  max-width: 100%;
}
.ca-box span {
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.78rem;
}
.ca-box code {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-copy {
  margin-left: auto;
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
}
.hero-art {
  background: #fff;
  border: 4px solid var(--navy);
  border-radius: 36px;
  box-shadow: 12px 12px 0 #1236b8;
  overflow: hidden;
  transform: rotate(1.2deg);
}
.hero-art img { width: 100%; }
.hero-art figcaption {
  padding: 12px 16px 16px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}
.hero-rail { height: 72px; position: relative; margin-top: 28px; }
.hero-rail-track {
  height: 18px;
  background: repeating-linear-gradient(90deg, #d9e2ea 0 28px, #8b95a1 28px 34px);
  border-top: 8px solid #6d7784;
  border-bottom: 8px solid #4c5561;
}

.paw-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.paw {
  width: 38px;
  height: 38px;
  fill: currentColor;
  color: rgba(8, 17, 31, 0.55);
  filter: drop-shadow(0 2px 0 rgba(8, 17, 31, 0.18));
}
.rail-paws {
  position: absolute;
  inset: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.rail-paws .paw {
  color: #1a2433;
  opacity: 0;
  transform: rotate(var(--rot, 0deg)) translateY(var(--y, 0));
  animation: paw-stamp 5.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes paw-stamp {
  0% { opacity: 0; transform: rotate(var(--rot, 0deg)) translateY(calc(var(--y, 0px) + 10px)) scale(0.35); }
  10% { opacity: 1; transform: rotate(var(--rot, 0deg)) translateY(var(--y, 0)) scale(1.18); }
  18% { transform: rotate(var(--rot, 0deg)) translateY(var(--y, 0)) scale(1); }
  62% { opacity: 0.92; }
  100% { opacity: 0; transform: rotate(var(--rot, 0deg)) translateY(var(--y, 0)) scale(1); }
}

.float-paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.float-paws .paw {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(42px * var(--s, 1));
  height: calc(42px * var(--s, 1));
  color: rgba(255, 138, 20, 0.22);
  animation: paw-bob var(--a, 9s) ease-in-out infinite;
  transform: rotate(var(--rot, 0deg));
}
.float-paws.light .paw { color: rgba(255, 226, 122, 0.16); }
@keyframes paw-bob {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0) scale(1); }
  50% { transform: rotate(calc(var(--rot, 0deg) + 8deg)) translateY(-12px) scale(1.06); }
}

.walk-trail {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.walk-trail .paw {
  color: var(--orange);
  opacity: 0;
  animation: paw-walk 3.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transform: rotate(var(--rot, 0deg));
}
.walk-trail .paw:nth-child(even) { margin-top: 18px; }
.walk-trail .paw:nth-child(odd) { margin-bottom: 18px; }
@keyframes paw-walk {
  0% { opacity: 0; transform: rotate(var(--rot, 0deg)) scale(0.4); }
  12% { opacity: 1; transform: rotate(var(--rot, 0deg)) scale(1.12); }
  22% { transform: rotate(var(--rot, 0deg)) scale(1); }
  70% { opacity: 0.85; }
  100% { opacity: 0; }
}

.paw-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
}
.paw-stamp {
  position: absolute;
  width: 28px;
  height: 28px;
  color: var(--orange);
  opacity: 0.9;
  animation: cursor-fade 1.15s ease forwards;
  filter: drop-shadow(0 3px 0 rgba(229, 106, 0, 0.35));
}
.paw-stamp svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes cursor-fade {
  0% { opacity: 0.95; transform: rotate(var(--rot, 0deg)) scale(0.4); }
  18% { opacity: 0.95; transform: rotate(var(--rot, 0deg)) scale(1.12); }
  100% { opacity: 0; transform: rotate(var(--rot, 0deg)) scale(0.88) translateY(8px); }
}

.marquee {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
}
.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: ticker 22s linear infinite;
  padding: 14px 0;
  font-family: "Luckiest Guy", cursive;
  letter-spacing: 0.04em;
}
.marquee-track span:nth-child(odd) { color: #ffe27a; }
.marquee-track span:nth-child(3n) { color: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }

.lore { position: relative; padding: 92px 0; background: var(--paper); }
.lore-head { max-width: 820px; margin-bottom: 36px; }
.lore-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 28px; align-items: center; }
.lore-card {
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 8px 8px 0 var(--blue);
  font-size: 1.18rem;
  line-height: 1.65;
}
.punch {
  margin-top: 18px;
  font-family: "Luckiest Guy", cursive;
  font-size: 1.8rem;
  color: var(--blue);
}
.lore-art {
  border: 4px solid var(--navy);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 10px 10px 0 #08111f;
}

.meaning {
  position: relative;
  padding: 92px 0;
  background: linear-gradient(180deg, #0b1730, #10244d);
  color: #fff;
}
.meaning h2 { margin-bottom: 32px; color: #ffe27a; }
.meaning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.meaning article {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  overflow: hidden;
}
.meaning img { aspect-ratio: 1; object-fit: cover; background: #111; }
.meaning h3 { font-size: 1.7rem; padding: 18px 18px 8px; }
.meaning p { padding: 0 18px 22px; color: #d7e2f5; line-height: 1.5; }

.gallery { position: relative; padding: 92px 0; background: #fff3d8; }
.gallery-head { margin-bottom: 28px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 14px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 3px solid var(--navy);
  padding: 0;
  background: #fff;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.tile:hover img { transform: scale(1.05); }
.tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(8,17,31,0.86);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.tile-lg { grid-row: span 2; height: auto; }

.tokenomics {
  padding: 92px 0;
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.tokenomics h2 { color: #fff; margin-bottom: 34px; }
.tok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tok-grid article {
  background: #122038;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 26px 16px;
}
.tok-grid strong {
  display: block;
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--orange);
  margin-bottom: 6px;
}
.tok-note {
  margin-top: 28px;
  font-family: "Luckiest Guy", cursive;
  font-size: 1.4rem;
  color: #ffe27a;
}

.howto { padding: 92px 0; background: var(--paper); }
.howto-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.steps { list-style: none; display: grid; gap: 18px; margin-top: 24px; }
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 2px solid var(--line);
  background: #fff;
}
.steps em {
  font-family: "Luckiest Guy", cursive;
  font-size: 1.6rem;
  color: var(--blue);
  font-style: normal;
}
.steps h3 { font-size: 1.5rem; margin-bottom: 6px; }
.howto-art {
  border: 4px solid var(--navy);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--orange);
  transform: rotate(-2deg);
}

.cta { position: relative; padding: 36px 0 80px; }
.cta-box {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #0c1b14, #06351f);
  color: #fff;
  border-radius: 36px;
  padding: 22px;
  border: 4px solid #02150c;
  box-shadow: 10px 10px 0 #12e38a;
}
.cta-box img {
  border-radius: 24px;
  border: 3px solid #12e38a;
}
.cta-box h2 { color: var(--green); margin: 8px 0 12px; }
.cta-box p { color: #d7ffe9; margin-bottom: 18px; }

.footer {
  background: #061018;
  color: #c9d3de;
  padding: 36px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 24px;
  align-items: start;
}
.footer strong { display: block; color: #fff; font-size: 1.2rem; }
.footer span { color: var(--orange); font-weight: 800; }
.disclaimer { font-size: 0.92rem; line-height: 1.5; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,17,31,0.92);
  display: grid;
  place-items: center;
  z-index: 40;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-height: 88vh;
  max-width: min(1000px, 92vw);
  border-radius: 20px;
  border: 4px solid #fff;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 50;
  font-weight: 700;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    background: #fff;
    border: 2px solid var(--navy);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-grid, .lore-grid, .meaning-grid, .howto-grid, .cta-box, .footer-grid, .tok-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .tile-lg { grid-column: span 2; }
  .hero-copy h1 { text-shadow: 0 6px 0 #1236b8; }
  .hero-art { transform: none; }
}

@media (max-width: 640px) {
  .nav-actions .btn-ghost { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .tile-lg { grid-column: auto; }
  .hero { padding-top: 20px; }
  .ca-box { flex-wrap: wrap; }
  .rail-paws .paw:nth-child(n+8),
  .walk-trail .paw:nth-child(n+6) { display: none; }
  .paw { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .rail-paws .paw,
  .walk-trail .paw,
  .float-paws .paw,
  .clouds i,
  .marquee-track {
    animation: none;
  }
  .rail-paws .paw,
  .walk-trail .paw { opacity: 0.7; }
}
