/* apps365.games v2 - "POP": APPS 365 brand (mono logo, indigo, Inter) with an arcade layer.
   Display: Montserrat (matches the GAMES wordmark). Body: Inter (apps365ltd.com). Game labels: Lilita One. */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-var.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lilita One"; src: url("../fonts/lilita-one-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #0B1026;
  --night-2: #131A3A;
  --night-3: #1B2350;
  --navy: #0F162E;
  --ink: #232323;
  --indigo: #4853E1;
  --indigo-dark: #3A46C8;
  --indigo-edge: #2B35A3;
  --indigo-tint: #E8E8F6;
  --violet: #7A4DEF;
  --gold: #FFC629;
  --gold-edge: #C99300;
  --pink: #FF4F8B;
  --mint: #22D39A;
  --sky: #3FC5FF;
  --text: #3E445B;
  --muted: #5B6172;
  --bg: #F7F7FB;
  --surface: #FFFFFF;
  --line: #E6E7EE;
  --on-dark: #FFFFFF;
  --on-dark-muted: #BAC0DA;
  --radius: 22px;
  --shadow: 0 12px 34px rgba(15, 22, 46, .08);
  --shadow-lg: 0 30px 70px rgba(11, 16, 38, .25);
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --game: "Lilita One", "Montserrat", system-ui, sans-serif;
  --wrap: 1220px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-dark); text-underline-offset: 3px; }
