:root {
  --yellow: #ffd400;
  --yellow-2: #ffb800;
  --cream: #fff7d1;
  --ink: #111111;
  --ink-2: #3a3320;
  --mute: #6b6038;
  --pink: #ff2e88;
  --white: #fffdf5;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --hard: 6px 6px 0 var(--ink);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { background: var(--yellow); color: var(--ink); font-family: var(--display); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: 800; }
.mono { font-family: var(--mono); }
.lime { color: var(--pink); }

/* faint tiled LOL faces behind everything */
.pattern { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.09; background: url("assets/lolface_192.webp") 0 0 / 120px 120px; transform: rotate(-8deg) scale(1.3); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border: 3px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; transition: transform 0.12s, box-shadow 0.12s; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-lime { background: var(--ink); color: var(--yellow); box-shadow: 4px 4px 0 var(--pink); }
.btn-lime:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* contract address bar above the nav */
.cabar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 16px; background: var(--ink); color: var(--yellow); font-size: 13px; }
.cabar-t { padding: 2px 10px; border-radius: 999px; background: var(--pink); color: var(--white); font-weight: 800; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.cabar code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-weight: 600; }
.cabar-copy { flex: none; height: 26px; padding: 0 14px; border: 2px solid var(--yellow); border-radius: 999px; background: var(--yellow); color: var(--ink); font: 800 11.5px var(--display); text-transform: uppercase; cursor: pointer; }
.cabar-copy:disabled { background: transparent; color: var(--yellow); opacity: 0.6; cursor: default; }
/* CA box in the hero */
.hero-ca { display: flex; align-items: center; gap: 12px; max-width: 560px; margin-top: 22px; padding: 8px 8px 8px 8px; border: 3px solid var(--ink); border-radius: 999px; background: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.hero-ca-t { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; }
.hero-ca code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-ca .copy { height: 38px; border-radius: 999px; }
/* live market strip under the hero CA */
.market { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px; margin-top: 14px; }
.market[hidden] { display: none; }
.market div { padding: 8px 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); }
.market span { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--mute); text-transform: uppercase; }
.market b { font-size: 18px; }
.market .up { color: #0a8f4a; } .market .down { color: #d4145a; }
@media (max-width: 520px) { .market { grid-template-columns: 1fr 1fr; } }
/* nav */
.top { position: sticky; top: 0; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 48px); background: rgba(255, 212, 0, 0.88); backdrop-filter: blur(12px); border-bottom: 3px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.brand img { width: 42px; height: 42px; animation: wobble 4s ease-in-out infinite; }
.nav nav { display: flex; gap: 26px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.nav nav a:hover { color: var(--pink); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 13px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.xbtn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--white); box-shadow: 3px 3px 0 var(--ink); transition: transform 0.12s; }
.xbtn:hover { transform: translate(-2px, -2px); }
.xbtn svg { width: 18px; height: 18px; fill: var(--ink); }
.xlink { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 10px 18px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; }
.xlink svg { width: 18px; height: 18px; fill: var(--ink); }

section { padding: clamp(70px, 10vw, 130px) clamp(16px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; font-family: var(--mono); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.sec-head .num { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: var(--yellow); }
.big { font-size: clamp(44px, 7.4vw, 100px); line-height: 0.92; font-weight: 800; letter-spacing: -0.045em; text-transform: uppercase; }
.sub { margin-top: 18px; font-size: 22px; font-weight: 800; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; min-height: calc(100vh - 72px); padding-top: 40px; }
.hero h1 { font-size: clamp(60px, 10vw, 150px); line-height: 0.86; font-weight: 800; letter-spacing: -0.055em; text-transform: uppercase; }
.hero h1 span { display: block; }
.lead { margin-top: 26px; max-width: 520px; font-size: 20px; font-weight: 500; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.tags li { padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.tags .tag-lime { background: var(--pink); color: var(--white); }
.hero-art { position: relative; aspect-ratio: 1; }
.glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 65%); filter: blur(10px); }
.mascot { position: absolute; }
.mascot.main { inset: 12%; width: 76%; filter: drop-shadow(14px 18px 0 rgba(17, 17, 17, 0.9)); animation: wobble 5s ease-in-out infinite; }
.mascot.mini { width: 24%; filter: drop-shadow(6px 8px 0 rgba(17, 17, 17, 0.9)); }
.m1 { right: 0; top: 2%; rotate: 14deg; animation: bob 4.2s ease-in-out infinite reverse; }
.m2 { left: 0; bottom: 4%; rotate: -16deg; animation: bob 4.8s ease-in-out infinite; }
.bubble { position: absolute; padding: 8px 16px; border: 3px solid var(--ink); border-radius: 18px 18px 18px 4px; background: var(--white); font-family: var(--mono); font-weight: 600; font-size: 16px; box-shadow: 4px 4px 0 var(--ink); animation: bob 3.6s ease-in-out infinite; }
.b1 { left: 4%; top: 22%; } .b2 { right: 4%; bottom: 22%; background: var(--ink); color: var(--yellow); animation-delay: -1.2s; } .b3 { left: 36%; top: -3%; background: var(--pink); color: var(--white); animation-delay: -2s; }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes wobble { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }

/* windows: white cards, thick outline, hard shadow */
.window { border: 3px solid var(--ink); border-radius: 20px; background: var(--white); overflow: hidden; box-shadow: var(--hard); }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink); color: var(--yellow); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.win-bar span { flex: 1; }
.win-bar i { width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); }
.win-bar i:nth-of-type(2) { background: var(--pink); } .win-bar i:nth-of-type(3) { background: var(--white); }
.win-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 3px solid var(--ink); }
.chat { list-style: none; padding: 16px 18px 20px; font-family: var(--mono); font-size: 14.5px; display: grid; gap: 6px; min-height: 180px; }
.chat li { transition: opacity 0.3s, transform 0.3s; }
.chat li.hide { opacity: 0; transform: translateY(6px); }
.chat b { color: var(--pink); }

