/* Office War landing: the arcade at night. The lobby's toy palette (sun, berry, sky, leaf, grape) and its Jua
   display type and thick outlines, lit as neon on a deep violet floor. Phone first (412 px), desktop from 900 px.
   Everything is visible at rest; landing.js only adds motion on top. */
:root {
  --night: #160b2c; --night-2: #21103f; --panel: #2a1650; --panel-2: #36206a; --line: rgba(255, 255, 255, 0.12);
  --cream: #fff8ec; --cream-2: #ffefd6; --ink: #3b2416; --outline: #10061f;
  --sun: #ffc93c; --sun-d: #e09a12; --berry: #ff5f7e; --berry-d: #d43a5a; --sky: #4fb8ff; --leaf: #5fcf5a; --grape: #9b6bff; --pink: #ff6fb1; --mint: #2fd3a0;
  --text: #fff4e2; --text-2: #cfc0ea;
  --font-display: "Jua", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --display-weight: 400;
  --font-body: "Gothic A1", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --r: 22px; --gutter: 16px;
  color-scheme: dark;
}
html:lang(lo) { --font-display: "Noto Sans Lao", "Baloo 2", system-ui, sans-serif; --display-weight: 800; --font-body: "Noto Sans Lao", system-ui, sans-serif; }
html:lang(vi) { --font-display: "Baloo 2", "Jua", system-ui, sans-serif; --display-weight: 800; --font-body: "Be Vietnam Pro", system-ui, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; min-height: 100%; color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(155, 107, 255, 0.35), transparent 60%), radial-gradient(900px 500px at 0% 20%, rgba(255, 95, 126, 0.18), transparent 60%), var(--night);
  -webkit-tap-highlight-color: transparent;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 8px; }

/* ---------------------------------------------------------------- buttons: the lobby's jelly buttons */
.btn {
  --c: var(--cream); --d: #e6cfae;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 16px;
  border: 3px solid var(--outline); text-decoration: none; color: var(--ink); white-space: nowrap;
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 18px; line-height: 1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, #fff) 0%, var(--c) 55%);
  box-shadow: inset 0 -5px 0 var(--d), 0 5px 0 var(--outline); transition: transform 0.08s, box-shadow 0.08s, filter 0.15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 -3px 0 var(--d), 0 1px 0 var(--outline); }
.btn.sun { --c: var(--sun); --d: var(--sun-d); }
.btn.big { min-height: 64px; padding: 0 30px; font-size: 24px; border-radius: 20px; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 15px; border-radius: 12px; box-shadow: inset 0 -3px 0 var(--d), 0 3px 0 var(--outline); }
.btn.ghost { --c: transparent; background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: rgba(255, 255, 255, 0.35); box-shadow: none; }
.btn.enter { box-shadow: inset 0 -6px 0 var(--d), 0 6px 0 var(--outline), 0 0 34px rgba(255, 201, 60, 0.55); }
.btn.enter::after { content: ""; width: 12px; height: 12px; border-right: 4px solid currentColor; border-top: 4px solid currentColor; transform: rotate(45deg); margin-left: 4px; }
.linkbtn { background: none; border: none; padding: 0; color: var(--sun); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }

