:root {
  --lime: #dfff00;
  --black: #0a0a08;
  --cream: #fff7dd;
  --orange: #ff5a1f;
  --ink: #15150f;
  --border: 3px solid var(--black);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  overflow-x: hidden;
}
body::selection { background: var(--orange); color: var(--black); }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  opacity: .1;
  pointer-events: none;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' 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='.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.cursor-orb {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(223, 255, 0, .12);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 14px;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  min-height: 66px;
  padding: 8px 10px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 247, 221, .92);
  border: 2px solid var(--black);
  border-radius: 18px;
  box-shadow: 5px 6px 0 var(--black);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 1000; line-height: .8; letter-spacing: -.07em; }
.brand img { width: 44px; height: 44px; object-fit: cover; border: 2px solid var(--black); border-radius: 50%; }
nav { display: flex; gap: 28px; font-size: .77rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 3px; background: var(--orange); transition: right .25s ease; }
nav a:hover::after { right: 0; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--black);
  border-radius: 13px 17px 12px 18px;
  font: 900 .78rem/1 "Arial Rounded MT Bold", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 4px 5px 0 var(--black);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translate(3px, 3px) rotate(-1deg); box-shadow: 1px 2px 0 var(--black); }
.button-small { min-height: 44px; padding: 0 17px; background: var(--lime); }
.button-dark { color: var(--cream); background: var(--black); box-shadow: 4px 5px 0 var(--orange); }
.button-dark:hover { box-shadow: 1px 2px 0 var(--orange); }
.button-ghost { background: transparent; }

section { position: relative; z-index: 1; }
.section-lime { background: var(--lime); }
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 2vw;
  padding: 130px max(5vw, 24px) 70px;
  border-bottom: var(--border);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 450px;
  min-height: 450px;
  right: -8vw;
  top: 54%;
  transform: translateY(-50%) rotate(12deg);
  border: 3px solid var(--black);
  border-radius: 48% 52% 39% 61%;
  background: repeating-conic-gradient(var(--black) 0 10deg, transparent 10deg 20deg);
  opacity: .1;
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { display: inline-block; margin-bottom: 18px; padding: 8px 12px; border: 2px solid currentColor; border-radius: 50%; font-size: .72rem; font-weight: 1000; letter-spacing: .13em; transform: rotate(-2deg); }
h1, h2, h3, p { margin-top: 0; }
.wobble-title { margin-bottom: 24px; font-size: clamp(3.1rem, 7.2vw, 6.8rem); line-height: .78; letter-spacing: -.075em; font-weight: 1000; text-transform: uppercase; transform: skew(-4deg) rotate(-1deg); }
.wobble-title span { display: block; }
.outline { color: transparent; -webkit-text-stroke: 2.5px var(--black); text-shadow: 4px 4px 0 var(--orange); }
.hero-copy p, .finale-copy p { max-width: 620px; font-size: clamp(1rem, 1.5vw, 1.28rem); line-height: 1.45; font-weight: 800; }
.hero-actions, .final-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.text-link { font-size: .78rem; font-weight: 1000; letter-spacing: .08em; border-bottom: 3px solid var(--black); }
.hero-art { position: relative; z-index: 2; width: min(100%, 620px); justify-self: center; margin: 0; transform-style: preserve-3d; }
.hero-art img { position: relative; z-index: 2; aspect-ratio: 1/1; object-fit: cover; object-position: center 10%; border: 3px solid var(--black); border-radius: 46% 54% 47% 53% / 58% 42% 58% 42%; box-shadow: 12px 14px 0 var(--black); }
.hero-art figcaption { position: absolute; z-index: 3; right: -16px; bottom: 5%; padding: 12px 18px; background: var(--orange); border: 2px solid var(--black); border-radius: 50%; font-size: .72rem; font-weight: 1000; letter-spacing: .08em; transform: rotate(-7deg); }
.burst { position: absolute; inset: -20px; background: var(--cream); border-radius: 48%; transform: rotate(8deg); border: 3px solid var(--black); }
.scroll-cue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: .66rem; font-weight: 1000; letter-spacing: .12em; }
.scroll-cue span { display: block; width: 34px; height: 2px; background: var(--black); animation: stretch 1.6s ease-in-out infinite; transform-origin: left; }

.ticker { position: relative; z-index: 2; overflow: hidden; padding: 13px 0; color: var(--lime); background: var(--black); border-bottom: 3px solid var(--lime); white-space: nowrap; font-size: .78rem; font-weight: 1000; letter-spacing: .12em; }
.ticker div { width: max-content; animation: marquee 25s linear infinite; }

