:root {
  color-scheme: dark;
  --bg: #020504;
  --panel: rgba(8, 20, 15, 0.68);
  --panel-strong: rgba(15, 33, 24, 0.78);
  --line: rgba(216, 255, 225, 0.42);
  --line-soft: rgba(216, 255, 225, 0.18);
  --text: #f7fff8;
  --muted: #afc7b8;
  --mint: #dfffe8;
  --green: #7cff9d;
  --shadow: rgba(178, 255, 200, 0.52);
  --dark-shadow: rgba(0, 0, 0, 0.76);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 16%, rgba(165, 255, 190, 0.13), transparent 24rem),
    radial-gradient(circle at 7% 38%, rgba(207, 255, 216, 0.08), transparent 18rem),
    linear-gradient(180deg, #000 0%, #030807 37%, #020504 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(221, 255, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 255, 230, 0.025) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.05) 36%, transparent 37% 100%),
    radial-gradient(circle at 50% 100%, rgba(205, 255, 216, 0.1), transparent 22rem);
  opacity: 0.55;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  transition: opacity 620ms ease, visibility 620ms ease;
}

.preloader.hidden {
  visibility: hidden;
  opacity: 0;
}

.preloader-scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
  filter: saturate(1.06) contrast(1.06);
}

.preloader-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.28) 67%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 48%, rgba(0, 0, 0, 0.24));
}

.preloader-progress {
  position: absolute;
  left: 50%;
  top: 75%;
  width: 26%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 8px rgba(189, 255, 205, 0.82));
  transition: opacity 120ms ease;
}

.preloader-progress.is-ready {
  opacity: 0.95;
}

.preloader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(218, 255, 225, 0.45), rgba(210, 255, 221, 0.95), rgba(104, 221, 135, 0.82));
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.44),
    0 0 14px rgba(177, 255, 197, 0.86);
  transform: scaleX(0.04);
  transform-origin: left center;
  animation: loader-fill 2.2s cubic-bezier(0.19, 0.72, 0.18, 1) forwards;
}

@keyframes loader-fill {
  to {
    transform: scaleX(1);
  }
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  transform: translateX(-50%);
  pointer-events: none;
}

.brand,
.main-nav,
.nav-buy {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  font-size: 1.04rem;
}

.brand img {
  width: 52px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(215, 255, 225, 0.72));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(224, 255, 229, 0.2);
  border-radius: 999px;
  background: rgba(0, 10, 7, 0.48);
  box-shadow: inset 0 0 12px rgba(231, 255, 237, 0.06), 0 0 20px rgba(127, 255, 159, 0.09);
  backdrop-filter: blur(18px);
}

.main-nav a {
  min-width: 62px;
  padding: 8px 15px;
  border-radius: 999px;
  color: #ecfff0;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  outline: none;
  background: rgba(219, 255, 229, 0.14);
  box-shadow:
    inset 0 0 10px rgba(229, 255, 236, 0.26),
    0 0 13px rgba(208, 255, 219, 0.32);
}

