/* =========================================================
   SPEED PEPE — styles
   ========================================================= */
:root {
  --sand: #d6c19f;
  --sand-2: #cbb38c;
  --sand-3: #b49871;
  --frog: #5c9a2c;
  --frog-l: #8cc652;
  --frog-d: #3f7420;
  --ink: #15120f;
  --blue: #1446d6;
  --blue-d: #0b2c96;
  --boot: #7b4a22;
  --paper: #f8f2e4;
  --red: #e2372b;
  --gold: #ffd23f;
  --nav-h: 76px;
  --shadow: 6px 6px 0 var(--ink);
  --display: 'Bangers', 'Impact', sans-serif;
  --body: 'Rubik', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--sand);
  overflow-x: clip;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
html.has-cursor, html.has-cursor * { cursor: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--frog); color: var(--paper); }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* sand + pebbles texture */
.sand {
  background-color: var(--sand);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cg fill='%237d7870'%3E%3Cellipse cx='40' cy='60' rx='4' ry='3' opacity='.55'/%3E%3Cellipse cx='210' cy='30' rx='3' ry='2.4' opacity='.45'/%3E%3Cellipse cx='330' cy='120' rx='5' ry='3.5' opacity='.5'/%3E%3Cellipse cx='120' cy='190' rx='2.6' ry='2' opacity='.5'/%3E%3Cellipse cx='280' cy='260' rx='4' ry='3' opacity='.45'/%3E%3Cellipse cx='60' cy='330' rx='3.4' ry='2.6' opacity='.55'/%3E%3Cellipse cx='380' cy='380' rx='2.4' ry='2' opacity='.5'/%3E%3Cellipse cx='180' cy='370' rx='4.6' ry='3.2' opacity='.4'/%3E%3C/g%3E%3Cg fill='%23a58a63'%3E%3Ccircle cx='90' cy='120' r='1.6'/%3E%3Ccircle cx='260' cy='170' r='1.4'/%3E%3Ccircle cx='350' cy='300' r='1.8'/%3E%3Ccircle cx='150' cy='280' r='1.3'/%3E%3Ccircle cx='20' cy='240' r='1.5'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(120,90,50,.12), transparent 60%);
}

/* global print grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
  100% { transform: translate(0, 0); }
}

/* =================== LOADER =================== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--frog);
  overflow: hidden;
  border-bottom: 6px solid var(--ink);
}
.loader__rays {
  position: absolute; left: 50%; top: 50%;
  width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.10) 0 7deg, transparent 7deg 18deg);
  animation: spin 30s linear infinite;
}
.loader::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(21,18,15,.22) 1.2px, transparent 1.7px) 0 0 / 9px 9px;
  mask-image: radial-gradient(circle at center, transparent 30%, #000 85%);
  -webkit-mask-image: radial-gradient(circle at center, transparent 30%, #000 85%);
}
.loader__inner { position: relative; z-index: 1; width: min(420px, 100% - 48px); text-align: center; }
.loader__frog { width: min(190px, 46vw); height: auto; margin: 0 auto 18px; overflow: visible; filter: drop-shadow(6px 6px 0 var(--ink)); }
.loader__frog .ld-fill { opacity: 0; fill: var(--frog-l); }
.loader__title {
  font-family: var(--display); font-size: clamp(38px, 9vw, 64px); line-height: 1; letter-spacing: .03em;
  color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}
.loader__bar {
  margin-top: 22px; height: 26px; border: 4px solid var(--ink); border-radius: 99px;
  background: var(--paper); box-shadow: 5px 5px 0 var(--ink); overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 0%;
  background: repeating-linear-gradient(-45deg, var(--blue) 0 14px, var(--blue-d) 14px 28px);
  border-right: 4px solid var(--ink);
  animation: stripes .6s linear infinite;
}
@keyframes stripes { to { background-position: 40px 0; } }
.loader__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-weight: 700; color: var(--ink); }
.loader__tip { font-size: 15px; text-transform: lowercase; }
.loader__pct { font-family: var(--display); font-size: 30px; letter-spacing: .04em; color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }

@keyframes spin { to { transform: rotate(360deg); } }

/* =================== CURSOR =================== */
.cursor, .trail { display: none; }
html.has-cursor .cursor, html.has-cursor .trail { display: block; }
.trail { position: fixed; inset: 0; z-index: 180; pointer-events: none; width: 100%; height: 100%; }
.cursor { position: fixed; left: 0; top: 0; z-index: 190; pointer-events: none; }
.cursor__dot {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--frog-l); border: 2px solid var(--ink); border-radius: 50%;
}
.cursor__ring {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 3px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center;
  transition: width .35s cubic-bezier(.2,1.4,.4,1), height .35s cubic-bezier(.2,1.4,.4,1), margin .35s cubic-bezier(.2,1.4,.4,1), background-color .25s, border-color .25s;
}
.cursor__label {
  font-family: var(--display); font-size: 18px; letter-spacing: .05em; color: var(--ink);
  opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.2,1.4,.4,1);
}
.cursor.is-hover .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold); box-shadow: 4px 4px 0 var(--ink); }
.cursor.is-hover .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(.82); }

