/* ============================================================
   AIDsAgent — sub-pages (games.html, markets.html)
   Loaded after styles.css: reuses its tokens, nav, buttons, section
   heads and footer; everything here is prefixed so the homepage is
   untouched.
   ============================================================ */

/* ---------- block framework ---------- */
.blk {
  position: relative;
  padding: 120px 40px;
  overflow: hidden;
}
.blk--tight { padding-top: 80px; padding-bottom: 80px; }
.blk--alt { background: linear-gradient(180deg, transparent, rgba(13,18,40,0.65) 18%, rgba(13,18,40,0.65) 82%, transparent); }
.blk__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  min-width: 0;
}
.blk .section-head { margin-bottom: 56px; }

/* reveal: sub.js adds .is-in once a [data-rev] element scrolls into view */
[data-rev] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-rev].is-in { opacity: 1; transform: none; }
[data-rev="1"] { transition-delay: 120ms; }
[data-rev="2"] { transition-delay: 240ms; }
[data-rev="3"] { transition-delay: 360ms; }

.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { width: 100%; }

/* .sp-jump (phone page switcher) lives in styles.css — the homepage uses it too */

/* ---------- page hero (shared shell) ---------- */
.ph {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 24px) 40px 90px;
  display: flex; align-items: center;
  overflow: hidden;
}
.ph__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}
.ph__eyebrow { margin-bottom: 22px; }
.ph__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.ph__sub { font-size: 17px; color: var(--text-dim); max-width: 520px; margin: 0 0 32px; line-height: 1.6; }
.ph__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ph__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: calc(100vh - var(--nav-h) - 60px);
  justify-self: center;
}
.ph__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: pan-y; }
.ph__fallback { position: absolute; inset: 8%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); }
.ph__fallback img { width: 100%; height: 100%; object-fit: cover; }
.ph__stage.has-gl .ph__fallback { display: none; }

.ph__scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.3em; color: var(--muted);
}
.ph__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--green), transparent); animation: phScroll 1.8s ease-in-out infinite; }
@keyframes phScroll { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero stat row */
.ph__stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.ph__stats div { display: flex; flex-direction: column; gap: 4px; }
.ph__stats b { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--text); }
.ph__stats span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-family: var(--font-mono); }

/* ============================================================
   GAMES — slot HUD
   ============================================================ */
.hud {
  display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 10px;
  margin-top: 36px; align-items: stretch;
  max-width: 540px;
}
.hud__cell {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(13,18,40,0.7);
  min-width: 96px;
}
.hud__cell dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }
.hud__cell dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hud__cell--win dd { color: var(--amber); text-shadow: 0 0 18px rgba(255,184,0,0.5); }
.hud__msg {
  align-self: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-dim);
  padding-left: 6px;
}
.hud__msg.is-win { color: var(--amber); }
.hud__note { margin-top: 12px; font-size: 11px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.06em; }

.btn--spin {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.18em;
  padding: 16px 34px;
  background: linear-gradient(180deg, #ff4d86, var(--pink) 60%, #c4134c);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,42,109,0.7), 0 0 30px rgba(255,42,109,0.55), inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -3px 0 rgba(0,0,0,0.25);
}
.btn--spin:hover { transform: translateY(-2px) scale(1.03); }
.btn--spin:active { transform: translateY(1px) scale(0.98); }
.btn--spin[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn--spin svg { animation: spinIcon 2.4s linear infinite; }
.btn--spin[disabled] svg { animation-duration: 0.5s; }
@keyframes spinIcon { to { transform: rotate(360deg); } }

/* ============================================================
   GAMES — vertical lobby (cartridges + detail)
   ============================================================ */
.lobby { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.cart {
  position: relative;
  aspect-ratio: 3 / 3.4;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  text-align: left;
  transform-style: preserve-3d;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.cart img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 600ms ease, filter 400ms ease; filter: saturate(0.75) brightness(0.7); }
.cart::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(5,7,20,0.95));
}
.cart::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.22), transparent 45%);
  opacity: 0; transition: opacity 300ms ease;
}
.cart:hover::after, .cart.is-active::after { opacity: 1; }
.cart:hover img, .cart.is-active img { transform: scale(1.14); filter: saturate(1.1) brightness(0.95); }
.cart__num { position: absolute; top: 14px; left: 14px; z-index: 3; font-size: 11px; letter-spacing: 0.2em; color: var(--text-dim); }
.cart__body { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; }
.cart__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.15; }
.cart__tag { display: block; margin-top: 6px; font-size: 10px; letter-spacing: 0.16em; color: var(--green); }
.cart.is-active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 18px 50px rgba(20,255,122,0.25); }
.cart:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.vdetail {
  margin-top: 28px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13,18,40,0.95), rgba(10,14,34,0.95));
  min-height: 380px;
}
.vdetail__img { position: relative; overflow: hidden; }
.vdetail__img img { width: 100%; height: 100%; object-fit: cover; animation: vdIn 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.vdetail__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; animation: vdIn 700ms 80ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes vdIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.vdetail__eyebrow { font-size: 11px; letter-spacing: 0.2em; color: var(--green); margin-bottom: 10px; }
.vdetail h3 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 14px; line-height: 1.15; }
.vdetail p { color: var(--text-dim); margin: 0 0 24px; }
.vdetail__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vdetail__stats div { padding: 14px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.vdetail__stats b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--text); }
.vdetail__stats span { font-size: 12px; color: var(--muted); }
.vdetail__live { margin-top: 18px; font-size: 12px; color: var(--text-dim); }
.vdetail__live b { color: var(--green); }

