:root {
  --ink: #101827;
  --cream: #fff4b8;
  --red: #ff3d55;
  --blue: #35baff;
  --green: #32c95f;
  --shadow: 0 14px 0 rgba(8, 14, 26, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #111d50;
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 24px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 6px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 244, 184, 0.9);
  box-shadow: 0 8px 0 rgba(8, 14, 26, 0.75);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.site-header__brand img {
  width: 48px;
  height: 48px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__nav a {
  padding: 11px 16px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 0 var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.02rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
  background: #ffcf45;
  box-shadow: 0 2px 0 var(--ink);
  transform: translateY(3px) rotate(-1deg);
}

.site-header__toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 0;
  padding: 0;
  background: transparent;
}

.world {
  isolation: isolate;
}

.section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section__transition {
  position: absolute;
  z-index: 18;
  bottom: -170px;
  left: 50%;
  width: max(1920px, 120vw);
  max-width: none;
  pointer-events: none;
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 8px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  text-transform: uppercase;
  color: #35baff;
  -webkit-text-stroke: 1.5px var(--ink);
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2.3rem, 6vw, 5.8rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff4b8;
  text-shadow: 4px 4px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink);
}

p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.45;
}

.hero {
  min-height: 100svh;
}

.hero__bg,
.hero__clouds,
.hero__rocks {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  pointer-events: none;
}

.hero__bg {
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero__clouds {
  z-index: 2;
  top: 8%;
}

.hero__rocks {
  z-index: 14;
  bottom: -28px;
}

.hero__content {
  position: relative;
  z-index: 12;
  width: min(900px, calc(100% - 30px));
  padding-top: clamp(105px, 14vh, 150px);
  margin-inline: auto;
  text-align: center;
}

.hero__title {
  width: min(880px, 100%);
  margin-inline: auto;
  filter: drop-shadow(0 12px 0 rgba(8, 14, 26, 0.8));
}

.hero__copy {
  width: min(660px, 100%);
  margin: 10px auto 22px;
  padding: 12px 18px;
  border: 5px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 244, 184, 0.92);
  box-shadow: 0 7px 0 var(--ink);
  font-weight: 900;
}

.hero__actions,
.join__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.image-button {
  position: relative;
  display: inline-grid;
  width: 180px;
  height: 56px;
  place-items: center;
  background: center / contain no-repeat;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.15rem;
  color: #fff8bf;
  text-shadow: 2px 2px 0 var(--ink);
  transition: transform 160ms ease, filter 160ms ease;
}

.image-button:hover,
.image-button:focus-visible {
  transform: translateY(-4px) rotate(-2deg) scale(1.04);
  filter: saturate(1.25);
}

.image-button--buy {
  background-image: url("assets/ui/buy-button.svg");
}

.image-button--buy:hover,
.image-button--buy:focus-visible {
  background-image: url("assets/ui/buy-button-hover.svg");
}

.image-button--telegram {
  background-image: url("assets/ui/telegram-button.svg");
}

.image-button--x {
  background-image: url("assets/ui/x-button.svg");
}

.hero__mascot {
  position: absolute;
  z-index: 11;
  right: max(4vw, 28px);
  bottom: 90px;
  width: clamp(205px, 27vw, 430px);
  filter: drop-shadow(0 18px 0 rgba(8, 14, 26, 0.8));
  animation: bob 2.2s ease-in-out infinite;
}

.about {
  min-height: 940px;
  margin-top: -4px;
}

.about__inner {
  position: relative;
  z-index: 7;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 860px;
  align-items: center;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(20px, 5vw, 64px);
  margin-inline: auto;
  padding: 170px 0 190px;
}

.about__panel {
  position: relative;
}

.about__panel img {
  width: 100%;
  margin-bottom: -122px;
  transform: rotate(-2deg);
}

.about__panel h2,
.about__panel p {
  position: relative;
  z-index: 2;
}

.about__panel p {
  max-width: 700px;
  padding: 18px;
  border: 5px solid var(--ink);
  border-radius: 8px;
  background: #fff8d0;
  box-shadow: 0 8px 0 var(--ink);
  font-weight: 800;
}

.about__scene {
  width: min(540px, 100%);
  justify-self: center;
  filter: drop-shadow(0 16px 0 rgba(8, 14, 26, 0.65));
}

