/* Arcade pixel font (self-hosted, works offline + after deploy) */
@font-face {
  font-family: "Press Start 2P";
  src: url("data:font/woff2;base64,d09GMgABAAAAABowAA8AAAAAT3QAABnUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHCgGYACCdAiBYgmaFhEICut833YLgTYAATYCJAOBOgQgBYRKB4cLDIExG6tHB8a427DbAaRay+sjqlWnE0Wp4tw6UFX1nEBlDNshGUM5eAOCFBpGWzlXlTAwNFEGGPHdx4hHkE3lBA8Nix9xcQFLNKw+M9zBaavrtpeX4+f1f5jp2Uawh4/gwNFUqZQahs/HYKO0f+Px12lKLAk+EU+/+153mL18QugTGoZzhCanaPWffze/Xzs5Qe06EwjJpZCKg6c5pSJKr4iP67cbo/o188R0/O+JlsB2P7BRPKMky6IuAA8t4JJv1F5jtfcTBirJsPSd7xX1L0DEZuQElmWBDSHPvblPuHO2VOk6XV1hq9V1AAFIVf/TlhIUjZOoeZrv6k7aEG1IR0bQD0o2dyldlJntqqcN8MO5+FYRjTbSO3YWNr9fqX75uqfdGIDgt/eXwPGclZSkEin5f9kwmw23WPkW0lQgokwtU7BIw+tJBMB/uZefpDSJkLW3mOwvWbOHIqurjsEiFJLxOIypL+bF5LbNxOz4AgD6e1XL9j2AHPK0F3ApO22qHKff1YbadlHanYtKeP9/gPiAyCWwYICUyU2UNlB0JC+QAk5DBSdeSlnSaR2j5NzG0MVYX1c5xM6l3RYu6tY8//vJ6tjuiS8upfWofhB88RdLEkNIIhhsBh+HuCgY+/XVK36Ovf9PTW1/rSzSIeyE1O2+z38ZTmuZ6l9xKHgg65cQBMBBoxG6+9AUAofOqSPwAAAYAKyvAwCY+CndBQkQbhHmAIP3JWlFS3wEABKYlxdErJCviYoPAPmKnwKA+CmdKXgAAISv+1yZIgoojoUggsojERlVv9Apw+AAuMkeZDs72Onu67Fe6O0+Yt9iP2e/ZZ+xf0nbJBWv2G2qrGxHBzrRPexB9jR7jX3Avsm+y37F/sC+ljZLiS+POa3/bf2P62+AWfPb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lwj///v9JH9IEZtkyqnSCURJlSmCs7qpTSriMnrhtV6DhCYrgXEhMmrR4SJvDpAhG2xK1YPfuGyvvCnK8GDcKl7SWO7GUeqreNSO2Qg5tI6TLl0EFMu9fBnpEm0l5+9QVr9QdAyGwZ/4eOJWIjumCf9t/D7zwVW8/uh/XppCinex9cLHxYGC35h0c5sLw5XM+Mz2Zl4+uY0/2+4yn+V8yoLwGCnxTvxQeNEXovoLonxm8YjjS9z6rJr1R7+2K4CsXHfuR9Fr7r8+Hohz/XPNc9tsTJX6hetX19jt78oRJ6/Srtm0N0HAAA=") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ============================================================
   EDIT YOUR COLORS HERE — change --accent and the whole site
   re-themes. Theme is locked to red & black.
   ============================================================ */
:root {
  --accent:        #8dff1a;   /* lime cyberpunk neon — buttons, links, glow */
  --accent-soft:   #c2ff70;   /* lighter lime for glows */
  --accent-dark:   #1c3a0090;
  --purple:        #c14bff;   /* neon purple — button letters, accents */
  --purple-soft:   #dd9bff;

  --bg:            #05060f;    /* near-black cyber base (blue-violet) */
  --bg-alt:        rgba(10, 12, 24, 0.66);  /* translucent so the city/matrix show through */
  --surface:       #0d1020;    /* solid card surface */
  --border:        #253052;
  --text:          #eaf6ff;
  --text-muted:    #9fb4cf;    /* cool light for readability over the cyber bg */

  --font-pixel:    "Press Start 2P", "Courier New", ui-monospace, monospace;

  --radius:        12px;
  --maxw:          1140px;
  --shadow:        0 4px 28px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html { background: #04040c; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: transparent;           /* let the galaxy layer show */
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   MOVING GALAXY BACKGROUND + SHOOTING STARS
   ============================================================ */
#space-bg {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  /* Cyberpunk night sky: lime-teal glow low, neon-purple haze high, deep
     blue-black base. The lime wash sits near the horizon so it reads as city
     light bleeding up into the sky. */
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(60,140,20,.22), transparent 62%),
    radial-gradient(ellipse 55% 45% at 15% 18%, rgba(120,40,200,.20), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 30%, rgba(30,120,150,.16), transparent 60%),
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(6,8,20,.55), transparent 75%),
    #05060f;
}

