:root {
  --ink: #17140f;
  --cream: #fff1cf;
  --sand: #f5bb67;
  --orange: #ff7a31;
  --hot: #ff4b38;
  --green: #2f8d3d;
  --lime: #d9ff55;
  --line: rgba(23,20,15,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 7%, rgba(255,245,187,.95) 0 6%, transparent 6.3%),
    linear-gradient(180deg, #ff7840 0%, #f6a65b 34%, #ffd586 60%, #ffecc3 100%);
  font-family: "DM Mono", ui-monospace, monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 24vh;
  z-index: -4;
  background:
    linear-gradient(155deg, transparent 0 20%, #8d532e 20.3% 36%, transparent 36.3%),
    linear-gradient(205deg, transparent 0 26%, #a15f32 26.3% 47%, transparent 47.3%),
    linear-gradient(180deg, transparent 0 50%, #d88743 50.3% 100%);
  opacity: .85;
}

.sun {
  position: fixed;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,244,177,.85);
  right: 8vw;
  top: 11vh;
  z-index: -5;
  box-shadow: 0 0 80px rgba(255,236,155,.35);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .10;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

a { color: inherit; }
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  background: rgba(255,193,105,.85);
  backdrop-filter: blur(14px);
  z-index: 10;
}
.brand {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  text-decoration: none;
  transform: rotate(-2deg);
}
.nav { display: flex; gap: 18px; align-items: center; font-weight: 700; font-size: 13px; }
.nav a { text-decoration: none; }

.nav .x-follow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 4px 4px 0 rgba(0,0,0,.24);
  font-family: "Archivo Black", sans-serif;
  font-size: 13px;
  letter-spacing: .02em;
  transition: transform .1s ease, box-shadow .1s ease;
}
.nav .x-follow:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(0,0,0,.24);
}
.x-logo {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}
.x-logo path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: square;
}
.mini-buy {
  border: 2px solid var(--ink);
  background: var(--lime);
  padding: 9px 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 20px 48px;
  align-items: center;
  padding: 46px 0 28px;
}
.copy { align-self: center; }
.eyebrow, .kicker { font-weight: 800; letter-spacing: .08em; font-size: 12px; }
h1, h2, h3 { font-family: "Archivo Black", sans-serif; margin: 0; line-height: .92; }
h1 { font-size: clamp(58px, 8.8vw, 132px); letter-spacing: -.055em; }
h1 span { color: var(--cream); -webkit-text-stroke: 2px var(--ink); text-shadow: 7px 7px 0 var(--ink); }
.lede { max-width: 560px; font-size: clamp(16px, 2vw, 21px); line-height: 1.55; margin-top: 28px; }

.play-zone { text-align: center; position: relative; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.meter-wrap {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  border: 2px solid var(--ink);
  padding: 8px 12px;
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(1deg);
  z-index: 3;
}
.meter-label { font-size: 11px; font-weight: 800; }
.meter-value { font-family: "Archivo Black", sans-serif; font-size: 22px; }

.cactus-button {
  width: min(440px, 90vw);
  height: 390px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  outline-offset: 8px;
  -webkit-tap-highlight-color: transparent;
}
#cactus {
  width: min(330px, 70vw);
  max-height: 340px;
  object-fit: contain;
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) scale(1);
  transform-origin: 50% 92%;
  user-select: none;
  filter: drop-shadow(0 13px 0 rgba(70,39,20,.18));
  transition: transform .16s cubic-bezier(.2,.8,.2,1), filter .16s ease;
  z-index: 2;
}
.cactus-button:hover #cactus { filter: drop-shadow(0 16px 0 rgba(70,39,20,.18)) saturate(1.08); }
.cactus-button:active #cactus { transform: translateX(-50%) scale(.97); }
.shadow {
  position: absolute;
  width: 220px;
  height: 28px;
  border-radius: 50%;
  background: rgba(61,35,22,.22);
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  filter: blur(3px);
}
.prompt { font-family: "Archivo Black", sans-serif; font-size: clamp(16px, 2vw, 22px); transform: rotate(-1deg); }
.click-count { margin-top: 8px; font-size: 12px; font-weight: 800; opacity: .75; }

.actions { grid-column: 1 / -1; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn {
  appearance: none;
  border: 3px solid var(--ink);
  padding: 15px 22px;
  font-family: "Archivo Black", sans-serif;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 var(--ink); }
.btn.primary { background: var(--lime); }
.btn.secondary { background: var(--cream); }

.ticker {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  display: flex;
  gap: 46px;
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink);
  color: var(--cream);
  padding: 15px 30px;
  font-family: "Archivo Black", sans-serif;
  font-size: 13px;
}

.info { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; padding: 72px 0 28px; }
.info-card {
  border: 3px solid var(--ink);
  background: rgba(255,241,207,.88);
  padding: 28px;
  box-shadow: 7px 7px 0 var(--ink);
}
.info-card.big { grid-row: span 2; }
.info-card.accent { background: var(--lime); }
.info-card h2 { font-size: clamp(38px, 6vw, 74px); letter-spacing: -.04em; }
.info-card h3 { font-size: clamp(28px, 4vw, 46px); }
.info-card p { line-height: 1.6; max-width: 620px; }

.contract { margin: 32px 0 70px; border: 3px solid var(--ink); background: var(--orange); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 7px 7px 0 var(--ink); }
.address { font-weight: 800; word-break: break-all; margin-bottom: 0; }
.copy-btn { border: 2px solid var(--ink); background: var(--cream); padding: 12px 16px; font-weight: 800; cursor: pointer; }
.copy-btn:disabled { opacity: .5; cursor: default; }

footer { border-top: 2px solid var(--ink); padding: 22px clamp(18px,4vw,64px); display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; font-size: 11px; font-weight: 800; background: #f1b25e; }

.particle {
  position: fixed;
  pointer-events: none;
  font-family: "Archivo Black", sans-serif;
  z-index: 30;
  animation: pop .75s ease-out forwards;
  text-shadow: 2px 2px 0 var(--cream);
}
@keyframes pop {
  0% { transform: translate(-50%,-50%) scale(.7) rotate(-6deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(-50%,-130px) scale(1.1) rotate(5deg); opacity: 0; }
}

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: var(--cream); padding: 11px 14px; font-weight: 800; z-index: 40; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 820px) {
  .topbar { height: 62px; }
  .nav { gap: 10px; }
  .nav a:not(.mini-buy) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 34px; text-align: center; }
  .copy { display: flex; flex-direction: column; align-items: center; }
  .play-zone { min-height: 470px; }
  .cactus-button { height: 350px; }
  #cactus { max-height: 310px; }
  .info { grid-template-columns: 1fr; }
  .info-card.big { grid-row: auto; }
  .contract { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .001ms !important; }
}

@media (max-width: 560px) {
  .nav .x-follow span { display: none; }
  .nav .x-follow { padding: 10px 12px; }
  .x-logo { width: 21px; height: 21px; }
}
