:root {
  color-scheme: dark;
  --ink: #080706;
  --ink-2: #14110e;
  --smoke: #d9d2bf;
  --paper: #f2d893;
  --gold: #f0b42a;
  --gold-2: #c78319;
  --red: #b92d20;
  --jade: #35d9d1;
  --leaf: #2a6f4b;
  --line: #020202;
  --shadow: rgba(0, 0, 0, 0.72);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--smoke);
  background:
    radial-gradient(circle at 50% -10%, rgba(240, 180, 42, 0.28), transparent 34rem),
    linear-gradient(180deg, #090807, #14100c 30%, #050505 100%);
  font-family: Impact, Haettenschweiler, "Arial Black", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 17px 17px;
  mix-blend-mode: overlay;
}

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

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

.site-header {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 60;
  width: min(calc(100% - 1.5rem), 1180px);
  min-height: 4.25rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 9, 8, 0.76);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.36), inset 0 0 0 2px rgba(240, 180, 42, 0.36);
  backdrop-filter: blur(9px);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: clamp(1rem, 2.8vw, 1.45rem);
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--line);
  white-space: nowrap;
}

.site-header__brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(240, 180, 42, 0.75));
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-header__nav a {
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #fff3c7;
  text-shadow: 2px 2px 0 var(--line);
}

.site-header__nav a:hover {
  background: rgba(240, 180, 42, 0.22);
  color: white;
}

.site-header__menu {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--gold);
  box-shadow: inset 0 -5px 0 var(--gold-2);
  cursor: pointer;
}

.site-header__menu span {
  display: block;
  width: 1.45rem;
  height: 0.22rem;
  margin: 0.25rem auto;
  background: var(--line);
  border-radius: 99px;
}

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

.section__inner {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--jade);
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--line);
}

h1,
h2 {
  margin: 0;
  color: var(--gold);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    5px 5px 0 var(--line),
    -2px -2px 0 var(--line),
    0 0 24px rgba(240, 180, 42, 0.32);
}

h1 {
  font-size: clamp(3.2rem, 11vw, 9rem);
}

h2 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

p {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0;
}

.hero {
  display: grid;
  place-items: center;
  padding: 8rem 1rem 10rem;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.hero__clouds {
  position: absolute;
  top: 7rem;
  left: 50%;
  z-index: -1;
  width: min(82rem, 125vw);
  max-width: none;
  transform: translateX(-50%);
  opacity: 0.9;
  filter: drop-shadow(0 10px 0 rgba(0, 0, 0, 0.35));
  animation: drift 9s ease-in-out infinite alternate;
}

.hero__content {
  position: relative;
  z-index: 6;
  max-width: 66rem;
  text-align: center;
  padding-top: 3rem;
}

.hero__copy {
  width: min(42rem, 100%);
  margin: 1rem auto 1.45rem;
  color: white;
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-shadow: 3px 3px 0 var(--line);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.game-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 9.5rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.2rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  color: #160d06;
  background: var(--paper);
  box-shadow: 0 8px 0 var(--line), inset 0 -8px 0 rgba(80, 45, 0, 0.28);
  transform: rotate(-1deg);
  transition: transform 180ms ease, filter 180ms ease;
}

.game-button::after {
  content: "";
  position: absolute;
  inset: -1.25rem -1rem;
  z-index: -1;
  opacity: 0;
  background: url("assets/props/button-props.png") center / contain no-repeat;
  transition: opacity 180ms ease, transform 180ms ease;
}

.game-button span {
  position: relative;
  z-index: 2;
  font-size: 1.12rem;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.45);
}

.game-button:hover,
.game-button:focus-visible {
  transform: translateY(-4px) rotate(1deg) scale(1.04);
  filter: saturate(1.22);
}

.game-button:hover::after,
.game-button:focus-visible::after {
  opacity: 1;
  transform: scale(1.08);
}

.game-button--buy {
  background: var(--gold);
  box-shadow: 0 8px 0 var(--line), inset 0 -8px 0 var(--gold-2);
}

.game-button--social {
  color: white;
  background: #181410;
  box-shadow: 0 8px 0 var(--line), inset 0 0 0 3px rgba(240, 180, 42, 0.58);
}