/* Neon-lit city skyline along the bottom — an SVG silhouette so it stays
   crisp at any width. Buildings are near-black with faint lit windows; a lime
   glow rides the rooftops. Sits behind the matrix rain and all content. */
#space-bg .skyline {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  height: min(42vh, 420px);
  background-repeat: repeat-x; background-position: bottom center;
  background-size: auto 100%;
  opacity: .9;
  filter: drop-shadow(0 0 6px rgba(141,255,26,.35));
  pointer-events: none;
}
/* Matrix code rain — drawn on a canvas, kept faint so body text stays
   readable. Sits above the nebula/stars but below the skyline and content. */
#matrix-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: .28; pointer-events: none;
}

#space-bg .stars {
  position: absolute; inset: 0; background-repeat: repeat;
}
#space-bg .stars-1 {
  background-image:
    radial-gradient(1px 1px at 10px 20px, #fff, transparent),
    radial-gradient(1px 1px at 70px 90px, rgba(255,255,255,.85), transparent),
    radial-gradient(1.5px 1.5px at 130px 45px, #fff, transparent),
    radial-gradient(1px 1px at 180px 130px, rgba(255,190,190,.9), transparent),
    radial-gradient(1px 1px at 210px 75px, #fff, transparent);
  background-size: 240px 240px;
  animation: drift1 140s linear infinite;
}
#space-bg .stars-2 {
  background-image:
    radial-gradient(1px 1px at 40px 60px, rgba(255,255,255,.75), transparent),
    radial-gradient(1.5px 1.5px at 150px 20px, #fff, transparent),
    radial-gradient(1px 1px at 250px 140px, rgba(255,160,160,.8), transparent),
    radial-gradient(2px 2px at 300px 200px, #fff, transparent);
  background-size: 360px 360px;
  animation: drift2 200s linear infinite, twinkle 6s ease-in-out infinite alternate;
  opacity: .8;
}
#space-bg .stars-3 {
  background-image:
    radial-gradient(1.5px 1.5px at 80px 120px, #fff, transparent),
    radial-gradient(1px 1px at 320px 80px, rgba(255,255,255,.7), transparent),
    radial-gradient(2px 2px at 200px 320px, rgba(255,200,200,.85), transparent);
  background-size: 460px 460px;
  animation: drift3 280s linear infinite;
  opacity: .7;
}
@keyframes drift1 { from { background-position: 0 0; } to { background-position: 240px 720px; } }
@keyframes drift2 { from { background-position: 0 0; } to { background-position: -360px 720px; } }
@keyframes drift3 { from { background-position: 0 0; } to { background-position: 460px 920px; } }
@keyframes twinkle { 0% { opacity: .5; } 100% { opacity: .9; } }

#space-bg .shooting-stars span {
  position: absolute; top: -5%; left: 50%;
  width: 140px; height: 2px; border-radius: 2px;
  /* Neon-lime data streaks instead of white comets. */
  background: linear-gradient(90deg, rgba(141,255,26,0), #c2ff70 45%, #8dff1a);
  filter: drop-shadow(0 0 7px rgba(141,255,26,.95));
  opacity: 0; transform: rotate(38deg);
  animation: shoot 9s linear infinite;
}
#space-bg .shooting-stars span:nth-child(1) { top: 8%;  left: 12%; animation-delay: 0s;   animation-duration: 8s; }
#space-bg .shooting-stars span:nth-child(2) { top: 4%;  left: 55%; animation-delay: 3.5s; animation-duration: 11s; }
#space-bg .shooting-stars span:nth-child(3) { top: 20%; left: 74%; animation-delay: 6s;   animation-duration: 9s; }
#space-bg .shooting-stars span:nth-child(4) { top: 32%; left: 32%; animation-delay: 9s;   animation-duration: 12s; }
/* 5th comet: 1 of 5 = exactly 20%. It gets the .sparkle treatment below. */
#space-bg .shooting-stars span:nth-child(5) { top: 14%; left: 68%; animation-delay: 5s;   animation-duration: 10s; }
@keyframes shoot {
  0%   { opacity: 0; transform: translate(0,0) rotate(38deg); }
  4%   { opacity: 1; }
  16%  { opacity: 1; }
  22%  { opacity: 0; transform: translate(520px, 410px) rotate(38deg); }
  100% { opacity: 0; transform: translate(520px, 410px) rotate(38deg); }
}

/* Sparkle flare at the leading tip of one comet in five (20%). Riding inside the
   same span means it travels with the comet for free; timing is hand-matched to
   that span's own delay/duration so the flash lands right as the trail fades out. */
#space-bg .shooting-stars span.sparkle::after {
  content: "";
  position: absolute; right: -4px; top: 50%;
  width: 12px; height: 12px;
  transform: translateY(-50%) scale(.3) rotate(0deg);
  background: radial-gradient(circle, #fff 0%, rgba(194,255,112,.9) 30%, transparent 72%);
  clip-path: polygon(50% 0%, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0% 50%, 39% 35%);
  filter: drop-shadow(0 0 5px #8dff1a) drop-shadow(0 0 10px #8dff1a);
  opacity: 0;
  animation: sparkle-flare 10s linear infinite;
  animation-delay: 5s;   /* matches span:nth-child(5) above */
}
@keyframes sparkle-flare {
  0%, 13%   { opacity: 0; transform: translateY(-50%) scale(.25) rotate(0deg); }
  18%       { opacity: 1; transform: translateY(-50%) scale(1) rotate(25deg); }
  24%, 100% { opacity: 0; transform: translateY(-50%) scale(.2) rotate(40deg); }
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.muted { color: var(--text-muted); }
.accent { color: var(--accent); }

/* ---------- Arcade pixel font on display elements (headings/buttons only,
   body text stays in the readable sans font) ---------- */
.logo,
.hero-text h1,
.section-head h2,
.btn, .nav-cta,
.price,
.arcade-tag, .arcade-title, .arcade-sub, .arcade-btn, .arcade-hint {
  font-family: var(--font-pixel);
  letter-spacing: 0;
}
.hero-text h1 {
  font-size: clamp(1.6rem, 4.2vw, 3rem); line-height: 1.45;
  text-shadow: 0 0 18px rgba(141,255,26,.35);
}
.section-head h2 {
  font-size: clamp(1.1rem, 3vw, 1.9rem); line-height: 1.5;
  text-shadow: 0 0 16px rgba(141,255,26,.3);
}
.logo { font-size: clamp(.55rem, 1.6vw, .72rem); line-height: 1.5; }
.btn, .nav-cta { font-size: .72rem; line-height: 1.5; }
.btn-sm { font-size: .62rem; }
.btn-lg { font-size: .8rem; }
.price { font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 4, 10, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-weight: 800; letter-spacing: -.02em;
  color: var(--text); text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--text-muted); font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .nav-cta {
  background: var(--accent); color: #fff;
  padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.site-nav .nav-cta:hover { filter: brightness(1.1); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: .4rem;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: .2s;
}

/* ---------- Buttons ----------
   Cyberpunk primary: lime-neon body, purple lettering, faint white diagonal
   racing stripes running across it, and a lime glow. The stripes are a
   repeating-linear-gradient layered under the fill so they don't wash the
   text out. */
.btn {
  position: relative; overflow: hidden;
  display: inline-block; font-weight: 700; font-size: .98rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, filter .15s, box-shadow .15s;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  color: var(--purple);
  background:
    repeating-linear-gradient(115deg,
      rgba(255,255,255,0) 0 16px,
      rgba(255,255,255,.30) 16px 22px),
    linear-gradient(180deg, #a6ff3c, #6fe000);
  border-color: #d6ffa0;
  text-shadow: 0 0 6px rgba(193,75,255,.5);
  box-shadow: 0 0 12px rgba(141,255,26,.6), 0 0 26px rgba(141,255,26,.35),
              inset 0 0 10px rgba(255,255,255,.25);
}
.btn-primary:hover {
  color: #7a1fd0; filter: brightness(1.06);
  box-shadow: 0 0 18px rgba(141,255,26,.85), 0 0 40px rgba(141,255,26,.5),
              inset 0 0 12px rgba(255,255,255,.35);
}
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 12px rgba(141,255,26,.4);
}
.btn-sm { padding: .6rem 1.1rem; font-size: .6rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: .8rem; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 9vw, 6.5rem) clamp(1rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%,
      color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-media img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-muted); margin: 0 0 2rem;
}
.hero-actions {
  display: flex; gap: .9rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-badges {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 1.8rem; flex-wrap: wrap;
  font-size: .9rem; color: var(--text-muted);
}
.hero-badges li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  max-width: var(--maxw); margin: 0 auto;
}
.section-alt {
  background: var(--bg-alt); max-width: none;
  backdrop-filter: blur(3px);
  border-block: 1px solid var(--border);
}
.section-alt > * { max-width: var(--maxw); margin-inline: auto; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.gallery-item {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  cursor: zoom-in; transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-item figcaption {
  padding: .85rem 1rem; font-size: .9rem; color: var(--text-muted);
}

/* ---------- Shop ---------- */
.shop-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.product {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.product-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.product-desc { color: var(--text-muted); font-size: .93rem; flex: 1; margin: 0 0 1.2rem; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price { font-size: 1.3rem; font-weight: 700; }
.price-note { display: block; font-size: .72rem; font-weight: 500; color: var(--text-muted); }
.shop-note { text-align: center; margin-top: 2.5rem; color: var(--text-muted); }

/* ---------- Live shop page extras ---------- */
.product-img { position: relative; cursor: pointer; }
.product-img img { cursor: zoom-in; }
.product-noimg {
  aspect-ratio: 1/1; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--text-muted); font-size: .85rem;
}
.product-count {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(5,6,15,.8); color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px;
  font-size: .72rem; padding: .15rem .6rem; pointer-events: none;
}
.product-type {
  color: var(--accent); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .05em; margin: 0 0 .5rem;
}
/* On the homepage the whole photo is a link into the store. */
a.product-img { display: block; }
/* Flash a product that was deep-linked from the homepage. */
.product-highlight {
  outline: 2px solid var(--accent);
  box-shadow: 0 0 24px rgba(141,255,26,.6);
  animation: product-flash 2.6s ease-out;
}
@keyframes product-flash {
  0%, 30% { box-shadow: 0 0 30px rgba(141,255,26,.85); }
  100%    { box-shadow: 0 0 0 rgba(141,255,26,0); }
}
/* ---------- "How to order" panel on the shop page ---------- */
.how-to-order {
  max-width: 760px; margin: 0 auto 2.5rem;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.how-to-order h3 { margin: 0 0 .8rem; font-size: 1.05rem; }
.how-to-order ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.how-to-order li { font-size: .92rem; line-height: 1.5; }
.how-to-order strong { color: var(--text); }
.how-to-order-note {
  margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: .82rem; line-height: 1.5;
}

/* ---------- Announcement banner (toggled from the POS phone app) ---------- */
#site-banner {
  position: relative; z-index: 60; overflow: hidden;
  background: #05060f; color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: .55rem 0; line-height: 1.4;
  /* faint scanlines so the strip reads as an arcade marquee */
  background-image: repeating-linear-gradient(
    to bottom, rgba(141,255,26,.07) 0 1px, transparent 1px 3px);
}
/* Pixel font = the pixelated look; it's already embedded for the headings. */
.site-banner-text {
  display: inline-block; white-space: nowrap; will-change: transform;
  font-family: 'Press Start 2P', 'Courier New', monospace;
  font-size: .78rem; letter-spacing: .06em;
  text-shadow: 0 0 8px rgba(141, 255, 26, .8);
  /* Scrolls fully off the left by 70% of the cycle, then stays gone for the
     remaining ~5s before looping back in from the right. */
  animation: banner-march 17s linear infinite;
}
@keyframes banner-march {
  0%   { transform: translateX(100vw); }
  70%  { transform: translateX(-100%); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .site-banner-text { animation: none; transform: none; padding-left: 1rem; }
}

/* ---------- Mystery Box (constantly rolling D20) ---------- */
.product-mystery {
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(141, 255, 26, .18);
}
.mystery-media {
  aspect-ratio: 1/1;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(141, 255, 26, .16), transparent 62%),
    var(--bg-alt);
  cursor: default;
}
a.mystery-media { cursor: pointer; }
.mystery-dice {
  width: 62%; max-width: 190px;
  filter: drop-shadow(0 0 14px rgba(141, 255, 26, .55));
}
.mystery-dice-svg {
  width: 100%; height: auto; display: block;
  color: var(--accent);
  transform-origin: 50% 50%;
  animation: mystery-dice-roll 12s linear infinite;
}
.d20-q {
  fill: var(--accent); font-weight: 700;
  font-family: 'Press Start 2P', system-ui, sans-serif;
}
.d20-q-sm { opacity: .55; }

/* Tumbles forever but never turns edge-on, so the question marks stay readable. */
@keyframes mystery-dice-roll {
  0%   { transform: perspective(460px) rotateX(12deg)  rotateY(-12deg) rotateZ(0deg); }
  25%  { transform: perspective(460px) rotateX(-10deg) rotateY(10deg)  rotateZ(90deg); }
  50%  { transform: perspective(460px) rotateX(12deg)  rotateY(-12deg) rotateZ(180deg); }
  75%  { transform: perspective(460px) rotateX(-10deg) rotateY(10deg)  rotateZ(270deg); }
  100% { transform: perspective(460px) rotateX(12deg)  rotateY(-12deg) rotateZ(360deg); }
}

.mystery-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.mystery-tier {
  display: flex; align-items: center; justify-content: space-between; gap: .9rem;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: calc(var(--radius) / 1.6); padding: .7rem .8rem;
}
.mystery-tier-main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.mystery-tier-main strong { font-size: .93rem; }
.mystery-tier-main span { color: var(--text-muted); font-size: .78rem; line-height: 1.35; }
.mystery-tier-buy { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.mystery-tier-buy .price { font-size: 1.05rem; }
@media (max-width: 430px) {
  .mystery-tier { flex-direction: column; align-items: stretch; }
  .mystery-tier-buy { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .mystery-dice-svg { animation: none; }
}

/* Smooth cross-fades for rotating imagery. */
.gallery-item img, .product-img img, .hero-media img { transition: opacity .35s; }

/* ============================================================
   ARCADE — gold coin, credit meter, "coming soon" cabinet
   ============================================================ */

/* A constantly-spinning gold coin, built in CSS (placeholder until the real
   coin logo exists). The 3D flip is faked by squashing width on a gradient
   disc, with a "$" that hides on edge-on frames. */
.coin {
  display: inline-block; width: 1.5em; height: 1.5em; position: relative;
  vertical-align: middle; transform-style: preserve-3d;
  animation: coin-spin 2.4s linear infinite;
}
.coin::before {
  content: "$"; position: absolute; inset: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c0, #ffd447 45%, #e8a200 80%, #a86b00);
  box-shadow: inset 0 0 0 2px #b57e00, 0 0 10px rgba(255,196,0,.6);
  color: #9a5b00; font-weight: 900; font-size: .9em; line-height: 1;
  text-shadow: 0 1px 0 #fff2a8;
}
@keyframes coin-spin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.credit-meter {
  display: flex; align-items: center; gap: .55rem;
  justify-content: center; margin: 0 auto 1.6rem;
  font-family: var(--font-pixel); font-size: .8rem;
  background: rgba(5,6,15,.7); border: 1px solid var(--accent);
  border-radius: 999px; padding: .55rem 1.2rem; width: max-content;
  box-shadow: 0 0 18px rgba(141,255,26,.35);
}
.credit-meter .coin { font-size: 1.3rem; }
/* When the meter is a link (store page → arcade). */
a.credit-meter-link { text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
a.credit-meter-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(141,255,26,.6);
}
.credit-label { color: var(--accent); letter-spacing: .1em; }
.credit-count {
  color: #fff; min-width: 1.4em; text-align: center;
  transition: transform .3s;
}
.credit-count.bump { transform: scale(1.6); color: var(--accent); }

.arcade-main {
  max-width: 760px; margin: 0 auto;
  padding: clamp(5.5rem,11vw,7.5rem) clamp(1rem,4vw,2rem) 4rem;
  text-align: center; position: relative; z-index: 1;
}

.arcade-cabinet {
  background: linear-gradient(180deg, rgba(20,16,32,.9), rgba(8,8,20,.92));
  border: 2px solid var(--accent); border-radius: 18px;
  padding: 1.6rem 1.4rem 1.8rem; box-shadow: 0 0 40px rgba(141,255,26,.25);
}
.arcade-marquee {
  font-family: var(--font-pixel); font-size: .7rem; letter-spacing: .18em;
  color: var(--purple-soft); text-shadow: 0 0 10px var(--purple); margin: 0 0 1.1rem;
}
.arcade-screen {
  background: radial-gradient(ellipse at center, #0b1a05 0%, #05060f 75%);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 2.4rem 1rem; margin-bottom: 1.3rem;
  box-shadow: inset 0 0 40px rgba(0,0,0,.7);
}
.arcade-coming {
  font-family: var(--font-pixel);
  font-size: clamp(1.3rem, 6vw, 2.6rem); line-height: 1.3; margin: 0;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent), 0 0 26px var(--accent), 0 0 50px var(--purple);
  animation: arcade-flash 1.4s steps(2) infinite;
}
@keyframes arcade-flash { 50% { opacity: .55; } }
.arcade-sub { color: var(--text-muted); font-size: .92rem; margin: 1.1rem 0 0; }

/* Inert on purpose — no coin goes in until the game ships. */
.arcade-insert {
  font-family: var(--font-pixel); text-transform: uppercase;
  font-size: .78rem; letter-spacing: .08em;
  color: var(--text-muted); background: #0e0a12;
  border: 2px dashed var(--border); border-radius: 10px;
  padding: .9rem 1.6rem; cursor: not-allowed; opacity: .7;
}
.arcade-note { color: var(--text-muted); font-size: .82rem; margin: 1rem 0 0; }

.arcade-howto { margin-top: 2.6rem; text-align: left; }
.arcade-howto h2 { text-align: center; font-size: clamp(1.1rem,3vw,1.6rem); }
.arcade-howto ul { list-style: none; padding: 0; margin: 1.2rem 0; }
.arcade-howto li {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .7rem; font-size: .95rem;
}
.arcade-signin-row { text-align: center; color: var(--text-muted); font-size: .9rem; }
.arcade-signin {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-top: .9rem;
}
.arcade-signin input {
  flex: 1 1 160px; background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--text); border-radius: 999px; padding: .6rem 1rem; text-align: center;
}
.arcade-signin input:focus { outline: none; border-color: var(--accent); }
.arcade-signin-msg { flex-basis: 100%; text-align: center; font-size: .85rem; margin: .3rem 0 0; }

.critter-token-line {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  color: var(--accent); font-weight: 700; margin: .3rem 0 .8rem !important;
}
.critter-token-line .coin { font-size: 1.4rem; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.review {
  margin: 0; padding: 1.6rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: .7rem; }
.review p { margin: 0 0 1rem; }
.review cite { font-style: normal; font-weight: 600; font-size: .92rem; color: var(--text-muted); }
.review cite::before { content: "— "; }
.review-cta { text-align: center; margin-top: 1rem; }
.review-buttons { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.review-cta .muted { font-size: .88rem; margin-top: .9rem; }

/* ---------- About ---------- */
.about-inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1.2fr; align-items: center;
}
.about-img img {
  border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover;
  border: 1px solid var(--border);
}
.spec-list { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.spec-list span { color: var(--text-muted); text-align: right; }

/* ---------- Form ---------- */
.quote-form { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.quote-form label {
  display: block; margin-bottom: 1.2rem;
  font-size: .93rem; font-weight: 600;
}
.req { color: var(--accent); }
.opt { color: var(--text-muted); font-weight: 400; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%; margin-top: .45rem;
  padding: .8rem .95rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  font: inherit; font-weight: 400;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.quote-form textarea { resize: vertical; }
.form-note { font-size: .88rem; color: var(--text-muted); margin: 0 0 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt); backdrop-filter: blur(3px);
  border-top: 1px solid var(--border);
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap;
}
.footer-brand strong { font-size: 1.05rem; }
.footer-brand p { margin: .3rem 0 0; font-size: .9rem; }
.socials { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.socials a {
  display: flex; align-items: center; gap: .45rem;
  color: var(--text-muted); font-size: .9rem; font-weight: 500;
}
.socials a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: var(--maxw); margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--text-muted); text-align: center;
}
.footer-bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain; border-radius: 8px;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: none; border: 0; color: #fff;
  font-size: 2.8rem; line-height: 1; cursor: pointer;
}

/* ---------- Mobile ---------- */
@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: .5rem 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .85rem clamp(1rem, 4vw, 2.5rem); }
  .site-nav .nav-cta {
    border-radius: 8px; text-align: center;
    margin: .5rem clamp(1rem, 4vw, 2.5rem);
  }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; }
  .about-img { max-width: 340px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-badges { gap: 1rem; }
}

/* ============================================================
   ARCADE INTRO + WORMHOLE
   ============================================================ */
/* Lock scroll & hide the intro once entered */
html:not(.entered), html:not(.entered) body { overflow: hidden; }
html.entered #arcade-intro { display: none; }

#arcade-intro {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
  font-family: var(--font-pixel);
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(60,140,20,.28), transparent 62%),
    radial-gradient(ellipse at center, #0b0820 0%, #060412 62%, #000 100%);
}
/* CRT screen curvature / vignette */
#arcade-intro::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.75) 100%);
  z-index: 4;
}

.arcade-content { position: relative; z-index: 2; padding: 2rem; }

.arcade-tag {
  color: var(--purple-soft); letter-spacing: .28em; font-size: .55rem; line-height: 1.6;
  margin: 0 0 1.8rem; text-shadow: 0 0 8px var(--purple);
}
.arcade-title {
  margin: 0; color: #fff; line-height: 1.35;
  font-size: clamp(1.3rem, 5.5vw, 3.1rem); letter-spacing: 0;
  text-shadow: 0 0 8px var(--accent), 0 0 22px var(--accent), 0 0 46px var(--purple);
}
.arcade-title span {
  display: block; margin-top: .7em;
  font-size: .4em; letter-spacing: .1em; color: var(--accent-soft);
  text-shadow: 0 0 10px var(--accent);
}
.arcade-sub {
  color: #fff; letter-spacing: .12em; font-size: .62rem; line-height: 1.6;
  margin: 2.2rem 0 1.6rem;
}
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Lime-neon start button: purple lettering, white diagonal racing stripes,
   lime glow that pulses. */
.arcade-btn {
  position: relative; overflow: hidden;
  font-family: var(--font-pixel); text-transform: uppercase;
  letter-spacing: .06em; font-size: clamp(.7rem, 2.4vw, 1rem); line-height: 1.5;
  color: var(--purple);
  text-shadow: 0 0 6px rgba(193,75,255,.55);
  background:
    repeating-linear-gradient(115deg,
      rgba(255,255,255,0) 0 18px,
      rgba(255,255,255,.34) 18px 25px),
    linear-gradient(180deg, #a6ff3c, #6fe000);
  border: 2px solid #d6ffa0; border-radius: 10px;
  padding: 1.05rem 2.4rem; cursor: pointer;
  box-shadow: 0 0 12px var(--accent), 0 0 30px rgba(141,255,26,.6),
              inset 0 0 12px rgba(255,255,255,.28);
  animation: btnpulse 1.5s ease-in-out infinite;
  transition: transform .12s;
}
.arcade-btn:hover { transform: translateY(-2px) scale(1.04); color: #7a1fd0; }
.arcade-btn:active { transform: scale(.97); }
.arcade-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@keyframes btnpulse {
  0%, 100% { box-shadow: 0 0 12px var(--accent), 0 0 26px rgba(141,255,26,.5), inset 0 0 12px rgba(255,255,255,.28); }
  50%      { box-shadow: 0 0 22px var(--accent), 0 0 58px rgba(141,255,26,.9), inset 0 0 16px rgba(255,255,255,.45); }
}
.arcade-hint {
  margin: 1.6rem 0 0; color: var(--purple-soft); letter-spacing: .2em; font-size: .5rem; line-height: 1.6;
}

/* Scanlines overlay */
.scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(to bottom,
    rgba(0,0,0,0) 0 2px, rgba(0,0,0,.22) 2px 4px);
  animation: flicker 7s steps(80) infinite;
}
@keyframes flicker { 0%,100%{opacity:1} 3%{opacity:.82} 6%{opacity:1} 40%{opacity:.9} 42%{opacity:1} }

/* Warp-speed jump — hidden until warp. Thin lime streaks radiate from the
   centre like stars stretched into light-lines, rushing past the viewer.
   Built from a repeating-conic-gradient of fine spokes that scales up hard,
   so the lines appear to accelerate outward. */
.wormhole {
  position: absolute; left: 50%; top: 50%; z-index: 5;
  width: 20vmax; height: 20vmax; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0; pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at center,
      rgba(141,255,26,0) 0deg 3deg,
      rgba(194,255,112,.9) 3deg 3.6deg,
      rgba(141,255,26,0) 3.6deg 6deg);
  -webkit-mask: radial-gradient(circle at center, transparent 6%, #000 22%, #000 100%);
          mask: radial-gradient(circle at center, transparent 6%, #000 22%, #000 100%);
}
/* A second, purple spoke layer offset for depth. */
.wormhole::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-conic-gradient(from 2deg at center,
      rgba(193,75,255,0) 0deg 4deg,
      rgba(221,155,255,.8) 4deg 4.5deg,
      rgba(193,75,255,0) 4.5deg 8deg);
  -webkit-mask: radial-gradient(circle at center, transparent 4%, #000 20%, #000 100%);
          mask: radial-gradient(circle at center, transparent 4%, #000 20%, #000 100%);
}
/* The white flash that peaks as the jump completes. */
.wormhole-flash {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: radial-gradient(circle at center, #fff 0%, rgba(194,255,112,.5) 30%, transparent 70%);
  opacity: 0;
}

/* Warp sequence — 2s total. */
.warping .arcade-content { animation: suck .55s ease-in forwards; }
.warping .wormhole { animation: warp 2s cubic-bezier(.5,0,.85,.4) forwards; }
.warping .wormhole-flash { animation: warpflash 2s ease-in forwards; }
#arcade-intro.warping { animation: introOut 2s ease-in forwards; }

@keyframes suck {
  to { transform: scale(.1); opacity: 0; filter: blur(5px); }
}
@keyframes warp {
  0%   { transform: translate(-50%,-50%) scale(0)  rotate(0deg);  opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(28) rotate(85deg); opacity: 1; }
}
@keyframes warpflash {
  0%, 62% { opacity: 0; }
  86%     { opacity: 1; }
  100%    { opacity: 0; }
}
@keyframes introOut {
  0%, 80% { opacity: 1; }
  100%    { opacity: 0; }
}

/* ============================================================
   AI ASSISTANT WIDGET
   ============================================================ */
#ai-widget {
  position: fixed; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem);
  z-index: 200;
}

#ai-toggle {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent);
  cursor: pointer; padding: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
#ai-toggle:hover { transform: scale(1.06); }
#ai-toggle img { width: 100%; height: 100%; object-fit: cover; }

/* Alive states drift gently in place. The offline image holds still — the
   stillness itself is what reads as "not active", so it must NOT float. */
.ai-avatar { animation: ai-float 4.5s ease-in-out infinite; }
.ai-avatar.offline { animation: none; }

@keyframes ai-float {
  0%   { transform: translate(0, 0)     rotate(0deg); }
  25%  { transform: translate(2px, -6px) rotate(1deg); }
  50%  { transform: translate(-1px, -9px) rotate(0deg); }
  75%  { transform: translate(-2px, -4px) rotate(-1deg); }
  100% { transform: translate(0, 0)     rotate(0deg); }
}

#ai-panel {
  position: absolute; right: 0; bottom: 78px;
  width: min(340px, calc(100vw - 2rem));
  max-height: min(520px, calc(100vh - 8rem));
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
}
#ai-panel[hidden] { display: none; }

.ai-panel-header {
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem 1rem; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.ai-panel-header .ai-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.ai-panel-header strong { display: block; font-size: .9rem; }
.ai-status { font-size: .75rem; color: var(--text-muted); }
.ai-status.offline { color: var(--accent); }
#ai-close {
  margin-left: auto; background: none; border: 0; color: var(--text-muted);
  font-size: 1.3rem; cursor: pointer; line-height: 1; padding: .2rem .4rem;
}
#ai-close:hover { color: var(--text); }

.ai-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.ai-msg {
  max-width: 82%; padding: .6rem .85rem; border-radius: 14px;
  font-size: .88rem; line-height: 1.45; white-space: pre-wrap;
}
.ai-msg-bot  { align-self: flex-start; background: rgba(255,255,255,.06); border-bottom-left-radius: 4px; }
.ai-msg-user { align-self: flex-end;   background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }

/* The assistant hollering for the boss. */
.ai-msg-shout {
  font-family: var(--font-pixel); font-size: .82rem; letter-spacing: .04em;
  color: var(--accent); background: rgba(141, 255, 26, .1);
  border: 1px solid var(--accent); line-height: 1.6;
  animation: shout-pop .34s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes shout-pop {
  from { opacity: 0; transform: scale(.7) rotate(-3deg); }
  to   { opacity: 1; transform: none; }
}

/* Handoff status lines — the room talking, not the bot or the visitor. */
.ai-msg-system {
  align-self: center; background: none; color: var(--text-muted);
  font-size: .76rem; text-align: center; padding: .25rem .5rem; max-width: 100%;
}

/* Shown when nobody answered in time and we ask for details instead. */
.ai-details { display: flex; flex-direction: column; gap: .45rem; margin-top: .3rem; }
.ai-details input, .ai-details textarea {
  font: inherit; font-size: .85rem; width: 100%; padding: .5rem .7rem;
  border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-alt); color: var(--text); resize: vertical;
}
.ai-details input:focus, .ai-details textarea:focus { outline: none; border-color: var(--accent); }
.ai-details button {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  background: var(--accent); color: #fff; border: 0;
  border-radius: 999px; padding: .5rem 1rem;
}
.ai-details button:disabled { opacity: .6; cursor: not-allowed; }

.ai-msg-typing { align-self: flex-start; display: flex; gap: 4px; padding: .7rem .9rem; }
.ai-msg-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
  animation: ai-typing 1.2s ease-in-out infinite;
}
.ai-msg-typing span:nth-child(2) { animation-delay: .15s; }
.ai-msg-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ai-typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%           { opacity: 1;  transform: translateY(-3px); }
}

.ai-input-row { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--border); }
.ai-input-row input {
  flex: 1; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; padding: .55rem 1rem; font-size: .88rem; outline: none;
}
.ai-input-row input:focus { border-color: var(--accent); }
.ai-input-row button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--accent);
  color: #fff; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ai-input-row button:hover { filter: brightness(1.1); }
.ai-input-row button:disabled, .ai-input-row input:disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 480px) {
  #ai-panel { position: fixed; right: 1rem; left: 1rem; bottom: 5.5rem; width: auto; }
}

/* ============================================================
   WANDERING CRITTER — PC only, gated entirely in critter.js.
   Position is driven by JS every frame (transform, not left/top, so the
   browser can move it on the GPU instead of re-laying-out the page 60
   times a second), so there is very little to do here beyond how it looks.
   ============================================================ */
#critter {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 56px; height: 56px;
  background-repeat: no-repeat; background-position: 0 0;
  cursor: pointer; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.5));
  will-change: transform, background-position;
}
#critter[hidden] { display: none; }