.nav-buy {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 12px 22px;
  border: 1px solid rgba(233, 255, 236, 0.75);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(242, 255, 244, 0.2), rgba(201, 255, 216, 0.08)),
    rgba(9, 28, 19, 0.58);
  box-shadow:
    inset 0 0 18px rgba(225, 255, 232, 0.32),
    0 0 18px rgba(174, 255, 194, 0.35);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 650px;
  padding: 112px max(28px, calc((100vw - 1120px) / 2)) 44px;
  display: grid;
  grid-template-columns: minmax(300px, 560px);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(214, 255, 225, 0.22);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.38) 36%, rgba(0, 0, 0, 0.04) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 56%, rgba(0, 0, 0, 0.7)),
    url("assets/hero-background.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 124px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)),
    radial-gradient(ellipse at center bottom, rgba(219, 255, 229, 0.12), transparent 62%);
  opacity: 0.86;
  filter: blur(0.3px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 58px 0 66px;
}

.eyebrow,
.tagline,
.section-heading p,
.site-footer p {
  margin: 0;
  color: #e4f6e7;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
}

.eyebrow {
  padding-left: 138px;
}

.glass-title {
  margin: 6px 0 4px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(4.6rem, 9vw, 8.45rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(238, 255, 241, 0.86);
  background:
    radial-gradient(circle at 36% 22%, #fff 0 4%, transparent 12%),
    linear-gradient(180deg, #ffffff 0%, #a9c9b2 22%, #24462d 52%, #effff2 74%, #587664 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 5px rgba(223, 255, 230, 0.75)) drop-shadow(0 0 18px rgba(180, 255, 199, 0.45));
}

.tagline {
  margin: 11px 0 16px;
  color: #f5fff6;
  font-size: 0.96rem;
}

.intro {
  width: min(100%, 430px);
  margin: 0 0 22px;
  color: #f0f6f0;
  font-size: 0.99rem;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button,
.contract {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid rgba(219, 255, 227, 0.5);
  border-radius: 999px;
  box-shadow:
    inset 0 0 18px rgba(228, 255, 235, 0.24),
    0 0 20px rgba(167, 255, 188, 0.24);
  font-weight: 850;
  overflow: hidden;
}

.button::before,
.contract::before,
.surface::before,
details::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), transparent 28%, rgba(255, 255, 255, 0.08) 60%, transparent);
  opacity: 0.76;
}

.button {
  padding: 0 24px;
  color: #f7fff8;
  text-shadow: 0 1px 3px #000;
  backdrop-filter: blur(15px);
}

.button .brand-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.button .x-logo {
  width: 21px;
  height: 21px;
}

.button .pump-icon {
  width: 25px;
  height: 25px;
  border-radius: 6px;
}

.button span,
.button svg {
  position: relative;
  z-index: 1;
}

.button.primary {
  color: #07110b;
  background: linear-gradient(180deg, #f5fff5, #cdeed5 45%, #effff2 100%);
  text-shadow: none;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.92),
    0 0 24px rgba(209, 255, 220, 0.45);
}

.button.secondary,
.contract,
.surface,
details {
  background:
    linear-gradient(180deg, rgba(234, 255, 239, 0.08), rgba(11, 28, 19, 0.78)),
    rgba(4, 14, 10, 0.66);
}

.button:hover,
.button:focus-visible,
.contract:hover,
.contract:focus-visible,
details:hover {
  outline: none;
  border-color: rgba(239, 255, 242, 0.88);
  box-shadow:
    inset 0 0 20px rgba(229, 255, 234, 0.34),
    0 0 30px rgba(183, 255, 199, 0.36);
}

.contract {
  width: min(100%, 332px);
  margin-top: 16px;
  padding: 0 16px;
  color: var(--text);
  cursor: pointer;
}

.contract span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 28px;
  border-radius: 999px;
  background: rgba(238, 255, 243, 0.12);
  color: #dfffe8;
  font-size: 0.72rem;
}

.contract strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
}

.hand-note {
  margin: 0;
  color: #effff2;
  font-family: "Comic Sans MS", "Segoe Print", cursive;
  font-size: 1.05rem;
  line-height: 1.06;
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(230, 255, 235, 0.45);
}

.note-left {
  position: absolute;
  left: 36px;
  bottom: 8px;
  transform: rotate(-11deg);
}

.lore-copy strong::after,
.site-footer p::before {
  display: block;
  width: 22px;
  height: 1px;
  margin-top: 11px;
  background: #effff2;
  content: "";
}

.chart-section,
.gallery-section,
.lore-section,
.faq-section,
.join-section,
.site-footer {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
}

.chart-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  align-items: stretch;
  gap: 16px;
  margin-top: 28px;
}

.surface {
  position: relative;
  border: 1px solid rgba(220, 255, 228, 0.47);
  border-radius: var(--radius);
  box-shadow:
    inset 0 0 20px rgba(227, 255, 233, 0.14),
    0 0 28px rgba(158, 255, 182, 0.18);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.chart-panel {
  padding: 17px 17px 22px;
  display: flex;
  flex-direction: column;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.coin-heading h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1;
}

.section-heading p {
  margin-top: 7px;
  color: #d8f6de;
}

.timeframe {
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(227, 255, 234, 0.12);
  border-radius: 999px;
  background: rgba(0, 6, 4, 0.46);
}

.timeframe button {
  min-width: 41px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  color: #d5e7d9;
  background: transparent;
  cursor: pointer;
}

.timeframe button.active {
  color: #fff;
  background: rgba(218, 255, 226, 0.17);
  box-shadow: inset 0 0 12px rgba(217, 255, 226, 0.35), 0 0 14px rgba(161, 255, 183, 0.28);
}

.dex-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(227, 255, 234, 0.26);
  border-radius: 999px;
  color: #ecfff0;
  background: rgba(0, 10, 7, 0.46);
  box-shadow: inset 0 0 12px rgba(231, 255, 237, 0.08), 0 0 17px rgba(127, 255, 159, 0.12);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 850;
}

.dex-pill:hover,
.dex-pill:focus-visible {
  outline: none;
  border-color: rgba(239, 255, 242, 0.8);
  box-shadow: inset 0 0 15px rgba(229, 255, 234, 0.2), 0 0 22px rgba(183, 255, 199, 0.24);
}

.chart-wrap {
  position: relative;
  margin-top: 14px;
  height: 285px;
  border: 1px solid rgba(222, 255, 228, 0.16);
  border-radius: 6px;
  background: rgba(0, 7, 6, 0.58);
  overflow: hidden;
}