/* =================== PROGRESS / TOAST =================== */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 5px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--frog-l); border-bottom: 2px solid var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 150;
  transform: translate(-50%, 160%) rotate(-2deg);
  font-family: var(--display); font-size: 24px; letter-spacing: .04em;
  background: var(--gold); border: 4px solid var(--ink); border-radius: 14px; padding: 10px 20px;
  box-shadow: var(--shadow); pointer-events: none; white-space: nowrap;
  transition: transform .5s cubic-bezier(.2,1.5,.4,1);
}
.toast.is-on { transform: translate(-50%, 0) rotate(-2deg); }

/* =================== BUTTONS =================== */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font-family: var(--display); font-size: 26px; letter-spacing: .05em; line-height: 1;
  padding: 18px 28px 16px; border: 4px solid var(--ink); border-radius: 16px;
  background: var(--bg); color: var(--fg); box-shadow: var(--shadow);
  transition: box-shadow .2s, background-color .2s, translate .2s;
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 1em; height: 1em; flex: none; }
.btn:hover { box-shadow: 9px 9px 0 var(--ink); translate: -2px -2px; }
.btn:active { box-shadow: 2px 2px 0 var(--ink); translate: 3px 3px; }
.btn--blue { --bg: var(--blue); --fg: var(--paper); }
.btn--blue { text-shadow: 2px 2px 0 var(--ink); }
.btn--blue:hover { --bg: #1e55f0; }
.btn--paper:hover { --bg: var(--gold); }
.btn--sm { font-size: 20px; padding: 11px 18px 9px; border-width: 3px; border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.btn--sm:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn--xl { font-size: clamp(26px, 3vw, 34px); padding: 22px 36px 19px; }
a.is-placeholder { cursor: not-allowed; }

.icon-btn {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 3px solid var(--ink); border-radius: 12px; background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink); transition: translate .2s, box-shadow .2s, background-color .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--gold); translate: -2px -2px; box-shadow: 6px 6px 0 var(--ink); }

/* =================== NAV =================== */
.nav {
  position: fixed; z-index: 100; left: 16px; right: 16px; top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 10px 0 14px;
  background: rgba(248, 242, 228, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink);
  transition: translate .45s cubic-bezier(.2,1,.3,1);
}
.nav.is-hidden { translate: 0 -130%; }
.nav__logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--display); font-size: 30px; letter-spacing: .04em; }
.nav__logo svg { width: 42px; height: 42px; transition: transform .5s cubic-bezier(.2,1.6,.4,1); }
.nav__logo:hover svg { transform: rotate(-14deg) scale(1.12); }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em;
  padding: 8px 12px; border-radius: 10px; transition: background-color .2s;
}
.nav__links a:hover { background: var(--frog-l); }
.nav__right { display: flex; align-items: center; gap: 10px; }

