:root {
  --ink: #25181f;
  --cream: #fff3c7;
  --red: #ef3f4b;
  --blue: #42b7ec;
  --green: #55b95a;
  --gold: #ffc447;
  --shadow: 0 12px 0 rgba(37, 24, 31, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #45bce6;
  font-family: "Arial Black", Impact, system-ui, sans-serif;
}

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

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

.site-header {
  position: fixed;
  inset: 14px 18px auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.site-header__brand,
.site-header__nav,
.site-header__toggle {
  pointer-events: auto;
  border: 5px solid var(--ink);
  background: var(--cream);
  box-shadow: 0 7px 0 rgba(37, 24, 31, 0.28);
}

.site-header__brand {
  padding: 10px 18px;
  transform: rotate(-2deg);
  font-size: 1.05rem;
}

.site-header__nav {
  display: flex;
  gap: 6px;
  padding: 7px;
  border-radius: 999px;
}

.site-header__nav a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.site-header__nav a:hover {
  background: var(--gold);
}

.site-header__toggle {
  display: none;
  width: 52px;
  height: 48px;
  place-items: center;
  border-radius: 13px;
}

.site-header__toggle span {
  display: block;
  width: 24px;
  height: 4px;
  margin: 3px auto;
  background: var(--ink);
}

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

.section__bg,
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-transition {
  position: absolute;
  right: 50%;
  bottom: -150px;
  z-index: 10;
  width: max(1500px, 108vw);
  max-width: none;
  transform: translateX(50%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 4px solid var(--ink);
  background: var(--gold);
  transform: rotate(-1deg);
  font-size: 0.83rem;
  text-transform: uppercase;
  box-shadow: 0 5px 0 rgba(37, 24, 31, 0.22);
}

h1,
h2 {
  margin: 0;
  color: #fff6d2;
  text-shadow: 5px 5px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(4.2rem, 12vw, 10.5rem);
}

h2 {
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

p {
  font-family: system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.45;
}

.hero {
  display: grid;
  min-height: 110vh;
  align-items: center;
  padding: 120px 7vw 240px;
}

.hero__clouds {
  position: absolute;
  top: 10%;
  left: -8%;
  z-index: -2;
  width: 116%;
  max-width: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 980px;
}

.hero__copy {
  max-width: 590px;
  margin: 20px 0 24px;
  padding: 13px 18px;
  border: 5px solid var(--ink);
  background: rgba(255, 243, 199, 0.9);
  box-shadow: var(--shadow);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.image-button {
  position: relative;
  display: grid;
  width: 188px;
  height: 62px;
  place-items: center;
  background: center / 100% 100% no-repeat;
  color: #fff9d2;
  text-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1deg);
  transition: transform 180ms ease, filter 180ms ease;
}

.image-button:hover {
  transform: translateY(-6px) rotate(1deg);
  filter: saturate(1.18);
}

.image-button span {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

.image-button--buy {
  width: 218px;
  background-image: url("assets/ui/buy-button.png");
}

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

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

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

.hero__mascot {
  position: absolute;
  right: 7vw;
  bottom: 170px;
  z-index: 4;
  width: min(420px, 43vw);
  filter: drop-shadow(16px 20px 0 rgba(37, 24, 31, 0.25));
}

.hero__rocks,
.how__front,
.tokenomics__rocks,
.join__ground {
  position: absolute;
  right: 50%;
  bottom: 0;
  z-index: 8;
  width: max(1500px, 105vw);
  max-width: none;
  transform: translateX(50%);
  pointer-events: none;
}

.about {
  min-height: 980px;
  padding: 230px 7vw 250px;
}

.about__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 50px;
  align-items: center;
}

.about__panel {
  position: relative;
  max-width: 680px;
}

.about__panel > img {
  width: 100%;
  filter: drop-shadow(14px 16px 0 rgba(37, 24, 31, 0.2));
}

.about__panel > div {
  position: absolute;
  inset: 18% 14% auto;
}

.about__panel p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 18px;
  font-size: 1rem;
}

.about__scene {
  position: relative;
  min-height: 650px;
}

.about__mascot {
  position: absolute;
  right: 16%;
  bottom: 7%;
  z-index: 4;
  width: min(420px, 55vw);
  filter: drop-shadow(15px 18px 0 rgba(37, 24, 31, 0.22));
}

.about__prop {
  position: absolute;
  max-width: none;
}

.about__prop--rocket {
  top: 7%;
  right: 2%;
  width: min(380px, 42vw);
  transform: rotate(11deg);
}

.about__prop--treasure {
  bottom: 0;
  left: 0;
  width: min(360px, 38vw);
}

.how {
  min-height: 1400px;
  padding: 250px 7vw 280px;
}

.how__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.8fr minmax(280px, 520px) 0.9fr;
  gap: 34px;
  align-items: start;
}

.how__copy {
  position: sticky;
  top: 120px;
}

.how__copy p:not(.eyebrow) {
  max-width: 390px;
  padding: 14px 16px;
  border: 5px solid var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.how__sticky {
  position: sticky;
  top: 104px;
  display: grid;
  min-height: 580px;
  place-items: center;
}

.how__image {
  width: min(520px, 82vw);
  filter: drop-shadow(18px 22px 0 rgba(37, 24, 31, 0.25));
  transition: transform 220ms ease, opacity 220ms ease;
}

.how__image.is-changing {
  opacity: 0;
  transform: scale(0.9) rotate(-7deg);
}

.how__steps {
  display: grid;
  gap: 22px;
  margin: 20vh 0 0;
  padding: 0;
  list-style: none;
}

.how__step {
  min-height: 170px;
  padding: 22px;
  border: 6px solid var(--ink);
  background: rgba(255, 243, 199, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
  font-family: system-ui, sans-serif;
  font-weight: 900;
}

.how__step:nth-child(even) {
  transform: rotate(-1.2deg);
}

.how__step strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1.45rem;
}

.how__step.is-active {
  background: var(--gold);
}

.tokenomics {
  min-height: 1100px;
  padding: 220px 7vw 260px;
}

.tokenomics__glow {
  position: absolute;
  top: 14%;
  left: 50%;
  z-index: -1;
  width: min(760px, 85vw);
  transform: translateX(-50%);
}

.tokenomics__treasure,
.tokenomics__chart {
  position: absolute;
  z-index: 1;
  width: min(360px, 34vw);
  filter: drop-shadow(12px 15px 0 rgba(37, 24, 31, 0.2));
}

.tokenomics__treasure {
  right: 5vw;
  bottom: 230px;
}

.tokenomics__chart {
  left: 4vw;
  top: 250px;
  transform: rotate(-6deg);
}

.tokenomics__content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(300px, 560px) minmax(280px, 1fr);
  gap: 42px;
  align-items: center;
}

.tokenomics__stats {
  padding: 24px;
  border: 7px solid var(--ink);
  background: rgba(255, 243, 199, 0.92);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.tokenomics__stats h2 {
  color: #ffef95;
}

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

.tokenomics__stats div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 4px solid var(--ink);
  background: #fff7d7;
  font-family: system-ui, sans-serif;
  font-weight: 950;
}

.tokenomics__stats dt {
  color: #d83b45;
}

.tokenomics__stats dd {
  margin: 0;
  text-align: right;
}

.tokenomics__mascot {
  justify-self: center;
  width: min(500px, 58vw);
  filter: drop-shadow(18px 23px 0 rgba(37, 24, 31, 0.27));
}

.join {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: 180px 7vw 200px;
}

.join__content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(240px, 430px) minmax(300px, 650px);
  gap: 34px;
  align-items: center;
}

.join__mascot {
  width: min(410px, 70vw);
  filter: drop-shadow(16px 20px 0 rgba(37, 24, 31, 0.25));
}

.join__content p:not(.eyebrow) {
  max-width: 610px;
  padding: 14px 17px;
  border: 5px solid var(--ink);
  background: rgba(255, 243, 199, 0.92);
  box-shadow: var(--shadow);
}

.join__props {
  position: absolute;
  right: -3vw;
  top: 20%;
  z-index: 2;
  width: min(430px, 42vw);
}

.reveal {
  opacity: 0;
  transform: translateY(40px) rotate(-1deg);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header__toggle {
    display: block;
  }

  .site-header__nav {
    position: absolute;
    top: 62px;
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 36px));
    border-radius: 18px;
    flex-direction: column;
  }

  .site-header.is-open .site-header__nav {
    display: flex;
  }

  .hero {
    min-height: 1040px;
    padding-top: 130px;
  }

  .hero__mascot {
    right: 5vw;
    bottom: 190px;
    width: min(360px, 70vw);
  }

  .about__grid,
  .how__layout,
  .tokenomics__content,
  .join__content {
    grid-template-columns: 1fr;
  }

  .about__panel > div {
    inset: 12% 10% auto;
  }

  .about__panel h2 {
    font-size: clamp(1.65rem, 8vw, 3.6rem);
  }

  .how__copy,
  .how__sticky {
    position: relative;
    top: auto;
  }

  .how__sticky {
    min-height: auto;
  }

  .how__steps {
    margin-top: 30px;
  }

  .tokenomics__chart,
  .tokenomics__treasure {
    opacity: 0.45;
  }
}

@media (max-width: 560px) {
  .section-transition {
    bottom: -95px;
    width: 1350px;
  }

  .hero,
  .about,
  .how,
  .tokenomics,
  .join {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(3.25rem, 20vw, 5.6rem);
  }

  .hero__copy {
    font-size: 0.98rem;
  }

  .image-button {
    width: 160px;
    height: 54px;
  }

  .image-button--buy {
    width: 180px;
  }

  .about__scene {
    min-height: 500px;
  }

  .about__prop--rocket {
    width: 250px;
  }

  .about__prop--treasure {
    width: 240px;
  }

  .tokenomics__stats div {
    display: block;
  }

  .tokenomics__stats dd {
    margin-top: 4px;
    text-align: left;
    overflow-wrap: anywhere;
  }
}