.hero__mascot {
  position: absolute;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 8rem;
  z-index: 5;
  width: clamp(12rem, 27vw, 24rem);
  filter: drop-shadow(0 20px 0 rgba(0, 0, 0, 0.4)) drop-shadow(0 0 22px rgba(240, 180, 42, 0.55));
}

.hero__ground,
.transition {
  pointer-events: none;
}

.hero__ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2rem;
  z-index: 8;
  width: 100%;
  height: 12rem;
  max-width: none;
  object-fit: cover;
}

.transition {
  position: absolute;
  left: 50%;
  z-index: 15;
  width: min(104rem, 132vw);
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 -12px 0 rgba(0, 0, 0, 0.2));
}

.transition--hero {
  bottom: -5.5rem;
  height: 15rem;
  object-fit: cover;
}

.about {
  min-height: 105svh;
  padding: 10rem 0 12rem;
  background:
    radial-gradient(circle at 85% 12%, rgba(53, 217, 209, 0.2), transparent 23rem),
    radial-gradient(circle at 10% 55%, rgba(185, 45, 32, 0.18), transparent 20rem),
    linear-gradient(180deg, #15100c, #21150d 48%, #0b0908);
}

.about::before,
.how::before,
.tokenomics::before,
.join::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("assets/props/clouds-layer.png");
  background-size: 55rem auto;
  background-position: center top;
  background-repeat: repeat-x;
}

.about__inner,
.tokenomics__inner,
.join__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(20rem, 1.12fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.panel {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2.1rem);
  border: 5px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 12, 8, 0.82);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.4), inset 0 0 0 3px rgba(240, 180, 42, 0.28);
}

.panel__image {
  position: absolute;
  inset: -4rem auto auto 50%;
  z-index: -1;
  width: min(34rem, 92vw);
  max-width: none;
  transform: translateX(-50%);
  opacity: 0.85;
}

.panel p:not(.eyebrow) {
  max-width: 38rem;
  color: #f7edd0;
}

.about__scene,
.tokenomics__scene,
.join__scene {
  width: 100%;
  filter: drop-shadow(0 22px 0 rgba(0, 0, 0, 0.36));
}

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

.section__prop--left {
  left: -5rem;
  bottom: 3rem;
  width: clamp(15rem, 30vw, 28rem);
  opacity: 0.92;
}

.section__prop--right {
  right: -4rem;
  bottom: 5rem;
  width: clamp(15rem, 32vw, 30rem);
  opacity: 0.88;
}

.transition--about {
  bottom: -4.5rem;
  height: 14rem;
  object-fit: contain;
}

