/* Lantern Hill Games v3. Layout: dusk sky full of rising lanterns over a hill; below it each game gets its own full-colour stage with a phone showing it mid-play.
   One committed look (no theme switch): every surface sets its own colours. Type: Lexend 800 for display, Atkinson Hyperlegible for reading. */
:root {
  --ivory: #fffaf0;
  --ink: #1b2433;
  --muted: #4c586b;
  --navy: #14213d;
  --dusk: #2b3f73;
  --ember: #f08a4b;
  --gold: #ffb627;
  --gold-deep: #9a6200;
  --pine: #24533f;
  --pine-2: #2f6b4f;
  --manna: #f6a823;
  --threefold: #138377;
  --lamplight: #e2582a;
  --blast: #c22f4b;
  --line: #e7dfcf;
  --display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body); font-size: 1.1875rem; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 30; }
.skip:focus { left: 12px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0 0 .45em; letter-spacing: -.02em; }
h1 { font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lede { font-size: 1.25rem; max-width: 34em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 700; color: var(--gold); margin-bottom: .8em; }
.small { font-size: 1rem; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .95em; }

/* header */
.site-head { background: var(--navy); color: #fff; position: relative; z-index: 5; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: #fff; }
.lantern { width: 34px; height: 34px; color: var(--gold); --glow: #fff1c7; --flame: var(--lamplight); }
.site-head nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.site-head nav a { color: #dfe7f5; text-decoration: none; padding: 10px 2px; font-weight: 700; }
.site-head nav a:hover { color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: #2a1a00; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 0; font: inherit; font-family: var(--display); font-weight: 700; cursor: pointer; min-height: 52px; box-shadow: 0 6px 0 #c98700, 0 10px 24px rgba(0,0,0,.18); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #c98700, 0 14px 28px rgba(0,0,0,.22); color: #2a1a00; }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #c98700; }
.btn.light { background: #fff; color: var(--ink); box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 10px 24px rgba(0,0,0,.18); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .98rem; padding: 8px 16px; border-radius: 999px; background: rgba(0,0,0,.18); color: #fff; }
.soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7dffb2; box-shadow: 0 0 0 4px rgba(125,255,178,.25); }
.soon.on-dark { background: rgba(255,255,255,.12); }

/* hero */
.hero { position: relative; color: #fff; background: radial-gradient(120% 90% at 75% 100%, #ffb36b 0%, #e9784a 18%, #8d4c7a 38%, var(--dusk) 60%, var(--navy) 85%); overflow: hidden; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 64px 120px; }
.hero h1 { color: #fff; text-shadow: 0 3px 24px rgba(0,0,0,.25); }
.hero .lede { color: #f1e9f2; }
.mini-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mini { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.12); }
.mini:hover { background: rgba(255,255,255,.22); }
.mini .app-tile { width: 36px; height: 36px; border-radius: 10px; padding: 6px; }
.hero-fan { position: relative; height: 560px; }
.phone.fan { position: absolute; top: 20px; left: 50%; }
.fan-0 { transform: translateX(-108%) rotate(-11deg) scale(.86); top: 70px; }
.fan-1 { transform: translateX(-50%); z-index: 2; }
.fan-2 { transform: translateX(8%) rotate(11deg) scale(.86); top: 70px; }
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floaters span { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.floaters span svg { width: 100%; height: 100%; }
.floaters .tilebit { background: linear-gradient(#fffdf6, #f3e7c8); border-radius: 10px; padding: 7px; box-shadow: 0 4px 0 #c8b07a; }
.floaters .letter { background: linear-gradient(#ffe08a, #ffb627); border-radius: 10px; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: #4a2d00; box-shadow: 0 4px 0 #b97f00; }
@media (prefers-reduced-motion: no-preference) { .floaters span { animation: drift 7s ease-in-out infinite alternate; } .floaters span:nth-child(2n) { animation-duration: 9s; } @keyframes drift { to { translate: 0 -18px; rotate: 8deg; } } }
.hero-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; z-index: 1; display: block; }
.hero-hills .h1 { fill: var(--pine-2); }
.hero-hills .h2 { fill: var(--pine); }
.hero-sky { position: absolute; inset: 0; z-index: 0; }
.lan { position: absolute; width: 14px; height: 18px; border-radius: 4px 4px 6px 6px; background: radial-gradient(circle at 50% 70%, #fff3c4, #ffb627 55%, #e2582a); box-shadow: 0 0 18px 6px rgba(255,182,39,.45); opacity: .9; }
.l1 { left: 8%; top: 22%; } .l2 { left: 42%; top: 12%; transform: scale(.7); } .l3 { left: 58%; top: 38%; transform: scale(.55); } .l4 { left: 90%; top: 18%; transform: scale(.8); } .l5 { left: 30%; top: 70%; transform: scale(.6); }
@media (prefers-reduced-motion: no-preference) {
  .lan { animation: rise 14s ease-in-out infinite alternate; }
  .l2 { animation-duration: 18s; } .l3 { animation-duration: 11s; } .l4 { animation-duration: 16s; } .l5 { animation-duration: 20s; }
  @keyframes rise { from { translate: 0 0; } to { translate: 12px -60px; } }
  .fan-1 .phone-screen { animation: none; }
  .fan { animation: bob 6s ease-in-out infinite; }
  .fan-0 { animation-delay: -2s; } .fan-2 { animation-delay: -4s; }
  @keyframes bob { 50% { translate: 0 -10px; } }
}

/* stats */
.stats { background: var(--pine); color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 26px 40px; text-align: center; }
.stat-row b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-row span { color: #d6eadf; font-size: 1rem; }

/* game showcase bands */
.show { --fg: #fff; color: var(--fg); background: var(--acc); position: relative; overflow: hidden; }
.show::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 50%, rgba(255,255,255,.22), transparent 70%); pointer-events: none; }
.show.flip::before { background: radial-gradient(60% 80% at 80% 50%, rgba(255,255,255,.22), transparent 70%); }
.show.acc-manna { --fg: #2a1a00; }
.show-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 72px; }
.show.flip .show-art { order: 2; }
.show-art { display: grid; place-items: center; }
.show-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.show-brand h2, .show-brand h1 { margin: 0; color: inherit; }
.show-brand .app-tile { width: 76px; height: 76px; border-radius: 20px; background: #fff; color: var(--acc); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.show-genre { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .85rem; opacity: .85; }
.show-head { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.25; margin-bottom: .7em; max-width: 22em; }
.show-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; max-width: 34em; }
.show-points li { position: relative; padding-left: 34px; }
.show-points li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231b2433' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips span { font-weight: 700; font-size: .95rem; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); }
.show.acc-manna .chips span { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.15); }
.show-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 0; }
.show.acc-manna .soon { background: rgba(0,0,0,.12); color: #2a1a00; }
.acc-manna { --acc: var(--manna); }
.acc-threefold { --acc: var(--threefold); }
.acc-lamplight { --acc: var(--lamplight); }
.acc-blast { --acc: var(--blast); }

/* app tile */
.app-tile { width: 64px; height: 64px; border-radius: 16px; background: var(--acc); color: #fff; display: grid; place-items: center; padding: 11px; flex: none; }
.app-tile svg { width: 100%; height: 100%; }
.app-tile.big { width: 88px; height: 88px; border-radius: 22px; }

/* verse band */
.verse-band { background: var(--navy); color: #fff; text-align: center; padding-block: 72px; }
.verse-band blockquote { margin: 0 auto 12px; max-width: 22em; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.25; color: #fff; }
.verse-band p { color: var(--gold); font-weight: 700; margin: 0; letter-spacing: .06em; }

/* about + promises */
.section { padding-block: 72px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.about-grid .eyebrow { color: var(--gold-deep); }
.about-grid p { color: var(--muted); }
.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.promise { background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line); }
.promise h3 { margin-bottom: .3em; }
.promise p { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* cta */
.cta { background: var(--gold); color: #2a1a00; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: 52px; }
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; max-width: 32em; }
.cta .btn { background: var(--navy); color: #fff; box-shadow: 0 6px 0 #070d1a; }
.cta-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 1.1rem; font-weight: 700; }

/* footer */
.site-foot { background: var(--navy); color: #c9d4e6; }
.foot-row { padding-block: 30px 40px; display: grid; gap: 6px; font-size: 1rem; }
.foot-row p { margin: 0; }
.foot-row a { color: #fff; }

/* ---------- phone mockups: each frozen on a peak moment ---------- */
.phone { width: 280px; aspect-ratio: 9 / 18.5; border-radius: 42px; background: linear-gradient(145deg, #2a3142, #0b0e16); padding: 9px; box-shadow: 0 34px 70px rgba(8, 10, 25, .5), inset 0 0 0 2px #3b4358; flex: none; position: relative; }
.phone::after { content: ""; position: absolute; top: 15px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); background: #05070c; border-radius: 12px; z-index: 5; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative; isolation: isolate; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 40px 12px 14px; font-family: var(--display); }
.scene { position: absolute; inset: 0 0 auto 0; width: 100%; height: 42%; z-index: -1; }
.ic { width: 18px; height: 18px; flex: none; }
.hud { display: flex; justify-content: space-between; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: #fff; background: rgba(10, 20, 40, .55); padding: 4px 10px 4px 5px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); backdrop-filter: blur(4px); }
.pill b { font-weight: 800; }
.spark { position: absolute; width: 18px; height: 18px; filter: drop-shadow(0 0 6px #fff3a0); }
.tool-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.tool { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(#ffffff, #dfe7f2); box-shadow: 0 4px 0 #9aa8bc; }
.tool .ic, .tool svg { width: 24px; height: 24px; }
.tool i { position: absolute; right: -6px; bottom: -6px; font-style: normal; font-size: .62rem; font-weight: 800; background: #ffc83d; color: #4a2d00; border-radius: 999px; padding: 1px 5px; box-shadow: 0 2px 0 #b07800; }

/* Hidden Manna */
.scr-manna { background: linear-gradient(#ffcf8a 0%, #fff1d6 45%, #fde3a7 100%); color: #3a2a06; }
.ws-board { position: relative; margin-top: 30px; }
.reward { margin-top: auto; background: #fff; border-radius: 14px; padding: 8px 10px; text-align: center; font-size: .72rem; font-weight: 700; line-height: 1.3; box-shadow: 0 3px 0 #e2c58a; }
.reward small { display: block; font-size: .62rem; font-weight: 500; opacity: .7; margin-top: 2px; }
.reward + .tool-row { margin-top: 0; }
.ws-caps { position: absolute; inset: 7px; z-index: 0; }
.ws-grid { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); background: #fffaf0; padding: 7px; border-radius: 16px; box-shadow: 0 5px 0 #e2b65a, 0 12px 24px rgba(120, 70, 0, .25); }
.ws-c { position: relative; z-index: 1; aspect-ratio: 1; display: grid; place-items: center; font-weight: 800; font-size: .86rem; color: #4a3610; }
.cap { position: absolute; border-radius: 999px; }
.cap.c1 { background: #ffd25c; } .cap.c2 { background: #8fe0d2; } .cap.c3 { background: #ff9fb3; }
.cap.new { box-shadow: 0 0 0 3px #fff, 0 0 18px 6px rgba(255, 120, 150, .75); }
.pop { position: absolute; right: -8px; top: 70%; z-index: 3; display: inline-flex; align-items: center; gap: 3px; font-weight: 800; font-size: 1rem; color: #fff; background: linear-gradient(#ff7a95, #e8456a); padding: 3px 10px 3px 12px; border-radius: 999px; box-shadow: 0 4px 0 #a8203f; transform: rotate(-6deg); }
.ws-board .s1 { left: 22%; top: 62%; } .ws-board .s2 { left: 56%; top: 58%; width: 12px; height: 12px; }
.ws-words { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.ws-words li { font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: 0 2px 0 #e2c58a; }
.ws-words li.done { background: #6bcf8e; color: #fff; box-shadow: 0 2px 0 #3a9a5c; text-decoration: line-through; }
.streak { font-size: .75rem; font-weight: 800; color: #fff; background: linear-gradient(#ff8a3d, #e2582a); padding: 7px 14px; border-radius: 999px; box-shadow: 0 3px 0 #9c3410; }

/* Threefold */
.scr-threefold { background: linear-gradient(#5ec8e8 0%, #bff0ea 30%, #2aa6a0 46%, #106e6b 100%); color: #fff; }
.tf-level { align-self: center; font-size: .78rem; font-weight: 700; background: rgba(0,0,0,.25); padding: 3px 12px; border-radius: 999px; }
.tf-level b { color: #ffcf5c; }
.tf-board { position: relative; flex: 1; margin: 2px 4px; }
.tf-tile { position: absolute; width: 22%; aspect-ratio: 1 / 1.14; background: linear-gradient(#fffdf6, #f3e7c8); border-radius: 10px; display: grid; place-items: center; padding: 6px; box-shadow: 0 5px 0 #c8b07a, 0 8px 12px rgba(0,0,0,.28); }
.tf-tile svg { width: 100%; height: 100%; }
.tf-tile.l0 { filter: brightness(.72) saturate(.75); }
.tf-tile.l1 { z-index: 1; filter: brightness(.9); }
.tf-tile.l2 { z-index: 2; }
.tf-burst { position: relative; height: 0; z-index: 4; }
.combo { position: absolute; left: 50%; top: -18px; transform: translateX(-50%) rotate(-4deg); white-space: nowrap; font-weight: 800; font-size: 1.35rem; color: #fff; -webkit-text-stroke: 1.5px #a35d00; paint-order: stroke; text-shadow: 0 3px 0 #a35d00, 0 0 18px rgba(255, 200, 60, .9); }
.tf-tray { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; background: linear-gradient(#9a6435, #6e4220); padding: 6px; border-radius: 14px; box-shadow: inset 0 -4px 0 #4f2e14, 0 6px 14px rgba(0,0,0,.3); }
.tf-slot { aspect-ratio: 1; background: #b98552; border-radius: 7px; display: grid; place-items: center; padding: 3px; box-shadow: inset 0 2px 3px rgba(0,0,0,.3); }
.tf-slot svg { width: 100%; height: 100%; }
.tf-slot.clear { background: #fff3b0; box-shadow: 0 0 12px 3px rgba(255, 220, 90, .95); }
.burst-ring { position: absolute; left: 4%; top: -40%; width: 44%; height: 180%; border-radius: 50%; background: radial-gradient(circle, rgba(255,246,190,.85) 0%, rgba(255,210,80,.35) 40%, transparent 70%); pointer-events: none; }
.tf-boost { display: flex; justify-content: space-around; gap: 6px; }
.tf-boost span { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; font-weight: 800; color: #10504d; background: linear-gradient(#ffffff, #d6efea); box-shadow: 0 4px 0 #0b5652; }
.tf-boost span svg { width: 24px; height: 24px; }
.tf-boost i { position: absolute; right: -4px; top: -4px; font-style: normal; font-size: .62rem; font-weight: 800; background: #e2582a; color: #fff; border-radius: 999px; padding: 1px 5px; }

/* Lamplight */
.scr-lamplight { background: radial-gradient(90% 55% at 50% 78%, #ffb85c 0%, #a24d6e 32%, #3a2b6b 58%, #121a3a 100%); color: #fff; }
.stars-bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(1.5px 1.5px at 20% 15%, #fff, transparent), radial-gradient(1px 1px at 70% 10%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 30%, #fff, transparent), radial-gradient(1px 1px at 35% 32%, #fff, transparent), radial-gradient(1px 1px at 55% 22%, #fff, transparent); }
.wc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 6px 18px 0; }
.wc-c { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; }
.wc-c.on { background: linear-gradient(#ffe08a, #ffb627); color: #4a2d00; box-shadow: 0 3px 0 #b97f00; }
.wc-c.fly { background: #fff; color: #4a2d00; box-shadow: 0 0 0 3px #ffd36b, 0 0 16px 4px rgba(255, 211, 107, .9); transform: scale(1.08); }
.wc-c.gap { visibility: hidden; }
.wc-praise { align-self: center; margin-top: 2px; font-weight: 800; font-size: 1.5rem; color: #fff; -webkit-text-stroke: 1.5px #b0462a; paint-order: stroke; text-shadow: 0 3px 0 #b0462a, 0 0 22px rgba(255, 170, 80, .9); transform: rotate(-3deg); }
.wc-word { align-self: center; font-weight: 800; font-size: 1.05rem; letter-spacing: .3em; color: #4a2d00; background: #ffd36b; padding: 3px 12px 3px 16px; border-radius: 10px; margin-top: auto; }
.wc-wheel { position: relative; width: 64%; aspect-ratio: 1; margin: 2px auto 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,.06)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 0 40px rgba(255, 180, 90, .35); }
.wc-l { position: absolute; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; background: #fff; color: #2b2257; z-index: 2; box-shadow: 0 3px 0 #b8b0d8; }
.wc-l.lit { background: linear-gradient(#ffe08a, #ffb627); color: #4a2d00; box-shadow: 0 3px 0 #b97f00, 0 0 0 4px rgba(255,214,107,.4); }
.wc-trace { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.wc-trace polyline { fill: none; stroke: #ffd36b; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px #ffb627); }
.wc-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 1rem; opacity: .7; }
.jar { font-size: .7rem; font-weight: 800; background: rgba(255,255,255,.15); padding: 6px 10px; border-radius: 999px; }

/* Manna Blast */
.scr-blast { background: radial-gradient(70% 45% at 50% 52%, #7a4fd6 0%, #3a2580 45%, #1a1446 100%); color: #fff; }
.rays { position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from 0deg at 50% 52%, rgba(255,220,120,.18) 0deg 8deg, transparent 8deg 20deg); }
.m3-hud { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; }
.moves { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(#ff7aa0, #d92f5a); box-shadow: 0 4px 0 #8f1636; font-size: .55rem; line-height: 1; text-transform: uppercase; }
.moves b { font-size: 1.2rem; }
.goal { justify-self: center; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.15); border-radius: 999px; padding: 3px 10px 3px 4px; font-size: .8rem; }
.goal svg { width: 22px; height: 22px; }
.score { position: relative; display: inline-flex; align-items: center; gap: 1px; width: 74px; height: 16px; background: rgba(0,0,0,.35); border-radius: 999px; padding: 0 2px; justify-content: flex-end; }
.score i { position: absolute; left: 2px; top: 2px; bottom: 2px; border-radius: 999px; background: linear-gradient(90deg, #ffd36b, #ff8a3d); }
.score .ic { position: relative; width: 14px; height: 14px; }
.m3-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 6px; border-radius: 16px; background: rgba(20, 12, 60, .55); box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); margin-top: 10px; }
.m3-c { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; padding: 2px; }
.m3-c svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 1px rgba(0,0,0,.35)); }
.m3-c.beam { background: rgba(255, 236, 160, .55); box-shadow: 0 0 10px rgba(255, 230, 140, .9); }
.m3-c.star-piece { background: radial-gradient(circle, #fff 0%, #fff3b0 35%, rgba(255,200,60,.6) 70%); box-shadow: 0 0 22px 10px rgba(255, 230, 120, .95); transform: scale(1.25); z-index: 2; }
.m3-praise { align-self: center; margin-top: 6px; font-weight: 800; font-size: 1.7rem; color: #fff; -webkit-text-stroke: 2px #7a2bb0; paint-order: stroke; text-shadow: 0 4px 0 #4d1580, 0 0 24px rgba(255, 210, 90, .95); transform: rotate(-4deg); }
.m3-boost { margin-top: auto; }
.m3-boost span { color: #3a2580; box-shadow: 0 4px 0 #24165a; }
@media (prefers-reduced-motion: no-preference) {
  .m3-c.star-piece { animation: starpulse 1.6s ease-in-out infinite; }
  @keyframes starpulse { 50% { box-shadow: 0 0 30px 16px rgba(255, 240, 160, 1); } }
  .m3-c.beam { animation: beam 1.6s ease-in-out infinite; }
  @keyframes beam { 50% { background: rgba(255, 246, 200, .85); } }
  .cap.new, .wc-c.fly, .tf-slot.clear { animation: glow 1.8s ease-in-out infinite; }
  @keyframes glow { 50% { filter: brightness(1.15); } }
  .combo, .wc-praise, .m3-praise { animation: wobble 2.4s ease-in-out infinite; }
  @keyframes wobble { 50% { scale: 1.08; } }
}

/* ---------- game pages ---------- */
.game-hero { color: #fff; background: var(--acc); position: relative; overflow: hidden; }
.game-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 40%, rgba(255,255,255,.25), transparent 70%); }
.game-hero.acc-manna { color: #2a1a00; }
.game-hero.acc-manna .soon { background: rgba(0,0,0,.12); color: #2a1a00; }
.gh-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 56px; }
.game-hero .lede { opacity: .92; }
.game-hero .show-brand .app-tile { background: #fff; color: var(--acc); }
.about-game { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.verse-card { margin: 0; background: #fff; border-radius: 22px; padding: 28px; border: 1px solid var(--line); border-top: 6px solid var(--acc); }
.verse-card blockquote { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.35; }
.verse-card figcaption { color: var(--muted); font-size: 1rem; }
.alt { background: #f4ecdc; }
.feat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat-grid li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.feat-grid p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.faq { display: grid; gap: 10px; margin-bottom: 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 48px; }
.faq details p { color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.game-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.game-card:hover { transform: translateY(-3px); }
.gc-text { display: grid; gap: 4px; min-width: 0; }
.gc-genre { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; color: var(--acc); }
.gc-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.gc-tag { color: var(--muted); font-size: 1rem; }
.gc-status { font-size: .85rem; font-weight: 700; }

/* prose pages (privacy, support) */
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .lede { color: var(--muted); }
.contact { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 20px 0 32px; }
.contact p { margin: 0 0 6px; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.25rem; }
.small-btn { padding: 8px 18px; font-size: 1rem; min-height: 44px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .game-card { transition: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 48px 110px; }
  .hero-fan { height: 470px; transform: scale(.85); transform-origin: top center; margin-bottom: -60px; }
  .show-grid, .gh-grid, .about-grid, .about-game { grid-template-columns: 1fr; gap: 32px; }
  .show.flip .show-art { order: 0; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-grid, .feat-grid, .game-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 1.125rem; }
  .hero-fan { height: 420px; transform: scale(.72); margin-bottom: -110px; }
  .fan-0 { transform: translateX(-96%) rotate(-11deg) scale(.86); }
  .fan-2 { transform: translateX(-4%) rotate(11deg) scale(.86); }
  .show-grid { padding-block: 52px; }
  .phone { width: 250px; }
  .p-grid, .game-grid, .feat-grid, .game-grid.three { grid-template-columns: 1fr; }
  .section, .verse-band { padding-block: 52px; }
}

/* ---------- v5: real paintings and real screens ---------- */
.hero { background: var(--navy); }
.slides { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; }
.slide.s0 { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(10, 18, 40, .88) 0%, rgba(10, 18, 40, .62) 45%, rgba(10, 18, 40, .25) 75%, rgba(10, 18, 40, .15) 100%), linear-gradient(0deg, rgba(10, 18, 40, .55), transparent 40%); pointer-events: none; }
.hero-grid, .hero-hills { z-index: 2; }
.hero-sky, .floaters { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .slide { animation: slideshow 35s linear infinite; }
  .slide.s0 { animation-delay: 0s; } .slide.s1 { animation-delay: 7s; } .slide.s2 { animation-delay: 14s; } .slide.s3 { animation-delay: 21s; } .slide.s4 { animation-delay: 28s; }
  @keyframes slideshow { 0% { opacity: 0; transform: scale(1.04); } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; } }
}
@media (max-width: 960px) { .hero::after { background: linear-gradient(180deg, rgba(10, 18, 40, .85) 0%, rgba(10, 18, 40, .6) 55%, rgba(10, 18, 40, .35) 100%); } }

.phone.real { aspect-ratio: auto; }
.phone.real .phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.show { background: var(--acc) var(--scene) center / cover no-repeat; }
.show::before { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 30%, transparent) 0%, color-mix(in srgb, var(--acc) 80%, transparent) 42%, color-mix(in srgb, var(--acc) 96%, transparent) 62%); }
.show.flip::before { background: linear-gradient(270deg, color-mix(in srgb, var(--acc) 30%, transparent) 0%, color-mix(in srgb, var(--acc) 80%, transparent) 42%, color-mix(in srgb, var(--acc) 96%, transparent) 62%); }
@media (max-width: 960px) { .show::before, .show.flip::before { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 25%, transparent) 0%, color-mix(in srgb, var(--acc) 90%, transparent) 45%); } }
.game-hero { background: var(--acc) var(--scene) center / cover no-repeat; }
.game-hero::before { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 96%, transparent) 0%, color-mix(in srgb, var(--acc) 80%, transparent) 55%, color-mix(in srgb, var(--acc) 25%, transparent) 100%); }
@media (max-width: 960px) { .game-hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 95%, transparent) 0%, color-mix(in srgb, var(--acc) 75%, transparent) 100%); } }

.stories { background: var(--ivory); padding-block: 72px 56px; }
.stories .eyebrow { color: var(--gold-deep); }
.stories .sec-head { display: block; max-width: 760px; }
.stories .sec-head p:last-child { color: var(--muted); }
.gallery-scroll { overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(20px, env(safe-area-inset-left)) 18px; scrollbar-width: thin; }
.gallery { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 16px; width: max-content; }
.gallery li { width: 280px; scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 24px rgba(20, 33, 61, .14); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.gallery b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #2a1a00; font-size: .85rem; flex: none; }

.verse-band { position: relative; background: var(--navy) var(--scene) center / cover no-repeat; }
.verse-band::before { content: ""; position: absolute; inset: 0; background: rgba(10, 18, 40, .72); }
.verse-band .wrap { position: relative; }
@media (max-width: 760px) { .floaters { display: none; } }