/* ============================================================
   GAMES — on the floor (real lobby art)
   ============================================================ */
.floor { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.floor__tile {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  aspect-ratio: 5 / 3.4;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.floor__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.floor__tile:hover { transform: translateY(-6px); border-color: var(--amber); box-shadow: 0 16px 40px rgba(255,184,0,0.25); }
.floor__tile:hover img { transform: scale(1.08); }
.floor__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(5,7,20,0.92));
  font-size: 13px; font-weight: 600;
}
.floor__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity 250ms ease;
  background: rgba(5,7,20,0.35);
}
.floor__play span {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber); color: #2a1a00;
  box-shadow: 0 0 30px rgba(255,184,0,0.7);
  transform: scale(0.7); transition: transform 300ms cubic-bezier(0.3, 1.6, 0.5, 1);
}
.floor__tile:hover .floor__play { opacity: 1; }
.floor__tile:hover .floor__play span { transform: scale(1); }
.floor__hot {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  padding: 4px 8px; border-radius: 4px;
  background: var(--pink); color: #fff;
  box-shadow: 0 0 14px rgba(255,42,109,0.6);
}
.floor__row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 14px; flex-wrap: wrap; }
.floor__row-head h3 { margin: 0; font-family: var(--font-display); font-size: 18px; letter-spacing: 0.04em; }
.floor__row-head a { font-size: 12px; color: var(--green); }
.floor + .floor__row-head { margin-top: 40px; }
.floor--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.floor--wide .floor__tile { aspect-ratio: 4 / 3; }

/* ============================================================
   GAMES — crash demo
   ============================================================ */