#critter-modal {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(5, 4, 10, 0.78); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
#critter-modal[hidden] { display: none; }

.critter-modal-inner {
  position: relative; width: min(360px, 100%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow), 0 0 30px color-mix(in srgb, var(--accent) 35%, transparent);
  padding: 1.8rem 1.6rem; text-align: center;
}
.critter-modal-inner h3 {
  font-family: var(--font-pixel); font-size: 1.1rem; color: var(--accent);
  margin: 0 0 .6rem;
}
.critter-modal-inner p { margin: 0 0 1rem; color: var(--text-muted); font-size: .92rem; }

#critter-modal-close {
  position: absolute; top: .6rem; right: .8rem;
  background: none; border: 0; color: var(--text-muted);
  font-size: 1.4rem; line-height: 1; cursor: pointer; padding: .3rem;
}
#critter-modal-close:hover { color: var(--text); }

#critter-form { display: flex; flex-direction: column; gap: .7rem; }
#critter-form input[type="email"] {
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; padding: .65rem 1.1rem; font-size: .92rem; outline: none;
  text-align: center;
}
#critter-form input[type="email"]:focus { border-color: var(--accent); }

.critter-fineprint { font-size: .72rem; color: var(--text-muted); margin: .9rem 0 0 !important; }

#critter-code-value {
  font-family: var(--font-pixel); font-size: 1.6rem; color: var(--accent);
  letter-spacing: .06em; padding: .9rem; margin: .5rem 0 1rem;
  border: 1px dashed var(--accent); border-radius: 8px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
