/* DIDU — pass 3: one-page toilet-arcade. dark void + single lime accent. hero + cabinet = one brand. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #08080a;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #c8fa2c;
  --accent-ink: #131a02;
  --panel: #121215;
  --panel-2: #0c0c0f;
  --stroke: rgba(255, 255, 255, 0.1);
  --lime-line: rgba(200, 250, 44, 0.28);
  --radius: 20px;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* ---- full-page atmosphere (CSS only) ---- */
body {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(1100px 480px at 50% -10%, rgba(200, 250, 44, 0.08), transparent 60%),
    radial-gradient(800px 600px at 85% 110%, rgba(200, 250, 44, 0.05), transparent 60%),
    var(--bg);
}

/* vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.62) 100%);
}

/* film grain — inline SVG turbulence, no external images */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---- site header ---- */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  align-self: stretch;
  flex-shrink: 0;
  width: 100%;
  background: rgba(8, 8, 10, 0.94);
}

.site-header {
  position: relative;
  z-index: 4;
  width: 100%;
  border-bottom: 1px solid var(--stroke);
  background: rgba(8, 8, 10, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(200, 250, 44, 0.12), transparent);
  opacity: 0.65;
}

.site-header-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
}

.site-header-slot {
  min-width: 0;
}

.site-header-bar > .site-logo {
  grid-column: 1;
}

.site-header-bar > .site-marquee,
.site-header-bar > .site-header-slot {
  grid-column: 2;
  min-width: 0;
}

.site-header-bar > .site-nav {
  grid-column: 3;
  justify-self: end;
  justify-content: flex-end;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.site-logo-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 0 20px rgba(200, 250, 44, 0.35);
}

.site-logo-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.site-logo-name {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}

.site-logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--muted);
}

.site-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  min-width: 0;
}

.site-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: site-marquee 22s linear infinite;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--muted);
}

.site-marquee-track span::before {
  content: "·";
  margin-right: 0.65rem;
  color: var(--accent);
}

@keyframes site-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* Sticky site wallet (lives in site-chrome header on every page) */
.site-wallet-bar {
  position: relative;
  flex-shrink: 0;
}

.site-wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 11.5rem;
  padding: 0.38rem 0.7rem 0.38rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.42);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.site-wallet-bar.is-connected .site-wallet-btn {
  border-color: rgba(200, 250, 44, 0.5);
  box-shadow: 0 0 16px rgba(200, 250, 44, 0.12);
}

.site-wallet-bar.is-warn .site-wallet-btn {
  border-color: rgba(251, 191, 36, 0.45);
}

.site-wallet-bar.is-busy .site-wallet-btn {
  opacity: 0.75;
  cursor: wait;
}

.site-wallet-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--muted);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.site-wallet-bar.is-connected .site-wallet-dot {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 250, 44, 0.65);
}

.site-wallet-bar.is-warn .site-wallet-dot {
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}

.site-wallet-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.site-wallet-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-wallet-bar.is-out .site-wallet-label {
  text-transform: lowercase;
}

.site-wallet-bar.is-connected .site-wallet-label,
.site-wallet-bar.is-warn .site-wallet-label {
  color: var(--accent);
}

.site-wallet-sub {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-wallet-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  min-width: 9.5rem;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(200, 250, 44, 0.25);
  background: #101014;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.site-wallet-menu-item {
  width: 100%;
  border: 1px solid var(--lime-line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(200, 250, 44, 0.08);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}

.site-wallet-menu-item:hover,
.site-wallet-menu-item:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  outline: none;
}

.site-status {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--accent);
  margin-right: 0.15rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--stroke);
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: rgba(200, 250, 44, 0.08);
  border: 1px solid var(--lime-line);
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 250, 44, 0.9);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

.ticker {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--ink);
}

.ticker::before {
  content: "$";
  color: var(--accent);
}

