:root {
  --ink: #0b0614;
  --ink-2: #140a24;
  --paper: #fff6ea;
  --muted: rgba(255, 246, 234, 0.62);
  --line: rgba(255, 246, 234, 0.12);
  --yellow: #ffe14d;
  --yellow-2: #ffb52e;
  --pink: #ff5fa8;
  --cyan: #4cd3ff;
  --purple: #8a4dff;

  --r-legendary: linear-gradient(160deg, #ffb347 0%, #d9601a 55%, #7a2a0a 100%);
  --r-epic: linear-gradient(160deg, #d07bff 0%, #8a3ce0 55%, #3d136e 100%);
  --r-mythic: linear-gradient(160deg, #fff07a 0%, #f2b21b 50%, #8a5a00 100%);
  --r-rare: linear-gradient(160deg, #6fd8ff 0%, #2b86e6 55%, #0f2f78 100%);

  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;

  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--yellow); color: var(--ink); }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.88;
  margin: 0;
  transform: skewX(-7deg);
  transform-origin: left bottom;
}
.display.sm { font-size: clamp(44px, 7vw, 96px); }
.kicker {
  font-family: var(--pixel);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker .dot {
  width: 8px; height: 8px; background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  animation: blink 1.2s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--yellow);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 30px;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  transform: skewX(-10deg);
  transition: transform 0.18s var(--ease), filter 0.18s;
  isolation: isolate;
}
.btn > span { transform: skewX(10deg); display: inline-block; white-space: nowrap; }
.btn b { font-weight: 400; }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #fff59a 0%, var(--yellow) 45%, var(--yellow-2) 100%);
  border: 3px solid #1b0f05;
  box-shadow: inset 0 -5px 0 rgba(150, 70, 0, 0.35), 0 6px 0 #1b0f05;
}
.btn:hover { transform: skewX(-10deg) translateY(-2px) scale(1.03); }
.btn:active { transform: skewX(-10deg) translateY(3px); }
.btn:active::before { box-shadow: inset 0 -2px 0 rgba(150, 70, 0, 0.35), 0 2px 0 #1b0f05; }
.btn-sm { height: 42px; padding: 0 20px; font-size: 18px; }
.btn-sm::before { border-width: 2px; box-shadow: inset 0 -3px 0 rgba(150, 70, 0, 0.35), 0 4px 0 #1b0f05; }
.btn-ghost { color: var(--paper); }
.btn-ghost::before {
  background: rgba(20, 10, 36, 0.55);
  border-color: rgba(255, 246, 234, 0.85);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled { background: rgba(11, 6, 20, 0.72); backdrop-filter: blur(14px); }
.nav-mark { display: flex; align-items: center; gap: 12px; }
.nav-mark img { width: 54px; height: auto; filter: drop-shadow(0 3px 0 rgba(0,0,0,0.5)); }
.nav-mark span { font-family: var(--display); font-size: 26px; text-transform: uppercase; transform: skewX(-7deg); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) {
  font-family: var(--pixel);
  font-size: 13px;
  color: var(--paper);
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links > a:not(.btn):hover { opacity: 1; color: var(--yellow); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: -3%; will-change: transform; }
.hero-media picture { position: absolute; inset: 0; }

/* layered logo over the clean sky plate */
.hero-logo {
  position: absolute;
  z-index: 2;
  right: 3vw;
  top: 8vh;
  width: min(41vw, 72vh, 720px);
  pointer-events: none;
  will-change: transform;
}
.hero-logo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 50px rgba(30, 0, 60, 0.55));
  animation: logoDrop 1.6s cubic-bezier(0.25, 1.35, 0.4, 1) 0.45s both, hover 7s ease-in-out 2.1s infinite;
}
@keyframes logoDrop {
  from { opacity: 0; transform: translateY(-38vh) scale(0.7) rotate(-6deg); filter: blur(10px) drop-shadow(0 30px 50px rgba(30, 0, 60, 0.55)); }
  60% { opacity: 1; filter: blur(0) drop-shadow(0 30px 50px rgba(30, 0, 60, 0.55)); }
  to { transform: none; }
}
@keyframes hover { 50% { transform: translateY(-12px) rotate(0.8deg); } }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 35% 70%;
  transform-origin: 30% 70%;
  animation: push 24s var(--ease) both;
}
@keyframes push { from { transform: scale(1.1); filter: brightness(0.4) saturate(0.8); } 12% { filter: brightness(1) saturate(1); } to { transform: scale(1.0); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 6, 20, 0.85) 0%, rgba(11, 6, 20, 0.35) 38%, transparent 60%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11, 6, 20, 0.4) 24%, transparent 46%);
}
.letterbox {
  position: absolute; left: 0; right: 0;
  height: 6vh; background: #000; z-index: 2;
  animation: bars 1.6s var(--ease) 0.2s both;
}
.letterbox.top { top: 0; transform-origin: top; }
.letterbox.bottom { bottom: 0; transform-origin: bottom; }
@keyframes bars { from { transform: scaleY(2.6); } to { transform: scaleY(1); } }

