/* =========================================================
   Shrek $SHREK — design system
   ========================================================= */
:root {
  /* palette */
  --bg-0: #05100a;
  --bg-1: #081810;
  --bg-2: #0d2516;
  --surface: rgba(18, 40, 26, 0.55);
  --surface-2: rgba(22, 48, 32, 0.72);
  --border: rgba(140, 220, 150, 0.14);
  --border-strong: rgba(140, 220, 150, 0.28);

  --text: #eaf6ed;
  --text-muted: #9fc6ab;
  --text-faint: rgba(159, 198, 171, 0.7);

  --green: #7fe663;
  --green-bright: #a3ff78;
  --green-deep: #3aa54a;
  --accent: #ffd95c;
  --sky: #7bd6ff;

  /* layout */
  --container: 1160px;
  --header-h: 68px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur: 220ms;
  --dur-slow: 420ms;

  /* elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-green: 0 14px 40px rgba(79, 216, 106, 0.22);
}

/* =========================================================
   Reset / base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}
:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus {
  left: 10px;
}

/* =========================================================
   Background FX  (lean: gradient + 2 soft blobs + stars)
   ========================================================= */
.fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 8% -8%, rgba(79, 216, 106, 0.16), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(123, 214, 255, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 60%, var(--bg-0) 100%);
}
.fx__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.fx__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
}
.fx__blob--a {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(127, 230, 99, 0.45), transparent 60%);
  animation: blobA 22s ease-in-out infinite;
}
.fx__blob--b {
  width: 460px;
  height: 460px;
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 217, 92, 0.25), transparent 60%);
  animation: blobB 28s ease-in-out infinite;
}
@keyframes blobA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(60px, 40px, 0); }
}
@keyframes blobB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-50px, -30px, 0); }
}
.fx__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='1'/></svg>");
}

main {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
}

/* =========================================================
   Scroll progress
   ========================================================= */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  background: rgba(255, 255, 255, 0.04);
}
.progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-bright), var(--sky));
  box-shadow: 0 0 12px rgba(127, 230, 99, 0.4);
  transition: width 80ms linear;
}

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  height: var(--header-h);
  background: rgba(5, 16, 10, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  pointer-events: auto;
}
.topbar.is-scrolled {
  background: rgba(5, 16, 10, 0.85);
  border-bottom-color: var(--border-strong);
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--dur) var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand__name {
  font-family: "Luckiest Guy", Inter, system-ui, sans-serif;
  font-size: 19px;
  letter-spacing: 0.6px;
}
.brand__symbol {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--green-bright);
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover {
  color: var(--text);
  background: rgba(127, 230, 99, 0.08);
}
.topbar__cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--green-bright), var(--green-deep));
  color: #06180b;
  box-shadow: var(--shadow-green);
}
.btn--primary:hover {
  box-shadow: 0 18px 46px rgba(79, 216, 106, 0.34);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(127, 230, 99, 0.08);
  border-color: var(--border-strong);
}
.btn--sm {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 10px;
}
.btn--lg {
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 14px;
}
.btn__icon {
  width: 16px;
  height: 16px;
  flex: none;
}

/* =========================================================
   Burger + mobile drawer
   ========================================================= */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background var(--dur) var(--ease);
}
.burger:hover { background: rgba(127, 230, 99, 0.08); }
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 49;
  padding: 16px 20px 24px;
  transform: translateY(-110%);
  transition: transform var(--dur-slow) var(--ease-out);
  background: rgba(5, 16, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-strong);
  pointer-events: none;
}
.mobile[aria-hidden="false"] {
  transform: translateY(0);
  pointer-events: auto;
}
.mobile__panel {
  display: grid;
  gap: 8px;
}
.mobile__link {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  transition: background var(--dur) var(--ease);
}
.mobile__link:hover { background: rgba(127, 230, 99, 0.08); }
.mobile__row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.mobile__row .btn {
  flex: 1;
  padding: 12px 14px;
}
.mobile__scrim {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.mobile__scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 0;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 7.5vh, 92px) 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hero__copy {
  max-width: 720px;
  justify-self: center;
  text-align: left;
  position: relative;
  transform: translateY(-10px);
}
.hero__copy > :not(.hero-float) {
  position: relative;
  z-index: 2;
}
.hero__actions { justify-content: flex-start; }
.chip { margin-left: 0; margin-right: 0; }

.chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(140,255,98,.10);
  border: 1px solid rgba(140,255,98,.22);
  color: rgba(234,255,240,.92);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
}