/* ---- build-week nav pill (homepage header) ---- */
.nav-build {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--accent);
  border: 1px solid var(--lime-line);
  background: rgba(200, 250, 44, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.nav-build:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.nav-build:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-build.is-live {
  box-shadow: 0 0 0 1px rgba(200, 250, 44, 0.35), 0 0 18px rgba(200, 250, 44, 0.25);
  animation: nav-live-pulse 2.2s ease-in-out infinite;
}

.nav-build.is-live::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.45em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

@keyframes nav-live-pulse {
  0%,
  100% {
    background: rgba(200, 250, 44, 0.08);
  }
  50% {
    background: rgba(200, 250, 44, 0.18);
  }
}

/* ---- community build pulse (homepage) ---- */
.community-pulse {
  position: relative;
  z-index: 1;
  padding: 0 1rem 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.community-pulse-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.community-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--accent);
}

.community-title {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.community-blurb {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.community-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  border: 1px solid rgba(200, 250, 44, 0.35);
  background:
    radial-gradient(420px 180px at 50% -30%, rgba(200, 250, 44, 0.16), transparent 70%),
    linear-gradient(180deg, #141417 0%, #0c0c0f 100%);
  padding: 1.1rem 1.15rem 1rem;
  box-shadow: 0 0 28px rgba(200, 250, 44, 0.1);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.community-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(200, 250, 44, 0.2);
}

.community-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.community-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 250, 44, 0.9);
  animation: blink 1.4s ease-in-out infinite;
}

.community-card-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--muted);
}

.community-card-hero {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.community-card-sub {
  margin: 0.45rem 0 0.85rem;
  font-size: 0.82rem;
  color: #d4d4d8;
  line-height: 1.4;
}

.community-stats {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0.75rem 0 0;
  list-style: none;
  border-top: 1px solid var(--stroke);
}

.community-stat-val {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.community-stat-key {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: lowercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

.community-cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.community-btn {
  flex: 1 1 auto;
  text-align: center;
  text-transform: none;
  letter-spacing: -0.01em;
}

/* ---- hero: mobile first, video → copy → buy ---- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1rem 1rem 2rem;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

/* ---- video billboard: premium-degen frame ---- */
.video-wrap {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  outline: 1px solid rgba(200, 250, 44, 0.18);
  outline-offset: 3px;
  aspect-ratio: 9 / 16;
  max-height: min(68dvh, 620px);
  width: 100%;
  box-shadow: 0 0 44px rgba(200, 250, 44, 0.09);
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.video-wrap-idle .dance {
  object-fit: contain;
  object-position: center center;
  filter: contrast(1.05) saturate(0.92) brightness(0.92);
}

body.is-pigeon-party {
  overflow: hidden;
}

.video-wrap.is-breakout {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  height: 100dvh;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  border: none;
  background: rgba(4, 4, 6, 0.92);
  box-shadow: none;
}

.video-wrap.is-breakout::before {
  inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(200, 250, 44, 0.12), transparent 70%);
}

.video-wrap.is-breakout::after {
  opacity: 0.35;
}

/* soft lime aura behind the video */
.video-wrap::before {
  content: "";
  position: absolute;
  inset: 12% 8% -8% 8%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 60%, rgba(200, 250, 44, 0.28), transparent 70%);
  filter: blur(46px);
}

/* CRT scanlines + inner edge vignette over the video */
.video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.1) 3px 4px),
    radial-gradient(115% 100% at 50% 45%, transparent 62%, rgba(0, 0, 0, 0.44) 100%);
}

.dance-rig {
  width: 100%;
  height: 100%;
  transform-origin: 50% 88%;
  transform-style: preserve-3d;
  will-change: transform;
}

.video-wrap.is-breakout .dance-rig {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(46vw, 300px);
  height: auto;
  aspect-ratio: 9 / 16;
  margin-left: calc(min(46vw, 300px) / -2);
  margin-top: calc(min(46vw, 300px) * 16 / 9 / -2);
  animation:
    pigeon-breakout-pop 0.85s cubic-bezier(0.22, 0.9, 0.28, 1) forwards,
    pigeon-screen-roam 11s ease-in-out 0.85s infinite;
}

@keyframes pigeon-breakout-pop {
  0% {
    transform: translate3d(0, 40vh, -80px) rotateX(28deg) rotateZ(0deg) scale(0.55);
    opacity: 0.4;
  }
  55% {
    transform: translate3d(0, -8vh, 220px) rotateX(-18deg) rotateZ(-12deg) scale(1.28);
    opacity: 1;
  }
  100% {
    transform: translate3d(-18vw, -12vh, 160px) rotateX(8deg) rotateZ(18deg) scale(1.15);
  }
}