.split { min-height: 760px; padding: 110px max(7vw, 24px); display: grid; grid-template-columns: minmax(280px, .9fr) minmax(300px, 1.1fr); gap: clamp(40px, 8vw, 120px); align-items: center; background: var(--black); color: var(--cream); }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.split.reverse .image-card { order: 2; }
.split.reverse .section-copy { order: 1; }
.section-orange { background: var(--orange); color: var(--black); }
.section-cream { background: var(--cream); color: var(--black); }
.image-card { position: relative; margin: 0; border: 3px solid var(--black); border-radius: var(--radius); box-shadow: 14px 16px 0 var(--lime); overflow: hidden; transform-style: preserve-3d; }
.section-orange .image-card, .section-cream .image-card { box-shadow: 14px 16px 0 var(--black); }
.image-card img { aspect-ratio: 1/1; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.image-card:hover img { transform: scale(1.04); }
.image-stamp { position: absolute; right: 14px; bottom: 14px; padding: 10px 13px; color: var(--black); background: var(--lime); border: 2px solid var(--black); border-radius: 30px; font-size: .7rem; font-weight: 1000; letter-spacing: .08em; }
.rotate-left { transform: rotate(-2deg); }
.rotate-right { transform: rotate(2deg); }
.section-copy { max-width: 680px; }
.section-copy h2, .rules-head h2, .token-panel h2 { margin-bottom: 26px; font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: .91; letter-spacing: -.06em; font-weight: 1000; text-transform: uppercase; }
.section-copy h2 em { color: var(--lime); font-style: normal; -webkit-text-stroke: 1px var(--lime); }
.section-orange .section-copy h2 em, .section-cream .section-copy h2 em { color: transparent; -webkit-text-stroke: 2px var(--black); }
.section-copy p { max-width: 600px; font-size: clamp(1rem, 1.45vw, 1.25rem); line-height: 1.55; font-weight: 700; }
.scribble-note { display: inline-block; margin: 34px 0 0 18%; color: var(--lime); font-family: "Comic Sans MS", cursive; font-size: 1rem; transform: rotate(-7deg); }

.rules { padding: 110px max(5vw, 24px); color: var(--cream); background: var(--black); }
.rules-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 54px; }
.rules-head h2 { max-width: 760px; margin: 0; text-align: right; }
.outline-light { color: transparent; -webkit-text-stroke: 2px var(--lime); }
.rules-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: auto auto; gap: 18px; max-width: 1280px; margin: auto; }
.rule-card { min-height: 240px; padding: 28px; border: 2px solid var(--lime); border-radius: 22px 31px 18px 27px; display: flex; flex-direction: column; justify-content: space-between; }
.rule-card > span { color: var(--lime); font-weight: 1000; }
.rule-card h3 { margin: 24px 0 12px; font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: .92; text-transform: uppercase; }
.rule-card p { margin: 0; color: #d8d2c3; line-height: 1.5; font-size: .92rem; }
.rule-card.accent { grid-column: 3; color: var(--black); background: var(--lime); border-color: var(--black); transform: rotate(1deg); }
.rule-card.accent > span, .rule-card.accent p { color: var(--black); }
.rule-image { grid-column: 2; grid-row: 1 / span 2; position: relative; margin: 0; border: 3px solid var(--lime); border-radius: 46% 54% 48% 52% / 55% 44% 56% 45%; overflow: hidden; }
.rule-image img { height: 100%; object-fit: cover; }
.rule-image figcaption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%) rotate(-2deg); padding: 10px 15px; color: var(--black); background: var(--orange); border: 2px solid var(--black); border-radius: 50%; white-space: nowrap; font-size: .72rem; font-weight: 1000; }

.chaos-list { margin: 38px 0 0; padding: 0; list-style: none; border-top: 3px solid var(--black); }
.chaos-list li { display: grid; grid-template-columns: 100px 1fr 34px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 3px solid var(--black); }
.chaos-list b { font-size: .72rem; letter-spacing: .08em; }
.chaos-list span { font-size: 1rem; font-weight: 900; }
.chaos-list i { font-size: 1.3rem; font-style: normal; }