/* ---------------------------------------------------------------- header */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top); transition: background 0.25s, box-shadow 0.25s; }
header.site.solid { background: rgba(22, 11, 44, 0.86); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.bar { display: flex; align-items: center; gap: 10px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 18px; white-space: nowrap; min-width: 0; }
.brand img { width: 34px; height: 45px; object-fit: contain; filter: drop-shadow(0 2px 0 var(--outline)); }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; padding: 8px 10px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--text-2); }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.langs { margin-left: auto; display: flex; padding: 3px; gap: 2px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); }
.langs button { min-width: 38px; min-height: 34px; padding: 0 6px; border: none; border-radius: 9px; background: transparent; color: var(--text-2); font-weight: 800; font-size: 13px; font-family: var(--font-body); }
.langs button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.langs .lang-select { min-height: 34px; padding: 0 8px; border: none; border-radius: 9px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 13px; font-family: var(--font-body); }
/* on a phone the hero title carries the name; the header keeps the mascot, the languages and the enter button */
@media (max-width: 460px) { .brand span { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: calc(84px + env(safe-area-inset-top)) 0 34px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(22, 11, 44, 0.55) 0%, rgba(22, 11, 44, 0.82) 55%, var(--night) 100%), url("../assets/lobby_bg.webp") center 30% / cover no-repeat; }
.hero-bg::after { /* neon floor grid */
  content: ""; position: absolute; left: -20%; right: -20%; bottom: 0; height: 42%;
  background: repeating-linear-gradient(90deg, rgba(255, 111, 177, 0.35) 0 2px, transparent 2px 64px), repeating-linear-gradient(0deg, rgba(79, 184, 255, 0.3) 0 2px, transparent 2px 40px);
  transform: perspective(420px) rotateX(58deg); transform-origin: bottom; mask-image: linear-gradient(0deg, #000 10%, transparent 90%); opacity: 0.55;
}
.float { position: absolute; z-index: -1; width: 120px; border-radius: 14px; overflow: hidden; border: 3px solid var(--outline); box-shadow: 0 6px 0 var(--outline), 0 0 30px rgba(155, 107, 255, 0.45); opacity: 0.85; }
.float img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.float.f1 { top: 76px; right: -40px; rotate: 9deg; }
.float.f2 { top: 46%; left: -46px; rotate: -10deg; width: 110px; }
.float.f3 { bottom: 26%; right: -30px; rotate: -6deg; width: 100px; }
.hero-grid { display: grid; gap: 26px; align-items: center; }
.kicker { margin: 0 0 10px; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; color: var(--sun); text-transform: uppercase; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.display { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); line-height: 0.98; display: flex; flex-direction: column; gap: 6px; }
.display .t1 { font-size: clamp(60px, 18vw, 132px); color: var(--cream); -webkit-text-stroke: 8px var(--outline); paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--outline), 0 0 26px rgba(255, 111, 177, 0.8), 0 0 60px rgba(155, 107, 255, 0.6); }
html:lang(vi) .display .t1, html:lang(en) .display .t1 { font-size: clamp(50px, 14vw, 96px); }
.kt-split .w { display: inline-block; white-space: nowrap; }
.kt-split .ch { display: inline-block; will-change: transform; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lead { margin: 18px 0 0; max-width: 34em; font-size: 16px; font-weight: 600; color: var(--text); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* film slot: collage at the back, poster over it, the video over both only once it has a frame */
.film { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 4px solid var(--outline);
  box-shadow: 0 8px 0 var(--outline), 0 0 0 2px rgba(255, 111, 177, 0.6), 0 0 44px rgba(255, 111, 177, 0.35), 0 0 90px rgba(79, 184, 255, 0.25); }
.collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--outline); }
.collage img { width: 100%; height: 100%; object-fit: cover; animation: kb 14s ease-in-out infinite alternate; }
.collage img:nth-child(2) { animation-delay: -4s; } .collage img:nth-child(3) { animation-delay: -8s; } .collage img:nth-child(4) { animation-delay: -11s; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, 1%); } }
.film .poster, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; transition: opacity 0.4s; background: transparent; }
.film.has-video video { opacity: 1; }
.film-cap { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(16, 6, 31, 0.78); font-weight: 800; font-size: 13px; pointer-events: none; transition: opacity 0.3s; }
.film.has-video .film-cap { opacity: 0; }
.sound { position: absolute; right: 10px; bottom: 10px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--outline); background: var(--cream); color: var(--ink); font-weight: 800; font-size: 13px; }

/* live counters */
.stats { margin-top: 26px; padding: 16px; border-radius: var(--r); background: rgba(42, 22, 80, 0.75); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.stats-head { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; color: var(--text-2); letter-spacing: 0.04em; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(47, 211, 160, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47, 211, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 211, 160, 0); } }
.stats-row { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); min-width: 0; }
.stat dt { font-size: 12px; font-weight: 800; color: var(--text-2); line-height: 1.35; }
.stat dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 30px; line-height: 1.1; color: var(--sun); text-shadow: 0 0 18px rgba(255, 201, 60, 0.45); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stats-note { margin: 10px 0 0; font-size: 12px; color: var(--text-2); line-height: 1.5; }

/* marquee band */
.marquee { overflow: hidden; background: var(--sun); color: var(--ink); border-block: 4px solid var(--outline); transform: rotate(-1.5deg); margin: 8px -12px 0; }
.marquee .track { display: flex; width: max-content; white-space: nowrap; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; padding: 8px 0; }
.marquee .track span { padding-right: 12px; }

/* ---------------------------------------------------------------- sections */
.block { padding: 70px 0; position: relative; }
.block.alt { background: linear-gradient(180deg, transparent, rgba(54, 32, 106, 0.45) 12%, rgba(54, 32, 106, 0.45) 88%, transparent); }
.sec { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(32px, 8.4vw, 64px); line-height: 1.08; color: var(--cream);
  text-shadow: 0 4px 0 var(--outline), 0 0 24px rgba(155, 107, 255, 0.55); text-wrap: balance; }