/* =================== HERO =================== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 20px) 0 84px;
  border-bottom: 5px solid var(--ink);
}
.hero__speed { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__rays {
  position: absolute; left: 50%; top: 44%; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.26) 0 6deg, transparent 6deg 15deg);
  mask-image: radial-gradient(circle, #000 0, transparent 34%);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 34%);
  animation: spin 60s linear infinite;
}
.hero__stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
.hero__word {
  position: relative; z-index: 1;
  display: flex; justify-content: center; gap: .2em; font-family: var(--display); font-weight: 400;
  font-size: min(13vw, 19vh); line-height: .8; letter-spacing: .01em;
  color: var(--frog); -webkit-text-stroke: .035em var(--ink); paint-order: stroke fill;
  text-shadow: .045em .045em 0 var(--ink), -.12em .02em 0 rgba(21,18,15,.14), -.24em .04em 0 rgba(21,18,15,.07);
  white-space: nowrap; user-select: none;
}
.hline { display: flex; }
.hero__word .hw { display: inline-block; overflow: visible; transform: skewX(-10deg); }
.hero__word .hw > span { display: inline-block; }
.hline--1 .hw:nth-child(even) > span { color: var(--frog-l); }
.hline--2 .hw > span { color: var(--blue); }
.hline--2 .hw:nth-child(even) > span { color: #2d63ff; }

.hero__char {
  position: relative; z-index: 3;
  width: min(48vh, 80vw, 600px); aspect-ratio: 1;
  margin-top: -6vh;
}
.hero__glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(140,198,82,.85), rgba(140,198,82,.35) 45%, transparent 70%);
  filter: blur(18px); animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
.hero__img {
  position: relative; width: 100%; height: 100%; object-fit: cover;
  mask-image: radial-gradient(ellipse 50% 52% at 50% 52%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 52%, #000 70%, transparent 100%);
  transform-origin: 50% 85%;
}

.bubble {
  position: absolute; right: -4%; top: 4%; z-index: 4;
  font-family: var(--display); font-size: clamp(18px, 2.2vw, 26px); letter-spacing: .04em; line-height: 1.05;
  background: var(--paper); border: 4px solid var(--ink); border-radius: 24px;
  padding: 12px 18px 10px; box-shadow: 5px 5px 0 var(--ink);
  max-width: 230px; min-width: 120px; text-align: center;
  transform-origin: 10% 100%;
}
.bubble::after {
  content: ""; position: absolute; left: 18px; bottom: -22px;
  width: 26px; height: 24px; background: var(--paper);
  border-left: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
  transform: skewX(30deg) rotate(-8deg);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.sticker {
  position: absolute; z-index: 4;
  font-family: var(--display); font-size: clamp(18px, 1.8vw, 26px); line-height: 1; letter-spacing: .04em; text-align: center;
  padding: 12px 16px 10px; border: 4px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink);
  background: var(--paper);
}
.sticker b { display: block; font-weight: 400; font-size: 1.7em; }
.s1 { left: 9%; top: 18%; background: var(--gold); rotate: -8deg; }
.s2 { right: 9%; top: 58%; background: var(--paper); rotate: 6deg; }
.s3 { left: 12%; top: 64%; background: var(--frog-l); rotate: 5deg; }
.s4 { right: 13%; top: 16%; background: var(--blue); color: var(--paper); rotate: 9deg; text-shadow: 2px 2px 0 var(--ink); }
.s3 b { color: var(--paper); text-shadow: 2px 2px 0 var(--ink); -webkit-text-stroke: 1px var(--ink); }
.s1 b { color: var(--frog); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--ink); }

.hero__bottom { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 16px; margin-top: -2vh; }
.hero__tag { font-size: clamp(18px, 2vw, 24px); font-weight: 500; text-align: center; }
.hero__tag b { font-weight: 900; background: var(--frog-l); padding: 0 .25em; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 3px 3px 0 var(--ink); display: inline-block; rotate: -1.5deg; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.ca {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 8px 8px 8px 14px; border: 3px solid var(--ink); border-radius: 14px;
  background: var(--paper); box-shadow: 4px 4px 0 var(--ink); font-weight: 700;
  transition: translate .2s, box-shadow .2s;
}
.ca:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--ink); }
.ca__label { font-family: var(--display); font-size: 20px; letter-spacing: .05em; color: var(--frog-d); }
.ca__value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca__btn { flex: none; font-family: var(--display); font-size: 18px; letter-spacing: .05em; background: var(--ink); color: var(--paper); padding: 7px 12px 5px; border-radius: 9px; }
.ca--big { margin: 48px auto 0; display: flex; width: fit-content; padding: 12px 12px 12px 20px; }
.ca--big .ca__value { font-size: clamp(13px, 1.5vw, 18px); }

/* =================== MARQUEES =================== */
.marquees { position: relative; z-index: 6; height: 190px; margin: -12px 0 -70px; pointer-events: none; overflow: hidden; }
.marquee {
  position: absolute; left: -10%; width: 120%;
  border-block: 5px solid var(--ink); overflow: hidden;
  font-family: var(--display); font-size: clamp(30px, 4.4vw, 58px); letter-spacing: .04em; line-height: 1;
  padding: 14px 0 10px; white-space: nowrap;
}
.marquee--blue { top: 22px; background: var(--blue); color: var(--paper); rotate: -3deg; text-shadow: 3px 3px 0 var(--ink); }
.marquee--green { top: 92px; background: var(--frog-l); color: var(--ink); rotate: 2.2deg; }
.marquee__track { display: inline-flex; align-items: center; gap: .6em; padding-right: .6em; will-change: transform; }
.marquee__track i { font-style: normal; color: var(--gold); -webkit-text-stroke: 2px var(--ink); }