a:hover { color: var(--indigo-edge); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.9rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: .9rem; }
.hl { color: var(--indigo); }
.grad-text { background: linear-gradient(92deg, var(--gold) 0%, #FF9F43 45%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--indigo), var(--violet), var(--pink), var(--gold)); pointer-events: none; }

/* ---------- chunky 3D buttons ---------- */
.btn { --edge: rgba(0, 0, 0, .25); --glow: rgba(15, 22, 46, .3); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 13px 26px; border-radius: 16px; font: 800 1.02rem/1.15 var(--display); letter-spacing: .005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; box-shadow: 0 5px 0 var(--edge), 0 16px 30px -10px var(--glow); transition: transform .12s ease, box-shadow .12s ease, background-color .2s ease, color .2s ease; translate: var(--mx, 0) var(--my, 0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--edge), 0 20px 34px -10px var(--glow); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge), 0 6px 14px -8px var(--glow); }
.btn-primary { background: var(--indigo); color: #fff; --edge: var(--indigo-edge); --glow: rgba(72, 83, 225, .6); }
.btn-primary:hover { background: #5560EA; color: #fff; }
.btn-gold { background: var(--gold); color: var(--night); --edge: var(--gold-edge); --glow: rgba(255, 198, 41, .55); }
.btn-gold:hover { background: #FFD04D; color: var(--night); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); --edge: #D3D6E2; --glow: rgba(15, 22, 46, .14); }
.btn-ghost:hover { color: var(--navy); }
.btn-dark-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); --edge: rgba(0, 0, 0, .45); --glow: rgba(0, 0, 0, .3); }
.btn-dark-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: .95rem; border-radius: 13px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* stickers + pills */
.sticker { display: inline-block; font: 400 1rem/1 var(--game); letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px 7px; border-radius: 10px; transform: rotate(-3deg); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); color: var(--night); background: var(--gold); }
.sticker-live { background: var(--mint); }
.sticker-development { background: var(--gold); }
.sticker-design { background: var(--sky); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font: 700 .8rem/1 var(--body); white-space: nowrap; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-live { background: #DFF8EE; color: #0B7A4E; }
.pill-live i { background: var(--mint); animation: pulse 2s infinite; }
.pill-development { background: #FFF3CC; color: #7A5600; }
.pill-design { background: #DDF4FF; color: #0B5E86; }
.pill-platform { background: rgba(15, 22, 46, .06); color: var(--navy); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 154, .6); } 70% { box-shadow: 0 0 0 9px rgba(34, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 154, 0); } }

/* ---------- top menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter) 0; margin-bottom: -84px; }
.nav { position: relative; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(170%) blur(14px); -webkit-backdrop-filter: saturate(170%) blur(14px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; padding: 10px 12px 10px 20px; box-shadow: 0 14px 40px rgba(11, 16, 38, .22); transition: padding .22s; }
.site-header.scrolled .nav { padding-top: 6px; padding-bottom: 6px; }
.brand img { display: block; height: 48px; width: auto; transition: transform .25s ease, height .22s; }
.site-header.scrolled .brand img { height: 40px; }
.brand:hover img { transform: rotate(-2deg) scale(1.03); }
.nav-parent { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 10px; font: 500 .76rem/1 var(--body); color: var(--muted); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.nav-parent b { font: 800 .76rem/1 var(--display); letter-spacing: .02em; color: var(--navy); }
.nav-parent svg { opacity: .55; transition: transform .18s, opacity .18s; }
.nav-parent:hover { background: var(--indigo-tint); color: var(--indigo-edge); }
.nav-parent:hover svg { opacity: 1; transform: translate(2px, -2px); }
.nav-parent-row { display: none; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links > .btn { margin-left: 8px; }
.mm-bar { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mm-li { display: flex; align-items: center; }
.mm-pill { position: absolute; left: 0; top: var(--y, 0); width: var(--w, 0); height: var(--ph, 0); transform: translateX(var(--x, 0)); border-radius: 12px; background: var(--indigo-tint); opacity: 0; pointer-events: none; transition: transform .26s cubic-bezier(.3, 1.35, .5, 1), width .26s cubic-bezier(.3, 1.35, .5, 1), opacity .15s; }
.nav.pill-on .mm-pill { opacity: 1; }
.mm-top { position: relative; z-index: 1; padding: 12px 2px 12px 14px; color: var(--navy); text-decoration: none; font: 700 .98rem/1 var(--display); transition: color .15s; }
.mm-top:hover, .mm-top[aria-current="page"], .mm-li.open .mm-top { color: var(--indigo-edge); }
.mm-arrow { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 40px; padding: 0 8px 0 4px; border: 0; background: none; color: var(--navy); cursor: pointer; }
.mm-arrow svg { transition: transform .24s cubic-bezier(.3, 1.5, .5, 1); }
.mm-li.open .mm-arrow svg { transform: rotate(180deg); }
html:not(.js) .mm-arrow { display: none; }
html:not(.js) .mm-top { padding-right: 14px; }

.mm-stage { position: absolute; left: 0; right: 0; top: calc(100% + 10px); height: var(--h, 0); border-radius: 24px; background: linear-gradient(160deg, #161E4C, var(--night) 62%); box-shadow: 0 30px 80px rgba(5, 8, 26, .55), 0 0 0 1px rgba(255, 255, 255, .09), 0 0 80px -18px var(--glow, var(--indigo)); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985); transform-origin: var(--cx, 50%) 0; pointer-events: none; transition: height .3s cubic-bezier(.3, 1.2, .4, 1), opacity .16s, transform .26s cubic-bezier(.3, 1.4, .4, 1), visibility .16s, box-shadow .3s; }
.nav.mm-open .mm-stage { opacity: 1; visibility: visible; transform: none; }
.mm-caret { position: absolute; left: 0; top: -7px; width: 16px; height: 16px; border-radius: 4px 0 0 0; background: #171F4E; box-shadow: -1px -1px 0 rgba(255, 255, 255, .09); transform: translateX(var(--cx, 0)) rotate(45deg); transition: transform .28s cubic-bezier(.3, 1.3, .5, 1); }
.mm-panel { position: absolute; z-index: 2; left: 0; right: 0; top: calc(100% + 10px); max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; padding: 22px; color: var(--on-dark-muted); opacity: 0; visibility: hidden; transform: translateX(var(--from, 0)); transition: opacity .18s, transform .28s cubic-bezier(.2, .8, .3, 1), visibility .18s; }
.mm-panel.on { opacity: 1; visibility: visible; transform: none; }
.mm-kicker { display: block; margin: 0 0 12px; font: 400 .84rem/1.1 var(--game); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

.mm-showcase { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
.mm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.mm-tile { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; color: #fff; text-decoration: none; transition: background .15s; }
.mm-tile img { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--night-3); box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 4px 0 rgba(0, 0, 0, .4); transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.mm-tile b { display: block; font: 700 .95rem/1.2 var(--display); color: #fff; }
.mm-tile small { display: block; margin-top: 3px; font: 500 .78rem/1.2 var(--body); color: var(--on-dark-muted); }
.mm-tile:hover, .mm-tile:focus-visible, .mm-tile.on { background: rgba(255, 255, 255, .1); background: color-mix(in srgb, var(--tile) 22%, transparent); }
.mm-tile.on img { box-shadow: 0 0 0 2px var(--tile), 0 4px 0 rgba(0, 0, 0, .4); }
#mm-games .mm-tile.on img { transform: rotate(-5deg) scale(1.08); box-shadow: 0 0 0 2px var(--tile), 0 6px 18px -4px var(--tile); }
.mm-panel.on .mm-tile, .mm-panel.on .mm-svc { animation: mmPop .42s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: calc(var(--i, 0) * 24ms); }
@keyframes mmPop { from { opacity: 0; transform: translateY(10px) scale(.95); } }
.mm-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mm-all { padding: 6px 10px; color: #fff; font: 700 .92rem/1 var(--display); text-decoration: none; }
.mm-all span { display: inline-block; transition: transform .18s; }
.mm-all:hover { color: var(--gold); }
.mm-all:hover span { transform: translateX(4px); }
.mm-playing { font: 600 .8rem/1 var(--body); color: var(--mint); }
.mm-show { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--night-2); background: color-mix(in srgb, var(--tile) 16%, var(--night-2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 0 44px -14px var(--tile); transition: background .3s, box-shadow .3s; }
.mm-art { position: relative; flex: none; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-3); background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--tile) 42%, transparent), transparent 68%); }
.mm-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity .26s, transform .45s cubic-bezier(.2, .8, .3, 1); }
.mm-art img.on { opacity: 1; transform: none; }
.mm-show:not(.is-wide) .mm-art img { inset: auto; left: calc(50% - 58px); top: calc(50% - 58px); width: 116px; height: 116px; border-radius: 26px; box-shadow: 0 8px 0 rgba(0, 0, 0, .35); }
.mm-show-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.mm-meta { font: 400 .78rem/1.1 var(--game); letter-spacing: .06em; text-transform: uppercase; color: var(--tile); }
.mm-name { font: 800 1.2rem/1.15 var(--display); color: #fff; }
.mm-text { min-height: 2.5em; font-size: .9rem; line-height: 1.3; color: #DDE1F5; }
.mm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.mm-out { display: inline-flex; align-items: center; gap: 4px; color: #fff; font: 600 .84rem/1 var(--body); text-decoration: none; }
.mm-out:hover { color: var(--gold); }

.mm-services { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr); gap: 26px; }
.mm-svc { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; padding: 12px 14px; border-radius: 16px; text-decoration: none; transition: background .15s; }
.mm-svc-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tile); box-shadow: 0 4px 0 rgba(0, 0, 0, .35); transition: transform .22s cubic-bezier(.3, 1.6, .5, 1); }
.mm-svc-ico svg { width: 24px; height: 24px; }
.mm-svc b { display: block; font: 800 1rem/1.2 var(--display); color: #fff; }
.mm-svc small { display: block; margin-top: 3px; font: 500 .84rem/1.3 var(--body); color: var(--on-dark-muted); }
.mm-svc-go { margin-left: auto; color: #fff; opacity: .4; transition: transform .18s, opacity .18s; }
.mm-svc:hover, .mm-svc:focus-visible { background: rgba(255, 255, 255, .1); background: color-mix(in srgb, var(--tile) 20%, transparent); }
.mm-svc:hover .mm-svc-ico { transform: rotate(-6deg) scale(1.08); }
.mm-svc:hover .mm-svc-go { opacity: 1; transform: translateX(4px); }
.mm-col ul, .mm-parent-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mm-col li a, .mm-parent-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 10px; color: #E4E7F7; font: 600 .92rem/1.2 var(--body); text-decoration: none; transition: background .15s, color .15s; }
.mm-col li a:hover, .mm-parent-links a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.mm-start { display: flex; flex-direction: column; gap: 10px; }
.mm-start .btn { width: 100%; }

.mm-studio { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; }
.mm-parent { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.mm-parent-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, var(--indigo), var(--violet)); box-shadow: 0 6px 0 var(--indigo-edge); color: #fff; font-size: .92rem; line-height: 1.35; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.mm-parent-card:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 9px 0 var(--indigo-edge); }
.mm-parent-card .mm-kicker { margin: 0; color: #FFE08A; }
.mm-parent-card b { font: 800 1.4rem/1.1 var(--display); }
.mm-parent-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font: 700 .94rem/1 var(--display); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ---------- arcade backgrounds (hero + page heroes) ---------- */
.arcade-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.arcade-bg .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; }
.arcade-bg .g1 { width: 620px; height: 620px; left: -160px; top: -160px; background: radial-gradient(circle, rgba(72, 83, 225, .9), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.arcade-bg .g2 { width: 560px; height: 560px; right: -140px; top: 40px; background: radial-gradient(circle, rgba(122, 77, 239, .8), transparent 65%); animation: drift 17s ease-in-out infinite alternate-reverse; }
.arcade-bg .g3 { width: 480px; height: 480px; left: 38%; bottom: -260px; background: radial-gradient(circle, rgba(255, 79, 139, .55), transparent 65%); animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }
.arcade-bg .floor { position: absolute; left: -50%; right: -50%; bottom: -2px; height: 46%; transform: perspective(380px) rotateX(62deg); transform-origin: 50% 100%; background-image: linear-gradient(rgba(122, 140, 255, .38) 2px, transparent 2px), linear-gradient(90deg, rgba(122, 140, 255, .38) 2px, transparent 2px); background-size: 64px 64px; mask-image: linear-gradient(to top, #000 0%, transparent 92%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 92%); animation: floor 2.4s linear infinite; }
@keyframes floor { to { background-position: 0 64px; } }
.arcade-bg .stars { position: absolute; inset: 0; background-image: radial-gradient(1.6px 1.6px at 12% 22%, #fff, transparent), radial-gradient(1.2px 1.2px at 32% 64%, #fff, transparent), radial-gradient(1.8px 1.8px at 58% 18%, #fff, transparent), radial-gradient(1.2px 1.2px at 74% 44%, #fff, transparent), radial-gradient(1.5px 1.5px at 88% 14%, #fff, transparent), radial-gradient(1.1px 1.1px at 46% 36%, #fff, transparent), radial-gradient(1.4px 1.4px at 8% 70%, #fff, transparent); opacity: .55; animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.shape { position: absolute; display: block; translate: calc(var(--px, 0) * var(--d, 10) * 1px) calc(var(--py, 0) * var(--d, 10) * 1px); transition: translate .25s ease-out; }
.shape svg { display: block; width: 100%; height: 100%; animation: float var(--t, 7s) ease-in-out infinite alternate; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); }
@keyframes float { from { transform: translateY(-10px) rotate(var(--r0, -8deg)); } to { transform: translateY(12px) rotate(var(--r1, 10deg)); } }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--night); color: var(--on-dark-muted); padding: 150px 0 120px; overflow: hidden; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin: 0 0 .35em; }
.hero h1 .line { display: block; }
.rot { display: inline-block; position: relative; }
.rot-word { display: inline-block; }
.rot-word.out { animation: rotOut .32s ease-in forwards; }
.rot-word.in { animation: rotIn .45s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes rotOut { to { transform: translateY(-60%) rotateX(70deg); opacity: 0; } }
@keyframes rotIn { from { transform: translateY(60%) rotateX(-70deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero .lead { color: var(--on-dark-muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 56ch; margin: 0 0 1.8em; }
.eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 8px 6px 14px; margin: 0 0 24px; font: 700 .9rem/1.2 var(--display); color: #fff; backdrop-filter: blur(6px); }
.eyebrow a { background: var(--gold); color: var(--night); text-decoration: none; border-radius: 999px; padding: 6px 13px; font-weight: 800; font-size: .85rem; box-shadow: 0 3px 0 var(--gold-edge); }
.eyebrow a:hover { color: var(--night); background: #FFD04D; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 28px 0 0; padding: 0; font: 700 .9rem/1 var(--display); color: #DDE1F5; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust b { font: 400 1.35rem/1 var(--game); color: var(--gold); }

/* ---------- Treasure Grab console ---------- */
.console { position: relative; border-radius: 34px; padding: 16px 16px 20px; background: linear-gradient(150deg, #5862F0 0%, #4853E1 40%, #6A45E6 100%); box-shadow: 0 10px 0 var(--indigo-edge), 0 40px 80px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .35); transform: rotate(1.5deg); transition: transform .4s ease; }
.console:hover, .console.playing { transform: rotate(0); }
.console-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 8px 12px; color: #fff; font: 400 1.05rem/1 var(--game); letter-spacing: .06em; }
.console-top .led { width: 10px; height: 10px; border-radius: 50%; background: #FF5C7A; box-shadow: 0 0 10px #FF5C7A; margin-right: 8px; display: inline-block; }
.console.playing .led { background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.screen { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #0A1A3A; box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .35); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.screen canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.tg-hud { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; align-items: center; gap: 12px; color: #fff; font: 400 1.05rem/1 var(--game); letter-spacing: .04em; text-shadow: 0 2px 0 rgba(0, 0, 0, .45); pointer-events: none; }
.tg-hud .combo { color: var(--gold); }
.tg-time { flex: 1; height: 10px; border-radius: 6px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.tg-time i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--mint), var(--gold)); transform-origin: 0 50%; }
.tg-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px; background: radial-gradient(circle at 50% 40%, rgba(11, 16, 38, .55), rgba(11, 16, 38, .88)); color: #fff; }
.tg-overlay[hidden] { display: none; }
.tg-title { font: 400 clamp(2rem, 4vw, 2.9rem)/1 var(--game); color: var(--gold); letter-spacing: .03em; margin: 0; text-shadow: 0 4px 0 #8A5A00, 0 10px 24px rgba(0, 0, 0, .45); transform: rotate(-3deg); }
.tg-overlay p { margin: 0; max-width: 34ch; font-weight: 600; color: #E5E8FA; font-size: .98rem; }
.tg-overlay .tg-big { font: 400 3.4rem/1 var(--game); color: #fff; }
.tg-overlay .tg-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.tg-overlay .tg-links a { color: var(--gold); font-weight: 700; font-size: .92rem; }
.tg-new { font: 400 1.1rem/1 var(--game); color: var(--night); background: var(--mint); padding: 6px 10px; border-radius: 8px; transform: rotate(-4deg); }
.console-bottom { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 2px; }
.dpad { width: 58px; height: 58px; position: relative; }
.dpad::before, .dpad::after { content: ""; position: absolute; background: #2B2F6E; border-radius: 6px; box-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.dpad::before { left: 20px; top: 0; width: 18px; height: 58px; }
.dpad::after { top: 20px; left: 0; width: 58px; height: 18px; }
.pads { display: flex; gap: 12px; }
.pads i { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); box-shadow: 0 4px 0 var(--gold-edge); }
.pads i:nth-child(2) { background: var(--pink); box-shadow: 0 4px 0 #B8295A; transform: translateY(-12px); }
.console-hint { font: 700 .8rem/1.2 var(--display); color: rgba(255, 255, 255, .8); text-align: center; }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; background: var(--gold); color: var(--night); transform: rotate(-2deg); margin: -34px -20px 0; box-shadow: 0 10px 0 var(--gold-edge), 0 20px 40px rgba(0, 0, 0, .2); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding: 16px 11px; font: 400 clamp(1.3rem, 2.4vw, 1.9rem)/1 var(--game); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.marquee svg { width: 22px; height: 22px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 110px 0; }
.section-tight { position: relative; padding: 70px 0; }
.section-head { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.kicker-text { display: inline-block; font: 400 1rem/1 var(--game); letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.dark { background: var(--night); color: var(--on-dark-muted); overflow: hidden; isolation: isolate; }
.dark > .wrap { position: relative; z-index: 1; }
.dark h2, .dark h3 { color: #fff; }
.dark .section-head p { color: var(--on-dark-muted); }
.dark .kicker-text { color: var(--gold); }

/* ---------- featured game ---------- */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.slides { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--night); box-shadow: 0 10px 0 rgba(15, 22, 46, .9), var(--shadow-lg); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 6s ease; }
.slides img.on { opacity: 1; transform: scale(1); }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(11, 16, 38, .8); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; display: grid; place-items: center; transition: background .2s, transform .2s; }
.slide-btn:hover { background: var(--indigo); transform: translateY(-50%) scale(1.08); }
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }
.slide-pause { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(11, 16, 38, .8); color: #fff; cursor: pointer; display: grid; place-items: center; }
.slide-pause:hover { background: var(--indigo); }
.slide-pause svg { width: 16px; height: 16px; }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 2px; z-index: 2; }
.dots button { width: 26px; height: 26px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: width .2s, background .2s; }
.dots button[aria-current="true"]::before { width: 24px; border-radius: 6px; background: var(--gold); }
.feature-info .sticker { margin-bottom: 16px; }
.feature-info h2 { margin-bottom: .2em; }
.feature-info .tag { font: 400 1.35rem/1.25 var(--game); color: var(--indigo); letter-spacing: .02em; margin-bottom: .8em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 26px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px; text-align: center; box-shadow: 0 5px 0 #E1E3EC; transition: transform .2s; }
.stat:hover { transform: translateY(-4px) rotate(-1deg); }
.stat b { display: block; font: 400 2.2rem/1 var(--game); color: var(--navy); }
.stat span { font: 700 .8rem/1.2 var(--display); color: var(--muted); }

/* ---------- games library ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 36px; }
.filter { min-height: 46px; padding: 9px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font: 700 .95rem/1 var(--display); cursor: pointer; box-shadow: 0 4px 0 rgba(0, 0, 0, .35); transition: transform .12s, background .15s, box-shadow .12s; }
.filter:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.filter:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); box-shadow: 0 4px 0 var(--gold-edge); }
.filter .count { display: inline-block; min-width: 22px; margin-left: 6px; padding: 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .78rem; }
.filter[aria-pressed="true"] .count { background: rgba(11, 16, 38, .14); }
.section:not(.dark) .filter { background: #fff; border-color: var(--line); color: var(--navy); box-shadow: 0 4px 0 #DCDFE9; }
.section:not(.dark) .filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); box-shadow: 0 4px 0 var(--gold-edge); }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.game-card { --accent: var(--gold); background: var(--night-2); border: 1px solid rgba(255, 255, 255, .09); color: var(--on-dark-muted); box-shadow: 0 8px 0 rgba(0, 0, 0, .35), 0 24px 50px -20px rgba(0, 0, 0, .6); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease; }
.game-card:hover { --ty: -6px; box-shadow: 0 0 0 2px var(--accent), 0 14px 0 rgba(0, 0, 0, .35), 0 30px 60px -16px color-mix(in srgb, var(--accent) 55%, transparent); }
.game-card .media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.game-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .media img { transform: scale(1.07); }
.game-card .media .sticker { position: absolute; top: 12px; left: 12px; }
.game-card .glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .3), transparent 45%); opacity: 0; transition: opacity .25s; }
.game-card:hover .glare { opacity: 1; }
.card-go { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--accent); color: var(--night); font: 400 1rem/1 var(--game); letter-spacing: .04em; text-transform: uppercase; transform: translateY(140%); transition: transform .3s cubic-bezier(.2, 1.3, .4, 1); }
.game-card:hover .card-go, .game-card:focus-within .card-go { transform: none; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 4px solid var(--accent); }
.card-body h3 { margin: 0; font-size: 1.35rem; color: #fff; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card-body p { margin: 0; color: var(--on-dark-muted); font-size: .97rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.game-card .pill-platform { background: rgba(255, 255, 255, .08); color: #E4E7F7; }
.game-card.is-hidden, .yours-card.is-hidden { display: none; }
.game-card.picked, .yours-card.picked { outline: 4px solid var(--gold); outline-offset: 4px; animation: picked .9s ease; }
@keyframes picked { 0% { scale: .95; } 50% { scale: 1.04; } 100% { scale: 1; } }
.empty-note { display: none; grid-column: 1 / -1; text-align: center; background: rgba(255, 255, 255, .05); border: 2px dashed rgba(255, 255, 255, .2); border-radius: var(--radius); padding: 34px 20px; }
.empty-note.show { display: block; }

/* roll card + 3D dice */
.roll-card { background: linear-gradient(150deg, var(--indigo) 0%, var(--violet) 100%); color: #fff; padding: 26px; justify-content: space-between; gap: 18px; box-shadow: 0 8px 0 var(--indigo-edge), 0 24px 50px -20px rgba(72, 83, 225, .7); }
.roll-card h3 { color: #fff; font: 400 1.9rem/1 var(--game); letter-spacing: .02em; margin: 0 0 8px; }
.roll-card p { color: #F1F2FF; margin: 0; }
.roll-card .roll-result { min-height: 3.2em; font-weight: 700; color: #fff; }
.roll-card .roll-result a { color: #fff; font-weight: 800; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.roll-row { display: flex; align-items: center; gap: 22px; }
.dice-btn { flex: none; width: 104px; height: 104px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 600px; border-radius: 18px; transition: transform .2s ease; }
.dice-btn:hover { transform: scale(1.07) rotate(-4deg); }
/* never put a filter on .die: it flattens the 3D cube and the wrong face shows */
.die { display: block; position: relative; width: 78px; height: 78px; margin: 13px; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(32deg); transition: transform 1.3s cubic-bezier(.2, .8, .2, 1); }
.face { position: absolute; inset: 0; background: #fff; border-radius: 17px; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 12px; box-shadow: inset 0 0 0 2px #e9eaf7, inset 0 -7px 12px rgba(72, 83, 225, .16); }
.face i { width: 13px; height: 13px; border-radius: 50%; background: var(--night); place-self: center; }
.f1 { transform: translateZ(39px); } .f6 { transform: rotateY(180deg) translateZ(39px); }
.f2 { transform: rotateY(90deg) translateZ(39px); } .f5 { transform: rotateY(-90deg) translateZ(39px); }
.f3 { transform: rotateX(90deg) translateZ(39px); } .f4 { transform: rotateX(-90deg) translateZ(39px); }
.f1 i { grid-area: 2 / 2; background: var(--pink); width: 17px; height: 17px; }
.f2 i:nth-child(1) { grid-area: 1 / 1; } .f2 i:nth-child(2) { grid-area: 3 / 3; }
.f3 i:nth-child(1) { grid-area: 1 / 1; } .f3 i:nth-child(2) { grid-area: 2 / 2; } .f3 i:nth-child(3) { grid-area: 3 / 3; }
.f4 i:nth-child(1) { grid-area: 1 / 1; } .f4 i:nth-child(2) { grid-area: 1 / 3; } .f4 i:nth-child(3) { grid-area: 3 / 1; } .f4 i:nth-child(4) { grid-area: 3 / 3; }
.f5 i:nth-child(1) { grid-area: 1 / 1; } .f5 i:nth-child(2) { grid-area: 1 / 3; } .f5 i:nth-child(3) { grid-area: 2 / 2; } .f5 i:nth-child(4) { grid-area: 3 / 1; } .f5 i:nth-child(5) { grid-area: 3 / 3; }
.f6 i:nth-child(1) { grid-area: 1 / 1; } .f6 i:nth-child(2) { grid-area: 1 / 3; } .f6 i:nth-child(3) { grid-area: 2 / 1; } .f6 i:nth-child(4) { grid-area: 2 / 3; } .f6 i:nth-child(5) { grid-area: 3 / 1; } .f6 i:nth-child(6) { grid-area: 3 / 3; }

.yours-card { border: 2px dashed rgba(255, 198, 41, .55); background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .03) 14px, rgba(255, 255, 255, .06) 14px, rgba(255, 255, 255, .06) 28px); padding: 26px; justify-content: center; gap: 12px; color: var(--on-dark-muted); }
.yours-card h3 { margin: 0; color: #fff; font-size: 1.45rem; }
.yours-card p { margin: 0; }
.yours-card .btn { align-self: flex-start; }
.section:not(.dark) .yours-card { color: var(--muted); background: #fff; border-color: #C9CDF5; }
.section:not(.dark) .yours-card h3 { color: var(--navy); }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; border-radius: 26px; padding: 30px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-5px); }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), var(--spot, rgba(255, 255, 255, .14)), transparent 60%); }
.spot:hover::before { opacity: 1; }
.t-roblox { grid-column: span 3; grid-row: span 2; background: var(--night); color: var(--on-dark-muted); box-shadow: 0 10px 0 #05081A, var(--shadow-lg); padding: 40px; }
.t-roblox h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 14ch; }
.t-roblox .lead { max-width: 46ch; color: var(--on-dark-muted); }
.t-roblox .blocks { position: absolute; right: -10px; top: 18px; width: 300px; height: 300px; z-index: -1; opacity: .95; }
.t-roblox .blocks .shape { position: absolute; }
.t-mobile { grid-column: span 1; grid-row: span 2; background: linear-gradient(170deg, #FFD95A 0%, var(--gold) 55%, #FFB01F 100%); color: var(--night); box-shadow: 0 10px 0 var(--gold-edge), var(--shadow); --spot: rgba(255, 255, 255, .45); }
.t-mobile h3 { color: var(--night); font-size: 1.55rem; }
.t-mobile p { color: #4A3A00; margin: 0; }
.t-mini { background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 0 #E1E3EC; --spot: color-mix(in srgb, var(--c) 22%, transparent); }
.t-mini h3 { font-size: 1.12rem; margin: 0; }
.t-mini p { margin: 0; font-size: .95rem; color: var(--muted); }
.t-mini .ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--c); box-shadow: 0 4px 0 rgba(0, 0, 0, .18); }
.t-mini .ico svg { width: 26px; height: 26px; }
.ticks { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px; background: var(--indigo-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8' fill='none' stroke='%234853E1' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.dark .ticks li, .t-roblox .ticks li { color: #E3E6F5; }
.dark .ticks li::before, .t-roblox .ticks li::before { background-color: rgba(255, 198, 41, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8' fill='none' stroke='%23FFC629' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tile .cta-row { margin-top: auto; }

/* phone mock with a looping falling-tiles game */
.phone { position: relative; width: 150px; height: 270px; margin: 14px auto 6px; border-radius: 30px; background: var(--night); padding: 14px 10px; box-shadow: 0 8px 0 rgba(0, 0, 0, .25), inset 0 0 0 3px #2A3160; transform: rotate(-6deg); transition: transform .4s ease; }
.t-mobile:hover .phone { transform: rotate(0) scale(1.04); }
.phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 44px; height: 6px; margin-left: -22px; border-radius: 4px; background: #2A3160; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: linear-gradient(#1B2350, #2B1E66); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 5px; padding: 8px; align-content: end; }
.phone-screen i { aspect-ratio: 1; border-radius: 7px; background: var(--c); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); animation: drop 3.6s cubic-bezier(.3, 1.4, .5, 1) infinite; animation-delay: var(--dl); }
@keyframes drop { 0% { transform: translateY(-260px); opacity: 0; } 12% { opacity: 1; } 22%, 78% { transform: none; opacity: 1; } 86% { transform: scale(1.25); opacity: 0; } 100% { transform: scale(1.25); opacity: 0; } }

/* ---------- process (scroll-linked) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: 31px; left: 8%; height: 6px; border-radius: 6px; }
.steps::before { right: 8%; background: rgba(255, 255, 255, .1); }
.steps::after { width: calc(84% * var(--p)); background: linear-gradient(90deg, var(--indigo), var(--violet), var(--pink), var(--gold)); box-shadow: 0 0 18px rgba(255, 79, 139, .6); transition: width .15s linear; }
.steps li { position: relative; z-index: 1; text-align: center; padding: 0 4px; }
.steps .num { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 20px; background: var(--night-3); border: 2px solid rgba(255, 255, 255, .14); color: #fff; font: 400 1.8rem/1 var(--game); box-shadow: 0 5px 0 rgba(0, 0, 0, .4); transition: background .3s, transform .3s, box-shadow .3s; }
.steps li.on .num { background: var(--indigo); border-color: transparent; transform: translateY(-4px) rotate(-5deg); box-shadow: 0 6px 0 var(--indigo-edge), 0 0 24px rgba(72, 83, 225, .7); }
.steps li.on:last-child .num { background: var(--gold); color: var(--night); box-shadow: 0 6px 0 var(--gold-edge), 0 0 28px rgba(255, 198, 41, .7); }
.steps h3 { font-size: 1.08rem; margin-bottom: .3em; }
.steps p { font-size: .93rem; margin: 0; }
.section:not(.dark) .steps::before { background: #E3E5EF; }
.section:not(.dark) .steps .num { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: 0 5px 0 #DCDFE9; }
.section:not(.dark) .steps li.on .num { color: #fff; }

/* ---------- plan builder ---------- */
.plan { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.plan-form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: 0 8px 0 #E1E3EC, var(--shadow); }
.plan-form fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.plan-form legend { font: 800 1.05rem/1.3 var(--display); color: var(--navy); margin-bottom: 12px; padding: 0; }
.plan-form legend b { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 9px; background: var(--night); color: var(--gold); font: 400 1rem/1 var(--game); }
.plan-form legend span { color: var(--muted); font: 500 .85rem/1 var(--body); margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 9px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 9px 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--bg); color: var(--navy); font: 700 .95rem/1.1 var(--display); cursor: pointer; box-shadow: 0 4px 0 #DCDFE9; transition: transform .12s, box-shadow .12s, background .15s, color .15s; user-select: none; }
.opt span:hover { transform: translateY(-2px); border-color: var(--indigo); }
.opt input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; box-shadow: 0 4px 0 var(--indigo-edge); transform: translateY(1px); }
.opt input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.brief { position: sticky; top: 110px; background: var(--night); color: var(--on-dark-muted); border-radius: 26px; padding: 26px; box-shadow: 0 10px 0 #05081A, var(--shadow-lg); overflow: hidden; }
.brief > * { position: relative; }
.preview { --rc: #9AA4C8; border-radius: 20px; overflow: hidden; background: var(--night-2); box-shadow: 0 0 0 2px var(--rc), 0 0 30px color-mix(in srgb, var(--rc) 45%, transparent); transition: box-shadow .4s; margin-bottom: 18px; }
.preview[data-rarity="rare"] { --rc: var(--sky); }
.preview[data-rarity="epic"] { --rc: var(--violet); }
.preview[data-rarity="legendary"] { --rc: var(--gold); }
.preview-art { position: relative; aspect-ratio: 16 / 8; display: grid; place-items: center; padding: 16px; text-align: center; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 50%), linear-gradient(135deg, var(--a1, #4853E1), var(--a2, #7A4DEF)); transition: background .4s; }
.preview-name { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1 var(--game); color: #fff; letter-spacing: .03em; text-transform: uppercase; text-shadow: 0 4px 0 rgba(0, 0, 0, .35); transform: rotate(-2deg); }
.preview-name.pop { animation: namePop .45s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes namePop { from { transform: rotate(-2deg) scale(.6); opacity: 0; } }
.preview-plat { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.preview-plat span { background: rgba(11, 16, 38, .7); color: #fff; font: 700 .72rem/1 var(--display); padding: 6px 8px; border-radius: 8px; }
.reroll { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: #fff; color: var(--night); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); transition: transform .2s; }
.reroll:hover { transform: rotate(-12deg) scale(1.06); }
.reroll svg { width: 24px; height: 24px; }
.preview-body { padding: 14px 16px 16px; }
.preview-badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; margin-bottom: 12px; }
.preview-badges span { font: 700 .76rem/1 var(--display); padding: 6px 9px; border-radius: 8px; background: rgba(255, 255, 255, .09); color: #E4E7F7; animation: badgeIn .3s ease; }
@keyframes badgeIn { from { transform: scale(.6); opacity: 0; } }
.rarity { display: flex; justify-content: space-between; align-items: center; font: 400 1rem/1 var(--game); letter-spacing: .05em; text-transform: uppercase; color: var(--rc); }
.meter { height: 10px; background: rgba(255, 255, 255, .1); border-radius: 8px; overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; width: 10%; background: var(--rc); border-radius: 8px; transition: width .4s ease, background .4s; }
.brief .brief-text { color: #fff; font-size: 1rem; font-weight: 600; margin: 0 0 12px; }
.brief .start { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 12px 14px; margin: 0 0 18px; }
.brief .start b { color: var(--gold); display: block; font: 400 1.15rem/1.1 var(--game); letter-spacing: .03em; }
.brief .start small { color: var(--on-dark-muted); font-size: .9rem; }
.work-note { font-size: .78rem; color: #8F97BD; margin: 8px 0 0; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 6px 0 #E1E3EC; transition: transform .2s; }
.why-card:hover { transform: translateY(-5px) rotate(-.6deg); }
.why-card .num { display: inline-block; font: 400 2.6rem/1 var(--game); margin-bottom: 10px; background: linear-gradient(135deg, var(--indigo), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-card h3 { font-size: 1.12rem; }
.why-card p { margin: 0; font-size: .96rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: 0 5px 0 #E6E8F0; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 5px 0 var(--indigo), var(--shadow); border-color: var(--indigo); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 40px 19px 0; position: relative; font: 800 1.05rem/1.4 var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 9px; display: grid; place-items: center; background: var(--indigo-tint); color: var(--indigo); font: 400 1.4rem/1 var(--game); transition: transform .25s, background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--indigo); color: #fff; }
.faq details p { margin: 0 0 20px; color: var(--text); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; max-width: var(--wrap); margin: 0 auto; border-radius: 32px; padding: 64px 40px; text-align: center; overflow: hidden; isolation: isolate; color: var(--night); background: linear-gradient(160deg, #FFD95A, var(--gold) 55%, #FFAE1A); box-shadow: 0 12px 0 var(--gold-edge), var(--shadow-lg); }
.cta-band h2 { color: var(--night); font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.cta-band p { color: #3D3000; max-width: 56ch; margin: 0 auto 1.6em; font-size: 1.1rem; font-weight: 500; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn-dark { background: var(--night); color: #fff; --edge: #000; --glow: rgba(11, 16, 38, .5); }
.cta-band .btn-dark:hover { background: var(--night-3); color: #fff; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .55); border-color: rgba(11, 16, 38, .2); --edge: rgba(122, 86, 0, .55); }
.cta-band .shape svg { filter: none; }

/* ---------- inner page heroes ---------- */
.page-hero { position: relative; background: var(--night); color: var(--on-dark-muted); padding: 150px 0 70px; overflow: hidden; isolation: isolate; text-align: center; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 20ch; margin-left: auto; margin-right: auto; }
.page-hero .lead { color: var(--on-dark-muted); font-size: clamp(1.05rem, 1.5vw, 1.18rem); max-width: 62ch; margin: 0 auto 1.6em; }
.page-hero .cta-row { justify-content: center; }
.page-hero .kicker-text { color: var(--gold); }
.crumbs { font-size: .9rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.crumbs a { color: #DDE1F5; }
.crumbs span { margin: 0 6px; }
.game-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center; text-align: left; }
.game-hero .slides { box-shadow: 0 10px 0 #05081A, 0 40px 80px rgba(0, 0, 0, .5); }
.game-title { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.game-title img { width: 70px; height: 70px; border-radius: 18px; box-shadow: 0 5px 0 rgba(0, 0, 0, .4); }
.game-title h1 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin: 0; max-width: none; text-align: left; }
.game-hero .lead { margin: 0 0 1.2em; text-align: left; }
.game-hero .cta-row { justify-content: flex-start; }
.game-hero .pill-platform { background: rgba(255, 255, 255, .1); color: #fff; }
.poster-frame { border-radius: 22px; overflow: hidden; box-shadow: 0 10px 0 #05081A, 0 40px 80px rgba(0, 0, 0, .5); }

.facts { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .96rem; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 6px 0 #E1E3EC; }
.facts th, .facts td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 34%; color: var(--navy); font-weight: 800; font-family: var(--display); background: #FAFAFD; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 0 #D9DCE8; transition: transform .2s; }
.gallery button:hover { transform: translateY(-4px) rotate(-.6deg); }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); }
.lightbox::backdrop { background: rgba(11, 16, 38, .88); }
.lightbox img { border-radius: 16px; }
.lightbox form { position: absolute; top: 10px; right: 10px; }
.lightbox button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 24px; cursor: pointer; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 6px 0 #E1E3EC; transition: transform .2s; }
.mini:hover { transform: translateY(-4px); }
.mini h3 { font-size: 1.08rem; margin-bottom: .35em; }
.mini p { margin: 0; font-size: .95rem; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: 0 8px 0 #E1E3EC, var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font: 800 .95rem/1.3 var(--display); color: var(--navy); }
.field label span { font: 500 .9rem/1 var(--body); color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: var(--bg); border: 1px solid #D9DCE3; border-radius: 13px; padding: 12px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(72, 83, 225, .18); background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin: 6px 0 18px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--indigo); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-weight: 700; }
.form-msg.ok { display: block; background: #DFF8EE; color: #0B5E3C; }
.form-msg.err { display: block; background: #FDECEC; color: #8A1C1C; }
.side-card { background: var(--night); color: var(--on-dark-muted); border-radius: 26px; padding: 28px; box-shadow: 0 10px 0 #05081A; }
.side-card h2, .side-card h3 { color: #fff; font-size: 1.3rem; }
.side-card a { color: var(--gold); }
.side-card ul { padding-left: 18px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* confetti */
.confetti { position: fixed; z-index: 90; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; }

/* reveal on scroll (only when JS runs; without JS everything is visible) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .3, 1.2); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .game-card.reveal { transform: perspective(900px) translateY(26px); }
.js .game-card.reveal.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease; }

/* focus rings that stay visible on indigo and dark backgrounds */
.roll-card :focus-visible, .btn-primary:focus-visible, .console :focus-visible, .t-mobile :focus-visible, .cta-band :focus-visible { outline-color: #fff; }
.dark :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .brief :focus-visible, .side-card :focus-visible, .site-footer :focus-visible, .t-roblox :focus-visible, .game-card:focus-within { outline-color: var(--gold); }
.cta-band :focus-visible { outline-color: var(--night); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); margin-top: 110px; padding: 70px 0 28px; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--indigo), var(--violet), var(--pink), var(--gold)); }
.site-footer a { color: #E3E6F5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-brand p:first-of-type { font: 400 1.45rem/1.2 var(--game); letter-spacing: .03em; color: #fff; }
.site-footer h2 { font: 400 1rem/1 var(--game); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.socials { display: flex !important; gap: 10px !important; margin-top: 16px !important; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .08); box-shadow: 0 4px 0 rgba(0, 0, 0, .4); transition: transform .15s, background .15s; }
.socials a:hover { background: var(--indigo); color: #fff; transform: translateY(-3px) rotate(-6deg); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; font-size: .85rem; }
.footer-legal p { margin: 0 0 6px; }
.footer-legal a { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .feature, .game-hero, .two-col, .contact-grid, .plan { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .console { max-width: 560px; margin: 0 auto; width: 100%; }
  .brief { position: relative; top: 0; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-roblox { grid-column: span 2; grid-row: auto; }
  .t-mobile { grid-column: span 2; grid-row: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .t-mobile > div { flex: 1 1 260px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .steps::before, .steps::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr; }
  .t-roblox .blocks { opacity: .35; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 120px 0 90px; }
  .page-hero { padding: 120px 0 50px; }
  .section { padding: 76px 0; }
  .game-grid, .why, .gallery, .bento { grid-template-columns: 1fr; }
  .t-roblox, .t-mobile { grid-column: auto; padding: 26px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat b { font-size: 1.8rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 46px 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .plan-form, .brief, .form-card, .side-card { padding: 20px; }
  .cta-row .btn { flex: 1 1 100%; }
  .eyebrow { border-radius: 18px; }
  .roll-row { gap: 14px; }
  .console { padding: 12px 12px 16px; border-radius: 26px; transform: none; }
  .console-bottom { display: none; }
  .marquee { margin-top: -24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .shape { translate: none; }
}
.cta-band > h2, .cta-band > p, .cta-band > .cta-row { position: relative; z-index: 1; }
.tg-hud[hidden] { display: none; }
@media (max-width: 1080px) { .hero .shape, .page-hero .shape { opacity: .45; } }
.yours-card .sticker, .roll-card .sticker { align-self: flex-start; }
.faq details[open] summary::after { content: "\2212"; transform: none; }
main { overflow-x: clip; }
@media (max-width: 640px) { .hero .shape { display: none; } .hero .shape:nth-of-type(3), .hero .shape:nth-of-type(9) { display: block; } .page-hero .shape:nth-of-type(n+5) { display: none; } }

@media (max-width: 1160px) { .mm-showcase { grid-template-columns: minmax(0, 1fr) 280px; } .nav-parent { display: none; } }
@media (max-width: 1000px), (max-height: 520px) {
  .nav-toggle { display: flex; }
  .nav { flex-wrap: wrap; padding: 8px 8px 8px 16px; }
  .brand img, .site-header.scrolled .brand img { height: 42px; }
  .nav-parent, .mm-stage, .mm-pill, .mm-show { display: none; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow-y: auto; padding: 8px 0 6px; }
  .nav-links.open, html:not(.js) .nav-links { display: flex; }
  html:not(.js) .nav-toggle { display: none; }
  .nav-links > .btn { margin: 8px 0 0; }
  .mm-bar { flex-direction: column; align-items: stretch; }
  .mm-li { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 4px; }
  .mm-top { padding: 15px 12px; }
  .mm-arrow { width: 48px; height: 48px; padding: 0; border-radius: 14px; background: var(--indigo-tint); }
  .mm-panel { position: static; grid-column: 1 / -1; display: none; max-height: none; overflow: visible; margin: 4px 0 8px; padding: 14px; border-radius: 16px; background: var(--night); opacity: 1; visibility: visible; transform: none; }
  .mm-panel.on { display: block; }
  .mm-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .mm-services > * + *, .mm-studio > * + * { margin-top: 16px; }
  .mm-parent { display: block; }
  .mm-parent-links { margin-top: 12px; }
  .nav-parent-row { display: block; padding: 14px 12px 6px; text-align: center; color: var(--muted); font: 500 .86rem/1 var(--body); text-decoration: none; }
  .nav-parent-row b { color: var(--navy); }
  .nav-parent-row svg { vertical-align: -1px; }
}
@media (prefers-reduced-motion: reduce) {
  .mm-panel.on .mm-tile, .mm-panel.on .mm-svc { animation: none; }
  .mm-stage, .mm-panel, .mm-pill, .mm-caret { transition: none; }
}

/* ---------- apps ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.app-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 6px 0 #E1E3EC; transition: transform .2s, box-shadow .2s; }
.app-card:hover { transform: translateY(-5px); box-shadow: 0 6px 0 var(--tile), 0 18px 40px -18px var(--tile); }
.app-icon { width: 72px; height: 72px; margin-bottom: 6px; border-radius: 18px; box-shadow: 0 4px 0 rgba(15, 22, 46, .16); }
.app-card h3 { margin: 0; font-size: 1.12rem; }
.app-card h3 a { color: var(--navy); text-decoration: none; }
.app-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.app-cat { font: 700 .76rem/1 var(--body); color: var(--muted); }
.app-card p { flex: 1; margin: 4px 0 8px; font-size: .95rem; color: var(--text); }
.app-links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.store-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 12px; background: var(--navy); color: #fff; font: 700 .84rem/1 var(--body); text-decoration: none; transition: background .15s; }
.store-link:hover { background: var(--indigo); color: #fff; }
.cta-row.center { justify-content: center; margin-top: 34px; }
.cap-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.cap-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.cap-table th, .cap-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cap-table tr:last-child th, .cap-table tr:last-child td { border-bottom: 0; }
.cap-table thead th { background: var(--night); color: #fff; font: 700 .86rem/1.2 var(--display); }
.cap-table tbody th { width: 25%; color: var(--navy); font: 700 .98rem/1.3 var(--display); }
.cap-apps a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin: 0 12px 4px 0; color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.cap-apps a:hover { color: var(--indigo); }
.cap-apps img { width: 28px; height: 28px; border-radius: 8px; }
.app-hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; text-align: left; }
.app-hero-icon { width: 180px; height: 180px; border-radius: 40px; box-shadow: 0 12px 0 rgba(0, 0, 0, .35); }
.app-hero h1, .app-hero .lead { margin-left: 0; margin-right: 0; max-width: 62ch; }
.app-hero h1 { max-width: 22ch; }
.app-hero .cta-row { justify-content: flex-start; }
.app-note { padding: 14px 16px; border-radius: 14px; background: var(--indigo-tint); color: var(--navy); font-size: .92rem; }
.app-shows-title { margin: 22px 0 8px; font-size: 1.05rem; }
.app-shows { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.app-shows li { padding: 7px 12px; border-radius: 999px; background: rgba(15, 22, 46, .06); color: var(--navy); font: 600 .84rem/1.1 var(--body); }
.t-apps { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: center; padding: 34px; background: linear-gradient(135deg, #0E1638, #1F2A63); box-shadow: 0 10px 0 #05081A, var(--shadow-lg); color: var(--on-dark-muted); }
.t-apps h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.t-apps-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; justify-items: center; margin: 0; padding: 0; list-style: none; }
.t-apps-wall img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 5px 0 rgba(0, 0, 0, .4); }
.t-apps-wall li:nth-child(even) img { transform: translateY(8px); }
@media (max-width: 1080px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .t-apps { grid-template-columns: 1fr; padding: 26px; } }
@media (max-width: 760px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .app-hero-icon { width: 112px; height: 112px; border-radius: 26px; }
  .cap-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cap-table, .cap-table tbody, .cap-table tr, .cap-table th, .cap-table td { display: block; width: 100%; }
  .cap-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cap-table tr:last-child { border-bottom: 0; }
  .cap-table th, .cap-table td { padding: 4px 16px; border-bottom: 0; }
}
@media (max-width: 480px) { .app-grid { grid-template-columns: 1fr; } }
.glance { max-width: 760px; }
.glance h2 { font-size: 1.5rem; text-align: center; }
@media (max-height: 520px) {
  .app-hero-grid { grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; }
  .app-hero-icon { width: 112px; height: 112px; border-radius: 26px; margin-top: 34px; }
}