.token { padding: 110px max(7vw, 24px); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 7vw, 100px); color: var(--cream); background: var(--black); }
.token-panel h2 { color: var(--lime); transform: skew(-4deg); }
.token-stats { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid #686852; border-radius: 20px; overflow: hidden; }
.token-stats div { padding: 18px; border-right: 1px solid #686852; border-bottom: 1px solid #686852; }
.token-stats div:nth-child(even) { border-right: 0; }
.token-stats div:nth-last-child(-n+2) { border-bottom: 0; }
.token-stats span { display: block; margin-bottom: 6px; color: #95957c; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.token-stats strong { font-size: 1rem; }
.ca-box { width: 100%; margin-top: 22px; padding: 17px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; color: var(--black); background: var(--lime); border: 0; border-radius: 15px; cursor: pointer; text-align: left; box-shadow: 6px 7px 0 var(--orange); transition: transform .2s ease, box-shadow .2s ease; }
.ca-box:hover { transform: translate(3px, 3px); box-shadow: 2px 3px 0 var(--orange); }
.ca-box span, .ca-box b { font-size: .68rem; font-weight: 1000; letter-spacing: .08em; }
.ca-box code { overflow: hidden; text-overflow: ellipsis; font-size: .83rem; }
.copy-status { height: 18px; margin: 10px 0 0; color: var(--lime); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.token-art { position: relative; margin: 0; transform-style: preserve-3d; }
.token-art img { aspect-ratio: 1/1; object-fit: cover; border: 3px solid var(--lime); border-radius: 50% 48% 52% 46%; box-shadow: 12px 14px 0 var(--orange); }
.orbit-text { position: absolute; right: -28px; top: 10%; width: 110px; height: 110px; display: grid; place-items: center; color: var(--black); background: var(--lime); border: 2px solid var(--black); border-radius: 50%; font-size: .6rem; font-weight: 1000; letter-spacing: .1em; text-align: center; animation: spin 10s linear infinite; }

.finale { min-height: 850px; padding: 90px max(6vw, 24px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 110px); border-top: var(--border); }
.finale-art { margin: 0; }
.finale-art img { aspect-ratio: 1/1; object-fit: cover; border: var(--border); border-radius: 43% 57% 51% 49%; box-shadow: 14px 16px 0 var(--black); transform: rotate(-2deg); }
.finale-copy .wobble-title { font-size: clamp(3rem, 6.5vw, 6.6rem); }

footer { position: relative; z-index: 1; padding: 70px max(6vw, 24px) 30px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 34px; align-items: start; color: var(--cream); background: var(--black); border-top: 3px solid var(--cream); }
.footer-brand { color: var(--lime); font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .72; letter-spacing: -.08em; font-weight: 1000; transform: skew(-5deg); }
.footer-brand span { color: transparent; -webkit-text-stroke: 2px var(--lime); }
footer p { max-width: 450px; line-height: 1.5; color: #b9b5a8; }
footer > a { font-size: .72rem; font-weight: 1000; letter-spacing: .1em; border-bottom: 2px solid var(--lime); }
footer small { grid-column: 1/-1; padding-top: 28px; border-top: 1px solid #444438; color: #77776a; font-size: .62rem; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(34px) rotate(.7deg); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0) rotate(0); }
.image-card.reveal.is-visible.rotate-left { transform: rotate(-2deg); }
.image-card.reveal.is-visible.rotate-right { transform: rotate(2deg); }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes stretch { 50% { transform: scaleX(2); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  nav { display: none; }
  .hero, .split, .split.reverse, .token, .finale { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; text-align: center; }
  .hero-copy { margin: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { width: min(78vw, 520px); }
  .split, .split.reverse { min-height: auto; padding-block: 85px; }
  .split.reverse .image-card, .split.reverse .section-copy { order: initial; }
  .image-card { width: min(82vw, 560px); margin-inline: auto; }
  .rules-head { display: block; }
  .rules-head h2 { text-align: left; }
  .rules-grid { grid-template-columns: 1fr 1fr; }
  .rule-image { grid-column: 1 / -1; grid-row: 1; max-height: 620px; }
  .rule-card.accent { grid-column: auto; }
  .token-art { width: min(82vw, 560px); margin: auto; }
  .finale-art { width: min(82vw, 560px); margin: auto; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .site-header { min-height: 58px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: .75rem; }
  .button-small { min-height: 40px; padding: 0 12px; font-size: .66rem; }
  .hero { min-height: 920px; padding-inline: 18px; }
  .wobble-title { font-size: clamp(2.75rem, 16vw, 4.6rem); }
  .hero-copy p { font-size: .98rem; }
  .hero-art { width: 88vw; }
  .split, .rules, .token, .finale { padding-inline: 20px; }
  .section-copy h2, .rules-head h2, .token-panel h2 { font-size: clamp(2.35rem, 12.6vw, 4rem); }
  .rules-grid { grid-template-columns: 1fr; }
  .rule-image { grid-column: 1; }
  .rule-card.accent { grid-column: 1; }
  .token-stats { grid-template-columns: 1fr; }
  .token-stats div { border-right: 0; border-bottom: 1px solid #686852 !important; }
  .token-stats div:last-child { border-bottom: 0 !important; }
  .ca-box { grid-template-columns: 32px 1fr; }
  .ca-box b { grid-column: 2; }
  .orbit-text { right: -8px; }
  .finale { min-height: auto; padding-block: 80px; }
  .final-links { align-items: stretch; }
  .final-links .button { width: 100%; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-orb { display: none; }
}