/* =================== SECTIONS =================== */
section { position: relative; }
.section-kicker {
  display: inline-block; font-weight: 900; font-size: 14px; letter-spacing: .14em;
  padding: 6px 12px; border: 3px solid var(--ink); border-radius: 99px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 18px;
}
.section-kicker--light { background: var(--gold); }
.h-comic {
  font-family: var(--display); font-weight: 400; font-size: clamp(52px, 9vw, 132px); line-height: .9; letter-spacing: .02em;
  color: var(--frog); -webkit-text-stroke: .045em var(--ink); paint-order: stroke fill; text-shadow: .05em .05em 0 var(--ink);
}
.h-comic--light { color: var(--paper); }
.h-comic .w { display: inline-block; white-space: nowrap; }
.h-comic .c { display: inline-block; will-change: transform; }
.sub { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; margin-top: 16px; }
.sub--light { color: var(--paper); }

/* ---- LORE ---- */
.lore { padding: 170px 0 140px; }
.lore__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; margin-top: 54px; align-items: center; }
.panel {
  position: relative; border: 5px solid var(--ink); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden; background: var(--sand-2);
}
.panel--img { aspect-ratio: 1; rotate: -2deg; }
.panel--img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,1,.3,1); }
.panel--img:hover img { transform: scale(1.06) rotate(1deg); }
.panel--img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(21,18,15,.28) 1.3px, transparent 1.8px) 0 0 / 8px 8px;
  mask-image: linear-gradient(135deg, #000, transparent 45%);
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 45%);
}
.panel__burst {
  position: absolute; right: 18px; top: 18px; z-index: 2;
  width: 120px; height: 120px; display: grid; place-items: center;
  font-family: var(--display); font-size: 36px; color: var(--ink); letter-spacing: .04em;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 18%, 82% 7%, 79% 30%, 100% 35%, 84% 52%, 98% 70%, 76% 72%, 78% 95%, 59% 83%, 46% 100%, 38% 80%, 16% 92%, 20% 69%, 0% 61%, 17% 46%, 3% 26%, 25% 26%, 23% 4%, 40% 16%);
  animation: burst 1.6s ease-in-out infinite;
}
@keyframes burst { 0%,100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(6deg) scale(1.1); } }
.panel__caption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--display); font-size: 24px; letter-spacing: .04em;
  background: var(--paper); border-top: 4px solid var(--ink); border-right: 4px solid var(--ink);
  border-top-right-radius: 14px; padding: 10px 16px 8px;
}
.lore__text p { font-size: clamp(17px, 1.45vw, 20px); margin-bottom: 18px; max-width: 560px; }
.lore__text .lead { font-family: var(--display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; letter-spacing: .02em; }
.lore__text .lead b { font-weight: 400; color: var(--blue); }
.lore__text b { font-weight: 900; }
.mini-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.mini {
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: .04em; line-height: .95; text-align: center;
  padding: 18px 10px 14px; border: 4px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink);
  background: var(--paper);
}
.mini b { display: block; font-weight: 400; color: var(--red); font-size: .8em; }
.mini--blue { background: var(--blue); color: var(--paper); text-shadow: 2px 2px 0 var(--ink); }
.mini--blue b { color: var(--gold); }
.mini--green { background: var(--frog-l); }
.mini--green b { color: var(--blue); }