.sub { margin: 14px 0 0; max-width: 40em; color: var(--text-2); font-weight: 600; }
.center { text-align: center; margin-top: 30px; }
.pill { display: inline-block; padding: 3px 10px 4px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: none; line-height: 1.4; }
.pill.live { background: var(--mint); color: #062b20; box-shadow: 0 0 16px rgba(47, 211, 160, 0.6); }
.pill.road { background: transparent; color: var(--pink); border: 2px dashed var(--pink); }

/* cover wall */
.wall { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wall li { min-width: 0; }
.tile { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; position: relative; display: block; text-decoration: none; border-radius: 14px; overflow: hidden; border: 3px solid var(--outline);
  background: var(--panel); box-shadow: 0 4px 0 var(--outline); transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.18s ease-out, box-shadow 0.2s; }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.5s cubic-bezier(.2, .8, .3, 1); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 11px; font-weight: 800; line-height: 1.25; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(16, 6, 31, 0.9)); text-shadow: 0 1px 2px #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.35), transparent 50%); opacity: 0; transition: opacity 0.2s; }
.tile:hover { box-shadow: 0 4px 0 var(--outline), 0 0 26px rgba(255, 201, 60, 0.55); }
.tile:hover::after { opacity: 1; }
.tile:hover img { transform: scale(1.07); }
.tile:focus-visible { outline-offset: 2px; }

/* top picks (10-10): the lobby's twelve as big cards, two across on a phone, four on a desktop */
.picks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.picks li { min-width: 0; }
.pick { display: grid; text-decoration: none; color: var(--text); border-radius: var(--r); overflow: hidden; border: 3px solid var(--outline); background: var(--panel); box-shadow: 0 5px 0 var(--outline); transition: transform 0.2s cubic-bezier(.2, .8, .3, 1), box-shadow 0.2s; }
.pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pick span { padding: 9px 10px 11px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 17px; line-height: 1.2; text-align: center; }
.pick:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--outline), 0 0 24px rgba(255, 201, 60, 0.5); }
.pick:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (min-width: 900px) { .picks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .pick span { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .pick { transition: none; } .pick:hover { transform: none; } }

/* play · grow · collect */
.trio { display: grid; gap: 18px; margin-top: 28px; }
.card { position: relative; padding: 14px 14px 18px; border-radius: var(--r); background: var(--panel); border: 3px solid var(--outline); box-shadow: 0 6px 0 var(--outline); }
.card::before { content: ""; position: absolute; left: 18px; right: 18px; top: -3px; height: 4px; border-radius: 4px; background: var(--accent, var(--sun)); box-shadow: 0 0 18px var(--accent, var(--sun)); }
.c-points { --accent: var(--sun); } .c-hero { --accent: var(--leaf); } .c-collect { --accent: var(--sky); }
.card h3 { margin: 14px 0 6px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 24px; line-height: 1.2; color: var(--cream); }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.art { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 3px solid var(--outline); background: var(--panel-2); }
.art > img { width: 100%; height: 100%; object-fit: cover; }
.coin { position: absolute; right: 12px; bottom: 12px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 40px; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff3b0, var(--sun) 55%, var(--sun-d)); border: 4px solid var(--outline); box-shadow: 0 5px 0 var(--outline), 0 0 26px rgba(255, 201, 60, 0.8); }
.hero-art .mascot { position: absolute; left: 50%; bottom: -6%; width: 46%; height: auto; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 4px 0 var(--outline)); }
.fuse { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; background: radial-gradient(circle at 50% 50%, rgba(79, 184, 255, 0.35), transparent 70%), var(--panel-2); }
.fuse .fc { width: 26%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 3px solid var(--outline); box-shadow: 0 4px 0 var(--outline); }
.fuse .fc.a { rotate: -6deg; } .fuse .fc.b { rotate: 5deg; }
.fuse .fc.c { width: 30%; rotate: -2deg; box-shadow: 0 4px 0 var(--outline), 0 0 24px rgba(255, 201, 60, 0.9); border-color: var(--sun); }
.fuse .op { font-family: var(--font-display); font-size: 28px; color: var(--sun); text-shadow: 0 2px 0 var(--outline); }
.chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); }
.ranks { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.ranks li { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: rgba(95, 207, 90, 0.12); color: #c9f5c4; }
.ranks li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px -2px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.ranks li:last-child { background: var(--sun); color: var(--ink); }
.statbars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.statbars li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.statbars i { display: block; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.statbars i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--leaf), var(--mint)); box-shadow: 0 0 12px rgba(95, 207, 90, 0.7); }