@keyframes pigeon-screen-roam {
  0% {
    transform: translate3d(-18vw, -12vh, 160px) rotateX(8deg) rotateZ(18deg) scale(1.15);
  }
  18% {
    transform: translate3d(22vw, -28vh, 200px) rotateX(-14deg) rotateZ(-24deg) scale(1.22);
  }
  36% {
    transform: translate3d(28vw, 8vh, 140px) rotateX(20deg) rotateZ(32deg) scale(1.18);
  }
  54% {
    transform: translate3d(-8vw, 22vh, 180px) rotateX(-10deg) rotateZ(-8deg) scale(1.25);
  }
  72% {
    transform: translate3d(-32vw, 4vh, 120px) rotateX(16deg) rotateZ(28deg) scale(1.12);
  }
  90% {
    transform: translate3d(12vw, -18vh, 210px) rotateX(-20deg) rotateZ(-30deg) scale(1.2);
  }
  100% {
    transform: translate3d(-18vw, -12vh, 160px) rotateX(8deg) rotateZ(18deg) scale(1.15);
  }
}

.pigeon-stop-hint {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 10001;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(200, 250, 44, 0.35);
  border-radius: 999px;
  pointer-events: none;
}

.pigeon-tap-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem 1rem 4.5rem;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
}

.pigeon-tap-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--muted);
}

.pigeon-tap-label {
  margin-top: 0.35rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(200, 250, 44, 0.45);
}

.pigeon-tap-sub {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #e4e4e7;
  text-align: center;
  max-width: 16ch;
}

.video-wrap.is-breakout .pigeon-tap-overlay {
  display: none;
}

.dance {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #000;
  pointer-events: none;
}

/* party mode: crop/zoom is fine while he roams */
.video-wrap.is-breakout .dance {
  object-fit: cover;
  object-position: center 42%;
}