/* ---- FARM ---- */
.farm {
  padding: 130px 0; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(21,18,15,.07) 0 2px, transparent 2px 12px),
    var(--frog);
  border-block: 5px solid var(--ink);
}
.farm__rays {
  position: absolute; right: -40vmax; top: 50%; width: 140vmax; height: 140vmax; margin-top: -70vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.12) 0 8deg, transparent 8deg 20deg);
  animation: spin 40s linear infinite reverse;
}
.farm__wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.farm__desc { color: var(--paper); font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; margin: 18px 0 26px; max-width: 520px; text-shadow: 1px 1px 0 rgba(0,0,0,.35); }
.meter {
  background: var(--paper); border: 5px solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink);
  padding: 20px 22px; max-width: 520px;
}
.meter__top { display: flex; justify-content: space-between; align-items: center; font-weight: 900; letter-spacing: .1em; font-size: 14px; }
.meter__rank {
  font-family: var(--display); font-size: 22px; letter-spacing: .05em; font-weight: 400;
  background: var(--blue); color: var(--paper); padding: 4px 12px 2px; border-radius: 10px; border: 3px solid var(--ink);
  text-shadow: 2px 2px 0 var(--ink);
}
.meter__value {
  margin-top: 4px; text-align: center;
  font-family: var(--display); font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: .03em;
  color: var(--frog); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink);
}
.meter__bar { height: 20px; border: 3px solid var(--ink); border-radius: 99px; overflow: hidden; background: var(--sand); }
.meter__bar span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--frog-l) 0 10px, var(--frog) 10px 20px); border-right: 3px solid var(--ink); transition: width .5s cubic-bezier(.2,1.3,.4,1); }
.meter__next { margin-top: 8px; font-weight: 700; font-size: 14px; opacity: .8; }
.farm__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.farm__actions .btn { font-size: 22px; padding: 15px 22px 13px; }