.factory { display: grid; gap: 10px; margin-top: 22px; align-items: center; }
.step { padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, 0.04); border: 2px dashed rgba(255, 111, 177, 0.55); }
.step h3 { margin: 8px 0 4px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 24px; color: var(--cream); }
.step p { margin: 0; color: var(--text-2); font-size: 15px; }
.arrow { justify-self: center; width: 18px; height: 18px; border-right: 4px solid var(--pink); border-bottom: 4px solid var(--pink); transform: rotate(45deg); margin: -4px 0 6px; }
.quote { margin: 34px 0 0; padding: 0; text-align: center; }
.quote p { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(28px, 7.6vw, 58px); line-height: 1.15; color: var(--sun); text-shadow: 0 4px 0 var(--outline), 0 0 30px rgba(255, 201, 60, 0.6); }

/* play to earn */
.p2e { background: radial-gradient(800px 400px at 50% 0%, rgba(255, 111, 177, 0.22), transparent 70%), radial-gradient(700px 500px at 100% 100%, rgba(79, 184, 255, 0.18), transparent 70%); }
.sec.mega { font-size: clamp(38px, 11vw, 150px); line-height: 0.95; letter-spacing: 0.02em; color: var(--sun); -webkit-text-stroke: 6px var(--outline); paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--outline), 0 0 34px rgba(255, 201, 60, 0.7); }
.sec.mega .w:nth-child(2) .ch { color: var(--pink); }
.sec.mega .w:nth-child(3) .ch { color: var(--sky); }
.timeline { --p: 1; position: relative; list-style: none; margin: 30px 0 0; padding: 0 0 0 26px; display: grid; gap: 16px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; }
.timeline::before { background: rgba(255, 255, 255, 0.12); }
.timeline::after { background: linear-gradient(180deg, var(--mint), var(--sun), var(--pink)); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 14px rgba(255, 201, 60, 0.6); }
.phase { position: relative; padding: 16px; border-radius: var(--r); background: var(--panel); border: 3px solid var(--outline); box-shadow: 0 5px 0 var(--outline); }
.phase::before { content: ""; position: absolute; left: -26px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--night); border: 4px solid var(--c, var(--pink)); box-shadow: 0 0 12px var(--c, var(--pink)); }
.phase.now { --c: var(--mint); } .phase.next { --c: var(--sun); } .phase.then { --c: var(--pink); background: linear-gradient(160deg, #4a1f6e, var(--panel)); box-shadow: 0 5px 0 var(--outline), 0 0 34px rgba(255, 111, 177, 0.35); }
.ptag { font-weight: 800; font-size: 12px; letter-spacing: 0.08em; color: var(--c); }
.phase h3 { margin: 4px 0 6px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; line-height: 1.15; color: var(--cream); }
.phase.then h3 { color: var(--sun); }
.phase p { margin: 0 0 10px; color: var(--text-2); font-size: 15px; }
.lanes-h { margin: 34px 0 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; color: var(--cream); }
.rules { display: grid; gap: 12px; margin-top: 14px; }
.rule { padding: 16px; border-radius: 18px; background: var(--panel); border: 2px solid rgba(255, 255, 255, 0.08); }
.rule b { font-family: var(--font-display); font-size: 22px; color: var(--pink); }
.rule h3 { margin: 2px 0 4px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 21px; color: var(--cream); line-height: 1.25; }
.rule p { margin: 0; color: var(--text-2); font-size: 14px; }
.legal { margin: 22px 0 0; padding: 10px 14px; border-left: 3px solid var(--pink); background: rgba(255, 255, 255, 0.04); border-radius: 0 12px 12px 0; font-size: 12.5px; line-height: 1.6; color: var(--text-2); }

/* business model */
.biz-grid { display: grid; gap: 20px; margin-top: 28px; align-items: center; }
.lane { display: grid; gap: 8px; }
.lane-h { margin: 0; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; color: var(--sun); text-transform: uppercase; }
.node { position: relative; padding: 12px 14px 12px 52px; border-radius: 16px; background: var(--panel); border: 3px solid var(--outline); box-shadow: 0 4px 0 var(--outline); }
.node.g { padding-left: 14px; border-color: var(--outline); background: linear-gradient(150deg, rgba(79, 184, 255, 0.18), var(--panel)); }
.node b { position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-family: var(--font-display); border: 2px solid var(--outline); }
.node h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 21px; color: var(--cream); line-height: 1.25; }
.node p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.down { justify-self: center; width: 12px; height: 12px; border-right: 3px solid var(--sun); border-bottom: 3px solid var(--sun); transform: rotate(45deg); margin: -6px 0 2px; }
.loop { position: relative; width: 200px; height: 200px; justify-self: center; color: var(--sun); }
.loop .ring { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(255, 201, 60, 0.6)); }
.loop img { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); filter: drop-shadow(0 3px 0 var(--outline)); }
.principle { display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 16px; border-radius: var(--r); background: linear-gradient(120deg, rgba(255, 201, 60, 0.16), rgba(255, 111, 177, 0.12)); border: 2px solid rgba(255, 201, 60, 0.5); }
.principle p { margin: 0; color: var(--text); font-size: 15px; }
.principle b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 20px; color: var(--sun); margin-right: 4px; }