.section__prop {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.about__prop--one {
  top: 185px;
  left: 4vw;
  width: 190px;
}

.about__prop--two {
  right: 5vw;
  bottom: 170px;
  width: 210px;
}

.how {
  min-height: 1450px;
  margin-top: -4px;
}

.how__back,
.how__mid,
.how__front {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  pointer-events: none;
}

.how__back {
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.how__mid {
  z-index: 2;
  top: 18%;
}

.how__front {
  z-index: 15;
  bottom: 0;
}

.how__inner {
  position: relative;
  z-index: 8;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(20px, 5vw, 70px);
  margin-inline: auto;
  padding: 175px 0 300px;
}

.how__sticky {
  position: sticky;
  top: 110px;
  align-self: start;
}

.how__image {
  width: min(520px, 100%);
  border-radius: 8px;
  filter: drop-shadow(0 14px 0 rgba(8, 14, 26, 0.8));
  transition: transform 180ms ease, opacity 180ms ease;
}

.how__image.is-swapping {
  opacity: 0;
  transform: translateY(12px) rotate(2deg) scale(0.96);
}

.how__steps {
  display: grid;
  gap: 22px;
  padding-top: 190px;
}

.how-step {
  min-height: 210px;
  padding: 24px;
  border: 7px solid var(--ink);
  border-radius: 8px;
  background: #fff4b8;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  transition: transform 180ms ease, background 180ms ease;
}

.how-step:nth-child(even) {
  transform: rotate(-1deg);
}

.how-step:hover,
.how-step.is-active {
  background: #ff4b5d;
  transform: translateY(-6px) rotate(-1deg);
}

.how-step span,
.how-step h3 {
  font-family: Impact, "Arial Black", sans-serif;
}

.how-step span {
  display: block;
  font-size: 1.1rem;
}

.how-step h3 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  color: #35baff;
  text-shadow: 2px 2px 0 var(--ink), -1px -1px 0 var(--ink);
}

.how-step p {
  margin-bottom: 0;
  font-weight: 900;
}

.tokenomics {
  min-height: 1030px;
}

.tokenomics__glow {
  position: absolute;
  z-index: 2;
  top: 120px;
  left: 50%;
  width: min(780px, 95vw);
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.tokenomics__inner {
  position: relative;
  z-index: 9;
  display: grid;
  width: min(1240px, calc(100% - 32px));
  min-height: 960px;
  align-items: center;
  grid-template-columns: 0.88fr 1.05fr 0.72fr;
  gap: 24px;
  margin-inline: auto;
  padding: 150px 0 250px;
}

.tokenomics__stats {
  padding: 22px;
  border: 7px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 244, 184, 0.94);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.tokenomics__stats h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.7rem);
}

.tokenomics__stats dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.tokenomics__stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 4px dashed var(--ink);
}

.tokenomics__stats dt {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.2rem;
}

.tokenomics__stats dd {
  margin: 0;
  max-width: 52%;
  overflow-wrap: anywhere;
  font-weight: 900;
  text-align: right;
}

.tokenomics__stage {
  position: relative;
  min-height: 620px;
}

.tokenomics__mascot {
  position: absolute;
  z-index: 5;
  top: 62px;
  left: 50%;
  width: min(420px, 76vw);
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 0 rgba(8, 14, 26, 0.78));
  animation: bob 2.6s ease-in-out infinite;
}

.tokenomics__treasure {
  position: absolute;
  z-index: 6;
  right: -20px;
  bottom: 88px;
  width: 360px;
}

.tokenomics__rocks {
  position: absolute;
  z-index: 7;
  bottom: 0;
  left: 50%;
  width: 720px;
  max-width: none;
  transform: translateX(-50%);
}

.tokenomics__chart {
  width: min(360px, 100%);
  filter: drop-shadow(0 12px 0 rgba(8, 14, 26, 0.75));
  transform: rotate(2deg);
}

.join {
  min-height: 950px;
}

.join__props {
  position: absolute;
  z-index: 4;
  top: 175px;
  left: 50%;
  width: min(880px, 94vw);
  max-width: none;
  transform: translateX(-50%);
}

.join__inner {
  position: relative;
  z-index: 9;
  display: grid;
  min-height: 900px;
  place-items: center;
  align-content: center;
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
  padding: 160px 0 190px;
  text-align: center;
}

.join__mascot {
  width: clamp(185px, 24vw, 330px);
  margin-bottom: -12px;
  filter: drop-shadow(0 14px 0 rgba(8, 14, 26, 0.85));
  animation: bob 2.4s ease-in-out infinite;
}

.join__ground {
  position: absolute;
  z-index: 12;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@media (max-width: 900px) {
  .site-header__toggle {
    display: block;
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: min(280px, 88vw);
    padding: 10px;
    border: 6px solid var(--ink);
    border-radius: 8px;
    background: #fff4b8;
    box-shadow: 0 8px 0 var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.is-open .site-header__nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero__mascot {
    right: auto;
    left: 50%;
    bottom: 278px;
    width: clamp(190px, 48vw, 330px);
    transform: translateX(-50%);
  }

  .hero__content {
    padding-top: 112px;
  }

  .hero__copy {
    margin-bottom: 275px;
  }

  .about__inner,
  .how__inner,
  .tokenomics__inner {
    grid-template-columns: 1fr;
  }

  .about__inner {
    padding-top: 130px;
  }

  .about__panel img {
    margin-bottom: -74px;
  }

  .about__prop--one,
  .about__prop--two {
    width: 130px;
  }

  .how {
    min-height: auto;
  }

  .how__inner {
    padding-top: 128px;
    padding-bottom: 250px;
  }

  .how__sticky {
    position: relative;
    top: 0;
  }

  .how__steps {
    padding-top: 0;
  }

  .tokenomics__inner {
    padding-top: 130px;
  }

  .tokenomics__stage {
    min-height: 520px;
    order: -1;
  }

  .tokenomics__chart {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 8px;
    min-height: 62px;
    border-width: 4px;
  }

  .site-header__brand img {
    width: 40px;
    height: 40px;
  }

  .hero__actions,
  .join__actions {
    gap: 4px;
  }

  .image-button {
    width: 148px;
    height: 48px;
    font-size: 0.94rem;
  }

  .section__transition {
    bottom: -96px;
    width: 1280px;
  }

  .hero__rocks {
    width: 1280px;
    left: 50%;
    transform: translateX(-50%);
  }

  .about__panel img {
    display: none;
  }

  .about__panel {
    padding: 18px;
    border: 6px solid var(--ink);
    border-radius: 8px;
    background: #fff4b8;
    box-shadow: var(--shadow);
  }

  .about__panel p {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .how-step {
    min-height: auto;
    padding: 18px;
  }

  .tokenomics__stats div {
    display: block;
  }

  .tokenomics__stats dd {
    max-width: 100%;
    text-align: left;
  }

  .tokenomics__treasure {
    right: 2vw;
    width: 260px;
  }
}