.hero__title { margin: 14px 0 10px; line-height: .92; }
.hero__titleTop {
  display: block;
  font-family: "Luckiest Guy", "Orbitron", Inter, system-ui, sans-serif;
  letter-spacing: 1.2px;
  font-size: clamp(44px, 6.4vw, 78px);
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}
.hero__titleBottom {
  display: block;
  font-family: "Luckiest Guy", "Orbitron", Inter, system-ui, sans-serif;
  letter-spacing: 2px;
  font-size: clamp(66px, 8.7vw, 122px);
  color: var(--green);
  text-shadow: 0 6px 0 rgba(0,0,0,.28), 0 0 0 rgba(0,0,0,.28);
}
.hero__subtitle {
  margin: 0 0 18px;
  color: rgba(191,231,201,.92);
  font-size: 20px;
  line-height: 1.55;
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Contract pill */
.ca {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 12px 14px;
}
.ca__label { color: rgba(191,231,201,.92); font-weight: 800; font-size: 14px; }
.ca__value { color: rgba(234,255,240,.96); font-weight: 800; font-size: 14px; }
.ca__copy {
  margin-left: auto;
  padding: 9px 14px;
  border-radius: 14px;
  border: 1px solid rgba(140,255,98,.26);
  background: rgba(140,255,98,.08);
  color: rgba(234,255,240,.95);
  font-weight: 900;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.ca__copy:hover { transform: translateY(-1px); background: rgba(140,255,98,.16); }
.ca__copy.is-copied { background: var(--green-bright); color: #06180b; border-color: transparent; }

/* Hero art — logo orb + mascots */
.hero__art { display: flex; justify-content: center; }

.card--art {
  padding: 14px;
  width: min(480px, 100%);
  aspect-ratio: 4 / 5;
  border: 0 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
}
.card.card--art { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.card.card--art:hover { transform: none; }
.card--art .art__shine { display: none !important; }
.art__shine {
  position: absolute;
  inset: -40% -70% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%);
  transform: rotate(18deg);
  pointer-events: none;
}
/* Mobile-only composed peekers around the orb (hidden on desktop) */
.art-peek { display: none; }

/* Logo orb */
.logo-orb {
  width: min(340px, 78%);
  aspect-ratio: 1 / 1;
  margin: 18px auto 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), rgba(255,255,255,.03) 55%, rgba(0,0,0,.10));
  border: 1px solid rgba(140,255,98,.22);
  box-shadow:
    0 0 0 6px rgba(140,255,98,.06),
    0 18px 40px rgba(0,0,0,.35),
    0 0 26px rgba(79,216,106,.18);
  position: relative;
  animation: logoBob 3.6s ease-in-out infinite;
}
.logo-orb--hero {
  margin-top: 64px;
  width: min(380px, 86%);
}
.logo-orb__img {
  width: 74%;
  height: 74%;
  object-fit: cover;
  border-radius: 999px;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.28));
}
@keyframes logoBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* Floating hero sticker */
.hero-float {
  position: absolute;
  right: -6px;
  top: 86px;
  width: 240px;
  height: 200px;
  pointer-events: none;
  opacity: .95;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.45));
  z-index: 3;
}
.hero-float__shrek {
  position: absolute;
  right: 22px;
  bottom: 0;
  width: 150px;
  height: auto;
  animation: jumpy 1.9s ease-in-out infinite;
}
.hero-float__donkey {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100px;
  height: auto;
  transform: rotate(-4deg);
  animation: jumpy2 2.2s ease-in-out infinite;
}
@keyframes jumpy {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-14px) rotate(1deg); }
}
@keyframes jumpy2 {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(-10px) rotate(-2deg); }
}

/* =========================================================
   Section scaffold
   ========================================================= */
.section {
  padding: clamp(56px, 9vw, 104px) 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, rgba(127, 230, 99, 0.025), rgba(127, 230, 99, 0));
  border-block: 1px solid var(--border);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.section__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-bright);
}
.section__title {
  margin: 0;
  font-family: "Luckiest Guy", Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 44px);
  letter-spacing: 0.8px;
  line-height: 1.05;
}
.section__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* =========================================================
   Card primitive
   ========================================================= */
.card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

/* =========================================================
   Tokenomics
   ========================================================= */
.tok__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tok__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}
.tok__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(127, 230, 99, 0.1);
  border: 1px solid var(--border-strong);
  color: var(--green-bright);
}
.tok__icon svg { width: 22px; height: 22px; }
.tok__meta { min-width: 0; }
.tok__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.tok__v {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================
   Chart embed
   ========================================================= */
.embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: rgba(8, 24, 16, 0.6);
  box-shadow: var(--shadow-lg);
}
.embed iframe {
  width: 100%;
  height: min(70vh, 680px);
  border: 0;
  display: block;
}