.farm__game { position: relative; display: grid; place-items: center; }
.farm__btn {
  position: relative; width: min(440px, 80vw); aspect-ratio: 1; border-radius: 50%;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.farm__face {
  position: absolute; inset: 0; border-radius: 50%;
  border: 6px solid var(--ink); box-shadow: 12px 12px 0 var(--ink);
  background: url("../assets/speedpepe.webp") 50% 40% / 168% auto no-repeat, var(--sand);
  translate: var(--shake, 0px) 0;
  transition: box-shadow .15s;
}
.farm__btn:active .farm__face { box-shadow: 4px 4px 0 var(--ink); }
.farm__ring {
  position: absolute; inset: -6%; border-radius: 50%;
  border: 4px dashed rgba(248,242,228,.9);
}
.farm__ring--2 { inset: -14%; border: 3px dotted rgba(21,18,15,.55); }
.farm__lines {
  position: absolute; inset: -30%; border-radius: 50%; opacity: 0; pointer-events: none; z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(21,18,15,.55) 0 1.2deg, transparent 1.2deg 9deg);
  mask-image: radial-gradient(circle, transparent 38%, #000 42%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, transparent 38%, #000 42%, transparent 70%);
  animation: spin 1.2s linear infinite;
}
.gauge { position: relative; max-width: 300px; margin: 10px auto 4px; }
.gauge__svg { width: 100%; height: auto; display: block; overflow: visible; }
.gauge__svg #gaugeNeedle { transition: transform .08s linear; }
.meter__row { display: flex; justify-content: center; font-weight: 900; letter-spacing: .08em; font-size: 14px; margin: 6px 0 12px; }
.meter__row b { color: var(--blue); }
.farm__hint {
  margin-top: 34px; font-family: var(--display); font-size: 30px; letter-spacing: .06em; color: var(--paper);
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink);
  animation: bob 1.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.farm__pops { position: absolute; inset: 0; pointer-events: none; }
.pop {
  position: absolute; font-family: var(--display); font-size: 36px; letter-spacing: .03em; white-space: nowrap;
  color: var(--gold); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink);
  pointer-events: none; will-change: transform, opacity;
}
.pop--crit { font-size: 54px; color: var(--paper); }
.pop--crit small { display: block; font-size: .45em; color: var(--gold); text-align: center; }

/* ---- RULES ---- */
.rules { padding: 140px 0; }
.rules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.rule {
  position: relative; padding: 26px 24px 24px;
  border: 5px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink);
  background: var(--paper); transform-style: preserve-3d;
}
.rule:nth-child(odd) { rotate: -1deg; }
.rule:nth-child(even) { rotate: 1.2deg; }
.rule__pts {
  font-family: var(--display); font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: .02em;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink);
  transform: translateZ(40px);
}
.rule.plus .rule__pts { color: var(--frog-l); }
.rule.minus .rule__pts { color: var(--red); }
.rule.minus { background: #f3e2d6; }
.rule h3 { font-size: 22px; font-weight: 900; line-height: 1.15; margin: 12px 0 8px; transform: translateZ(25px); }
.rule p { font-weight: 500; opacity: .8; transform: translateZ(15px); }
.rule::after {
  content: attr(data-tag); position: absolute; right: 16px; top: 18px;
  font-family: var(--display); font-size: 16px; letter-spacing: .1em; padding: 4px 9px 2px;
  border: 3px solid var(--ink); border-radius: 8px; background: var(--frog-l);
}
.rule.minus::after { background: var(--red); color: var(--paper); }

/* ---- TOKENOMICS ---- */
.tokenomics {
  padding: 140px 0; overflow: hidden;
  background:
    radial-gradient(rgba(255,255,255,.12) 1.4px, transparent 2px) 0 0 / 14px 14px,
    var(--blue);
  border-block: 5px solid var(--ink);
}
.tokenomics .h-comic--light { color: var(--paper); }
.tok__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 22px; margin-top: 50px; }
.tok {
  padding: 26px 22px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between;
  border: 5px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink);
  background: var(--gold); transform-style: preserve-3d;
}
.tok--green { background: var(--frog-l); }
.tok--paper { background: var(--paper); }
.tok--boot { background: var(--boot); color: var(--paper); }
.tok__label { font-weight: 900; letter-spacing: .12em; font-size: 14px; }
.tok__value {
  font-family: var(--display); font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: .03em; overflow-wrap: anywhere;
  color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink);
  transform: translateZ(40px);
}