.dex-chart-wrap {
  flex: 1 1 auto;
  height: clamp(475px, 47vw, 590px);
  min-height: 475px;
  background: #050807;
}

.dex-chart-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  color-scheme: dark;
}

#priceChart {
  display: block;
  width: 100%;
  height: 100%;
}

.price-pill {
  position: absolute;
  right: 13px;
  top: 43%;
  padding: 5px 8px;
  border-radius: 4px;
  color: #031006;
  background: #8cff9c;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(140, 255, 156, 0.42);
}

.stats-panel {
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
}

.coin-heading {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 17px;
}

.coin-heading > div {
  flex: 1 1 auto;
  min-width: 0;
}

.coin-heading img {
  width: 68px;
  height: 62px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 0 12px rgba(196, 255, 212, 0.46));
}

.coin-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  line-height: 0.93;
}

.coin-heading p {
  margin: 7px 0 0;
  color: #d9f5df;
  text-transform: uppercase;
  font-size: 0.79rem;
  font-weight: 800;
}

.live-badge {
  margin: -6px 0 0 72px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(147, 255, 170, 0.32);
  border-radius: 999px;
  background: rgba(7, 21, 14, 0.68);
  box-shadow: inset 0 0 12px rgba(161, 255, 183, 0.12), 0 0 16px rgba(127, 255, 159, 0.12);
  color: #eaffef;
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 900;
}

.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7cff9d;
  box-shadow: 0 0 12px rgba(124, 255, 157, 0.9);
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.stat-grid article {
  min-height: 76px;
  padding: 13px 13px 11px;
  border: 1px solid rgba(228, 255, 235, 0.15);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.2));
}

.stat-grid span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.69rem;
  font-weight: 800;
}

.stat-grid strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  line-height: 1;
  word-break: break-word;
}

.stat-grid em {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.stat-grid em.negative {
  color: #ff7d86;
}

.chart-button {
  width: 100%;
  margin-top: 13px;
  justify-content: space-between;
}

.panel-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 13px 4px 0;
  color: rgba(226, 255, 234, 0.72);
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 850;
}

.just-updated {
  animation: panel-refresh 700ms ease;
}

@keyframes panel-refresh {
  0% {
    box-shadow:
      inset 0 0 28px rgba(227, 255, 233, 0.28),
      0 0 38px rgba(124, 255, 157, 0.36);
  }
  100% {
    box-shadow:
      inset 0 0 20px rgba(227, 255, 233, 0.14),
      0 0 28px rgba(158, 255, 182, 0.18);
  }
}

.gallery-section {
  margin-top: 30px;
  overflow: visible;
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 15px;
  overflow-x: auto;
  padding: 2px 2px 34px;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  min-width: 148px;
  height: 238px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(1.05) contrast(1.04);
}

.lore-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(460px, 0.42fr);
  align-items: center;
  gap: 28px;
  min-height: 350px;
  margin-top: 22px;
  padding: 40px 0 38px;
  border-top: 1px solid rgba(218, 255, 225, 0.17);
  border-bottom: 1px solid rgba(218, 255, 225, 0.2);
  background:
    linear-gradient(90deg, rgba(2, 5, 4, 0.98) 0%, rgba(2, 5, 4, 0.9) 35%, rgba(2, 5, 4, 0.2) 62%, rgba(2, 5, 4, 0.62) 100%),
    linear-gradient(180deg, rgba(2, 5, 4, 0.82) 0%, rgba(2, 5, 4, 0) 24%, rgba(2, 5, 4, 0.76) 100%),
    url("assets/lore-swarm.png") right center / 73% auto no-repeat;
  overflow: hidden;
}

.lore-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(2, 5, 4, 0.88) 17%, rgba(2, 5, 4, 0) 38%),
    linear-gradient(180deg, var(--bg) 0%, rgba(2, 5, 4, 0) 19%, rgba(2, 5, 4, 0) 78%, var(--bg) 100%);
}

.lore-copy {
  position: relative;
  z-index: 1;
}

.lore-copy p {
  width: min(100%, 430px);
  margin: 18px 0 0;
  color: #f2f8f2;
  line-height: 1.47;
}

.lore-copy strong {
  display: block;
  margin-top: 22px;
  color: #daf9e0;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.faq-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 302px;
  gap: 24px;
  min-height: 270px;
  padding: 28px 0 27px;
  border-bottom: 1px solid rgba(218, 255, 225, 0.16);
  overflow: hidden;
}

.faq-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(2, 5, 4, 0.95) 54%, rgba(2, 5, 4, 0.32) 75%, rgba(2, 5, 4, 0.72) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(2, 5, 4, 0) 22%, rgba(2, 5, 4, 0) 76%, var(--bg) 100%),
    url("assets/faq-cat.png") right -18px center / clamp(330px, 34vw, 470px) auto no-repeat;
}