.crash { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.crash__screen {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 20% 100%, rgba(255,42,109,0.18), transparent 60%),
    linear-gradient(180deg, #070a1c, #0b1130);
}
.crash__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.crash__mult {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(42px, 6vw, 84px);
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-shadow: 0 0 30px rgba(20,255,122,0.5);
  pointer-events: none;
}
.crash__mult.is-crashed { color: var(--pink); text-shadow: 0 0 30px rgba(255,42,109,0.7); }
.crash__state { position: absolute; left: 50%; top: 56%; transform: translateX(-50%); font-size: 12px; letter-spacing: 0.24em; color: var(--text-dim); pointer-events: none; white-space: nowrap; }
.crash__hist { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; overflow: hidden; }
.crash__hist span {
  flex: none; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 4px;
  background: rgba(255,255,255,0.06); color: var(--text-dim);
  animation: histIn 400ms ease;
}
.crash__hist span.is-hi { color: var(--green); background: rgba(20,255,122,0.1); }
@keyframes histIn { from { opacity: 0; transform: translateX(-12px); } }
.crash__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 10px; align-items: center; }
.crash__cash {
  flex: 1;
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; font-size: 14px;
  padding: 14px; border-radius: 10px;
  background: linear-gradient(180deg, var(--green), #0acc63); color: #00220e;
  box-shadow: 0 0 24px rgba(20,255,122,0.45);
  transition: transform 150ms ease, opacity 200ms ease;
}
.crash__cash:hover { transform: translateY(-1px); }
.crash__cash[disabled] { opacity: 0.35; cursor: default; transform: none; box-shadow: none; }
.crash__you { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); min-width: 140px; text-align: right; }
.crash__you b { color: var(--green); }
.crash__copy h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); margin: 0 0 16px; line-height: 1.1; }
.crash__copy p { color: var(--text-dim); margin: 0 0 22px; }
.chk { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.chk li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.chk li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 4px; background: rgba(20,255,122,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314ff7a' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid rgba(20,255,122,0.4); }

/* ============================================================
   SHARED — single-series bar list (coverage, pages per market)
   ============================================================ */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; gap: 14px; align-items: center; font-size: 14px; }
.bars__k { color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bars__track { height: 14px; position: relative; border-radius: 0 4px 4px 0; }
.bars__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  border-radius: 0 4px 4px 0;
  background: var(--green);
  box-shadow: 0 0 14px rgba(20,255,122,0.35);
  transition: width 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bars__v { font-family: var(--font-mono); font-size: 13px; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.bars li:hover .bars__k { color: var(--text); }
.bars li:hover .bars__fill { background: #4dffa0; }
.bars-cap { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ============================================================
   GAMES — coverage + provider wall
   ============================================================ */
.cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.cover h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 8px; }
.cover__lede { color: var(--text-dim); margin: 0 0 26px; font-size: 14px; }
.prov-top { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.prov-top li {
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: rgba(255,255,255,0.03);
  padding: 14px 10px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform 250ms ease, border-color 250ms ease;
}
.prov-top li:hover { transform: translateY(-4px); border-color: var(--cyan); }
.prov-top img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.prov-top span { font-size: 11px; color: var(--muted); font-family: var(--font-mono); text-align: center; }
.prov-top b { color: var(--text); font-weight: 700; }

.logo-marquee { margin-top: 56px; display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__row { display: flex; gap: 14px; width: max-content; animation: lmScroll 60s linear infinite; }
.logo-marquee__row--rev { animation-direction: reverse; animation-duration: 70s; }
.logo-marquee:hover .logo-marquee__row { animation-play-state: paused; }
.logo-marquee__row span {
  flex: none; width: 128px; height: 64px;
  display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 10px 14px;
}
.logo-marquee__row span.is-dark img { background: #dfe6f5; border-radius: 6px; padding: 4px 6px; }
.logo-marquee__row img { max-height: 40px; max-width: 98px; width: auto; height: auto; object-fit: contain; }
@keyframes lmScroll { to { transform: translateX(-50%); } }

/* ============================================================
   MARKETS — globe hero label + deep dive tabs
   ============================================================ */
.gl-label {
  position: absolute; z-index: 3; pointer-events: none;
  transform: translate(-50%, -140%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  padding: 4px 8px; border-radius: 4px;
  background: rgba(5,7,20,0.85); border: 1px solid rgba(20,255,122,0.5);
  color: var(--text); white-space: nowrap;
  opacity: 0; transition: opacity 200ms ease;
}
.gl-label.is-on { opacity: 1; }
.gl-hud { position: absolute; z-index: 3; font-size: 10px; letter-spacing: 0.16em; color: var(--muted); pointer-events: none; }
.gl-hud--tl { top: 6%; left: 4%; }
.gl-hud--br { bottom: 6%; right: 4%; text-align: right; }
.gl-hud b { color: var(--green); font-weight: 500; }

.dive__tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.dive__tab {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-dim);
  transition: all 200ms ease;
}
.dive__tab:hover { color: var(--text); border-color: rgba(120,160,255,0.45); }
.dive__tab[aria-selected="true"] { background: var(--cyan); border-color: var(--cyan); color: #00202a; font-weight: 700; box-shadow: 0 0 22px rgba(0,212,255,0.45); }
.dive__panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; background: var(--panel); min-height: 400px; }
.dive__panel[hidden] { display: none; }
.dive__img { position: relative; overflow: hidden; }
.dive__img img { width: 100%; height: 100%; object-fit: cover; animation: diveZoom 9s ease-out both; }
@keyframes diveZoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.dive__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; animation: vdIn 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.dive__flag { font-size: 12px; letter-spacing: 0.16em; color: var(--cyan); margin-bottom: 12px; }
.dive__body h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin: 0 0 14px; }
.dive__body p { color: var(--text-dim); margin: 0 0 22px; }
.dive__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dive__chips span { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.3); color: var(--text); }

/* ============================================================
   MARKETS — all-market grid
   ============================================================ */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mcard {
  position: relative;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: linear-gradient(160deg, rgba(20,30,64,0.6), rgba(10,14,34,0.9));
  padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  overflow: hidden;
}
.mcard::before {
  content: attr(data-code);
  position: absolute; right: -6px; top: -14px;
  font-family: var(--font-display); font-weight: 900; font-size: 92px; line-height: 1;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
}
.mcard:hover { transform: translateY(-6px); border-color: rgba(0,212,255,0.55); box-shadow: 0 20px 50px rgba(0,212,255,0.15); }
.mcard__head { display: flex; align-items: center; gap: 12px; }
.mcard__flag { font-size: 30px; line-height: 1; }
.mcard__name { margin: 0; font-family: var(--font-display); font-size: 18px; }
.mcard__lang { font-size: 11px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.08em; }
.mcard__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.mcard__stats div { border-top: 1px solid var(--line); padding-top: 8px; }
.mcard__stats dt { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-mono); }
.mcard__stats dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.mcard__logos { display: flex; flex-wrap: wrap; gap: 6px; }
.mcard__logos a { height: 40px; padding: 4px 8px; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); display: grid; place-items: center; transition: border-color 200ms ease; }
.mcard__logos a:hover { border-color: var(--green); }
.mcard__logos img { max-height: 32px; height: auto; width: auto; max-width: 78px; object-fit: contain; }
.mcard__more { margin-top: auto; font-size: 12px; color: var(--cyan); font-family: var(--font-mono); letter-spacing: 0.06em; }
.mcard__more:hover { text-decoration: underline; }

/* ============================================================
   MARKETS — payments
   ============================================================ */
.pay__filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.pay__filters button {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-dim);
}
.pay__filters button[aria-pressed="true"] { background: var(--green); color: #00220e; border-color: var(--green); font-weight: 700; }
.pay__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.pay__grid figure {
  margin: 0; height: 84px;
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  display: grid; grid-template-rows: 1fr auto; place-items: center;
  padding: 10px 8px 6px;
  animation: payIn 450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.pay__grid figure.is-dark img { background: #dfe6f5; border-radius: 6px; padding: 4px 6px; }
.pay__grid img { max-height: 36px; max-width: 92px; width: auto; height: auto; object-fit: contain; }
.pay__grid figcaption { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes payIn { from { opacity: 0; transform: scale(0.85); } }

/* ============================================================
   MARKETS — localisation
   ============================================================ */
.loc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.loc h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 8px; }
.loc__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
.loc__tiles div { padding: 20px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); }
.loc__tiles b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 900; }
.loc__tiles span { font-size: 12px; color: var(--muted); }
.loc__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.loc__langs span { font-family: var(--font-mono); font-size: 12px; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--text); background: rgba(0,212,255,0.05); }

/* ============================================================
   SHARED — closing CTA band
   ============================================================ */
.band {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(20,255,122,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(255,42,109,0.2), transparent 55%),
    var(--panel);
}
.band h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; margin: 0 0 14px; }
.band p { color: var(--text-dim); margin: 0 auto 30px; max-width: 560px; }
.band__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.next-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.next-pages a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02);
  transition: border-color 200ms ease, transform 200ms ease;
}
.next-pages a:hover { border-color: var(--green); transform: translateY(-3px); }
.next-pages small { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }
.next-pages strong { font-family: var(--font-display); font-size: 17px; }
.sp-footer { margin-top: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .lobby { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
  .cart { scroll-snap-align: start; }
  .floor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .floor--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prov-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .blk { padding: 80px 20px; }
  .ph { padding: calc(var(--nav-h) + 16px) 20px 80px; min-height: auto; }
  .ph__inner { grid-template-columns: 1fr; text-align: center; }
  .ph__sub { margin-left: auto; margin-right: auto; }
  .ph__ctas, .ph__stats { justify-content: center; }
  .ph__stage { max-width: 520px; max-height: none; order: -1; }
  .ph__scroll { display: none; }
  .hud { margin-left: auto; margin-right: auto; grid-template-columns: repeat(3, 1fr); }
  .hud__msg { grid-column: 1 / -1; text-align: center; padding: 0; }
  .vdetail, .dive__panel { grid-template-columns: 1fr; }
  .vdetail__img, .dive__img { aspect-ratio: 16 / 9; }
  .vdetail__body, .dive__body { padding: 26px 20px; }
  .crash, .cover, .loc { grid-template-columns: 1fr; gap: 36px; }
  .next-pages { grid-template-columns: 1fr; }
  .band { padding: 48px 20px; }
}
@media (max-width: 720px) {
  .blk, .ph { padding-left: 16px; padding-right: 16px; }
  .floor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prov-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bars li { grid-template-columns: 96px minmax(0, 1fr) 52px; gap: 10px; font-size: 13px; }
  .vdetail__stats { grid-template-columns: 1fr 1fr 1fr; }
  .vdetail__stats b { font-size: 16px; }
  .crash__you { min-width: 0; }
  .lobby { grid-template-columns: repeat(5, 62vw); }
  .ph__stats { gap: 18px; }
  .ph__stats b { font-size: 24px; }
  .footer { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-rev] { opacity: 1; transform: none; transition: none; }
  .logo-marquee__row { animation: none; flex-wrap: wrap; width: auto; }
  .logo-marquee__row--rev { display: none; }
  .dive__img img, .vdetail__img img { animation: none; }
}
.vdetail[hidden] { display: none; }
/* soften the hand-off from hero backdrop to the first block */
.ph::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.mkt-chips { justify-content: flex-start; margin: 0; gap: 6px; }
.mkt-chips .dive__tab { padding: 7px 11px; font-size: 11px; }
@media (max-width: 900px) { .mkt-chips { justify-content: center; } }
.pay__grid figure[hidden] { display: none; }