/* ---- HOW TO BUY ---- */
.hbuy { overflow: hidden; }
.hbuy__pin { min-height: 100vh; padding: 130px 0 90px; display: flex; flex-direction: column; justify-content: center; }
.hbuy__track { display: flex; gap: 30px; padding: 50px max(16px, calc((100vw - 1240px) / 2)) 20px; width: max-content; will-change: transform; }
.step {
  position: relative; flex: none; width: min(440px, 84vw); min-height: 380px;
  padding: 30px 28px; border: 5px solid var(--ink); border-radius: 24px; box-shadow: 10px 10px 0 var(--ink);
  background: var(--paper); overflow: hidden;
}
.step:nth-child(odd) { rotate: -1.5deg; }
.step:nth-child(even) { rotate: 1.5deg; translate: 0 26px; }
.step--blue { background: var(--blue); color: var(--paper); }
.step--green { background: var(--frog-l); }
.step--paper { background: var(--gold); }
.step__n {
  font-family: var(--display); font-size: 110px; line-height: .85; letter-spacing: .02em;
  color: var(--frog); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink);
}
.step--green .step__n { color: var(--paper); }
.step--blue .step__n { color: var(--gold); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 42px; letter-spacing: .03em; line-height: 1; margin: 18px 0 12px; }
.step p { font-size: 17px; font-weight: 500; max-width: 340px; }
.step--final { background: var(--frog); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.step--final h3 { color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); font-size: 50px; margin: 0; }
.step__frog { width: 130px; height: 130px; filter: drop-shadow(6px 6px 0 var(--ink)); animation: bob 1.6s ease-in-out infinite; }