.faq-copy {
  position: relative;
  z-index: 1;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin-top: 16px;
}

details {
  position: relative;
  border: 1px solid rgba(226, 255, 234, 0.34);
  border-radius: 8px;
  box-shadow: inset 0 0 14px rgba(229, 255, 234, 0.12), 0 0 14px rgba(168, 255, 188, 0.15);
  overflow: hidden;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 0 16px;
  list-style: none;
  cursor: pointer;
  font-weight: 850;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  content: "+";
  color: #f2fff4;
  background: rgba(220, 255, 226, 0.08);
  box-shadow: inset 0 0 9px rgba(220, 255, 226, 0.16);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 16px 15px;
  color: #d9e8dd;
  line-height: 1.45;
}

.join-section {
  position: relative;
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 132px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(218, 255, 225, 0.16);
}

.join-actions .button {
  min-width: 180px;
}

.join-note {
  position: absolute;
  right: 20px;
  top: 20px;
  transform: rotate(-8deg);
  color: rgba(244, 255, 246, 0.72);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0 42px;
}

.site-footer p {
  color: #bad2c0;
  font-size: 0.64rem;
}

.site-footer p::before {
  display: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 18px;
  color: #e8f7eb;
  font-size: 0.72rem;
}

@media (max-width: 1040px) {
  .site-header {
    width: min(760px, calc(100% - 28px));
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 100%;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 154px;
    background-position: 58% center;
  }

  .hero-copy {
    max-width: 650px;
  }

  .eyebrow {
    padding-left: 0;
  }

  .lore-section {
    grid-template-columns: 1fr;
    min-height: 420px;
    padding-bottom: 225px;
    background:
      linear-gradient(180deg, rgba(2, 5, 4, 0.98) 0%, rgba(2, 5, 4, 0.86) 48%, rgba(2, 5, 4, 0.24) 72%, rgba(2, 5, 4, 0.82) 100%),
      url("assets/lore-swarm.png") center bottom / min(920px, 108%) auto no-repeat;
  }

  .chart-section,
  .faq-section,
  .join-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .faq-section {
    min-height: 390px;
    padding-bottom: 170px;
  }

  .faq-section::before {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(2, 5, 4, 0.96) 48%, rgba(2, 5, 4, 0.28) 74%, var(--bg) 100%),
      url("assets/faq-cat.png") right bottom / min(620px, 94%) auto no-repeat;
  }

  .site-footer {
    justify-items: start;
  }

  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 12px;
  }

  .brand span {
    max-width: 136px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-buy {
    min-width: 104px;
    padding-inline: 16px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .main-nav a {
    min-width: auto;
    flex: 0 0 auto;
    padding: 8px 12px;
  }

  .hero {
    min-height: 690px;
    padding-inline: 22px;
    padding-bottom: 24px;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.44) 52%, rgba(0, 0, 0, 0.18) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 52%, rgba(0, 0, 0, 0.76)),
      url("assets/hero-background.png") 61% center / cover no-repeat;
  }

  .glass-title {
    font-size: clamp(3.6rem, 18vw, 6.2rem);
  }

  .tagline {
    font-size: 0.86rem;
  }

  .hero-actions .button,
  .join-actions .button,
  .contract {
    width: 100%;
  }

  .note-left {
    position: static;
    display: inline-block;
    margin-top: 18px;
  }

  .chart-section,
  .gallery-section,
  .lore-section,
  .faq-section,
  .join-section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .section-heading,
  .gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeframe {
    width: 100%;
    justify-content: space-between;
  }

  .timeframe button {
    flex: 1;
  }

  .chart-wrap {
    height: 255px;
  }

  .dex-chart-wrap {
    height: min(76vh, 430px);
    min-height: 345px;
  }

  .stat-grid,
  .faq-grid,
  .lore-section {
    grid-template-columns: 1fr;
  }

  .gallery-track {
    grid-auto-columns: minmax(152px, 62vw);
  }

  .lore-section {
    min-height: 0;
    padding: 29px 0 185px;
    background:
      linear-gradient(180deg, rgba(2, 5, 4, 0.98) 0%, rgba(2, 5, 4, 0.9) 52%, rgba(2, 5, 4, 0.32) 77%, rgba(2, 5, 4, 0.86) 100%),
      url("assets/lore-swarm.png") center bottom / 118% auto no-repeat;
  }

  .join-note {
    display: none;
  }

  .faq-section {
    min-height: 0;
    padding-bottom: 148px;
  }

  .faq-section::before {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(2, 5, 4, 0.97) 56%, rgba(2, 5, 4, 0.36) 81%, var(--bg) 100%),
      url("assets/faq-cat.png") right bottom / min(500px, 126%) auto no-repeat;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .preloader {
    display: none;
  }
}