/* =========================================================
   How to buy — steps
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step__num {
  font-family: "Luckiest Guy", Inter, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--green-bright);
}
.step__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(127, 230, 99, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--green-bright);
}
.step__icon svg { width: 24px; height: 24px; }
.step__title {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.step__text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gcard {
  position: relative;
  padding: 12px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 20%, rgba(127, 230, 99, 0.08), transparent 60%),
    rgba(6, 18, 12, 0.7);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.gcard img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms var(--ease-out), filter 400ms var(--ease);
}
.gcard:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.gcard:hover img { transform: scale(1.04); }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0;
  cursor: zoom-out;
  animation: fadeIn 200ms var(--ease);
}
.lightbox__panel {
  position: relative;
  width: min(980px, 100%);
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: rgba(8, 24, 16, 0.9);
  box-shadow: var(--shadow-lg);
  animation: pop 260ms var(--ease-out);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop {
  from { transform: translateY(12px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.lightbox__img {
  width: 100%;
  max-height: min(78vh, 780px);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
}
.lightbox__cap {
  padding: 12px 16px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
}
.lightbox__x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: background var(--dur) var(--ease);
}
.lightbox__x:hover { background: rgba(127, 230, 99, 0.2); }
.lightbox__x svg { width: 20px; height: 20px; }

/* =========================================================
   Reveal
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Footer + toast
   ========================================================= */
.join__card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(800px 260px at 12% 0%, rgba(127, 230, 99, 0.12), transparent 60%),
    radial-gradient(700px 260px at 100% 0%, rgba(123, 214, 255, 0.08), transparent 55%),
    rgba(8, 24, 16, 0.55);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.join__copy {
  min-width: 0;
}
.join__text {
  margin: 12px 0 0;
  color: var(--text-muted);
  max-width: 62ch;
}
.join__actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: none;
  justify-content: flex-end;
}

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 640px;
}
.footer__brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex: none;
}
.footer__name {
  font-weight: 800;
  font-size: 15px;
}
.footer__name strong { color: var(--green-bright); }
.footer__disclaimer {
  margin: 4px 0 0;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.5;
}
#scroll-top { gap: 6px; }
#scroll-top svg { width: 16px; height: 16px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 180;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none;
}
.toast:not([hidden]) {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast__inner {
  padding: 12px 18px;
  background: rgba(5, 16, 10, 0.95);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .nav,
  .topbar__cta { display: none; }
  .burger { display: inline-flex; }

  .hero { min-height: auto; padding: 24px 0 48px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: clamp(24px, 6vh, 48px) 0;
  }

  /* Art is the mascot at top */
  .hero__art {
    display: flex;
    order: -1;
    justify-content: center;
  }
  .card--art {
    width: min(300px, 72vw);
    aspect-ratio: 1 / 1;
    padding: 0;
    display: grid;
    place-items: center;
  }
  .logo-orb--hero { margin: 0; width: 82%; }

  /* Composed peekers around the orb */
  .art-peek {
    display: block;
    position: absolute;
    pointer-events: none;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.4));
  }
  .art-peek--shrek {
    width: 38%;
    bottom: -6%;
    left: -6%;
    transform: rotate(-4deg);
    animation: jumpy 1.9s ease-in-out infinite;
  }
  .art-peek--donkey {
    width: 32%;
    top: 2%;
    right: -4%;
    transform: rotate(6deg);
    animation: jumpy2 2.2s ease-in-out infinite;
  }

  /* Hide the desktop-only overlay float */
  .hero-float { display: none; }

  /* Centered copy below */
  .hero__copy {
    order: 1;
    position: static;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    transform: none;
  }
  .hero__copy > :not(.hero-float) { position: static; }
  .hero__actions { justify-content: center; }
  .chip { margin-left: auto; margin-right: auto; }
  .ca { justify-content: center; }
  .ca__copy { margin-left: 0; }

  .tok__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .section__head { margin-bottom: 28px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }

  .brand__text { display: none; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .ca {
    width: 100%;
    padding: 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ca__label {
    width: 100%;
    text-align: left;
    padding-left: 6px;
  }
  .ca__value {
    flex: 1 1 auto;
    padding-left: 6px;
    font-size: 12px;
  }
  .ca__copy { flex: none; }

  .tok__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  #scroll-top { align-self: flex-end; }

  .join__card {
    flex-direction: column;
    align-items: flex-start;
  }
  .join__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero__inner { padding: 22px 0; }
  .hero__subtitle { font-size: 17px; }
  .hero__titleTop { font-size: clamp(36px, 9vw, 52px); }
  .hero__titleBottom { font-size: clamp(54px, 12vw, 86px); }
  .hero .btn--lg { padding: 14px 16px; }
  .card--art { width: min(260px, 72vw); }
  .logo-orb--hero { width: 82%; }
  .art-peek--shrek { width: 40%; }
  .art-peek--donkey { width: 34%; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .fx__blob, .logo-orb, .hero-float__shrek, .hero-float__donkey, .art-peek { animation: none; }
}