.hero-copy {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  bottom: calc(6vh + clamp(32px, 6vh, 72px));
  max-width: 900px;
}
.hero .display {
  font-size: clamp(64px, 12.5vw, 196px);
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.35);
}
.hero .display .line { display: block; overflow: hidden; padding-right: 0.08em; }
.hero .display .line:nth-child(2) {
  background: linear-gradient(180deg, #fff59a 0%, var(--yellow) 35%, #ff9b52 70%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.35));
}
.hero-copy > * { animation: rise 1.1s var(--ease) both; }
.hero-copy .kicker { animation-delay: 0.9s; }
.hero-copy .display { animation-delay: 1.05s; }
.hero-copy .hero-actions { animation-delay: 1.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.hero-copy .display { animation-name: riseSkew; }
@keyframes riseSkew { from { opacity: 0; transform: skewX(-7deg) translateY(28px); } to { transform: skewX(-7deg); } }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }

.ca {
  display: inline-flex;
  align-items: center;
  height: 58px;
  border: 1px solid var(--line);
  background: rgba(11, 6, 20, 0.55);
  backdrop-filter: blur(12px);
  font-family: var(--pixel);
  font-size: 13px;
  transition: border-color 0.2s;
  max-width: 100%;
}
.ca:hover { border-color: rgba(255, 225, 77, 0.6); }
.ca-label { padding: 0 14px; height: 100%; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.ca-value { padding: 0 16px; color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.ca-hint { padding: 0 14px; color: var(--yellow); border-left: 1px solid var(--line); height: 100%; display: grid; place-items: center; }

.scroll-cue {
  position: absolute; z-index: 3;
  right: var(--pad);
  bottom: calc(6vh + 28px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--pixel); font-size: 11px; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 54px; background: linear-gradient(var(--paper), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 5;
  background: var(--yellow);
  color: var(--ink);
  border-top: 3px solid #1b0f05;
  border-bottom: 3px solid #1b0f05;
  transform: rotate(-1.6deg) scale(1.04);
  margin: -26px 0 0;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 44px);
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
  display: flex; align-items: center;
}
.ticker span::after {
  content: "";
  width: 34px; height: 25px;
  margin: 0 28px;
  background: url("/art/gg-logo.png") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(110px, 16vh, 180px) var(--pad);
  background:
    radial-gradient(60% 60% at 25% 50%, rgba(138, 77, 255, 0.22), transparent 70%),
    var(--ink);
}
.manifesto-logo { position: relative; max-width: 560px; justify-self: center; width: 100%; animation: bob 6s ease-in-out infinite; }
.manifesto-logo .m-gg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.manifesto-logo .m-crown {
  position: absolute;
  left: 50%; top: -20%;
  width: 42%;
  transform: translate(-50%, -140%) rotate(-14deg);
  opacity: 0;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.9s cubic-bezier(0.3, 1.5, 0.45, 1), opacity 0.3s;
  z-index: 2;
}
.manifesto-logo.dropped .m-crown { transform: translate(-50%, 0) rotate(-4deg); opacity: 1; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.manifesto-lines p {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 0.95;
  margin: 0 0 0.18em;
  transform: skewX(-7deg);
  color: var(--paper);
}
.manifesto-lines p:nth-child(2) { color: var(--muted); }
.manifesto-lines em {
  font-style: normal;
  color: var(--yellow);
}
.manifesto-lines p:nth-child(3) { color: var(--yellow); }

/* eyes (only light up when fried) */
.eye {
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, #fff 0 6%, #ff2a2a 14%, rgba(255, 0, 0, 0.55) 32%, rgba(255, 0, 0, 0) 66%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: transform 0.35s var(--ease);
}
.eye::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 260%; height: 5%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(255, 80, 80, 0.9), #fff, rgba(255, 80, 80, 0.9), transparent);
}
.eye-l { left: 26%; top: 33%; }
.eye-r { left: 73%; top: 33%; }

/* ---------- case ---------- */
.case {
  position: relative;
  padding: clamp(80px, 11vh, 130px) var(--pad) clamp(70px, 10vh, 120px);
  text-align: center;
  background:
    radial-gradient(50% 45% at 50% 52%, rgba(138, 77, 255, 0.16), transparent 70%),
    var(--ink);
}
.case-head { display: flex; flex-direction: column; align-items: center; }
.case-head .display { transform-origin: center; }
.case-sub { margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.case-sub b { color: var(--paper); font-weight: 600; }

.case-stage {
  position: relative;
  width: min(600px, 92vw, 60vh);
  aspect-ratio: 1;
  margin: 0 auto;
}
.case-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
  transition: opacity 0.25s;
}
.v-open { opacity: 0; }
.case.opening .v-open { opacity: 1; }
.case.opening .v-idle { opacity: 0; }

.case-result {
  position: absolute; left: 0; right: 0; top: 6%;
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
  isolation: isolate;
  opacity: 0; transform: translateY(16px) scale(0.92);
  transition: opacity 0.35s var(--ease), transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.case.revealed .case-result { opacity: 1; transform: none; pointer-events: auto; }
.case-result::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 45%;
  width: 120%; height: 150%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(8, 4, 16, 0.78), rgba(8, 4, 16, 0.45) 55%, transparent);
}
.case-mult {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(84px, 16vw, 168px);
  line-height: 0.9;
  text-transform: uppercase;
  transform: skewX(-7deg);
  color: var(--paper);
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.45);
}
.case-result.win .case-mult {
  background: linear-gradient(180deg, #fff59a 0%, var(--yellow) 35%, #ff9b52 70%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.45));
}
.case-result.loss .case-mult { color: rgba(255, 246, 234, 0.55); }
.case-payout { margin: 10px 0 0; font-family: var(--pixel); font-size: 14px; color: var(--paper); text-shadow: 0 2px 8px #000; }
.case-proof { margin: 8px 0 0; font-family: var(--pixel); font-size: 11px; color: var(--muted); }
.case-proof a { color: var(--yellow); }

.case-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(8px, 2vw, 20px); }
.case-open { min-width: 260px; }
.case-open:disabled { cursor: not-allowed; filter: grayscale(0.85) brightness(0.75); }
.case-open:disabled:hover { transform: skewX(-10deg); }
.case-open.busy { pointer-events: none; }
.case-meta { margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; font-family: var(--pixel); font-size: 12px; color: var(--muted); }
.case-meta .sep { width: 4px; height: 4px; background: var(--muted); }
.link { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; }

.case-recent { max-width: 620px; margin: clamp(48px, 7vw, 80px) auto 0; text-align: left; }
.case-recent ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.case-recent li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-family: var(--pixel); font-size: 12px; color: var(--muted);
}
.case-recent li b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--paper); }
.case-recent li a { color: var(--yellow); }