.how {
  min-height: 185svh;
  padding: 8rem 0 13rem;
  background:
    radial-gradient(circle at 35% 45%, rgba(240, 180, 42, 0.18), transparent 26rem),
    linear-gradient(180deg, #0b0908, #18140f 50%, #070707);
}

.how__sticky {
  position: sticky;
  top: 6rem;
  z-index: 6;
  min-height: calc(100svh - 7rem);
  display: grid;
  align-items: center;
}

.how__inner {
  display: grid;
  grid-template-columns: minmax(19rem, 0.86fr) minmax(18rem, 1.14fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.how__copy > p:not(.eyebrow) {
  color: #f8efd8;
}

.steps {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.steps__item {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1rem 1rem 1.25rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  color: #efe5c6;
  background: rgba(16, 13, 10, 0.78);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.48);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.steps__item strong {
  color: var(--gold);
  font-size: 1.2rem;
  text-shadow: 2px 2px 0 var(--line);
}

.steps__item span {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.steps__item.is-active {
  transform: translateX(0.55rem);
  color: #130c06;
  background: var(--paper);
}

.steps__item.is-active strong {
  color: var(--red);
}

.how__stage {
  position: relative;
  min-height: 29rem;
}

.how__scene {
  position: relative;
  z-index: 2;
  width: 100%;
  transform-origin: center;
  filter: drop-shadow(0 26px 0 rgba(0, 0, 0, 0.35));
  transition: transform 260ms ease, filter 260ms ease;
}

.how__scene[data-active-step="1"] {
  transform: rotate(-2deg) translateY(-0.6rem) scale(1.02);
}

.how__scene[data-active-step="2"] {
  transform: rotate(2deg) translateX(0.5rem) scale(1.04);
}

.how__scene[data-active-step="3"] {
  transform: translateY(-0.9rem) scale(1.06);
  filter: drop-shadow(0 26px 0 rgba(0, 0, 0, 0.35)) drop-shadow(0 0 28px rgba(53, 217, 209, 0.42));
}

.how__props {
  position: absolute;
  pointer-events: none;
}

.how__props--coins {
  right: -3rem;
  bottom: -1rem;
  z-index: 3;
  width: 40%;
  animation: bob 3.5s ease-in-out infinite;
}

.how__props--glow {
  left: -3rem;
  top: 2rem;
  z-index: 1;
  width: 35%;
  opacity: 0.88;
  animation: pulse 2.4s ease-in-out infinite;
}

.transition--how {
  bottom: -4.7rem;
  height: 13rem;
  object-fit: cover;
}

.tokenomics {
  padding: 10rem 0 12rem;
  background:
    radial-gradient(circle at 50% 36%, rgba(53, 217, 209, 0.18), transparent 26rem),
    radial-gradient(circle at 72% 55%, rgba(240, 180, 42, 0.22), transparent 22rem),
    linear-gradient(180deg, #070707, #1c1510 55%, #060606);
}

.tokenomics__inner {
  grid-template-columns: minmax(20rem, 1.12fr) minmax(18rem, 0.88fr);
}

.stats {
  position: relative;
  z-index: 6;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.2rem 0 0;
}

.stats__grid div {
  min-height: 7.25rem;
  padding: 1rem;
  border: 4px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 12, 9, 0.84);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.48), inset 0 0 0 2px rgba(240, 180, 42, 0.28);
}

.stats__grid dt {
  color: var(--jade);
  font-size: 0.9rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--line);
}

.stats__grid dd {
  margin: 0.25rem 0 0;
  color: var(--gold);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  text-shadow: 3px 3px 0 var(--line);
  overflow-wrap: anywhere;
}

.transition--tokenomics {
  bottom: -3.5rem;
  height: 12rem;
  object-fit: contain;
}

.join {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 9rem 0 8rem;
  background:
    radial-gradient(circle at 60% 38%, rgba(240, 180, 42, 0.28), transparent 28rem),
    linear-gradient(180deg, #080808, #16100a 55%, #030303);
}

.join__inner {
  grid-template-columns: minmax(20rem, 1.15fr) minmax(18rem, 0.85fr);
}

.join__copy p:not(.eyebrow) {
  color: #fff2cd;
  font-size: 1.1rem;
}

.join__bamboo {
  position: absolute;
  right: -4rem;
  bottom: -3rem;
  z-index: 4;
  width: clamp(15rem, 30vw, 27rem);
  opacity: 0.78;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem) scale(0.98);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@keyframes drift {
  from {
    transform: translateX(-52%) translateY(0);
  }
  to {
    transform: translateX(-48%) translateY(0.8rem);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-0.9rem) rotate(2deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 3.9rem;
  }

  .site-header__menu {
    display: block;
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 9, 8, 0.94);
  }

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

  .site-header__nav a {
    padding: 0.95rem;
  }

  .hero {
    padding-top: 7rem;
    place-items: start center;
  }

  .hero__content {
    padding-top: 1.5rem;
  }

  .hero__mascot {
    right: 50%;
    bottom: 9rem;
    width: min(18rem, 68vw);
    transform: translateX(50%);
    opacity: 0.72;
  }

  .hero__ground {
    height: 9rem;
  }

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

  .about,
  .tokenomics,
  .join {
    padding-top: 8rem;
  }

  .how {
    min-height: auto;
  }

  .how__sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .how__stage {
    min-height: 20rem;
  }

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

  .section__prop--left,
  .section__prop--right {
    opacity: 0.36;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.6rem, 12vw, 3rem);
  }

  .site-header__brand span {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .game-button {
    width: min(100%, 20rem);
  }

  .transition {
    width: 180vw;
  }
}
