/* joinr.space — the JOINR ARENA site: the landing page and its info pages. Neon on near-black, the skull's gold and
   electric blue up front, each arena in its own accent colour. */
:root {
  --bg: #05031a; --bg2: #0b0730; --ink: #e9ecff; --dim: #9aa2d6; --line: #262a5c;
  --gold: #ffd633; --gold2: #fff6b0; --blue: #3d8bff; --pink: #ff3df0; --cyan: #3df5ff; --lime: #7dff5c; --orange: #ff8a3d;
  --px: 'Press Start 2P', ui-monospace, monospace;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gut: 16px; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: #8fbcff; }
a:hover { color: var(--gold); }
.px { font-family: var(--px); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--gold); color: #000; padding: 8px 12px; }

/* ───────── top bar ───────── */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 10px var(--gut);
  background: linear-gradient(rgba(5, 3, 26, 0.92), rgba(5, 3, 26, 0.55)); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(61, 139, 255, 0.18);
  transform: translateY(-100%); transition: transform .35s ease; }
.top.show, body.page .top { transform: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--px); font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.brand img { width: 30px; height: 30px; image-rendering: pixelated; filter: drop-shadow(0 0 6px rgba(255, 214, 51, 0.7)); }
.brand .a { color: var(--gold); text-shadow: 0 0 8px rgba(255, 214, 51, 0.7); }
.brand .b { color: var(--blue); text-shadow: 0 0 8px rgba(61, 139, 255, 0.7); }
.top nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.top nav a { color: var(--dim); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.top .play { font-family: var(--px); font-size: 10px; padding: 10px 14px; color: #120a00; background: var(--gold); text-decoration: none; border-radius: 4px; box-shadow: 0 0 16px rgba(255, 214, 51, 0.6); white-space: nowrap; }
@media (max-width: 760px) {
  .top { flex-wrap: wrap; row-gap: 6px; padding-bottom: 8px; }
  .top .play { margin-left: auto; }
  .top nav { order: 3; flex-basis: 100%; margin: 0; gap: 14px; font-size: 13px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { flex: 0 0 auto; }
}

/* ───────── hero ───────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 72px var(--gut) 120px; isolation: isolate; }
.hero canvas.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero .sun { position: absolute; left: 50%; bottom: 30%; width: min(90vw, 760px); aspect-ratio: 1; transform: translate(-50%, 50%); z-index: -2; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 51, 0.30), rgba(255, 61, 240, 0.16) 38%, rgba(61, 139, 255, 0.08) 58%, transparent 70%); animation: sunPulse 4.6s ease-in-out infinite; }
@keyframes sunPulse { 50% { opacity: .65; transform: translate(-50%, 50%) scale(1.06); } }
.hero .grid { position: absolute; left: -50%; right: -50%; bottom: 0; height: 42%; z-index: -1; transform-origin: 50% 0; transform: perspective(340px) rotateX(62deg);
  background-image: linear-gradient(rgba(61, 139, 255, 0.75) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 61, 240, 0.6) 2px, transparent 2px);
  background-size: 64px 64px; animation: gridRun 1.1s linear infinite;
  -webkit-mask-image: linear-gradient(transparent, #000 35%); mask-image: linear-gradient(transparent, #000 35%); }
@keyframes gridRun { to { background-position: 0 64px, 0 0; } }
.hero .scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: repeating-linear-gradient(rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }

.skullBox { position: relative; width: clamp(140px, min(34vw, 30vh), 300px); aspect-ratio: 1; margin: 0 auto 10px; }
.skullBox img { position: relative; z-index: 1; width: 100%; height: 100%; image-rendering: pixelated; animation: float 3.4s ease-in-out infinite, skullGlow 1.6s ease-in-out infinite alternate; }
.skullBox canvas { position: absolute; left: -70%; top: -55%; width: 240%; height: 210%; z-index: 2; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-16px) rotate(-2.5deg); } }
@keyframes skullGlow { from { filter: drop-shadow(0 0 10px rgba(255, 214, 51, 0.7)); } to { filter: drop-shadow(0 0 34px rgba(255, 214, 51, 1)) drop-shadow(0 0 8px rgba(61, 139, 255, 0.8)); } }

.wordmark { font-family: var(--px); font-size: clamp(30px, min(9vw, 11vh), 104px); line-height: 1.05; margin: 8px 0 0; letter-spacing: 2px; }
.wordmark .a { color: var(--gold); text-shadow: 0 0 14px var(--gold), 0 0 44px rgba(255, 214, 51, 0.6), 0 6px 0 #7a4b00; }
.wordmark .b { color: var(--blue); text-shadow: 0 0 14px var(--blue), 0 0 44px rgba(61, 139, 255, 0.6), 0 6px 0 #0b2a6b; }
.wordmark span { display: inline-block; animation: drop .9s cubic-bezier(.2, 1.6, .4, 1) both; }
.wordmark .b { animation-delay: .18s; }
@keyframes drop { from { opacity: 0; transform: translateY(-60px) scale(1.4); } }
.tagline { font-family: var(--px); font-size: clamp(10px, 1.8vw, 15px); line-height: 1.9; color: #cfd6ff; margin: 22px auto 0; max-width: 820px; animation: rise 1s .5s both; }
.tagline b { color: var(--cyan); font-weight: normal; text-shadow: 0 0 10px rgba(61, 245, 255, 0.7); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* the big button: a spinning rainbow ring round a gold core, pulsing */
.enter { position: relative; display: inline-flex; align-items: center; justify-content: center; margin: 38px auto 0; padding: 4px; border-radius: 14px; text-decoration: none; isolation: isolate; animation: rise 1s .8s both, beat 1.1s 1.8s ease-in-out infinite; }
.enter::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; overflow: hidden;
  background: conic-gradient(from var(--spin, 0deg), #ff3d6e, #ffd633, #7dff5c, #3df5ff, #3d8bff, #b03dff, #ff3df0, #ff3d6e); animation: spin 2.4s linear infinite; filter: saturate(1.3); }
.enter::after { content: ''; position: absolute; inset: -14px; border-radius: 24px; z-index: -2; background: inherit; filter: blur(22px); opacity: .9;
  background: conic-gradient(from var(--spin, 0deg), #ff3d6e, #ffd633, #7dff5c, #3df5ff, #3d8bff, #b03dff, #ff3df0, #ff3d6e); animation: spin 2.4s linear infinite; }
.enter span { position: relative; overflow: hidden; display: block; font-family: var(--px); font-size: clamp(16px, 3.4vw, 30px); letter-spacing: 2px; color: #170c00; padding: 26px clamp(26px, 6vw, 54px); border-radius: 10px;
  background: linear-gradient(#fff3a6, #ffd633 45%, #f0a800); text-shadow: 0 2px 0 rgba(255, 255, 255, 0.5); }
.enter span::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.8), transparent); transform: skewX(-20deg); animation: shine 2.6s 2s ease-in-out infinite; }
.enter:hover span { background: linear-gradient(#fff, #ffe066 45%, #ffb800); }
.enter:active { transform: scale(.97); }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.05); } 24% { transform: scale(1); } }
@keyframes shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
.free { font-size: 14px; color: var(--dim); margin-top: 14px; animation: rise 1s 1s both; }
.install { display: inline-block; margin-top: 22px; font-family: var(--px); font-size: 11px; letter-spacing: 1px; color: var(--gold); text-decoration: none; padding: 12px 18px; border: 2px solid rgba(255, 214, 51, 0.7); border-radius: 8px; background: rgba(255, 214, 51, 0.08); box-shadow: 0 0 18px rgba(255, 214, 51, 0.25); animation: rise 1s .9s both; transition: background .2s, box-shadow .2s; }
.install:hover { color: #170c00; background: var(--gold); box-shadow: 0 0 26px rgba(255, 214, 51, 0.8); }
.down { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-family: var(--px); font-size: 9px; color: var(--dim); text-decoration: none; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ───────── marquee ───────── */
.marquee { overflow: hidden; border-block: 2px solid; border-image: linear-gradient(90deg, var(--pink), var(--gold), var(--cyan), var(--blue), var(--pink)) 1; background: #08052a; padding: 14px 0; }
.marquee div { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; font-family: var(--px); font-size: clamp(12px, 2vw, 18px); white-space: nowrap; }
.marquee span:nth-child(7n+1) { color: var(--gold); } .marquee span:nth-child(7n+2) { color: var(--pink); } .marquee span:nth-child(7n+3) { color: var(--cyan); }
.marquee span:nth-child(7n+4) { color: var(--lime); } .marquee span:nth-child(7n+5) { color: var(--orange); } .marquee span:nth-child(7n+6) { color: #c08cff; } .marquee span:nth-child(7n) { color: var(--blue); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────── stats ───────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 70px auto; }
.stat { text-align: center; padding: 26px 10px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg, rgba(61, 139, 255, 0.10), rgba(255, 61, 240, 0.06)); }
.stat b { display: block; font-family: var(--px); font-size: clamp(26px, 5vw, 46px); color: var(--gold); text-shadow: 0 0 18px rgba(255, 214, 51, 0.7); font-weight: normal; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--dim); text-transform: uppercase; letter-spacing: 2px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ───────── section headings ───────── */
.kicker { font-family: var(--px); font-size: 11px; letter-spacing: 3px; color: var(--pink); text-shadow: 0 0 10px rgba(255, 61, 240, 0.7); margin: 0 0 14px; }
h2.big { font-family: var(--px); font-weight: normal; font-size: clamp(22px, 4.4vw, 46px); line-height: 1.3; margin: 0 0 18px; }
.big em { font-style: normal; color: var(--gold); text-shadow: 0 0 16px rgba(255, 214, 51, 0.6); }
.lede { font-size: 19px; color: #c7cdf3; max-width: 760px; }
section.block { padding: 90px 0; position: relative; }

/* ───────── arenas ───────── */
.arena { --acc: var(--gold); display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; margin: 0 auto 120px; position: relative; }
.arena:nth-of-type(even) { grid-template-columns: 1fr 1.25fr; }
.arena:nth-of-type(even) .shot { order: 2; }
.arena .num { position: absolute; top: -70px; right: 0; font-family: var(--px); font-size: clamp(80px, 16vw, 190px); color: transparent; -webkit-text-stroke: 2px var(--acc); opacity: .16; pointer-events: none; z-index: -1; }
.arena:nth-of-type(even) .num { right: auto; left: 0; }
.shot { position: relative; border-radius: 14px; padding: 3px; background: linear-gradient(135deg, var(--acc), transparent 40%, transparent 60%, var(--acc)); box-shadow: 0 0 40px color-mix(in srgb, var(--acc) 45%, transparent), 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: perspective(1000px) rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg)); transition: transform .5s ease; }
.arena:nth-of-type(even) .shot { --ry: 7deg; }
.shot:hover { --ry: 0deg; --rx: 0deg; }
.shot img { border-radius: 11px; width: 100%; height: auto; aspect-ratio: 1280 / 760; object-fit: cover; background: #000; }
.shot::after { content: ''; position: absolute; inset: 3px; border-radius: 11px; pointer-events: none; background: repeating-linear-gradient(rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px), linear-gradient(115deg, rgba(255, 255, 255, 0.10), transparent 35%); }
.shot .live { position: absolute; left: 18px; top: -13px; z-index: 2; font-family: var(--px); font-size: 9px; color: #fff; background: #0b0730; padding: 6px 9px; border-radius: 4px; border: 1px solid var(--acc); }
.shot .live::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3d6e; margin-right: 7px; box-shadow: 0 0 8px #ff3d6e; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.arena .icon { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 18px; box-shadow: 0 0 22px color-mix(in srgb, var(--acc) 60%, transparent); }
.arena h3 { font-family: var(--px); font-weight: normal; font-size: clamp(20px, 3.2vw, 32px); line-height: 1.3; margin: 0 0 10px; color: var(--acc); text-shadow: 0 0 18px color-mix(in srgb, var(--acc) 70%, transparent); }
.arena .tag { font-family: var(--px); font-size: 10px; line-height: 1.8; color: #fff; margin: 0 0 16px; letter-spacing: 1px; }
.arena p { margin: 0 0 14px; color: #c7cdf3; }
.arena ul { list-style: none; padding: 0; margin: 0 0 22px; }
.arena li { padding-left: 26px; position: relative; margin: 6px 0; color: #dfe3ff; }
.arena li::before { content: '▶'; position: absolute; left: 0; color: var(--acc); font-size: 12px; top: 4px; }
.btn { display: inline-block; font-family: var(--px); font-size: 11px; letter-spacing: 1px; text-decoration: none; padding: 14px 18px; border-radius: 6px; color: #070414; background: var(--acc, var(--gold)); box-shadow: 0 0 20px color-mix(in srgb, var(--acc, var(--gold)) 55%, transparent); transition: transform .15s; }
.btn:hover { color: #070414; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--acc, var(--gold)); border: 2px solid currentColor; box-shadow: none; }
@media (max-width: 860px) {
  .arena, .arena:nth-of-type(even) { grid-template-columns: 1fr; margin-bottom: 90px; }
  .arena:nth-of-type(even) .shot { order: 0; }
  .shot, .arena:nth-of-type(even) .shot { --ry: 0deg; --rx: 0deg; }
  .arena .num { top: -50px; }
}

/* ───────── how it works ───────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; counter-reset: s; }
.step { position: relative; padding: 30px 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); counter-increment: s; }
.step::before { content: counter(s); position: absolute; top: -18px; left: 20px; width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--px); font-size: 14px; color: #000; background: var(--gold); border-radius: 50%; box-shadow: 0 0 18px rgba(255, 214, 51, 0.7); }
.step h4 { font-family: var(--px); font-weight: normal; font-size: 13px; line-height: 1.6; margin: 8px 0 10px; color: var(--cyan); }
.step p { margin: 0; color: #c7cdf3; font-size: 16px; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.feat { padding: 20px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.feat i { font-style: normal; font-size: 28px; display: block; margin-bottom: 8px; }
.feat b { display: block; font-family: var(--px); font-weight: normal; font-size: 10px; line-height: 1.7; color: var(--gold); margin-bottom: 6px; }
.feat span { font-size: 15px; color: var(--dim); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 30px; } .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } }

/* ───────── controllers: a phone with a clip-on pad ───────── */
.pads { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.phone { position: relative; width: 100%; max-width: min(330px, 78vw); margin: 0 auto; aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 12px; background: linear-gradient(145deg, #2b2e45, #0c0d18); box-shadow: 0 0 0 2px #3a3e5c, 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 60px rgba(61, 139, 255, 0.25); animation: float 5s ease-in-out infinite; }
.phone .screen { position: absolute; inset: 12px; border-radius: 34px; overflow: hidden; background: #05031a; display: flex; flex-direction: column;
  -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0); } /* pinned inside the frame (Safari won't resolve a % height in an aspect-ratio box) and clipping its animated layers to the rounded corners */
.phone .island { position: absolute; top: 10px; left: 50%; width: 32%; height: 22px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 5; }
/* the game fills everything above the controller area, the HUD laid over it */
.phone .game { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: #05031a; }
.phone .game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.phone .game img.on { opacity: 1; }
.phone .hud { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: 38px 12px 10px; font-family: var(--px); font-size: 8px; color: var(--gold); text-shadow: 0 0 6px rgba(0, 0, 0, 0.9), 0 0 8px rgba(255, 214, 51, 0.5);
  background: linear-gradient(rgba(5, 3, 26, 0.85), rgba(5, 3, 26, 0)); pointer-events: none; }
.phone .hud p { display: flex; justify-content: space-between; margin: 0; }
.phone .hud p span:last-child { color: var(--cyan); }
.phone .hud ol { position: absolute; left: 10px; top: 58px; list-style: none; margin: 0; padding: 6px 8px; font-size: 6px; color: #e6e9ff; background: rgba(5, 3, 26, 0.6); border-radius: 6px; }
.phone .hud li { display: flex; gap: 6px; margin: 0 0 5px; }
.phone .hud li:last-child { margin: 0; }
.phone .hud li b { font-weight: normal; color: var(--pink); }
.phone .hud li i { font-style: normal; margin-left: 10px; color: #b8bfe8; }
.phone .hud li:first-child { color: var(--gold); }
.phone .deck { position: relative; flex: 0 0 40%; min-height: 0; overflow: hidden; }
.phone .ring { position: absolute; inset: 0; background: conic-gradient(from var(--spin, 0deg), #ff3d6e, #ffd633, #7dff5c, #3df5ff, #3d8bff, #b03dff, #ff3df0, #ff3d6e); animation: spin 3s linear infinite; }
.phone .hole { position: absolute; inset: 7px; border-radius: 26px 26px 26px 26px; background: #0a0820; box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.9); animation: hit 2.2s ease-in-out infinite; }
@keyframes hit { 0%, 70%, 100% { inset: 7px; } 74% { inset: 2px; box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.7); } }
/* the deck's four looks, one after another: the on-screen pad, then each clip-on controller in place */
.phone .slide { position: absolute; inset: 7px; display: flex; align-items: center; justify-content: center; opacity: 0; animation: deckCycle 14s ease-in-out infinite; }
.phone .slide.s2 { animation-delay: 3.5s; }
.phone .slide.s3 { animation-delay: 7s; }
.phone .slide.s4 { animation-delay: 10.5s; }
.phone .slide.s1 { animation-delay: -0.6s; }
@keyframes deckCycle { 0% { opacity: 0; transform: scale(.94); } 5%, 24% { opacity: 1; transform: none; } 29%, 100% { opacity: 0; transform: scale(.94); } }
.phone .slide img { width: 78%; height: auto; max-height: 76%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6)); }
.phone .slide em { position: absolute; bottom: 7px; left: 0; right: 0; text-align: center; font-style: normal; font-family: var(--px); font-size: 6px; letter-spacing: 1px; color: #a99fc9; }
/* the on-screen pad, as the arena draws it with no controller connected */
.vpad i { position: absolute; display: block; font-style: normal; }
.vpad .sh { top: 9%; width: 26%; height: 11%; border-radius: 9px 9px 5px 5px; font-family: var(--px); font-size: 6px; line-height: 2.4; text-align: center; color: #f3eaff; background: linear-gradient(#3a3550, #211d33); box-shadow: 0 2px 0 #0d0b18; }
.vpad .sh.l { left: 8%; } .vpad .sh.r { right: 8%; }
.vpad .dp, .vpad .fb { position: absolute; top: 28%; width: 36%; aspect-ratio: 1; }
.vpad .dp { left: 6%; } .vpad .fb { right: 6%; }
.vpad .dp i { background: linear-gradient(145deg, #2d2a3c, #15131f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 3px 0 #07060d, 0 0 10px rgba(61, 245, 255, 0.25); }
.vpad .dp .u, .vpad .dp .d { left: 34%; width: 32%; height: 36%; } .vpad .dp .lf, .vpad .dp .rt { top: 34%; height: 32%; width: 36%; }
.vpad .dp .u { top: 0; border-radius: 5px 5px 0 0; } .vpad .dp .d { bottom: 0; border-radius: 0 0 5px 5px; }
.vpad .dp .lf { left: 0; border-radius: 5px 0 0 5px; } .vpad .dp .rt { right: 0; border-radius: 0 5px 5px 0; }
.vpad .dp .c { left: 33%; top: 33%; width: 34%; height: 34%; box-shadow: none; }
.vpad .dp .u { animation: press 2.8s steps(1) infinite; }
.vpad .fb i { width: 34%; height: 34%; border-radius: 50%; font-family: var(--px); font-size: 6px; line-height: 2.9; text-align: center; color: #f3eaff;
  background: radial-gradient(circle at 35% 30%, #d4549a, #8f1f5e 60%, #5e1240); box-shadow: 0 3px 0 #3a0a27, 0 0 10px rgba(230, 70, 160, 0.45); }
.vpad .fb .x { left: 33%; top: 0; } .vpad .fb .y { left: 0; top: 33%; } .vpad .fb .a { right: 0; top: 33%; animation: press 1.4s .3s steps(1) infinite; } .vpad .fb .b { left: 33%; bottom: 0; }
@keyframes press { 0%, 80% { filter: none; } 85% { filter: brightness(1.8); } }
.vpad .mb { position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%); display: flex; gap: 14px; }
.vpad .mb i { position: relative; width: 22px; height: 7px; border-radius: 4px; transform: rotate(-24deg); background: linear-gradient(#4a4560, #2a2638); box-shadow: 0 2px 0 #0d0b18; }
.phone svg { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; }
img.pix { image-rendering: pixelated; }
.padCards { display: grid; gap: 18px; }
.padCard { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); align-items: start; }
.padCard svg, .padCard img { width: 96px; height: auto; }
.padCard img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.padCard h4 { font-family: var(--px); font-weight: normal; font-size: 12px; line-height: 1.6; margin: 0 0 8px; color: var(--gold); }
.padCard p { margin: 0; font-size: 16px; color: #c7cdf3; }
@media (max-width: 860px) { .pads { grid-template-columns: 1fr; } .padCard { grid-template-columns: 1fr; } }

/* ───────── the ARENA clip ───────── */
.clip { position: relative; padding: 110px 0 170px; overflow: hidden; isolation: isolate; }
.clip::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 25% 50%, rgba(255, 196, 26, 0.22), transparent 55%), radial-gradient(ellipse at 80% 30%, rgba(47, 123, 255, 0.18), transparent 55%),
  repeating-linear-gradient(135deg, rgba(255, 214, 51, 0.035) 0 18px, transparent 18px 36px); }
.clipGrid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.clipArt { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 12%; }
.clipArt::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; z-index: -1; filter: blur(30px); opacity: .55;
  background: conic-gradient(from var(--spin, 0deg), #ffd633, #ff8a3d, #2f7bff, #3df5ff, #ffd633); animation: spin 6s linear infinite; }
.clipArt img { width: 100%; height: auto; position: relative; z-index: 1; animation: clipFloat 4s ease-in-out infinite; filter: drop-shadow(0 0 26px rgba(255, 196, 26, 0.6)) drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6)); }
.clipArt canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.clipArt .badge { position: absolute; top: 2%; left: 4%; z-index: 3; font-family: var(--px); font-size: 10px; line-height: 1; color: #001a4d; background: #3df5ff; padding: 12px 16px; border-radius: 6px; transform: rotate(-6deg); box-shadow: 0 0 22px rgba(61, 245, 255, 0.8); animation: badge 1.4s ease-in-out infinite; }
@keyframes clipFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes badge { 50% { transform: rotate(-6deg) scale(1.08); } }
b.blue { color: #2f7bff; text-shadow: 0 0 10px rgba(47, 123, 255, 0.8); font-weight: normal; font-family: var(--px); font-size: .8em; }
.clipFacts { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.clipFacts li { text-align: center; padding: 14px 6px; border: 1px solid rgba(255, 214, 51, 0.35); border-radius: 10px; background: rgba(255, 214, 51, 0.06); }
.clipFacts b { display: block; font-family: var(--px); font-weight: normal; font-size: clamp(14px, 2.4vw, 22px); color: var(--gold); text-shadow: 0 0 12px rgba(255, 214, 51, 0.7); }
.clipFacts span { display: block; margin-top: 8px; font-size: 13px; color: var(--dim); line-height: 1.3; }
.clipList { list-style: none; padding: 0; margin: 0 0 6px; }
.clipList li { position: relative; padding-left: 26px; margin: 8px 0; color: #dfe3ff; }
.clipList li::before { content: '▶'; position: absolute; left: 0; top: 4px; font-size: 12px; color: var(--gold); }
.enter.dl { margin-top: 24px; padding: 3px; border-radius: 10px; animation: beat 1.1s ease-in-out infinite; }
.enter.dl::after { inset: -8px; filter: blur(14px); opacity: .7; }
.enter.dl span { font-size: 12px; padding: 14px 20px; border-radius: 7px; }
.credit { margin-top: 16px; max-width: 560px; font-size: 11px; line-height: 1.55; color: #6b73a6; }
.credit a { color: #9fb6ff; }
@media (max-width: 860px) { .clipGrid { grid-template-columns: 1fr; } .clipArt { max-width: 460px; margin: 0 auto; width: 100%; } .clipFacts { grid-template-columns: repeat(2, 1fr); } }

/* ───────── final call ───────── */
.final { text-align: center; padding: 110px var(--gut); position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 120%, rgba(255, 214, 51, 0.25), transparent 60%), radial-gradient(ellipse at 50% -20%, rgba(61, 139, 255, 0.25), transparent 60%); }
.final img { width: 96px; margin: 0 auto 16px; image-rendering: pixelated; animation: float 3.4s ease-in-out infinite, skullGlow 1.6s ease-in-out infinite alternate; }

/* ───────── footer ───────── */
footer { border-top: 1px solid var(--line); background: #030214; padding: 48px 0 40px; font-size: 15px; color: var(--dim); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer h5 { font-family: var(--px); font-weight: normal; font-size: 10px; color: var(--ink); margin: 0 0 12px; letter-spacing: 1px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 6px 0; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .fine { margin-top: 36px; font-size: 13px; color: #6b73a6; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* ───────── info pages ───────── */
body.page { padding-top: 64px; }
.pageHead { position: relative; overflow: hidden; padding: 70px 0 40px; text-align: center; isolation: isolate; border-bottom: 1px solid var(--line); }
.pageHead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(61, 139, 255, 0.28), transparent 65%), radial-gradient(ellipse at 50% 100%, rgba(255, 61, 240, 0.14), transparent 60%); }
.pageHead h1 { font-family: var(--px); font-weight: normal; font-size: clamp(22px, 5vw, 44px); line-height: 1.3; margin: 0 0 12px; color: var(--gold); text-shadow: 0 0 18px rgba(255, 214, 51, 0.6); }
.pageHead p { color: var(--dim); margin: 0 auto; max-width: 680px; }
.doc { max-width: 820px; margin: 0 auto; padding: 40px var(--gut) 80px; }
.doc h2 { font-family: var(--px); font-weight: normal; font-size: clamp(14px, 2.4vw, 19px); line-height: 1.5; color: var(--blue); margin: 46px 0 14px; text-shadow: 0 0 12px rgba(61, 139, 255, 0.5); }
.doc h3 { font-size: 19px; color: var(--gold); margin: 28px 0 8px; }
.doc p, .doc li { color: #ccd2f4; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.doc .toc a { display: inline-block; font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--dim); }
.doc .toc a:hover { color: var(--ink); border-color: var(--blue); }
.doc .card { border: 1px solid var(--line); background: var(--bg2); border-radius: 12px; padding: 18px 20px; margin: 16px 0; }
.doc .card.tip { border-color: rgba(255, 214, 51, 0.4); background: linear-gradient(160deg, rgba(255, 214, 51, 0.08), transparent); }
.doc .card.tip b:first-child { color: var(--gold); }
.doc kbd { font: 13px var(--body); padding: 2px 7px; border-radius: 5px; border: 1px solid #3a3f78; background: #12103a; color: #fff; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 20px; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); font-weight: 600; }
.doc td { color: #ccd2f4; }
.doc .arenaHead { display: flex; align-items: center; gap: 14px; margin: 50px 0 10px; }
.doc .arenaHead img { width: 48px; height: 48px; border-radius: 10px; }
.doc .arenaHead h2 { margin: 0; }
.doc details { border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin: 10px 0; background: var(--bg2); }
.doc summary { cursor: pointer; padding: 15px 0; font-weight: 600; color: var(--ink); }
.doc details[open] summary { color: var(--gold); }
.doc .muted { color: var(--dim); font-size: 15px; }
.doc .scroll { overflow-x: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ───────── readable on phones ─────────
   On small screens the neon glows shrink to one tight halo under a crisp dark drop shadow, and nothing in the pixel
   font goes below 9px, so headings and labels stay sharp in sunlight with the brightness down. */
@media (max-width: 820px), (pointer: coarse) {
  .wordmark .a, .wordmark .b { text-shadow: 0 4px 0 rgba(0, 0, 0, 0.9), 0 0 8px color-mix(in srgb, currentColor 45%, transparent) !important; }
  .big em, .pageHero h1, .pageHead h1, .arena h3, .devHead h2, .stat b, .contactCard h2 { text-shadow: 0 3px 0 rgba(0, 0, 0, 0.9), 0 0 6px color-mix(in srgb, currentColor 35%, transparent) !important; }
  .kicker, .tagline b, .clipFacts b, .faqGroup > h2, .doc h2, .tile h4, .feat b, .cat b, .brand .a, .brand .b, b.blue, .phone .hud {
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.9) !important; }
  .tagline { font-size: 12px !important; line-height: 2; }
  .kicker { font-size: 11px !important; }
  .arena .tag, .devHead .tagl, .chips a, .ctlTable th, .shot .live, .heroPads .hp span, .badge2, .yt .tag, .qcard .kind, .down { font-size: 9px !important; }
  .tile h4, .cat b, .feat b, footer h5 { font-size: 10px !important; line-height: 1.7 !important; }
  .stat span, .clipFacts span, .credit, .free, .cat span { color: #b9c0e8 !important; }
  .credit { font-size: 12px !important; }
}