.hero-case {
  display: inline-block; margin-top: 22px;
  font-family: var(--pixel); font-size: 13px; color: var(--paper);
  opacity: 0.85; border-bottom: 1px solid rgba(255, 246, 234, 0.4); padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s, opacity 0.2s;
}
.hero-case:hover { color: var(--yellow); border-color: var(--yellow); opacity: 1; }

/* odds dialog */
.odds {
  width: min(560px, 92vw);
  padding: 34px 30px 26px;
  background: var(--ink-2); color: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.odds::backdrop { background: rgba(5, 2, 10, 0.8); backdrop-filter: blur(6px); }
.odds[open] { animation: lb 0.3s var(--ease); }
.odds .display { font-size: 44px; margin-bottom: 18px; }
.odds table { width: 100%; border-collapse: collapse; font-family: var(--pixel); font-size: 12px; }
.odds th { text-align: left; color: var(--muted); font-weight: 400; padding: 8px 0; border-bottom: 1px solid var(--line); }
.odds td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.odds th:last-child, .odds td:last-child { text-align: right; }
.odds tr.up td:first-child { color: var(--yellow); }
.odds-rtp { margin: 18px 0 8px; font-size: 14px; }
.odds-fair { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.odds-fair code { font-size: 12px; color: var(--paper); }
.odds-fair a { color: var(--yellow); word-break: break-all; }
.odds-legal { margin: 16px 0 0; font-family: var(--pixel); font-size: 11px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(60px, 10vh, 120px) var(--pad) 36px; background: #000; }
.footer-bg { position: absolute; inset: 0; opacity: 0.35; }
.footer-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.footer-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-2) 0%, rgba(0,0,0,0.4) 40%, #000 100%); }
.footer-gg {
  position: relative;
  font-size: clamp(160px, 34vw, 520px);
  line-height: 0.8;
  text-transform: none;
  padding-bottom: 0.12em;
  text-align: center;
  transform: skewX(-7deg);
  transform-origin: center;
  background: linear-gradient(180deg, #fff59a 0%, var(--yellow) 30%, #ff9b52 60%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 clamp(30px, 5vw, 60px);
}
.footer-row { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.footer-links { display: flex; gap: 26px; font-family: var(--pixel); font-size: 13px; }
.footer-links a { opacity: 0.8; }
.footer-links a:hover { opacity: 1; color: var(--yellow); }
.disclaimer { max-width: 520px; margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.manifesto-lines p.reveal { transform: skewX(-7deg) translateY(26px); }
.manifesto-lines p.reveal.in { transform: skewX(-7deg); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.6s 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%); }
}

/* ---------- deep fry mode ---------- */
.fry-layer { position: fixed; inset: 0; z-index: 55; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
body.fried main, body.fried .footer, body.fried .nav, body.fried .ticker {
  filter: saturate(2.6) contrast(1.55) brightness(1.08) hue-rotate(-8deg);
}
body.fried .fry-layer {
  opacity: 1;
  background:
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(120, 30, 0, 0.45) 100%),
    repeating-linear-gradient(0deg, rgba(255, 150, 0, 0.05) 0 2px, transparent 2px 4px);
  mix-blend-mode: multiply;
}
body.fried .grain { opacity: 0.32; }
body.fried .eye { transform: translate(-50%, -50%) scale(1); animation: flare 0.9s ease-in-out infinite alternate; }
@keyframes flare { to { filter: brightness(1.4); transform: translate(-50%, -50%) scale(1.15) rotate(8deg); } }
body.fried .manifesto-logo { animation: shake 0.18s steps(2) infinite; }
body.fried .display, body.fried .manifesto-lines p, body.fried .case-mult {
  text-shadow: 3px 0 0 rgba(255, 0, 60, 0.8), -3px 0 0 rgba(0, 220, 255, 0.8);
}
body.fried .hero .display .line:nth-child(2) { filter: drop-shadow(3px 0 0 rgba(255, 0, 60, 0.8)) drop-shadow(-3px 0 0 rgba(0, 220, 255, 0.8)); }
@keyframes shake {
  0% { transform: translate(2px, -1px) rotate(-1deg); }
  100% { transform: translate(-2px, 2px) rotate(1deg); }
}
body.shaking main { animation: shake 0.08s steps(2) 6; }

.stickers { position: fixed; inset: 0; z-index: 56; pointer-events: none; }
.sticker {
  position: absolute;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 1;
  filter: saturate(2.2) contrast(1.4) drop-shadow(0 6px 0 rgba(0, 0, 0, 0.45));
  animation: pop 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.sticker.txt {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--yellow);
  -webkit-text-stroke: 3px #000;
  font-size: clamp(40px, 6vw, 96px);
}
@keyframes pop { from { transform: scale(0) rotate(var(--rot, 0deg)); } to { transform: scale(1) rotate(var(--rot, 0deg)); } }

/* ---------- lightbox ---------- */
.lightbox {
  padding: 0; border: 0; background: transparent;
  max-width: min(92vw, 92vh); max-height: 92vh;
}
.lightbox::backdrop { background: rgba(5, 2, 10, 0.88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: auto; max-height: 92vh; object-fit: contain; border: 3px solid #000; }
.lightbox-close {
  position: absolute; top: 10px; right: 10px;
  width: 44px; height: 44px;
  font-size: 30px; line-height: 1;
  background: rgba(11, 6, 20, 0.75); color: var(--paper);
  border: 1px solid var(--line);
}
.lightbox[open] { animation: lb 0.35s var(--ease); }
@keyframes lb { from { opacity: 0; transform: scale(0.94); } }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 70;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 140%);
  padding: 12px 20px;
  font-family: var(--pixel); font-size: 13px;
  background: var(--yellow); color: var(--ink);
  border: 2px solid #1b0f05;
  box-shadow: 0 5px 0 #1b0f05;
  transition: transform 0.35s var(--ease);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-logo { top: 10vh; width: min(52vw, 60vh); }
  .manifesto { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .manifesto-logo { max-width: 340px; }
  .nav-links > a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  .hero-shade {
    background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 6, 20, 0.75) 40%, rgba(11, 6, 20, 0.1) 70%);
  }
  .hero-media img { object-position: 50% 70%; transform-origin: 50% 70%; }
  .hero-logo { right: auto; left: 9vw; top: 9vh; width: 82vw; }
  .letterbox { height: 4vh; }
  .hero-copy { bottom: calc(4vh + 28px); right: var(--pad); }
  .hero-actions { gap: 16px; }
  .hero-actions .btn, .ca { width: 100%; }
  .case-open { width: 100%; }
  .case-recent li { grid-template-columns: 1fr auto; }
  .case-recent li .tx { grid-column: 1 / -1; }
  .ca-value { flex: 1; max-width: none; }
  .scroll-cue { display: none; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain { display: none; }
  .reveal { opacity: 1; transform: none; }
}