.sound-btn {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.sound-btn:hover {
  border-color: var(--accent);
}

.sound-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- copy ---- */
.copy-block {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.title {
  margin: 0;
  font-size: clamp(4.25rem, 24vw, 6.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.title-dot {
  color: var(--accent);
}

.tagline {
  margin: 0;
  color: #e4e4e7;
  font-size: 1.06rem;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.01em;
  max-width: 26ch;
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ---- official CA ribbon (every page) ---- */
.site-ca-ribbon {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 2px solid rgba(200, 250, 44, 0.55);
  background: linear-gradient(90deg, rgba(200, 250, 44, 0.16), rgba(8, 8, 10, 0.98), rgba(200, 250, 44, 0.16));
  box-shadow: 0 8px 32px rgba(200, 250, 44, 0.12);
}

.site-ca-kicker {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-ca-warn {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fca5a5;
  letter-spacing: 0.04em;
}

.site-ca-mint {
  flex: 1 1 12rem;
  max-width: 100%;
  border: 1px solid rgba(200, 250, 44, 0.45);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-family: inherit;
}

.site-ca-actions {
  display: flex;
  flex: 1 1 16rem;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
  max-width: 44rem;
}

.site-ca-actions .site-ca-mint {
  flex: 1 1 auto;
  min-width: 0;
}

.site-ca-mint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.62rem, 2.8vw, 0.78rem);
  font-weight: 700;
  color: #f4ffe0;
  word-break: break-all;
  line-height: 1.35;
}

.site-ca-mint:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(200, 250, 44, 0.25);
}

.site-ca-mint.is-copied {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(200, 250, 44, 0.35);
}

.site-ca-mint.is-copied code {
  opacity: 0.35;
}

.site-ca-mint.is-copied::after {
  content: attr(data-copy-feedback);
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: lowercase;
}

/* ---- CA row: clean mono chip, ticket-stub noise removed ---- */
.ca-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.ca {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  line-height: 1.5;
  word-break: break-all;
  padding: 0.8rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  color: #e4e4e7;
}

/* ---- buttons: lowercase friendly, lime punch + subtle outline ---- */
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  border: 1px solid transparent;
  cursor: pointer;
  flex: 1 1 100%;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 24px rgba(200, 250, 44, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.07);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  min-height: 48px;
  flex: 1 1 100%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.site-ca-yoink {
  flex: 0 0 auto;
  align-self: stretch;
  min-height: 0;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(200, 250, 44, 0.28);
}

.btn.site-ca-yoink:hover {
  filter: brightness(1.07);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* ---- arcade cabinet: toilet-arcade CRT ---- */
.whisper-game {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.arcade-cabinet {
  filter: drop-shadow(0 0 26px rgba(200, 250, 44, 0.07));
}

.cabinet-bezel {
  border-radius: 24px;
  padding: 1rem 1rem 1.15rem;
  background: linear-gradient(180deg, #17171c 0%, #0c0c0f 100%);
  border: 1px solid var(--lime-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 70px rgba(0, 0, 0, 0.75);
}

/* cabinet light bar: the glowing header of the cabinet */
.cabinet-marquee {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--accent-ink);
  background: linear-gradient(180deg, #dcff5c 0%, var(--accent) 55%, #9dc716 100%);
  border: 2px solid #0a0a0a;
  border-radius: 12px;
  padding: 0.55rem 1rem;
  margin-bottom: 0.9rem;
  text-shadow: none;
  box-shadow: 0 0 22px rgba(200, 250, 44, 0.4);
  animation: cabinet-glow 3.2s ease-in-out infinite;
}

@keyframes cabinet-glow {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(200, 250, 44, 0.35);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(200, 250, 44, 0.55);
    filter: brightness(1.08);
  }
}

.game-head {
  margin-bottom: 0.85rem;
  text-align: left;
}

.game-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.game-title::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(200, 250, 44, 0.9);
  margin-right: 0.5em;
  vertical-align: baseline;
}

.game-desc {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.45;
}

/* ---- CRT screen ---- */
.game-stage {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(200, 250, 44, 0.4);
  background: #050507;
  box-shadow:
    0 0 28px rgba(200, 250, 44, 0.12),
    inset 0 0 46px rgba(0, 0, 0, 0.85),
    inset 0 0 6px rgba(200, 250, 44, 0.12);
  overflow: hidden;
  touch-action: manipulation;
}

.game-stage.is-hyped {
  animation: stage-shake 0.35s ease-in-out infinite;
}

@keyframes stage-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  75% {
    transform: translateX(2px);
  }
}

/* HUD is a scoreboard: only when playing */
#gameHud[hidden] {
  display: none !important;
}

#gameIdle[hidden],
#gameToast[hidden],
#gameShare[hidden] {
  display: none !important;
}

.game-hud {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(200, 250, 44, 0.3);
  background: rgba(0, 0, 0, 0.88);
}

.hud-cell {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: center;
}

.hud-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hud-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(200, 250, 44, 0.8);
}

/* ---- viewport: CSS-only poster when idle, dark playfield when playing ---- */
.game-viewport {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  overflow: hidden;
  background:
    radial-gradient(240px 200px at 50% 122%, rgba(200, 250, 44, 0.24), transparent 65%),
    radial-gradient(150px 150px at 50% 36%, rgba(200, 250, 44, 0.16), transparent 70%),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(200, 250, 44, 0.045) 14px 15px),
    linear-gradient(180deg, #101014 0%, #08080b 100%);
}

/* poster moon: pure-CSS ring, no emoji */
.game-viewport::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16%;
  width: 118px;
  height: 118px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid rgba(200, 250, 44, 0.75);
  background:
    radial-gradient(circle at 34% 32%, rgba(200, 250, 44, 0.35), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(200, 250, 44, 0.1), transparent 70%);
  box-shadow:
    0 0 34px rgba(200, 250, 44, 0.35),
    inset 0 0 24px rgba(200, 250, 44, 0.18);
  transition: opacity 0.25s ease;
}

/* CRT scanlines + curved-glass vignette over the screen */
.game-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.16) 3px 4px),
    radial-gradient(120% 105% at 50% 45%, transparent 58%, rgba(0, 0, 0, 0.55) 100%);
}

#gameStage.is-playing .game-viewport {
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(200, 250, 44, 0.07), transparent 65%),
    #050507;
}

#gameStage.is-playing .game-viewport::before {
  opacity: 0;
}

.game-idle {
  position: relative;
  z-index: 2;
  margin: 5.2rem 0 0;
  max-width: 26ch;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.game-idle::before {
  content: "insert cheeks";
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--accent);
  animation: blink 1.8s ease-in-out infinite;
}