/* ---- FINAL CTA ---- */
.cta {
  padding: 120px 0 140px; overflow: hidden; text-align: center;
  background: var(--frog); border-top: 5px solid var(--ink);
}
.cta__rays {
  position: absolute; left: 50%; top: 42%; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax;
  background: repeating-conic-gradient(from 0deg, var(--frog-l) 0 7deg, transparent 7deg 18deg);
  opacity: .55; animation: spin 50s linear infinite;
}
.cta__lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2vh; pointer-events: none; }
.cta__line {
  font-family: var(--display); font-size: clamp(70px, 13vw, 210px); line-height: .9; letter-spacing: .02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 3px rgba(21,18,15,.5);
}
.cta__line--blue { -webkit-text-stroke: 3px rgba(20,70,214,.7); }
.cta__center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
.cta__char {
  width: min(380px, 70vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); background: var(--sand);
  margin-bottom: 30px;
}
.cta__char img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; }
.cta__title { color: var(--paper); }
.cta__sub { color: var(--paper); font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; margin: 18px 0 30px; text-shadow: 2px 2px 0 var(--ink); }
.cta__btns { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.cta__socials { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.social {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px;
  padding: 12px 18px; border: 3px solid var(--ink); border-radius: 14px; background: var(--ink); color: var(--paper);
  box-shadow: 5px 5px 0 rgba(21,18,15,.45); transition: translate .2s, background-color .2s, color .2s;
}
.social svg { width: 20px; height: 20px; }
.social:hover { translate: -2px -2px; background: var(--paper); color: var(--ink); }
.social--tg { background: #2aa3e0; }

/* ---- FOOTER ---- */
.footer { background: var(--ink); color: var(--paper); padding: 50px 0 34px; }
.footer__wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .nav__logo { color: var(--paper); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; }
.footer__links a { opacity: .8; transition: opacity .2s, color .2s; }
.footer__links a:hover { opacity: 1; color: var(--frog-l); }
.footer__legal { margin-top: 30px; font-size: 13px; opacity: .55; max-width: 820px; }
.footer__copy { margin-top: 12px; font-size: 13px; opacity: .55; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .tok__grid { grid-template-columns: repeat(2, 1fr); }
  .rules__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .lore__grid, .farm__wrap { grid-template-columns: 1fr; }
  .lore__grid { gap: 40px; }
  .panel--img { max-width: 520px; width: 100%; margin-inline: auto; }
  .farm__game { order: -1; }
  .hbuy__pin { min-height: 0; padding: 130px 0 110px; }
  .hbuy__track { flex-direction: column; width: auto; padding-inline: 16px; gap: 26px; }
  .step { width: 100%; max-width: 560px; margin-inline: auto; min-height: 300px; }
  .step:nth-child(even) { translate: 0 0; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .nav { left: 10px; right: 10px; top: 10px; height: 56px; padding: 0 8px 0 10px; border-radius: 14px; }
  .nav__logo { font-size: 21px; gap: 7px; }
  .nav .btn--sm svg { display: none; }
  .nav__logo svg { width: 34px; height: 34px; }
  .icon-btn { width: 38px; height: 38px; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
  .icon-btn svg { width: 16px; height: 16px; }
  .nav__right { gap: 7px; }
  .btn--sm { font-size: 17px; padding: 9px 12px 7px; }
  .btn { font-size: 22px; padding: 15px 20px 13px; }
  .hero { padding-bottom: 64px; }
  .hero__word { font-size: 25vw; flex-direction: column; align-items: center; gap: .04em; }
  .hero__char { width: min(84vw, 44vh); margin-top: -5vh; }
  .bubble { right: -4%; top: 22%; max-width: 120px; font-size: 15px; min-width: 0; padding: 8px 12px 6px; border-width: 3px; }
  .sticker { font-size: 15px; padding: 8px 10px 6px; border-width: 3px; box-shadow: 3px 3px 0 var(--ink); }
  .s1 { left: auto; right: 2%; top: 58%; } .s4 { display: none; }
  .s3 { left: 2%; top: 68%; } .s2 { right: 2%; top: 78%; }
  .hero__ctas { width: 100%; gap: 12px; }
  .hero__ctas .btn { flex: 1 1 0; font-size: 19px; padding: 14px 10px 12px; }
  .ca { width: 100%; }
  .ca__value { flex: 1; }
  .marquees { height: 150px; margin: -8px 0 -55px; }
  .marquee--blue { top: 20px; } .marquee--green { top: 74px; }
  .lore, .rules, .tokenomics { padding: 120px 0 100px; }
  .farm { padding: 100px 0; }
  .mini-panels { gap: 10px; }
  .mini { padding: 14px 6px 10px; border-width: 3px; }
  .rules__grid, .tok__grid { grid-template-columns: 1fr; }
  .tok { min-height: 150px; }
  .step h3 { font-size: 36px; }
  .step__n { font-size: 84px; }
  .panel__burst { width: 90px; height: 90px; font-size: 26px; }
  .cta__btns .btn { width: 100%; }
  .toast { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* ---- speed extras ---- */
.meter__value small { font-size: .38em; margin-left: .2em; color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; }
.meter__bar { margin-top: 4px; }
.panel__speedlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(248,242,228,.0) 22px 24px),
    repeating-conic-gradient(from 0deg at 50% 45%, rgba(21,18,15,.35) 0 .8deg, transparent .8deg 7deg);
  mask-image: radial-gradient(circle at 50% 45%, transparent 45%, #000 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, transparent 45%, #000 75%);
  animation: flicker .25s steps(2) infinite;
}
@keyframes flicker { 50% { transform: rotate(2deg) scale(1.02); } }
.loader__wind path { stroke-dasharray: 20 200; animation: wind .7s linear infinite; }
.loader__wind path:nth-child(2) { animation-delay: -.25s; }
.loader__wind path:nth-child(3) { animation-delay: -.5s; }
@keyframes wind { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 220; } }
.hero__glow { background: radial-gradient(circle, rgba(248,242,228,.9), rgba(140,198,82,.35) 45%, transparent 70%); }.farm__btn { isolation: isolate; }
@media (max-width: 400px) { .nav .nav__logo span { display: none; } }