/* coming */
.duo { display: grid; gap: 14px; margin-top: 26px; }
.soon { position: relative; padding: 18px 18px 18px 84px; border-radius: var(--r); background: var(--panel); border: 3px solid var(--outline); box-shadow: 0 5px 0 var(--outline); min-height: 110px; }
.soon h3 { margin: 6px 0 4px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 24px; color: var(--cream); }
.soon p { margin: 0; color: var(--text-2); font-size: 15px; }
.soon-ico { position: absolute; left: 18px; top: 20px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; border: 3px solid var(--outline); }
.soon-ico.android { background: var(--leaf); }
.soon-ico.android::before { content: ""; width: 18px; height: 30px; border-radius: 5px; border: 3px solid var(--outline); background: var(--cream); }
.soon-ico.google { background: var(--cream); color: var(--sky); font-family: var(--font-body); font-weight: 800; font-size: 28px; }

/* final call */
.final { padding: 40px 0 70px; text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final-mascot { width: 120px; height: auto; filter: drop-shadow(0 4px 0 var(--outline)) drop-shadow(0 0 30px rgba(255, 201, 60, 0.5)); }

/* footer and credits */
.foot { padding: 26px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--text-2); font-size: 13px; }
.foot p { margin: 0 0 8px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.credits { width: min(720px, calc(100% - 24px)); max-height: 82vh; padding: 0; border-radius: var(--r); border: 4px solid var(--outline); background: var(--cream); color: var(--ink); box-shadow: 0 8px 0 var(--outline); }
.credits::backdrop { background: rgba(10, 4, 20, 0.7); backdrop-filter: blur(3px); }
.credits-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--cream); border-bottom: 3px dashed #e6cfae; }
.credits-head h2 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 24px; }
.credits .x { width: 44px; height: 44px; border-radius: 14px; border: 3px solid var(--outline); background: #fff; color: var(--ink); font-size: 24px; line-height: 1; box-shadow: 0 3px 0 var(--outline); }
.credits-body { padding: 4px 16px 18px; }
.credits-body h3 { margin: 14px 0 6px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 19px; }
.credits pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.55; background: var(--cream-2); border-radius: 12px; padding: 12px; }

/* ---------------------------------------------------------------- wider screens */
@media (min-width: 600px) {
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .tile span { font-size: 13px; }
  .stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float { width: 170px; } .float.f2 { width: 150px; } .float.f3 { width: 140px; }
}
@media (min-width: 900px) {
  :root { --gutter: 28px; }
  .nav { display: flex; }
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .float.f1 { top: 90px; right: 2%; } .float.f2 { top: auto; bottom: 14%; left: -30px; } .float.f3 { bottom: 4%; right: 34%; }
  .stats-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .block { padding: 100px 0; }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .factory { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
  .arrow { transform: rotate(-45deg); margin: 0; }
  .timeline { padding: 34px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .timeline::before, .timeline::after { left: 6px; right: 6px; top: 8px; bottom: auto; width: auto; height: 4px; }
  .timeline::after { transform-origin: left; transform: scaleX(var(--p)); background: linear-gradient(90deg, var(--mint), var(--sun), var(--pink)); }
  .phase::before { left: 18px; top: -38px; }
  .rules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .biz-grid { grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr); gap: 30px; }
  .loop { width: 240px; height: 240px; }
  .final-mascot { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .collage img, .live-dot { animation: none; }
  .tile, .tile img, .btn { transition: none; }
  .tile:hover img { transform: none; }
}