.game-toast {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  z-index: 4;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(200, 250, 44, 0.5);
}

/* ---- whisper bubbles: high-contrast lime pops ---- */
.whisper-bubble {
  position: absolute;
  z-index: 2;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 0.95rem;
  border: 2px solid #0a0a0a;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    0 0 20px rgba(200, 250, 44, 0.55),
    3px 3px 0 rgba(0, 0, 0, 0.9);
  animation: whisper-in 0.22s ease-out;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.whisper-bubble:hover {
  filter: brightness(1.06);
}

.whisper-bubble:active {
  transform: scale(0.94);
}

.whisper-bubble.is-pop {
  animation: whisper-pop 0.18s ease-in forwards;
}

@keyframes whisper-in {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes whisper-pop {
  to {
    opacity: 0;
    transform: scale(1.45) rotate(3deg);
  }
}

/* ---- cabinet controls: lowercase, no shouting ---- */
.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.cabinet-controls .btn {
  flex: 1 1 auto;
  min-width: 8rem;
  text-transform: none;
}

.btn-cabinet {
  text-transform: none;
  letter-spacing: -0.01em;
}

#gameStart,
#gameShare {
  text-transform: none;
}

.game-best {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  min-height: 1.2em;
}

/* ---- desktop: side-by-side hero, cabinet below — scrolls video → buy → arcade ---- */
@media (min-width: 900px) {
  .site-header-bar {
    padding: 0.75rem 2rem;
  }

  .site-status {
    display: inline-flex;
  }

  .site-marquee {
    display: block;
  }

  .top {
    padding: 1.1rem 2rem;
  }

  .hero {
    max-width: 1080px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    padding: 2.5rem 2rem 3rem;
  }

  .video-wrap {
    flex: 0 1 400px;
    max-height: min(78dvh, 720px);
  }

  .copy-block {
    flex: 1 1 auto;
    max-width: 30rem;
    gap: 0.85rem;
  }

  .title {
    font-size: clamp(5rem, 7vw, 7.5rem);
  }

  .ca-row {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .ca {
    flex: 1 1 auto;
    align-content: center;
    border-radius: 12px 0 0 12px;
  }

  .ca-row .btn-ghost {
    border-radius: 0 12px 12px 0;
    border-left: 0;
  }

  .btn-ghost {
    flex: 0 0 auto;
    white-space: nowrap;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .actions {
    flex-direction: row;
  }

  .actions .btn {
    flex: 1 1 0;
  }

  .community-pulse {
    max-width: 1080px;
    padding: 0 2rem 3rem;
  }

  .community-pulse-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
  }

  .community-pulse-head {
    flex: 1 1 42%;
  }

  .community-card {
    flex: 1 1 58%;
  }

  .whisper-game {
    padding: 0 2rem;
  }

  .cabinet-bezel {
    padding: 1.4rem 1.6rem 1.5rem;
  }

  .game-viewport {
    min-height: 280px;
  }

  .game-controls .btn {
    flex: 0 0 auto;
    min-width: 12rem;
  }
}

@media (max-width: 599px) {
  .site-marquee {
    display: none;
  }

  .site-header-bar {
    grid-template-columns: 1fr auto;
  }

  .site-header-bar > .site-header-slot {
    display: none;
  }

  .site-logo {
    grid-column: 1;
  }

  .site-header-bar > .site-nav {
    grid-column: 2;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
  }

  .site-wallet-btn {
    max-width: 9.5rem;
    padding: 0.35rem 0.55rem 0.35rem 0.4rem;
  }

  .site-wallet-sub {
    display: none;
  }

  .site-wallet-bar.is-out .site-wallet-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge-dot,
  .game-idle::before,
  .cabinet-marquee,
  .site-marquee-track,
  .video-wrap.is-breakout .dance-rig {
    animation: none;
    transform: translate3d(0, -8vh, 80px) scale(1.08);
  }

  .btn-primary:active,
  .whisper-bubble:active {
    transform: none;
  }

  .game-stage.is-hyped {
    animation: none;
  }

  .whisper-bubble,
  .whisper-bubble.is-pop {
    animation: none;
  }

  .game-viewport::before {
    transition: none;
  }
}