/* story: black band */
.story { max-width: none; background: var(--ink); color: var(--white); }
.story > * { max-width: 1192px; margin-left: auto; margin-right: auto; }
.story .sec-head .num { background: var(--yellow); color: var(--ink); }
.story .big .lime { color: var(--yellow); }
.story .sub { color: var(--yellow); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.story p:not(.sub) { margin-top: 18px; color: #d9d2b4; max-width: 560px; }
.story .window { color: var(--ink); box-shadow: 8px 8px 0 var(--yellow); }

/* banner: big statement on cream */
.banner { max-width: none; background: var(--cream); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding-left: clamp(16px, 8vw, 140px); padding-right: clamp(16px, 8vw, 140px); }
.banner p { font-size: clamp(38px, 6.4vw, 92px); font-weight: 800; line-height: 0.92; letter-spacing: -0.045em; text-transform: uppercase; }
.banner .big-line span { color: var(--pink); }
.banner .banner-sub { margin-top: 26px; max-width: 680px; font-size: 19px; font-weight: 500; line-height: 1.55; letter-spacing: 0; text-transform: none; color: var(--ink-2); }

/* family tree */
.tree-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.node { position: relative; padding: 28px; border: 3px solid var(--ink); border-radius: 22px; background: var(--white); box-shadow: var(--hard); }
.node-n { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--pink); }
.node-era { display: block; margin-top: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.node-face { margin: 22px 0 14px; font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.node-img { width: 110px; height: 110px; margin: 16px 0 10px; object-fit: contain; }
.node p:last-child { color: var(--ink-2); }
.node-lime { background: var(--pink); color: var(--white); }
.node-lime .node-n, .node-lime p:last-child { color: var(--white); }

/* rewards */
.rewards-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rewards-art { border-radius: 24px; border: 3px solid var(--ink); box-shadow: var(--hard); aspect-ratio: 16 / 10; object-fit: cover; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step { padding: 28px; border-radius: 22px; background: var(--white); border: 3px solid var(--ink); box-shadow: var(--hard); }
.step-n { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 22px; }
.step h3 { margin-top: 18px; font-size: 25px; line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--ink-2); }
.chip { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 18px 20px; border-radius: 16px; border: 3px dashed var(--ink); background: var(--cream); color: var(--ink-2); }
.note b { flex: none; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--pink); color: var(--white); }

/* live: black panel */
.live-panel { margin-top: 40px; }
.badge { padding: 3px 10px; border-radius: 999px; background: var(--pink); color: var(--white); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.badge.on { background: var(--yellow); color: var(--ink); }
.badge.on::before { content: "● "; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 3px solid var(--ink); }
.stat { padding: 22px; border-right: 3px solid var(--ink); }
.stat:last-child { border-right: 0; }
.stat .k { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--mute); text-transform: uppercase; }
.stat .v { margin-top: 8px; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat .s { margin-top: 6px; font-size: 13px; color: var(--mute); }
.feed { padding: 20px 22px 24px; }
.feed-title { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--mute); text-transform: uppercase; }
.feed ul { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--cream); border: 2px solid var(--ink); }
.feed li b { color: var(--pink); }
.feed li i { color: var(--mute); font-style: normal; font-size: 13px; }
.feed li.empty { display: block; color: var(--mute); text-align: center; padding: 22px; border-style: dashed; }
.cas { display: grid; gap: 12px; margin-top: 22px; }
.cas > * { min-width: 0; }
.ca { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 16px; border: 3px solid var(--ink); background: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.ca-t { font-weight: 800; min-width: 70px; }
.ca code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.copy { flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--yellow); font: 800 13px var(--display); text-transform: uppercase; cursor: pointer; }
.copy:disabled { background: #e8dfb8; color: var(--mute); cursor: default; }

/* how to buy ticket */
.ticket { display: grid; grid-template-columns: 230px 1fr; border-radius: 26px; overflow: hidden; background: var(--white); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.stub { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 28px; background: var(--pink); color: var(--white); border-right: 4px dashed var(--ink); text-align: center; }
.stub p:first-child { font-size: 68px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.stub p { font-size: 13px; letter-spacing: 0.12em; font-weight: 600; }
.ticket-body { padding: clamp(24px, 4vw, 48px); }
.ticket-body h2 { font-size: clamp(38px, 5.4vw, 70px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; text-transform: uppercase; }
.ticket-body ol { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ticket-body li span { font-family: var(--mono); font-weight: 600; color: var(--pink); }
.ticket-body h3 { margin-top: 6px; font-size: 22px; text-transform: uppercase; }
.ticket-body li p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* memes */
.memes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.arrows { display: flex; gap: 12px; }
.arrows button { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--ink); background: var(--white); color: var(--ink); font-size: 30px; font-weight: 800; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); }
.arrows button:hover { background: var(--ink); color: var(--yellow); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 82vw); gap: 22px; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 8px 18px 4px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.carousel figure { position: relative; scroll-snap-align: start; border-radius: 22px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); background: var(--white); }
.carousel img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.carousel figcaption span { position: absolute; left: 0; right: 0; padding: 0 16px; text-align: center; font-weight: 800; font-size: 28px; line-height: 1.05; text-transform: uppercase; color: #fff; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 0 3px 0 #000; }
.carousel figcaption span:first-child { top: 16px; }
.carousel figcaption span:last-child { bottom: 16px; }

/* faq */
.qa { display: grid; gap: 12px; margin-top: 36px; max-width: 920px; }
.qa details { border: 3px solid var(--ink); border-radius: 18px; background: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 800; font-size: 19px; text-transform: uppercase; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--pink); font-size: 28px; line-height: 1; }
.qa details[open] summary::after { content: "–"; }
.qa details p { padding: 0 22px 22px; color: var(--ink-2); }

/* footer */
.foot { background: var(--ink); color: #d9d2b4; padding: 50px clamp(16px, 5vw, 64px) 60px; display: grid; gap: 16px; font-size: 14px; }
.foot .brand { color: var(--yellow); }
.foot p { max-width: 760px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 20px; opacity: 0; padding: 12px 22px; border-radius: 999px; border: 3px solid var(--ink); background: var(--white); font-weight: 800; box-shadow: 4px 4px 0 var(--ink); transition: 0.25s; pointer-events: none; z-index: 50; }
.toast.on { opacity: 1; translate: -50% 0; }

/* responsive */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .hero, .story-grid, .rewards-top { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .tree-grid, .steps, .ticket-body ol { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 3px solid var(--ink); }
  .ticket { grid-template-columns: 1fr; }
  .stub { border-right: 0; border-bottom: 4px dashed var(--ink); flex-direction: row; justify-content: space-around; }
  .stub p:first-child { font-size: 46px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .feed li { grid-template-columns: 1fr auto; }
  .feed li i { display: none; }
  .ca { flex-wrap: wrap; }
  .ca code { flex-basis: 100%; order: 3; white-space: normal; word-break: break-all; }
  .carousel figcaption span { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
