/* =========================================================
   Winbox Malaysia — theme drawn from the logo/icon
   Brand cyan  #00c8f8  ·  ink black (wordmark)  ·  white
   ========================================================= */

:root {
  --brand: #00c8f8;
  --brand-bright: #19d9ff;
  --brand-deep: #0099db;
  --brand-ink: #007fa6;          /* cyan dark enough for text on white */
  --tint-50: #f0fbff;
  --tint-100: #daf5fd;
  --tint-200: #b4ebfb;

  --ink: #04141c;
  --ink-2: #0a2433;
  --ink-3: #12384c;
  --muted: #46606d;
  --line: #d3e8f0;
  --surface: #ffffff;
  --bg: #f6fcff;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(4, 20, 28, .06), 0 4px 14px rgba(0, 110, 150, .07);
  --shadow-md: 0 2px 4px rgba(4, 20, 28, .05), 0 14px 36px rgba(0, 110, 150, .14);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
          "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 12px); }
html.is-smooth { scroll-behavior: smooth; }   /* only while a visitor has just clicked an in-page link (script.js): smooth scrolling on <html> all the time made a refresh glide down to the restored position */

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--wide { width: min(1400px, 100% - 40px); }   /* header only: was 1680px, which flung the logo and the buttons to the screen edges */

.pipe { opacity: .45; font-weight: 500; margin-inline: .1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 20px; height: 20px; stroke-width: 2.2; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { min-height: 42px; padding: 0 20px; font-size: .94rem; }
.btn--lg { min-height: 54px; padding: 0 30px; }

.btn--brand { background: var(--brand); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 200, 248, .45); }
.btn--brand:hover { background: var(--brand-bright); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(4, 20, 28, .28); }
.btn--dark:hover { background: var(--ink-3); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(0, 70, 100, .22); }
.btn--light:hover { background: var(--tint-50); }
.btn--outline { background: rgba(255, 255, 255, .12); color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
/* the frosted background lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed-position mobile drawer */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(0, 90, 130, .08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { flex: none; }
.brand img { height: 42px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* header call-to-action buttons: a pulse + sheen so Register and Login draw the eye (paused on hover) */
.header-actions .btn--brand {
  background-color: var(--brand);
  background-image: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 60%);
  background-size: 260% 100%; background-repeat: no-repeat; background-position: 160% 0;
  animation: ctaRing 2.4s cubic-bezier(.2, .6, .3, 1) infinite, ctaSheen 3.6s ease-in-out infinite;
}
.header-actions .btn--login {
  background-image: linear-gradient(105deg, rgba(0, 200, 248, 0) 40%, rgba(0, 200, 248, .4) 50%, rgba(0, 200, 248, 0) 60%);
  background-size: 260% 100%; background-repeat: no-repeat; background-position: 160% 0;
  animation: ctaBreathe 2.8s ease-in-out infinite, ctaSheen 3.6s ease-in-out 1.3s infinite;
}
.header-actions .btn--brand:hover, .header-actions .btn--login:hover { animation: none; }
@keyframes ctaRing {
  0%   { box-shadow: 0 6px 18px rgba(0, 200, 248, .45), 0 0 0 0 rgba(0, 200, 248, .65); }
  70%, 100% { box-shadow: 0 6px 18px rgba(0, 200, 248, .45), 0 0 0 16px rgba(0, 200, 248, 0); }
}
@keyframes ctaBreathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 248, 0); }
  50%      { box-shadow: 0 0 0 5px rgba(0, 200, 248, .28); }
}
@keyframes ctaSheen { 0%, 55% { background-position: 160% 0; } 100% { background-position: -60% 0; } }

/* ---------- Nav: side drawer on mobile, inline bar + dropdowns on desktop ---------- */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 70; background: rgba(4, 20, 28, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
html.nav-locked { overflow: hidden; }

.nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; flex-direction: column; width: min(86vw, 380px);
  background: #fff; box-shadow: -30px 0 70px rgba(0, 40, 70, .28);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(104%); visibility: hidden;
  transition: transform .42s cubic-bezier(.2, .7, .2, 1), visibility .42s;
}
.nav.is-open { transform: none; visibility: visible; }
.nav-head {
  position: sticky; top: 0; z-index: 1; flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 14px 20px; background: #fff; border-bottom: 1px solid var(--line);
}
.nav-head img { height: 36px; width: auto; }
.nav-close {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--ink); background: var(--tint-100); border: 0; border-radius: 14px; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.nav-close:hover { background: var(--brand); transform: rotate(90deg); }
.nav-close svg { width: 22px; height: 22px; }
.nav-list { padding: 12px 14px 32px; }
.nav-item { display: flex; flex-wrap: wrap; align-items: center; }
.nav-link {
  flex: 1 1 auto; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 6px; border-radius: 16px;
  font: inherit; font-size: 1.02rem; font-weight: 700; color: var(--ink-2);
  text-decoration: none; background: none; border: 0; text-align: left; cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--brand-ink); }
.nav-link--btn { width: 100%; }
.nav-label { flex: 1; }
.nav-ico {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px;
  background: var(--tint-100); color: var(--brand-ink); transition: background-color .2s ease, color .2s ease;
}
.nav-ico svg { width: 22px; height: 22px; }
.nav-link:hover .nav-ico, .nav-link.is-active .nav-ico, .has-sub.is-open > .nav-link .nav-ico { background: var(--brand); color: var(--ink); }
.nav svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav-ico svg { stroke-width: 2; }
.sub-toggle {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0;
  color: var(--ink-2); background: none; border: 0; cursor: pointer;
}
.nav-link--btn > svg, .sub-toggle svg { width: 18px; height: 18px; transition: transform .32s cubic-bezier(.2, .7, .2, 1); }
.nav-link--btn > svg { margin-left: 5px; }   /* chevron follows the label, so the gap goes on its left */
.has-sub.is-open > .sub-toggle svg, .has-sub.is-open > .nav-link--btn > svg { transform: rotate(180deg); }

@media (max-width: 1365.98px) {
  /* the current item is a tinted pill with a fine cyan ring. The pill belongs to the whole row (link AND its dropdown arrow), drawn behind them */
  .nav-item { position: relative; }
  .nav-item > .nav-link, .nav-item > .sub-toggle { position: relative; z-index: 1; }
  .nav-item:has(> .nav-link.is-active)::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: 60px; border-radius: 16px; background: var(--tint-100); box-shadow: inset 0 0 0 1.5px rgba(0, 200, 248, .5); }
  .nav-link.is-active { color: var(--ink); }
  .nav-link.is-active .nav-label { font-weight: 800; }
}
@keyframes navIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 1365.98px) {
  .nav.is-open .nav-item { animation: navIn .5s cubic-bezier(.2, .7, .2, 1) both; }
  .nav-item:nth-child(1) { animation-delay: .10s; } .nav-item:nth-child(2) { animation-delay: .14s; }
  .nav-item:nth-child(3) { animation-delay: .18s; } .nav-item:nth-child(4) { animation-delay: .22s; }
  .nav-item:nth-child(5) { animation-delay: .26s; } .nav-item:nth-child(6) { animation-delay: .30s; }
  .nav-item:nth-child(7) { animation-delay: .34s; } .nav-item:nth-child(8) { animation-delay: .38s; }
  .nav-item:nth-child(9) { animation-delay: .42s; } .nav-item:nth-child(10) { animation-delay: .46s; }
  .nav-item:nth-child(11) { animation-delay: .50s; }
}

.submenu { flex-basis: 100%; margin: 2px 0 10px 28px; padding: 2px 0 4px 14px; border-left: 2px solid var(--tint-200); }
@media (max-width: 1365.98px) {
  .submenu { display: none; }
  .has-sub.is-open > .submenu, .has-sub.is-closing > .submenu { display: block; }
}
.submenu a {
  display: block; padding: 10px 10px; border-radius: 10px;
  font-size: .94rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.submenu li { padding-block: 3px; }   /* a little air between entries, so the hover / current highlight on one never touches the next */
.submenu li.sub-group { padding-block: 0; }
.submenu a:hover, .submenu a:focus-visible { background: var(--tint-100); color: var(--brand-ink); }
.submenu a[aria-current="page"] { position: relative; padding-left: 16px; font-weight: 800; color: var(--ink); background: var(--tint-100); }
.submenu a[aria-current="page"]::before { content: ""; position: absolute; left: 4px; top: 50%; width: 4px; height: 18px; margin-top: -9px; border-radius: 4px; background: var(--brand); }
.has-sub.is-current > .sub-toggle { color: var(--brand-ink); }
.sub-group + .sub-group { margin-top: 10px; }
.sub-title { display: block; margin: 6px 10px 2px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px;
  font: inherit; font-size: .88rem; font-weight: 800; letter-spacing: .02em; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { border-color: var(--brand); background: var(--tint-50); }
.lang-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lang-toggle svg:last-child { width: 14px; height: 14px; stroke-width: 2.6; transition: transform .2s ease; }
.flag-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }   /* the three flag symbols; every flag on the page is a <use> of one of them */
.flag { flex: none; display: block; width: 24px; height: 24px; border-radius: 50%; }
.lang-toggle .flag { width: 24px; height: 24px; stroke: none; }
.lang-toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 70; min-width: 216px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility .22s;
}
.lang-toggle[aria-expanded="true"] + .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px; font-size: .94rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.lang-menu a span { flex: 1; }
@media (max-width: 480px) {                                /* phones: anchor the menu to the screen edge instead of the toggle, so it can never run off the left side */
  .lang { position: static; }
  .lang-menu { top: calc(100% + 4px); right: 16px; min-width: min(216px, calc(100vw - 32px)); }
}
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--tint-100); color: var(--brand-ink); }
.lang-menu a[aria-current="true"] { color: var(--brand-ink); font-weight: 800; }
.lang-menu a[aria-current="true"]::after {
  content: ""; width: 7px; height: 12px; margin-right: 3px;
  border: solid var(--brand-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px);
}

/* phones: Login and Register stay in the header; the language switcher moves into the menu drawer, as three round flags beside the logo (script.js relocates it) */
@media (max-width: 767.98px) {
  .header-actions .lang { display: none; }   /* until the script has moved it into the drawer */
  .nav-head > .lang { margin: 0 auto 0 14px; }
  .nav-head > .lang .lang-toggle { display: none; }
  .nav-head > .lang .lang-menu { position: static; display: flex; gap: 12px; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-head > .lang .lang-menu a { padding: 2px; border: 2px solid transparent; border-radius: 50%; background: none; transition: border-color .15s ease, transform .15s ease; }
  .nav-head > .lang .lang-menu a:hover { background: none; transform: scale(1.08); }
  .nav-head > .lang .lang-menu a:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; background: none; }
  .nav-head > .lang .lang-menu a[aria-current="true"] { border-color: var(--brand); background: none; }
  .nav-head > .lang .lang-menu a[aria-current="true"]::after { display: none; }
  .nav-head > .lang .lang-menu a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* names stay for screen readers; the flags carry the meaning visually */
  .nav-head > .lang .flag { width: 24px; height: 24px; stroke: none; }
}
@media (max-width: 380px) {
  .nav-head { padding: 12px 12px 12px 16px; }
  .nav-head img { height: 30px; }
  .nav-head > .lang { margin-left: 8px; }
  .nav-head > .lang .lang-menu { gap: 6px; }
}
@media (max-width: 340px) { .nav-head > .lang .lang-menu { gap: 4px; } }

.nav-toggle {
  display: inline-grid; align-content: center; gap: 5px; justify-items: center;
  width: 44px; height: 44px; padding: 0; margin-left: 2px;
  background: var(--tint-100); border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 0;
  color: var(--ink);
  background: linear-gradient(135deg, #12d6fc 0%, var(--brand) 42%, var(--brand-deep) 100%);
  isolation: isolate;
  display: flow-root;   /* keeps the stats' negative margin from collapsing, so the cards overhang the hero edge */
}
/* the white swoosh from the app icon, echoed as background shapes */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.hero-bg::before { width: 920px; height: 640px; left: -380px; bottom: -420px; opacity: .22; transform: rotate(-14deg); }
.hero-bg::after  { width: 520px; height: 520px; right: -160px; top: -240px; opacity: .14; }

.hero-grid { display: grid; gap: 40px; align-items: center; padding-bottom: 72px; }

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.08; font-weight: 800; letter-spacing: -.03em;
  text-wrap: balance;
}
.hero h1 .pipe { opacity: .35; }
.lead { margin-top: 20px; max-width: 58ch; font-size: clamp(1.02rem, 1.6vw, 1.18rem); font-weight: 500; color: #05212e; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; display: none; justify-self: center; }

/* ---------- Phone mock ---------- */
.phone {
  width: 268px; aspect-ratio: 9 / 18.4;
  padding: 10px; border-radius: 42px;
  background: var(--ink);
  box-shadow: 0 40px 70px -20px rgba(0, 40, 70, .55), inset 0 0 0 2px #1c4258;
  transform: rotate(5deg);
}
.phone--tilt { transform: rotate(-5deg); }
.phone-screen {
  height: 100%; padding: 22px 14px 14px;
  display: flex; flex-direction: column; gap: 14px;
  border-radius: 32px; background: linear-gradient(180deg, #e9fbff, #fff 60%);
}
.ps-top { display: flex; align-items: center; gap: 8px; }
.ps-top img { width: 44px; height: 44px; border-radius: 12px; }
.ps-bar { height: 9px; width: 34px; border-radius: 9px; background: var(--tint-200); }
.ps-bar--long { width: 70px; margin-left: 4px; background: var(--tint-100); }
.ps-banner {
  position: relative; height: 96px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
}
.ps-banner span { position: absolute; width: 190px; height: 130px; border-radius: 50%; background: #fff; opacity: .28; left: -70px; bottom: -78px; transform: rotate(-14deg); }
.ps-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ps-tiles i {
  aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 14px; background: var(--tint-100); color: var(--brand-ink);
}
.ps-tiles i:nth-child(2) { background: var(--ink); color: var(--brand); }
.ps-tiles i svg { width: 24px; height: 24px; }
.ps-list { display: grid; gap: 8px; }
.ps-list div { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--tint-50); border: 1px solid var(--line); }
.ps-list b { width: 30px; height: 30px; border-radius: 10px; background: var(--brand); }
.ps-list div:nth-child(2) b { background: var(--ink); }
.ps-list span { flex: 1; height: 8px; border-radius: 8px; background: var(--tint-200); }
.ps-list em { width: 38px; height: 8px; border-radius: 8px; background: var(--tint-100); }
.ps-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 4px; border-top: 1px solid var(--line); }
.ps-nav span { width: 22px; height: 6px; border-radius: 6px; background: var(--tint-200); }
.ps-nav span:first-child { background: var(--brand); width: 30px; }

.chip {
  position: absolute; width: 60px; height: 60px; display: grid; place-items: center;
  border-radius: 18px; background: #fff; color: var(--brand-ink);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.chip svg { width: 28px; height: 28px; }
.chip--a { left: -34px; top: 90px; }
.chip--b { right: -26px; bottom: 120px; background: var(--ink); color: var(--brand); animation-delay: -3s; }
.chip--c { right: -18px; top: 70px; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Hero stats ---------- */
.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-bottom: -48px;
}
.stat {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 18px 20px; min-height: 96px;
  background: var(--surface); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.stat-label { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.stat-value { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat--safe { flex-direction: row; align-items: center; gap: 12px; background: var(--ink); color: #fff; }
.stat--safe svg { width: 32px; height: 32px; flex: none; color: var(--brand); stroke-width: 2; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.hero + .section { padding-top: 136px; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.15; font-weight: 800; letter-spacing: -.025em;
  text-wrap: balance;
}
.section-head p { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }

.subhead { margin-bottom: 24px; font-size: 1.1rem; font-weight: 700; color: var(--brand-ink); }
.subhead--light { color: var(--brand); }

.section--tint { background: linear-gradient(180deg, var(--tint-100), var(--tint-50)); }

.section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(0, 200, 248, .22), transparent 60%), var(--ink); color: #fff; }
.section--dark .section-head p { color: #b7cfdb; }

/* Icon tile */
.icon {
  display: inline-grid; place-items: center; flex: none;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--tint-100); color: var(--brand-ink);
}
.icon svg { width: 28px; height: 28px; }
.icon--sm { width: 46px; height: 46px; border-radius: 14px; }
.icon--sm svg { width: 24px; height: 24px; }

/* ---------- Game categories ---------- */
.games-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }

.game-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.game-card h3 { margin-top: 8px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.game-card p { color: var(--muted); font-size: .98rem; }

.game-card:target { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 200, 248, .35), var(--shadow-md); }

.game-card--feature {
  color: var(--ink); border-color: transparent; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, #12d6fc, var(--brand) 50%, var(--brand-deep));
}
.game-card--feature::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 300px; border-radius: 50%; background: #fff; opacity: .2; right: -200px; bottom: -170px; transform: rotate(-14deg); }
.game-card--feature .icon { background: var(--ink); color: var(--brand); }
.game-card--feature p { color: #05212e; font-size: 1.04rem; font-weight: 500; }
.game-card--feature:hover { border-color: transparent; }

/* ---------- Providers ---------- */
.pv-filter, .pv-search { display: none; }
.js .pv-filter { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
/* padding (cancelled by the negative margin) leaves room for the active pill's glow, which the scroll area would otherwise clip */
.pv-pills { display: flex; gap: 10px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 8px 16px 28px; margin: -8px -16px -28px; }
.pv-pills::-webkit-scrollbar { display: none; }

.js .pv-search {
  position: relative; display: flex; align-items: center; flex: none;
  height: 46px; border-radius: 999px; background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .18); color: #fff;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.pv-search:hover { border-color: rgba(255, 255, 255, .4); }
.pv-search:focus-within { border-color: var(--brand); background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 4px rgba(0, 200, 248, .18); }
.pv-search-ico { position: absolute; left: 16px; width: 19px; height: 19px; fill: none; stroke: #9fc2d3; stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.pv-search input {
  width: 100%; height: 100%; padding: 0 44px 0 44px; font: inherit; font-size: .96rem; font-weight: 600;
  color: #fff; background: transparent; border: 0; outline: 0; -webkit-appearance: none; appearance: none;
}
.pv-search input::placeholder { color: #8fb0c1; font-weight: 500; }
.pv-search input::-webkit-search-cancel-button, .pv-search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.pv-clear {
  position: absolute; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  color: #d9eaf2; background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.pv-clear[hidden] { display: none; }
.pv-clear:hover { background: var(--brand); color: var(--ink); }
.pv-clear svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.pv-empty { margin: 8px 0 0; padding: 48px 20px; text-align: center; font-size: 1.05rem; font-weight: 600; color: #8fb0c1; border: 1.5px dashed rgba(255, 255, 255, .16); border-radius: 24px; }
.pv-empty[hidden] { display: none; }
.pv-pill {
  display: inline-flex; align-items: center; gap: 9px; flex: none; height: 46px; padding: 0 20px;
  font: inherit; font-size: .96rem; font-weight: 700; color: #d9eaf2; white-space: nowrap;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, .18); border-radius: 999px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pv-pill svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-pill:hover { border-color: var(--brand); color: #fff; }
.pv-pill.is-active { color: var(--ink); background: var(--brand); border-color: var(--brand); box-shadow: 0 10px 22px -10px rgba(0, 200, 248, .75); }

.pv-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-card {
  position: relative; display: flex; flex-direction: column; padding: 8px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.pv-card[hidden] { display: none; }
.pv-link { color: inherit; text-decoration: none; }
.pv-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* the provider name is the link, and its hit area stretches over the whole card */
.pv-link:focus-visible { outline: none; }
.pv-card:has(.pv-link:focus-visible), .race-panel:has(.pv-link:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.pv-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 22px 40px -22px rgba(0, 200, 248, .55); }
.pv-media {   /* the provider art is a ready-made rounded card (transparent corners, the character may rise past the top edge), so nothing here clips or fills it */
  position: relative; aspect-ratio: 640 / 829;
}
.pv-media img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .38)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pv-card:hover .pv-media img { transform: scale(1.04); }
.pv-body { display: flex; flex-direction: column; flex: 1; justify-content: center; padding: 14px 8px 8px; }
.pv-body h3 { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; text-align: center; line-height: 1.25; }
.rtp { margin-top: 10px; display: flex; align-items: baseline; justify-content: space-between; }
.rtp-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: var(--brand); }
.rtp-value { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.meter { margin-top: 8px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.meter span { display: block; height: 100%; width: 70%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-deep), var(--brand-bright)); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }

/* cards pop in (staggered) when a filter is applied */
.pv-card.pop { animation: pvPop .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes pvPop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 48px; }
.about-copy p { margin-top: 20px; font-size: 1.06rem; color: var(--muted); }
.about-copy h2 + p { margin-top: 24px; }
/* words that are bold in the source copy */
.pc-desc strong, #claim .step p strong, .tip-card p strong, .about-copy strong, .why-card p strong, #start .step p strong, #whatsapp .step p strong, .faq-item p strong, .cat-card p strong, .dl-step p strong, .dl-points li strong, .req-table td strong, .tl-card p strong { font-weight: 800; color: var(--ink); background: linear-gradient(transparent 60%, rgba(0, 200, 248, .3) 60%);  white-space: nowrap;}
.req-table td strong { white-space: normal; }
.why-card p strong { white-space: normal; }
.tl-card p strong { white-space: normal; }
.calc-note strong { font-weight: 800; color: #fff; background: linear-gradient(transparent 62%, rgba(0, 200, 248, .45) 62%); }   /* after the shared rule so long values wrap inside stacked cards */
/* the hero sits on cyan, so its bold words get a white underline instead of a cyan one */
.hero .lead a { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .75); transition: text-decoration-color .2s ease; }
.hero .lead a:hover { text-decoration-color: var(--ink); }
.hero .lead strong { font-weight: 800; color: var(--ink); background: linear-gradient(transparent 62%, rgba(255, 255, 255, .6) 62%); }
.hero .lead strong.b-only { background: none; }   /* bold with no underline, so it is not mistaken for the neighbouring links */
.about-why h3 { margin-bottom: 20px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.why-list { display: grid; gap: 14px; }
.why-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.why-card h3, .why-card h4 { font-size: 1.04rem; font-weight: 800; letter-spacing: -.005em; line-height: 1.3; }
.why-card p { margin-top: 4px; font-size: .95rem; color: var(--muted); }
.tip-card p a, .why-card p a, .step p a, .video-card p a, .what-copy p a, .feature-card p a, .pc-desc a, .req-table td a, .dl-step p a, .tl-card p a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: text-decoration-color .2s ease, color .2s ease; }
.tip-card p a:hover, .why-card p a:hover, .step p a:hover, .video-card p a:hover, .what-copy p a:hover, .feature-card p a:hover, .pc-desc a:hover, .req-table td a:hover, .dl-step p a:hover, .tl-card p a:hover { color: var(--ink); text-decoration-color: var(--brand); }
/* links on the coloured tip cards: the default blue would vanish on cyan or dark */
.tip-card--2 p a { color: var(--ink); text-decoration-color: rgba(255, 255, 255, .8); }
.tip-card--2 p a:hover { text-decoration-color: var(--ink); }
.tip-card--1 p a { color: #fff; text-decoration-color: var(--brand); }
.tip-card--1 p a:hover { color: var(--brand); }

/* ---------- App ---------- */
.app-grid { display: grid; gap: 44px; align-items: center; }
.app-icon {
  width: 104px; height: 104px; border-radius: 28px;
  box-shadow: 0 22px 44px -12px rgba(0, 153, 219, .55), 0 0 0 1px rgba(0, 60, 90, .06);
}
.app-copy h2 { margin-top: 28px; }
.lead-dark { margin-top: 18px; font-size: 1.1rem; color: var(--ink-3); }
.app-copy .btn { margin-top: 32px; }

/* illustration: a 560x580 stage, scaled down with --s on smaller screens */
.app-visual { --s: .72; position: relative; justify-self: center; width: calc(470px * var(--s)); height: calc(570px * var(--s)); }
.app-stage { position: absolute; left: calc(-125px * var(--s)); top: calc(-40px * var(--s)); width: 620px; height: 620px; transform: scale(var(--s)); transform-origin: 0 0; }
.app-stage::before {
  content: ""; position: absolute; left: 70px; top: 20px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 68%);
}
.podium { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; }
.app-stage .phone { position: absolute; padding: 8px; border-radius: 34px; }
.app-stage .phone-screen { border-radius: 27px; padding: 18px 10px 10px; gap: 8px; }
.phone--b { width: 172px; left: 199px; top: 87px; transform: rotate(-5deg); z-index: 1; }
.phone--f { width: 200px; left: 315px; top: 69px; transform: rotate(5deg); z-index: 2; }
.phone--b .ps-banner { height: 58px; }
.phone--f .ps-banner { height: 70px; }
.app-stage .ps-banner { border-radius: 14px; }
.app-stage .ps-tiles { gap: 6px; }
.app-stage .ps-tiles i { border-radius: 11px; }
.app-stage .ps-tiles i svg { width: 20px; height: 20px; }
.app-stage .ps-top { gap: 6px; }
.app-stage .ps-top img { width: 34px; height: 34px; border-radius: 10px; }
.app-stage .ps-bar { width: 26px; height: 8px; }
.app-stage .ps-bar--long { width: 52px; margin-left: 2px; }
.app-stage .ps-list { gap: 6px; }
.app-stage .ps-list div { padding: 7px 8px; gap: 8px; border-radius: 12px; }
.app-stage .ps-list b { width: 24px; height: 24px; border-radius: 8px; }
.app-stage .ps-nav { padding: 8px 4px 2px; }
.coin {
  position: absolute; z-index: 3; left: 213px; top: 346px; width: 84px; height: 84px; object-fit: cover;
  border-radius: 50%; border: 5px solid #fff; box-shadow: 0 14px 26px -8px rgba(0, 40, 70, .5);
}
.app-stage .chip--c { right: 26px; left: auto; top: 120px; }
.app-stage .chip--d { left: 132px; top: 262px; background: var(--ink); color: var(--brand); animation-delay: -3s; }

/* feature cards */
.app-features .subhead { margin-bottom: 18px; }
.feature-cards { display: grid; gap: 16px; }
.feature-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; border-radius: 26px;
  background: #fff; border: 1px solid rgba(0, 100, 140, .1); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.f-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; }
.f-icon svg { width: 26px; height: 26px; stroke-width: 2; }
.f-icon--1 { background: linear-gradient(140deg, #5be6ff, var(--brand) 55%, var(--brand-deep)); color: var(--ink); }
.f-icon--2 { background: linear-gradient(140deg, #19b4ee, #0079b8 60%, #12507a); color: #fff; }
.f-icon--3 { background: linear-gradient(140deg, #1d4d66, var(--ink)); color: var(--brand); }
.feature-card h4 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.feature-card p { margin-top: 6px; font-size: .95rem; color: var(--muted); }

/* ---------- Steps (timeline) ---------- */
#start .section-head { margin-inline: auto; text-align: center; }
#start .subhead { margin-bottom: 44px; text-align: center; }

.steps { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1180px; margin-inline: auto; }

/* one colour per step, bright cyan -> deep blue -> ink (the logo's own colours) */
.step--1 { --c: #00c8f8; --t: #008bb5; --prev: #00c8f8; --next: #0099db; --l0: #00c8f8; --l2: #00b1e9; }
.step--2 { --c: #0099db; --t: #006fa8; --prev: #00c8f8; --next: #12384c; --l0: #00b1e9; --l2: #096994; }
.step--3 { --c: #12384c; --t: #12384c; --prev: #0099db; --next: #12384c; --l0: #096994; --l2: #12384c; }

/* mobile: vertical timeline; icon and step name share a line, the description runs full width underneath */
.step {
  position: relative; display: grid; grid-template-columns: 28px auto minmax(0, 1fr); column-gap: 14px;
  padding-bottom: 44px;
}
.step:last-child { padding-bottom: 0; }
.step-track { grid-column: 1; grid-row: 1 / span 2; position: relative; }
.step-track::before {
  content: ""; position: absolute; left: 50%; top: 30px; bottom: -74px; width: 4px; border-radius: 4px;
  transform: translateX(-50%); background: linear-gradient(180deg, var(--c), var(--next));
}
.step:last-child .step-track::before { display: none; }
.step-track::after {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 16px; width: 28px; height: 28px; box-sizing: border-box;
  transform: translateX(-50%); border-radius: 50%; background: #fff; border: 5px solid var(--c);
  box-shadow: 0 0 0 6px rgba(0, 200, 248, .16); transition: box-shadow .2s ease;
}
.step-label { grid-column: 3; grid-row: 1; align-self: center; }
.step p { grid-column: 2 / span 2; grid-row: 2; margin-top: 8px; color: var(--ink-3); }
.step-icon {
  grid-column: 2; grid-row: 1; align-self: center;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, var(--tint-100) 72%);
  transition: transform .25s ease;
}
.ill { width: 46px; height: 46px; fill: none; stroke: var(--ink-3); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill .w { fill: #fff; }
.ill .a { fill: var(--brand); }
.ill .ray { stroke: var(--brand); }
.ill .dot { fill: var(--ink-3); stroke: none; }
.ill .k { fill: var(--ink-3); }

.step-num { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--t); }
.step h4 { margin-top: 4px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; color: var(--t); text-wrap: balance; }
.step:hover .step-icon { transform: translateY(-4px); }
.step:hover .step-track::after { box-shadow: 0 0 0 9px rgba(0, 200, 248, .22); }

/* phone timeline: the ring sits on the middle of the icon + step-name row, whatever height that row takes, and the line is stitched from pieces that start and stop at that middle */
@media (max-width: 799px) {
  .step::before, .step::after { content: ""; grid-column: 1; grid-row: 1; justify-self: center; }
  .step::before {
    z-index: 1; align-self: center; width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%;
    background: #fff; border: 5px solid var(--c); box-shadow: 0 0 0 6px rgba(0, 200, 248, .16); transition: box-shadow .2s ease;
  }
  .step::after {                                        /* the icon row: picks up from the step above (44px gap) and runs on to the next piece */
    width: 4px; margin-top: -44px; background: var(--c);
    background: linear-gradient(180deg, color-mix(in srgb, var(--prev), var(--c) 60%), var(--c) 68%, color-mix(in srgb, var(--c), var(--next) 16%));
  }
  .step:first-child::after { align-self: end; height: 50%; margin-top: 0; background: var(--c); background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c), var(--next) 16%)); }
  .step:last-child::after { align-self: start; height: calc(50% + 44px); background: var(--c); background: linear-gradient(180deg, color-mix(in srgb, var(--prev), var(--c) 60%), var(--c)); }
  .step-track { grid-row: 2; justify-self: center; width: 4px; background: var(--c); background: linear-gradient(180deg, color-mix(in srgb, var(--c), var(--next) 16%), color-mix(in srgb, var(--c), var(--next) 60%)); }   /* the description row */
  .step:last-child .step-track { display: none; }
  .step-track::before, .step-track::after { display: none; }
  .step:hover::before { box-shadow: 0 0 0 9px rgba(0, 200, 248, .22); }
}

@media (min-width: 800px) {
  /* desktop: icon, description, timeline, step name — aligned across the three columns */
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step {
    --pad: 22px;
    grid-row: span 4; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; row-gap: 0;
    padding: 0; text-align: center;
  }
  .step:last-child { padding: 0; }
  .step-icon { grid-column: 1; grid-row: 1; justify-self: center; align-self: auto; width: 152px; height: 152px; }
  .ill { width: 116px; height: 116px; }
  .step p { grid-column: 1; grid-row: 2; margin: 0; padding: 22px var(--pad) 40px; }
  .step-track { grid-column: 1; grid-row: 3; height: 32px; }
  .step-track::before, .step:last-child .step-track::before {
    display: block; left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 4px; border-radius: 0;
    transform: translateY(-50%); background: linear-gradient(90deg, var(--l0), var(--c) 50%, var(--l2));
  }
  .step-track::after { left: 50%; top: 50%; width: 32px; height: 32px; transform: translate(-50%, -50%); }
  .step-label { grid-column: 1; grid-row: 4; align-self: stretch; padding: 20px var(--pad) 0; }
  .step h4 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
  .step-num { margin-bottom: 2px; }
}

/* ---------- Promotions ---------- */
.promo-board { display: grid; gap: 12px; }
.promo-feature { aspect-ratio: 16 / 9; align-self: stretch; }   /* matches the banner artwork */
.promo-feature > a, .promo-row > a { display: flex; height: 100%; color: inherit; text-decoration: none; }
.promo-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; }
.promo-icon svg { width: 25px; height: 25px; }
.promo-go {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.promo-go svg { width: 19px; height: 19px; stroke-width: 2.4; }

/* featured card */
.promo-feature > a {
  position: relative; overflow: hidden; isolation: isolate;
  flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 22px; border-radius: 24px; color: var(--ink);
  /* four colourways side by side; --p (set by script.js) slides the visible quarter */
  background-image: linear-gradient(90deg,
    #12d6fc 0%, #00c8f8 12%, #0099db 25%,
    #7ae9ff 25%, #19d9ff 37%, #00b1e9 50%,
    #00c8f8 50%, #0099db 62%, #0079b8 75%,
    #c4f1fd 75%, #5be6ff 87%, #19d9ff 100%);
  background-size: 400% 100%;
  background-position: calc(var(--p, 0) * 33.3333%) 50%;
  box-shadow: 0 24px 44px -26px rgba(0, 200, 248, .6);
  transition: transform .25s ease, box-shadow .25s ease, background-position .9s cubic-bezier(.2, .7, .2, 1);
}
.promo-feature > a::before, .promo-feature > a::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: #fff; }
.promo-feature > a::before { width: 440px; height: 300px; left: -170px; bottom: -180px; opacity: .17; transform: rotate(-14deg); }
.promo-feature > a::after  { width: 260px; height: 260px; right: -100px; top: -120px; opacity: .13; }
.promo-feature > a:hover { transform: translateY(-5px); box-shadow: 0 44px 70px -30px rgba(0, 200, 248, .8); }
.promo-feature .promo-icon { background: var(--ink); color: var(--brand); width: 50px; height: 50px; border-radius: 16px; }
.promo-feature .promo-icon svg { width: 27px; height: 27px; }
.promo-art {
  position: absolute; z-index: 0; right: 10px; top: 10px; width: clamp(104px, 14vw, 156px); height: auto;
  fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: rotate(14deg) scale(.82) translateY(14px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.promo-art.is-on { opacity: 1; transform: rotate(8deg); }
.promo-art .w { fill: #fff; }
.promo-art .k { fill: var(--ink); }
.promo-art .ray { stroke: #fff; }
.promo-feature > a[data-p="3"] .promo-art .ray { stroke: var(--ink-3); }   /* white sparkles vanish on the pale colourway */
.promo-art .thick { stroke-width: 13; }
.promo-art .stripe { stroke-width: 15; stroke-linecap: butt; }
.promo-feature > a:hover .promo-art.is-on { transform: rotate(3deg) scale(1.05); }
/* banner mode: the artwork carries its own text, so the drawn card (icon, art, headline) steps aside */
.promo-banner {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.promo-banner.is-on { opacity: 1; transform: none; }
.promo-feature > a:hover .promo-banner.is-on { transform: scale(1.03); }
.promo-feature > a.has-img .promo-icon, .promo-feature > a.has-img .promo-art { opacity: 0; visibility: hidden; }
.promo-feature > a.has-img .promo-foot {   /* still there for screen readers */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.promo-foot { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.promo-feature h4 { display: flex; flex-direction: column; }
.promo-big { font-size: clamp(3rem, 5.6vw, 4.8rem); font-weight: 800; letter-spacing: -.05em; line-height: .86; }
.promo-feature > a.is-long .promo-big { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: .95; letter-spacing: -.04em; }
.promo-name { margin-top: 8px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.promo-feature .promo-go { width: 46px; height: 46px; background: var(--ink); color: var(--brand); }
.promo-feature > a:hover .promo-go { transform: translateX(4px) rotate(-45deg); }

/* list rows */
.promo-row > a {
  align-items: center; gap: 14px; min-height: 78px; padding: 13px 16px;
  border-radius: 20px; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.promo-row > a:hover { transform: translateX(6px); border-color: var(--brand); background: rgba(255, 255, 255, .1); }
.promo-row h4 { flex: 1; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.promo-row .promo-go { border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; }
.promo-row > a:hover .promo-go { background: var(--brand); border-color: var(--brand); color: var(--ink); transform: translateX(3px); }
/* list rows: a small banner thumbnail, or the icon tile when a promotion has no banner yet */
.promo-thumb {
  display: grid; place-items: center; flex: none; width: 96px; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; background: #0a3a8a;
}
.promo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.promo-row > a:hover .promo-thumb img { transform: scale(1.1); }
.promo-thumb.is-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.promo-thumb.is-icon[data-p="0"] { background: linear-gradient(140deg, #19b4ee, #0079b8); color: #fff; }
.promo-thumb.is-icon[data-p="1"] { background: var(--brand); color: var(--ink); }
.promo-thumb.is-icon[data-p="2"] { background: #fff; color: var(--brand-ink); }
.promo-thumb.is-icon[data-p="3"] { background: linear-gradient(140deg, var(--tint-200), var(--brand)); color: var(--ink); }

/* dots / progress */
.promo-dots { display: none; }
.js .promo-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.promo-dot {
  position: relative; overflow: hidden; width: 11px; height: 11px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .26); cursor: pointer;
  transition: width .45s cubic-bezier(.2, .7, .2, 1), background-color .2s ease;
}
.promo-dot:hover { background: rgba(255, 255, 255, .5); }
.promo-dot.is-active { width: 48px; background: rgba(255, 255, 255, .18); cursor: default; }
.promo-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.promo-dot.is-active .promo-fill { animation: promoFill 3s linear forwards; }   /* how long each promotion stays on the big card (the script moves on when this fill ends) */
@keyframes promoFill { to { transform: scaleX(1); } }
.promo-stage.is-paused .promo-fill { animation-play-state: paused; }
.promo-stage.is-static .promo-dot.is-active .promo-fill { animation: none; transform: none; }

#promotions { padding: 64px 0 68px; }
#promotions .section-head { margin-bottom: 30px; }
#promotions .subhead { margin-bottom: 18px; }

/* ---------- Facts ---------- */
/* ---------- At a glance (bento) ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.bento-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 26px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.bento-icon {
  display: grid; place-items: center; flex: none; width: 50px; height: 50px; margin-bottom: 6px;
  border-radius: 16px; background: var(--tint-100); color: var(--brand-ink);
}
.bento-icon svg { width: 26px; height: 26px; }
.bento-card dt { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.bento-card dd { color: var(--muted); word-break: keep-all; }

/* 24/7 — dark card */
.bento--sup { background: radial-gradient(260px 200px at 100% 0%, rgba(0, 200, 248, .28), transparent 70%), var(--ink); border-color: transparent; color: #fff; }
.bento--sup .bento-icon { background: var(--brand); color: var(--ink); }
.bento--sup dd { color: #b4cbd8; }
.bento--sup:hover { border-color: var(--brand); }

.bento--lan { background: linear-gradient(160deg, var(--tint-100), #fff 85%); }

/* payments — the large cyan card */
.bento--pay {
  color: var(--ink); border-color: transparent; min-height: 320px; justify-content: flex-end;
  background: linear-gradient(140deg, #12d6fc, var(--brand) 48%, var(--brand-deep));
}
.bento--pay::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 300px; border-radius: 50%; left: -170px; bottom: -190px; background: #fff; opacity: .16; transform: rotate(-14deg); }
.bento--pay .bento-icon { background: var(--ink); color: var(--brand); }
.bento--pay dt { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.bento--pay dd { color: #05212e; font-size: 1.04rem; font-weight: 500; max-width: 36ch; }
.bento--pay:hover { border-color: transparent; }
.bento-art {
  position: absolute; z-index: -1; right: 16px; top: 12px; width: clamp(150px, 25vw, 330px); height: auto;
  fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transform: rotate(7deg);
  transition: transform .35s ease;
}
.bento-art .w { fill: #fff; }
.bento-art .k { fill: var(--ink); }
.bento-art .dot { fill: #fff; stroke: none; }
.bento-art .ray { stroke: #fff; }
.bento--pay:hover .bento-art { transform: rotate(2deg) scale(1.05); }

.bento--dev .bento-icon, .bento--wal .bento-icon { background: var(--ink); color: var(--brand); }

/* game categories — wide strip with the six category icons */
.bento--cat { gap: 24px; }
.bento--cat .bento-text { display: flex; flex-direction: column; gap: 10px; }
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-tiles i {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px;
  background: var(--tint-100); color: var(--brand-ink); transition: transform .2s ease;
}
.cat-tiles i:nth-child(2n) { background: var(--ink); color: var(--brand); }
.cat-tiles i svg { width: 28px; height: 28px; }
.bento--cat:hover .cat-tiles i { transform: translateY(-3px); }
.bento--cat:hover .cat-tiles i:nth-child(2n) { transform: translateY(3px); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .3s ease, box-shadow .3s ease; }
/* .is-open is set by script.js the moment you click, so the icon and border animate in sync with the panel;
   [open] covers the no-JS case */
.faq-item.is-open, :root:not(.js) .faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  transition: background-color .2s ease;
}
.faq-item summary:hover h3 { color: var(--brand-ink); }
.faq-item h3 { transition: color .2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background-color: var(--tint-100);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-position: center, center;
  background-size: 14px 2.5px, 2.5px 14px;                 /* plus: horizontal + vertical bar */
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), background-color .3s ease, background-size .3s ease;
}
.faq-item.is-open summary::after, :root:not(.js) .faq-item[open] summary::after {
  background-color: var(--brand);
  background-size: 14px 2.5px, 2.5px 0;                    /* the vertical bar collapses: plus becomes minus */
  transform: rotate(180deg);
}
.faq-item h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.faq-item p { padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }
.faq-item p a { font-weight: 700; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: text-decoration-color .2s ease, color .2s ease; }
.faq-item p a:hover { color: var(--ink); text-decoration-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 72px 0 28px; color: #b4cbd8;
  background: radial-gradient(900px 420px at 10% -10%, rgba(0, 200, 248, .20), transparent 60%), var(--ink);
}
.site-footer::after { /* the icon's swoosh, quietly echoed */
  content: ""; position: absolute; z-index: -1; width: 760px; height: 520px; border-radius: 50%;
  right: -300px; bottom: -330px; background: var(--brand); opacity: .08; transform: rotate(-14deg);
}
.site-footer a:not(.btn):not(.to-top) { color: inherit; }
.site-footer a { text-decoration: none; }

.footer-top { display: grid; gap: 20px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand p { margin-top: 20px; font-size: .98rem; }
.age-note {   /* the age notice: a soft glass card, like the other dark cards on the site */
  display: flex; gap: 16px; align-items: center; margin: 0; padding: 16px 20px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
}
.age-note p { font-size: .9rem; line-height: 1.55; }
.age-badge {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  font-size: .95rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); background: var(--brand);
  box-shadow: 0 0 0 5px rgba(0, 200, 248, .16);
}
.footer-logo { display: inline-block; }   /* the logo has white text and a transparent background, so it sits straight on the dark footer */
.footer-logo img { display: block; height: 52px; width: auto; }
@media (min-width: 760px) {                               /* tablet: the intro sits to the right of the logo, the age note on its own row underneath (phones stack all three) */
  .footer-brand { display: flex; align-items: center; gap: 32px; }
  .footer-logo { flex: none; }
  .footer-brand p { margin-top: 0; }
}
@media (min-width: 1000px) {                              /* desktop: logo and intro on the left, the age note as a card on the right */
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); column-gap: 56px; align-items: center; }
}
.footer-links { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, 1fr); padding: 44px 0; }
/* address + map band, modelled on the winboxmy188 footer: full-width row, map as a wide strip */
.footer-contact-row { display: grid; gap: 22px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
/* APK file details under the download button */
.apk-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin-top: 22px; max-width: 420px; }
.post-meta { margin-bottom: 10px; font-size: .84rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-ink); }
/* ---- blog article: one readable column of prose, no cards ---- */
.post { max-width: 72ch; margin-inline: auto; }
.post > section + section { margin-top: 44px; }
.post h2 {
  margin-bottom: 14px; font-size: clamp(1.3rem, 2.6vw, 1.68rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.3; color: var(--ink);
}
.post p { font-size: 1.06rem; line-height: 1.85; color: var(--ink-2); }
.post p + p { margin-top: 1.05em; }
.post ul { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.post ul li { position: relative; padding-left: 26px; font-size: 1.06rem; line-height: 1.8; color: var(--ink-2); }
.post ul li::before {
  content: ""; position: absolute; left: 4px; top: .66em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand);
}
.post .sb-table { margin-top: 22px; }
.post .apk-spec { margin-top: 20px; }
/* the one box that belongs in an article: the takeaway summary */
.post-key {
  margin: 0 0 8px; padding: 28px 30px; border-radius: 22px;
  background: linear-gradient(140deg, rgba(0, 200, 248, .16), rgba(0, 200, 248, .05));
  border: 1px solid rgba(0, 200, 248, .34);
}
.post-key h2 { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 18px; }
/* the gap BETWEEN items must beat the leading INSIDE one, or wrapped bullets merge into a block.
   NOTE the selectors: `.post ul li` is (0,1,2), so `.post-key li` at (0,1,1) LOSES to it.
   These must stay at `.post .post-key ul li` (0,2,2) or the overrides silently do nothing. */
.post .post-key ul { margin-top: 0; gap: 18px; }
.post .post-key ul li { font-size: 1.02rem; line-height: 1.68; padding-left: 22px; }
/* dot sits on the heading's left edge, so heading and bullets share one margin */
.post .post-key ul li::before { left: 0; top: .62em; width: 7px; height: 7px; }
@media (max-width: 560px) { .post-key { padding: 22px 20px; } }

/* ---- blog post: a dark reading panel centred on a light page ---- */
.section--post { background: #fff; padding: 34px 0 76px; }
.post-back { max-width: 860px; margin: 0 auto 16px; font-size: .9rem; font-weight: 700; }
.post-back a { color: var(--brand-ink); text-decoration: none; }
.post-back a:hover, .post-back a:focus-visible { text-decoration: underline; }
.post-panel {
  max-width: 860px; margin-inline: auto; padding: 48px 56px 56px; border-radius: 24px;
  background: radial-gradient(900px 400px at 85% -8%, rgba(0, 200, 248, .13), transparent 62%), var(--ink-2);
  color: #e3eff6;
}
@media (max-width: 720px) { .post-panel { padding: 32px 22px 40px; border-radius: 18px; } }
.post-panel h1 {
  margin-bottom: 14px; font-size: clamp(1.68rem, 3.8vw, 2.25rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.25; color: #fff;
}
.post-panel .post-meta { color: var(--brand); }
.post-panel .lead { max-width: none; margin-top: 0; color: #cfe4ef; font-weight: 500; }
.post { max-width: none; }          /* the panel sets the measure now */
.post-panel .post h2 { color: #fff; }
/* near-white, not #fff: pure white on a dark ground haloes over a long read */
.post-panel .post p, .post-panel .post ul li { color: #e3eff6; }
.post-panel .post strong { color: #fff; font-weight: 700; }
/* naked URLs are used as anchor text in posts; they must not push the panel wide on a phone */
.post-panel .post a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.post-panel .post a:hover, .post-panel .post a:focus-visible { color: var(--brand-bright); }
.post-panel .post code {
  padding: 2px 7px; border-radius: 7px; font-size: .92em;
  color: var(--brand); background: rgba(0, 200, 248, .12); border: 1px solid rgba(0, 200, 248, .32);
}
.post-panel .post-key {
  background: linear-gradient(140deg, rgba(0, 200, 248, .17), rgba(0, 200, 248, .05));
  border-color: rgba(0, 200, 248, .4);
}
/* --brand-ink is tuned for white backgrounds; on the panel it has to be the bright cyan */
.post-panel .post-key h2, .post-panel .apk-spec dt { color: var(--brand); }
.post-panel .apk-spec dd, .post-panel .sb-name { color: #fff; }
/* a blog is for reading: no hover lift, no scroll-in. That is landing-page behaviour. */
.post-panel .sb-row { transition: none; }
.post-panel .sb-row:hover { transform: none; border-color: rgba(255, 255, 255, .14); box-shadow: none; }
/* share row at the foot of the panel. No transitions: a blog is for reading. */
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.post-share-label { margin-right: 4px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.post-share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  color: #cfe4ef; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15);
}
.post-share-btn:hover, .post-share-btn:focus-visible { color: var(--ink); background: var(--brand); border-color: var(--brand); }
.post-share-btn svg { width: 17px; height: 17px; fill: currentColor; }
.post-share-btn svg.ic-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-share-copy { width: auto; padding: 0 16px; border-radius: 999px; font: inherit; font-size: .86rem; font-weight: 700; }
.post-share-copy.is-done { color: var(--ink); background: var(--brand); border-color: var(--brand); }
@media (max-width: 420px) { .post-share-copy-label { display: none; } .post-share-copy { width: 40px; padding: 0; } }

/* ---- blog comments (moderated: nothing appears until it is approved) ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.post-comments { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.post-comments h2 { margin-bottom: 6px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; color: #fff; }
.post-comments-intro { font-size: .95rem; line-height: 1.7; color: #b9d2e0; }
/* an approved comment. Added by hand after moderation. */
.post-comment { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); }
.post-comment + .post-comment { margin-top: 12px; }
.post-comment-list { margin: 20px 0 4px; }
.post-comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.post-comment-name { font-weight: 800; color: #fff; }
.post-comment-date { font-size: .8rem; color: #9fc0d2; }
.post-comment p { font-size: 1rem; line-height: 1.75; color: #e3eff6; }
/* the form */
.pcf { display: grid; gap: 16px; margin-top: 22px; }
.pcf-row { display: grid; gap: 7px; }
.pcf-row label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.pcf input[type="text"], .pcf textarea {
  width: 100%; padding: 13px 15px; border-radius: 14px; font: inherit; font-size: 1rem;
  color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
}
.pcf input[type="text"]::placeholder, .pcf textarea::placeholder { color: #8fb0c2; }
.pcf input[type="text"]:focus, .pcf textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.pcf textarea { min-height: 128px; line-height: 1.7; resize: vertical; }
.pcf-note { font-size: .88rem; line-height: 1.65; color: #b9d2e0; }
.pcf-actions { display: flex; }
.post-meta a { color: inherit; text-decoration: none; }
.post-meta a:hover, .post-meta a:focus-visible { text-decoration: underline; }
.apk-spec > div { display: flex; flex-direction: column; gap: 2px; }
.apk-spec dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.apk-spec dd { font-size: .98rem; font-weight: 700; }
@media (min-width: 620px) { .apk-spec { grid-template-columns: repeat(4, auto); gap: 4px 30px; max-width: none; } }
/* contact page office block */
.office-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .office-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); column-gap: 48px; align-items: start; } }
.office-label { display: block; margin-bottom: 4px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.office-addr { font-style: normal; font-size: 1.02rem; line-height: 1.8; }
.office-line { margin-top: 18px; font-size: 1.02rem; }
.office-line a { color: var(--brand-ink); font-weight: 700; text-decoration: none; }
.office-line a:hover, .office-line a:focus-visible { text-decoration: underline; }
.office-note { margin-top: 18px; font-size: .94rem; color: var(--ink-2); }
.office-map-embed { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(4, 20, 28, .45); }
.office-map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }
.office-map-link { display: inline-block; margin-top: 12px; font-size: .92rem; color: var(--brand-ink); text-decoration: none; }
.office-map-link:hover, .office-map-link:focus-visible { text-decoration: underline; }
.footer-addr { font-style: normal; font-size: .95rem; line-height: 1.7; color: rgba(255, 255, 255, .74); }
.footer-addr strong, .footer-contact strong { color: rgba(255, 255, 255, .92); font-weight: 700; }
.footer-contact { margin-top: 8px; font-size: .95rem; color: rgba(255, 255, 255, .74); }
.footer-contact a { color: var(--brand); text-decoration: none; }
.footer-contact a:hover, .footer-contact a:focus-visible { text-decoration: underline; }
.footer-map-embed { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, .28); filter: saturate(.85); }
.footer-map-embed iframe { display: block; width: 100%; height: 150px; border: 0; }
.footer-map-link { display: inline-block; margin-top: 10px; font-size: .88rem; color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-map-link:hover, .footer-map-link:focus-visible { color: #fff; text-decoration: underline; }
@media (min-width: 900px) {
  .footer-contact-row { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); column-gap: 48px; align-items: center; }
  .footer-map-embed iframe { height: 170px; }
}
.footer-title { margin-bottom: 14px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.footer-col ul li + li { margin-top: 2px; }
.footer-col a { display: inline-block; padding: 4px 0; font-size: .94rem; transition: color .15s ease, transform .15s ease; }
.footer-col a:hover, .footer-col a:focus-visible { color: #fff; transform: translateX(3px); }
.site-footer :focus-visible { outline-color: var(--brand); }

.footer-meta { display: grid; gap: 28px; padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
/* every footer logo row (Payment, Security, License, Certification) follows ONE rule: each logo is trimmed to its visible shape and sized to the same visual area, so --h (set per logo) is all that differs */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin: 0; padding: 0; list-style: none; }
.logo-row img { display: block; width: auto; height: var(--h, 28px); opacity: .92; }   /* white logos with a transparent background, made for the dark footer */
@media (max-width: 559px) { .logo-row { gap: 14px 20px; } .logo-row img { height: calc(var(--h, 28px) * .78); } }   /* phones: about three logos per row instead of two */
.footer-meta > .footer-pay { flex: 1 1 100%; }   /* the long payment row takes a full row; Security, License and Certification flow beside each other and wrap when they do not fit (ignored in the single-column phone layout) */

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.to-top {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink); background: var(--brand); transition: transform .18s ease, background-color .18s ease;
}
.to-top:hover { transform: translateY(-3px); background: var(--brand-bright); }
.to-top svg { width: 22px; height: 22px; stroke-width: 2.4; }

/* ---------- Floating WhatsApp button (every page, bottom right) ---------- */
.wa-float {
  position: fixed; z-index: 45; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; background: #25d366; box-shadow: 0 12px 26px -8px rgba(4, 20, 28, .55), 0 2px 6px rgba(4, 20, 28, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { position: relative; width: 32px; height: 32px; fill: currentColor; stroke: none; }   /* stroke: none — the global svg rule would outline the glyph and blur the bubble into a blob */
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: 0; animation: wa-pulse 2.8s ease-out 1.5s infinite; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 30px -8px rgba(4, 20, 28, .6), 0 2px 6px rgba(4, 20, 28, .2); }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@keyframes wa-pulse { 0% { opacity: .5; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } .wa-float { transition: none; } }
@media (min-width: 640px) { .wa-float { right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; } .wa-float svg { width: 34px; height: 34px; } }
@media print { .wa-float { display: none; } }

/* ---------- Login page: the Winbox web login fills the whole page under the header ---------- */
/* the login frame takes the first screen, with a slim title bar under it */
.login-page { display: flex; flex-direction: column; height: max(640px, calc(100vh - var(--header-h))); background: #fff; }
@supports (height: 100svh) { .login-page { height: max(640px, calc(100svh - var(--header-h))); } }
.login-head { flex: none; padding: 22px 16px 14px; text-align: center; background: linear-gradient(#fff, var(--tint-50)); }   /* white from the frame above, easing into the tint of the line below */
.login-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.login-frame { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; background: #fff; }
.login-frame::before { content: ""; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--tint-100); border-top-color: var(--brand); animation: login-spin .8s linear infinite; }
.login-frame.is-loaded::before { display: none; }
.login-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.login-alt { padding: 0 16px 28px; text-align: center; font-size: .95rem; color: var(--muted); background: var(--tint-50); }
.login-alt a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.login-alt a:hover { color: var(--brand-ink); }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .login-frame::before { animation: none; } }
@media (max-width: 1359px) { .site-footer { padding-bottom: 104px; } }   /* leaves the floating button its own strip below the copyright line and the back-to-top button */

/* ---------- Reveal on scroll (JS only) ---------- */
.reveal { overflow-anchor: none; }   /* the 18px slide-in below must not take part in scroll anchoring: the browser followed the moving sections and nudged the page ~18px further down on every refresh */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* cards with their own hover transform keep working once revealed */
.js .game-card.reveal.is-in { transition: opacity .6s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .feature-cards { grid-template-columns: repeat(3, 1fr); }
  .feature-card { flex-direction: column; gap: 14px; padding: 24px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card--feature, .game-card--wide { grid-column: auto; }
  .pv-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento--pay, .bento--cat { grid-column: 1 / -1; }
  .bento--pay { min-height: 260px; }
  .bento--cat { order: 10; }
  .cat-tiles { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 1366px) {
  .btn--login { display: none; }
  .nav { display: block; margin-inline: auto; min-width: 0; }
  .nav-toggle { display: none; }

  .nav-backdrop, .nav-head, .nav-ico { display: none; }
  .nav {
    --nav-pad: clamp(10px, calc(10px + (100vw - 1366px) * .030), 13px);
    position: static; display: block; width: auto; background: none; box-shadow: none; overflow: visible;
    transform: none; visibility: visible; transition: none;
  }
  .nav-list { padding: 0; }
  .nav-label { flex: none; }
  .nav-link:hover .nav-ico, .nav-link.is-active .nav-ico { background: none; }
  .nav-list { display: flex; align-items: center; gap: 0; }
  .nav-item { position: relative; flex-wrap: nowrap; height: var(--header-h); border: 0; }
  .nav-link {
    position: relative; flex: none; gap: 0; padding: 8px var(--nav-pad); border-radius: 0;
    font-size: .86rem; white-space: nowrap;
  }
  .nav-link::after {
    content: ""; position: absolute; left: var(--nav-pad); right: var(--nav-pad); bottom: 2px; height: 3px;
    border-radius: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .nav-link:hover::after, .nav-link.is-active::after, .has-sub.is-open > .nav-link::after { transform: scaleX(1); }
  .nav-link--btn { display: inline-flex; width: auto; gap: 4px; }
  .nav-link--btn::after { display: none; }
  .nav-link--btn.is-active::after { display: block; }
  .nav-link--btn > svg, .sub-toggle svg { width: 14px; height: 14px; margin-right: 0; }
  .has-sub > .nav-link:not(.nav-link--btn) { padding-right: 3px; }
  .has-sub > .nav-link:not(.nav-link--btn)::after { right: 3px; }
  .sub-toggle { width: 16px; height: 32px; margin-left: 0; margin-right: calc(var(--nav-pad) - 3px); }
  .nav-item:hover > .sub-toggle, .has-sub.is-open > .sub-toggle { color: var(--brand-ink); }

  .submenu {
    display: block; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 230px; margin: 0; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .22s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility .22s;
  }
  .has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
  @media (hover: hover) {
    .has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: none; }
    .has-sub:hover > .nav-link::after { transform: scaleX(1); }
    .has-sub:hover > .sub-toggle svg, .has-sub:hover > .nav-link--btn > svg { transform: rotate(180deg); }
  }
  .submenu a { white-space: nowrap; color: var(--ink-2); }
  .submenu--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 8px; min-width: 430px; }
  .submenu--wide { min-width: 330px; }
  .submenu--mega { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 28px; min-width: 0; padding: 18px 20px; }
  .sub-group + .sub-group { margin-top: 0; }
  .sub-title { margin: 0 10px 6px; }
  /* items near the right edge open inward */
  .nav-item:nth-last-child(-n+2) > .submenu { left: auto; right: 0; }
}

@media (min-width: 1100px) {
  .footer-links { grid-template-columns: repeat(6, auto); justify-content: space-between; }
}

@media (min-width: 1600px) {
  .btn--login { display: inline-flex; }
  .nav { --nav-pad: 13px; }
}

@media (min-width: 1680px) {
  .nav { --nav-pad: 13px; }
}

@media (min-width: 1900px) {
  .nav { --nav-pad: 13px; }
}

@media (min-width: 960px) {
  .footer-meta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 48px; }   /* groups flow left to right and wrap; Payment takes a full row, Certification sits beside License when there is room */
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; padding-bottom: 96px; }
  .hero-visual { display: block; }
  .stats { margin-bottom: -52px; }

  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .game-card--feature { grid-column: span 2; }
  .game-card--wide { grid-column: auto; }

  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
  .app-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, .9fr); gap: 36px; }
  .feature-cards { grid-template-columns: minmax(0, 1fr); }
  .promo-board { grid-template-columns: 1.1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; }
  .promo-feature { grid-row: 1 / span 3; }
  .promo-feature > a { padding: 26px; }
  .bento {
    grid-template-columns: repeat(4, 1fr); gap: 16px;
    grid-template-areas: "pay pay sup lan" "pay pay dev wal" "cat cat cat cat";
  }
  .bento--sup { grid-area: sup; } .bento--lan { grid-area: lan; } .bento--pay { grid-area: pay; }
  .bento--dev { grid-area: dev; } .bento--wal { grid-area: wal; } .bento--cat { grid-area: cat; }
  .bento--cat { order: 0; }
  .bento--pay { min-height: 340px; padding: 30px; }
  .bento--cat { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 30px; }
  .cat-tiles { grid-template-columns: repeat(6, 64px); }
}

@media (max-width: 480px) {
  .site-footer { padding-top: 56px; }
  .lang-toggle { padding: 0 10px; gap: 4px; }
  .container { width: min(1180px, 100% - 32px); }
  .brand img { height: 36px; }
  .btn--sm { padding: 0 16px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero--compact .cta-row .btn:nth-child(-n + 2) { flex: 1 1 calc(50% - 6px); min-width: 0; padding-inline: 12px; }   /* home hero: Login and Register share a row, Download APK sits full width under them */
  [data-page="download"] .hero .cta-row { flex-wrap: nowrap; }
  [data-page="download"] .hero .cta-row .btn { flex: 1 1 auto; min-width: 0; padding-inline: 14px; }   /* download page hero: Download APK and Login share a row on a phone (each keeps the width its label needs, the spare room is split evenly) */
  [data-page="login"] .hero .cta-row { flex-wrap: nowrap; }
  [data-page="login"] .hero .cta-row .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; }   /* login guide hero: Login and Register share a row on a phone */
  [data-page="register-guide"] .hero .cta-row { flex-wrap: nowrap; }
  [data-page="register-guide"] .hero .cta-row .btn { flex: 1 1 auto; min-width: 0; padding-inline: 14px; }   /* register guide hero: Register Now and Login share a row on a phone */
  .section { padding: 64px 0; }
  .hero + .section { padding-top: 120px; }
  .game-card { padding: 22px; }
  .promo-feature > a { padding: 20px; }
  .promo-row > a { padding: 12px 14px; gap: 12px; min-height: 70px; }
  .promo-thumb { width: 84px; }
}

@media (min-width: 640px) { .pv-pills { flex-wrap: wrap; overflow: visible; padding: 0; margin: 0; } }   /* eight categories: from tablet width they wrap onto a second line instead of hiding off the edge or behind the search box (phones keep the swipeable strip) */
@media (min-width: 1000px) {
  .js .pv-filter { flex-direction: row; align-items: center; justify-content: space-between; gap: 18px; }
  .pv-pills { flex: 1; }
  .js .pv-search { width: 290px; }
}

/* ---------- Slots page ---------- */
.hero--page .hero-grid { padding-bottom: 84px; }
.hero--page .lead + .lead { margin-top: 14px; }
.hero--page + .section { padding-top: 112px; }

/* line-art illustrations (same drawing style as the promotion art) */
.slot-art, .what-art, .live-art, .sports-art, .racing-art, .cock-art, .sv-art, .lotto-art, .fish-art { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.slot-art .k, .what-art .k, .live-art .k, .sports-art .k, .racing-art .k, .cock-art .k, .sv-art .k, .lotto-art .k, .fish-art .k { fill: var(--ink); }
.slot-art .w, .what-art .w, .live-art .w, .sports-art .w, .racing-art .w, .cock-art .w, .sv-art .w, .lotto-art .w, .fish-art .w { fill: #fff; }
.slot-art .a, .what-art .a, .live-art .a, .sports-art .a, .lotto-art .a, .fish-art .a { fill: var(--brand); }
.slot-art .b, .live-art .b, .cock-art .b, .sv-art .b, .lotto-art .b, .fish-art .b { fill: var(--brand-deep); }
.slot-art .ray, .what-art .ray, .live-art .ray, .sports-art .ray, .racing-art .ray, .cock-art .ray, .sv-art .ray, .lotto-art .ray, .fish-art .ray { stroke: #fff; }
.slot-art .seven, .what-art .seven { stroke-width: 15; }
.slot-art .div { stroke: var(--tint-200); stroke-width: 3; }
.slot-art, .live-art, .sports-art, .racing-art, .cock-art, .lotto-art, .fish-art { display: block; width: min(100%, 440px); height: auto; filter: drop-shadow(0 34px 30px rgba(0, 50, 90, .35)); animation: float 7s ease-in-out infinite; }
/* download page: the same scene as the home page app section, mirrored (front phone on the left), with a download in progress on its screen */
.app-visual--dl .podium { transform: scaleX(-1); }
.app-visual--dl .app-stage { left: calc(-43px * var(--s)); }
.app-visual--dl .phone--b { left: 249px; transform: rotate(5deg); }
.app-visual--dl .phone--f { left: 105px; transform: rotate(-5deg); }
.app-visual--dl .coin { left: 323px; }
.app-visual--dl .app-stage .chip--c { right: 108px; top: 92px; }   /* the scene sits 82px further right than on the home page, so this chip moves back by the same amount */
.app-visual--dl .app-stage .chip--d { left: 20px; }
.ps-dl { display: grid; justify-items: center; gap: 12px; padding: 8px 4px 4px; }
.ps-dl i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--ink); box-shadow: 0 12px 20px -10px rgba(0, 120, 170, .6); }
.ps-dl i svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ps-prog { width: 100%; height: 10px; border-radius: 10px; background: var(--tint-200); overflow: hidden; }
.ps-prog span { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--brand); }
.hero--page .hero-visual { padding: 12px 36px; }

/* category bar, overlapping the hero edge like the stat cards on the home page */
.cat-bar {
  position: relative; z-index: 2; display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: -34px; padding: 10px;
  background: #fff; border-radius: 30px; box-shadow: var(--shadow-md);
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;   /* one row that scrolls sideways instead of wrapping underneath */
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar > li { flex: none; }
.cat-bar.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.cat-bar.is-dragging .cat-chip { pointer-events: none; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px;
  font: inherit; font-size: .94rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; text-decoration: none;
  background: var(--tint-50); border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.cat-chip svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cat-chip:hover { background: var(--tint-100); border-color: var(--brand); transform: translateY(-2px); }
.cat-chip.is-active { color: var(--brand); background: var(--ink); }
.cat-chip.is-active:hover { transform: none; border-color: transparent; }

/* hottest slot games: a grid of game tiles, title underneath */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 14px; }
.game-tile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.game-thumb {
  width: 100%; aspect-ratio: 254 / 244; overflow: hidden; border-radius: 16px;
  box-shadow: 0 10px 22px -12px rgba(0, 70, 110, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.game-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.game-tile:hover .game-thumb { transform: translateY(-5px); box-shadow: 0 20px 34px -14px rgba(0, 153, 219, .65); }
.game-tile:hover .game-thumb img { transform: scale(1.06); }
.game-tile h3 { margin-top: 12px; font-size: .92rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--ink-2); text-wrap: balance; }

/* live casino page */
.live-art .ring { fill: none; stroke: var(--ink); stroke-width: 38; }
.live-art .seg { fill: none; stroke: var(--brand); stroke-width: 38; stroke-linecap: butt; stroke-dasharray: 16.1 16.1; }

/* game categories: a slider of poster cards; descriptions are clamped until "See more" */
.cat-slider { margin-inline: -20px; }
.cat-track {
  --gap: 16px; --cw: min(62%, 240px);   /* phones: compact posters with the next one peeking in */
  display: flex; align-items: flex-start; gap: var(--gap); padding: 10px 20px 22px; margin: -6px 0 -12px;   /* room for the hover lift */
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-track:focus-visible { outline-offset: -3px; border-radius: 24px; }
.cat-card { flex: 0 0 var(--cw); min-width: 0; scroll-snap-align: start; }

.cat-poster {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; border-radius: 24px; color: #fff;
  box-shadow: 0 22px 40px -24px rgba(0, 70, 120, .7);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-poster::before { content: ""; position: absolute; z-index: -2; width: 150%; aspect-ratio: 1.45; border-radius: 50%; left: -60%; bottom: -55%; background: #fff; opacity: .13; transform: rotate(-14deg); }
.cat-poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4, 20, 28, .82), rgba(4, 20, 28, .35) 38%, rgba(4, 20, 28, 0) 62%); }
.cat-card p em { font-style: italic; color: var(--ink-2); }
.cat-card:hover .cat-poster { transform: translateY(-6px); box-shadow: 0 32px 48px -24px rgba(0, 153, 219, .75); }
.cat-poster--1 { background: linear-gradient(160deg, #12d6fc, #0099db 55%, #0a3a8a); }
.cat-poster--2 { background: linear-gradient(160deg, #0a3a8a, #0079b8 58%, #00b1e9); }
.cat-poster--3 { background: linear-gradient(160deg, #00b1e9, #0079b8 52%, #12384c); }
.cat-poster--4 { background: linear-gradient(160deg, #19d9ff, #00c8f8 38%, #0070a8); }
.cat-poster--5 { background: linear-gradient(160deg, #12384c, #0a5c8a 52%, #00b1e9); }
.cat-poster--6 { background: linear-gradient(160deg, #0099db, #12d6fc 48%, #0a3a8a); }

.pos-art {
  position: absolute; z-index: -1; left: 6%; top: 5%; width: 88%; height: auto;
  fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 14px 12px rgba(0, 30, 60, .35)); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.cat-card:hover .pos-art { transform: scale(1.06) rotate(-2deg); }
.pos-art .w { fill: #fff; } .pos-art .k { fill: var(--ink); } .pos-art .a { fill: var(--brand); } .pos-art .b { fill: var(--brand-deep); }
.pos-art .ray { stroke: #fff; }
.pos-art .pos-ring { fill: none; stroke: var(--ink); stroke-width: 32; }
.pos-art .pos-seg { fill: none; stroke: var(--brand); stroke-width: 32; stroke-linecap: butt; stroke-dasharray: 13.35 13.35; }
.pos-art .wheel-a { fill: none; stroke: var(--brand); stroke-width: 90; }
.pos-art .wheel-b { fill: none; stroke: var(--ink); stroke-width: 90; stroke-linecap: butt; stroke-dasharray: 11.78 11.78; }
.cat-poster h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 20, 40, .5); text-wrap: balance;
}
.cat-card p {
  margin-top: 14px; font-size: .95rem; line-height: 1.6; color: var(--muted);
  max-height: 24em; overflow: hidden;
  transition: max-height .55s cubic-bezier(.2, .7, .2, 1), margin-top .55s cubic-bezier(.2, .7, .2, 1), opacity .4s ease .1s, visibility 0s;
}
.js .cat-card:not(.is-open) p {
  /* the whole description lives behind "See more"; each card opens on its own */
  max-height: 0; margin-top: 0; opacity: 0; visibility: hidden;
  transition: max-height .45s cubic-bezier(.2, .7, .2, 1), margin-top .45s cubic-bezier(.2, .7, .2, 1), opacity .2s ease, visibility 0s .45s;
}

.see-more {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 28px;
  font: inherit; font-size: 1rem; font-weight: 700; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.see-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.see-more:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(4, 20, 28, .5); }
.see-more[aria-expanded="true"] svg { transform: rotate(180deg); }
/* on a poster card the button is a full-width bar under the art, so it reads as part of the card */
.see-more--card { display: none; width: 100%; justify-content: center; height: 46px; padding: 0 16px; margin-top: 10px; gap: 8px; font-size: .92rem; background: var(--tint-100); border: 0; border-radius: 16px; }
.see-more--card svg { width: 16px; height: 16px; }
.see-more--card:hover { transform: none; box-shadow: none; }
.see-more--card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.js .see-more--card { display: flex; }
.cat-nav { display: none; }
.cat-arrow {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}
.cat-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cat-arrow:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.cat-arrow:disabled { opacity: .35; cursor: default; }

/* pro tips: three coloured cards */
.tip-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tip-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 28px;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.tip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tip-card h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.tip-card p { color: var(--muted); }
.tip-card .bento-icon { width: 56px; height: 56px; }
.tip-card--1 { color: #fff; border-color: transparent; background: radial-gradient(280px 220px at 100% 0%, rgba(0, 200, 248, .3), transparent 70%), var(--ink); }
.tip-card--1 p { color: #b4cbd8; }
.tip-card--1 .bento-icon { background: var(--brand); color: var(--ink); }
.tip-card--2 { color: var(--ink); border-color: transparent; background: linear-gradient(140deg, #12d6fc, var(--brand) 48%, var(--brand-deep)); box-shadow: 0 30px 56px -34px rgba(0, 200, 248, .7); }
.tip-card--2::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 300px; border-radius: 50%; left: -170px; bottom: -190px; background: #fff; opacity: .16; transform: rotate(-14deg); }
.tip-card--2 p { color: #05212e; font-weight: 500; }
.tip-card--2 .bento-icon { background: var(--ink); color: var(--brand); }
.tip-card--3 { background: linear-gradient(160deg, var(--tint-100), #fff 85%); }
.tip-card--3 .bento-icon { background: var(--ink); color: var(--brand); }

@media (min-width: 640px) {
}
@media (min-width: 800px) {
  .tip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
}

/* sports page */
.sports-art .cup { fill: var(--brand); }

/* sportsbook providers: a table that turns into stacked cards on phones */
.sb-table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.sb-table thead { display: none; }
.sb-table tbody, .sb-table tr, .sb-table td, .sb-table th { display: block; }
.sb-row {
  padding: 18px; border-radius: 24px; margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.sb-row:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 22px 40px -24px rgba(0, 200, 248, .5); }
.sb-name { padding: 0 0 14px; margin-bottom: 14px; text-align: left; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sb-id { display: flex; align-items: center; gap: 14px; }
/* the row already had a lift-on-hover; this makes the provider name the actual link it implied */
.sb-id--link { color: inherit; text-decoration: none; transition: color .18s ease; }
.sb-id--link:hover, .sb-id--link:focus-visible { color: var(--brand); }
.sb-go { flex: none; width: 18px; height: 18px; margin-inline-start: auto; opacity: .5; transition: transform .2s ease, opacity .2s ease; }
.sb-id--link:hover .sb-go, .sb-id--link:focus-visible .sb-go { opacity: 1; transform: translateX(3px); }
.sb-thumb {   /* a small portrait card */
  display: block; flex: none; width: 54px; aspect-ratio: 640 / 829;
}
.sb-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }
.sb-thumb--logo { display: flex; align-items: center; justify-content: center; gap: 6px; width: 132px; height: 48px; aspect-ratio: auto; }   /* an operator's own logo, centred in a fixed frame so the names line up */
.sb-thumb--logo img { flex: 0 1 auto; min-width: 0; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: none; }
.sb-thumb--logo.is-trio img { max-width: calc((100% - 12px) / 3); }   /* three small marks side by side */
@media (max-width: 420px) { .sb-thumb--logo { width: 104px; } }
.sb-table td { padding: 0 0 12px; font-size: .96rem; line-height: 1.5; color: #d9eaf2; }
.sb-table td:last-child { padding-bottom: 0; }
.sb-table td::before {
  content: attr(data-label); display: block; margin-bottom: 2px;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}

/* featured leagues */
.league-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.league-card h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.league-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.league-chips li { padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-2); background: var(--tint-100); border: 1px solid var(--tint-200); }
.league-card--1 { color: var(--ink); border-color: transparent; background: linear-gradient(140deg, #12d6fc, var(--brand) 48%, var(--brand-deep)); box-shadow: 0 30px 56px -34px rgba(0, 200, 248, .7); }
.league-card--1::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 320px; border-radius: 50%; left: -190px; bottom: -200px; background: #fff; opacity: .16; transform: rotate(-14deg); }
.league-card--1 .bento-icon { background: var(--ink); color: var(--brand); }
.league-card--1 .league-chips li { color: var(--ink); background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .7); }
.league-card--1:hover { border-color: transparent; }
.league-card--2 { color: #fff; border-color: transparent; background: radial-gradient(260px 200px at 100% 0%, rgba(0, 200, 248, .28), transparent 70%), var(--ink); }
.league-card--2 .bento-icon { background: var(--brand); color: var(--ink); }
.league-card--2 .league-chips li { color: #e6f5fb; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.league-card--2:hover { border-color: var(--brand); }
.league-card--3 .bento-icon, .league-card--4 .bento-icon { background: var(--ink); color: var(--brand); }

@media (min-width: 860px) {
  .sb-table { border-spacing: 0 10px; }
  .draw-table .sb-row > :first-child { width: 40%; }
  .sb-table thead { display: table-header-group; }
  .sb-table tbody { display: table-row-group; }
  .sb-table tr { display: table-row; }
  .sb-table th, .sb-table td { display: table-cell; vertical-align: middle; }
  .sb-table thead th { padding: 0 20px 4px; text-align: left; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
  .sb-table td::before { display: none; }
  .sb-row { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; transform: none; }
  .sb-row:hover { box-shadow: none; transform: none; }
  .sb-row > * {
    padding: 18px 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .05));
    border-block: 1px solid rgba(255, 255, 255, .14); transition: background-color .2s ease, border-color .2s ease;
  }
  .sb-row > :first-child { border-inline-start: 1px solid rgba(255, 255, 255, .14); border-radius: 22px 0 0 22px; width: 25%; }
  .sb-row > :last-child  { border-inline-end: 1px solid rgba(255, 255, 255, .14); border-radius: 0 22px 22px 0; padding-bottom: 18px; }
  .sb-row:hover > * { border-color: var(--brand); background: linear-gradient(180deg, rgba(0, 200, 248, .16), rgba(255, 255, 255, .06)); }
  .sb-name { padding: 18px 20px; margin: 0; }
  .sb-table td { padding: 18px 20px; }
  .sb-table td:last-child { padding-bottom: 18px; }
}
@media (min-width: 640px) {
  .league-grid { grid-template-columns: repeat(2, 1fr); }
  .league-card--1 { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .league-grid { grid-template-columns: repeat(6, 1fr); }
  .league-card--1 { grid-column: span 4; }
  .league-card--2 { grid-column: span 2; }
  .league-card--3, .league-card--4 { grid-column: span 3; }
}

/* racing page */
.racing-art .shoe-o { fill: none; stroke: var(--ink); stroke-width: 58; }
.racing-art .shoe { fill: none; stroke: var(--brand); stroke-width: 40; stroke-linecap: butt; }
.racing-art .m1, .video-art .m1 { fill: var(--brand); }
.racing-art .m2, .video-art .m2 { fill: var(--ink); }
.racing-art .m3, .video-art .m3 { fill: #fff; }
.racing-art .hl { fill: none; stroke: #fff; stroke-width: 4; }

/* the two racing platforms */
.race-grid { display: grid; gap: 18px; }
.race-panel {
  position: relative; display: grid; gap: 22px; padding: 14px; border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.race-panel:hover { border-color: rgba(0, 200, 248, .6); box-shadow: 0 28px 50px -30px rgba(0, 200, 248, .45); }
.race-media { aspect-ratio: 640 / 829; max-height: 480px; justify-self: center; }
.race-media img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .4)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.race-panel:hover .race-media img { transform: scale(1.05); }
/* phones & tablets: the art sits beside the name and the three points run underneath as soft rows */
@media (max-width: 959px) {
  .race-panel { grid-template-columns: clamp(112px, 34vw, 190px) minmax(0, 1fr); grid-template-areas: "media head" "list list"; gap: 18px; padding: 18px; align-items: center; }
  .race-body { display: contents; }
  .race-media { grid-area: media; width: 100%; max-height: none; }
  .race-body h3 { grid-area: head; min-width: 0; }
  .race-brand { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .race-sub { margin-top: 6px; font-size: 1rem; line-height: 1.3; }
  .race-list { grid-area: list; gap: 10px; margin-top: 0; }
  .race-list li { gap: 12px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
  .race-ico { width: 40px; height: 40px; border-radius: 12px; }
  .race-ico svg { width: 22px; height: 22px; }
  .race-list h4 { font-size: 1rem; }
  .race-list p { font-size: .92rem; line-height: 1.55; }
}
@media (max-width: 639px) {
  .race-panel--rev { grid-template-columns: minmax(0, 1fr) clamp(112px, 34vw, 190px); grid-template-areas: "head media" "list list"; }   /* phones: the second panel flips sides for rhythm */
}
@media (min-width: 640px) and (max-width: 959px) {
  .race-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .race-list li { flex-direction: column; gap: 14px; padding: 18px; }
}
.race-body { padding: 6px 10px 12px; align-self: center; }
.race-brand { display: block; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: #fff; }
.race-sub { display: block; margin-top: 8px; font-size: 1.1rem; font-weight: 700; color: var(--brand); }
.race-list { display: grid; gap: 18px; margin-top: 26px; }
.race-list li { display: flex; gap: 14px; align-items: flex-start; }
.race-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: var(--ink); }
.race-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.race-list h4 { font-size: 1.04rem; font-weight: 800; letter-spacing: -.005em; line-height: 1.3; }
.race-list p { margin-top: 3px; font-size: .95rem; color: #b4cbd8; }

/* wager types */
.wager-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.wager-card h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.wager-card p { color: var(--muted); }
.wager-card:nth-child(even) .bento-icon { background: var(--ink); color: var(--brand); }

/* video callout */
.video-card {
  display: grid; gap: 22px; align-items: center; margin-top: 56px; padding: 14px; border-radius: 32px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.video-card p { padding: 4px 12px 12px; font-size: 1.04rem; color: var(--ink-3); }
.video-card strong { color: var(--brand-ink); font-weight: 800; }
.video-embed { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 22px; background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* tutorial video that sits above the step slides */
.tut-video { width: min(960px, 100%); margin: 0 auto 44px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: var(--ink); box-shadow: 0 30px 60px -32px rgba(0, 70, 120, .55); }
.tut-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.tut-video a { color: #fff; }
@media (max-width: 480px) { .tut-video { margin-bottom: 32px; border-radius: 18px; } }

@media (min-width: 640px) {
  .wager-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .race-panel { grid-template-columns: 5fr 7fr; gap: 40px; padding: 18px; align-items: center; }
  .race-panel--rev { grid-template-columns: 7fr 5fr; }
  .race-panel--rev .race-media { order: 2; }
  .race-body { padding: 12px 28px 12px 4px; }
  .race-panel--rev .race-body { padding: 12px 4px 12px 28px; }
  .video-card { grid-template-columns: .9fr 1.1fr; gap: 36px; padding: 18px; }
  .video-card p { padding: 8px 24px 8px 0; font-size: 1.1rem; }
}
@media (min-width: 1100px) {
  .wager-grid { grid-template-columns: repeat(4, 1fr); }
}

/* cockfight page: red / blue corner colours come from the Meron / Wala convention */
.cock-art .red, .sv-art .red, .what-art .red { fill: #ff5a68; }
.cock-art .bolt, .sv-art .bolt { fill: var(--ink); stroke: var(--ink); stroke-width: 4; }
.cock-art .blue, .sv-art .blue, .what-art .blue { fill: var(--brand-deep); }

/* official provider card */
.sv-card {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 16px; border-radius: 26px; max-width: 540px;   /* a small card: tile beside the text, at every width */
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14); transition: border-color .22s ease, box-shadow .22s ease;
}
.sv-card:hover { border-color: rgba(0, 200, 248, .6); box-shadow: 0 28px 50px -30px rgba(0, 200, 248, .45); }
.sv-tile {
  position: relative; display: block; aspect-ratio: 640 / 829;   /* the SV388 card art is portrait and drawn with its own shape, no tile behind it */
}
.sv-tile img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .4)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.sv-card:hover .sv-tile img { transform: scale(1.05); }
.sv-body { align-self: center; padding: 4px 12px 4px 0; }
.sv-body h3 { font-size: clamp(1.9rem, 7vw, 2.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #fff; }
.sv-body p { margin-top: 8px; font-size: .96rem; line-height: 1.5; color: #b4cbd8; max-width: 40ch; }

/* betting outcomes */
.outcome-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.outcome-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 28px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.outcome-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--oc, var(--brand)); }
.outcome-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.outcome-badge {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; margin-top: 4px;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; color: #fff; background: var(--oc, var(--brand));
}
.outcome-badge:is(:empty) { display: none; }
.outcome-card h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.outcome-card p { color: var(--muted); }
.outcome-card--meron { --oc: #ff5a68; }
.outcome-card--wala { --oc: var(--brand-deep); }
.outcome-card--bdd { --oc: var(--ink); }
.outcome-card--ftd { --oc: var(--brand); }
.outcome-card--ftd .outcome-badge { color: var(--ink); }
.outcome-card--bdd .outcome-badge { color: var(--brand); }

@media (min-width: 640px) {
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 359px) {
  .sv-card { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
  .sv-body h3 { font-size: 1.7rem; }
  .sv-body p { font-size: .9rem; }
}
@media (min-width: 560px) {
  .sv-card { grid-template-columns: 116px minmax(0, 1fr); gap: 24px; padding: 16px 20px; border-radius: 28px; }
  .sv-body h3 { font-size: 2.5rem; }
  .sv-body p { font-size: 1.02rem; }
}
@media (min-width: 1100px) {
  .outcome-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 4D page */
.lotto-art .dash, .what-art .dash { stroke: var(--tint-200); stroke-width: 3; stroke-dasharray: 2 10; }
.lotto-art .hl, .what-art .hl { fill: none; stroke: #fff; stroke-width: 4; }
.what-art .hl { stroke: #fff; }

/* the live-results frame (placeholder until the results feed URL exists) */
/* live results: a single iframe, sized by its own rules */
.results-iframe { display: block; width: min(1180px, 100% - 40px); margin-inline: auto; height: clamp(620px, 88vh, 900px); border: 0; border-radius: 24px; background: #f4f4f4; }   /* phones and tablets: framed like the rest of the page (same width as .container) */
@media (max-width: 480px) { .results-iframe { width: min(1180px, 100% - 32px); } }
@media (min-width: 960px) { .results-iframe { width: 100%; border-radius: 0; } }   /* desktop: edge to edge. The iframe sits directly in the section, outside the container, so no 100vw tricks are needed */

/* three-column draw schedule (reuses the provider table) */
.draw-tip {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 22px; border-radius: 24px;
  background: linear-gradient(140deg, rgba(0, 200, 248, .22), rgba(0, 200, 248, .06)); border: 1px solid rgba(0, 200, 248, .4);
}
.draw-tip-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: var(--ink); }
.draw-tip-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.draw-tip p { color: #e6f5fb; }
.draw-tip strong { color: var(--brand); font-weight: 800; }
.draw-tip p a { font-weight: 800; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--brand); transition: color .2s ease; }
.draw-tip p a:hover { color: var(--brand); }

/* call-to-action panel holding a sentence */
.cta-panel--text { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.cta-panel--text p { max-width: 62ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; color: #05212e; }
.cta-panel--text p a { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .8); transition: text-decoration-color .2s ease; }
.cta-panel--text p a:hover { text-decoration-color: var(--ink); }
.cta-panel--text p strong { font-weight: 800; color: var(--ink); }


/* fishing page */
.fish-art .trail { fill: none; stroke: #fff; stroke-width: 5; stroke-dasharray: 2 14; }
.fish-art .stripe { fill: none; stroke: #fff; stroke-width: 7; }
.fish-art .mouth { fill: none; }
.fish-art .ch { fill: none; }
.fish-art .ch circle:first-child { fill: rgba(255, 255, 255, .22); stroke-width: 6; }
.fish-art .ch .k { fill: var(--ink); }

/* six providers: three per row, then six in one row on wide screens */
.pv-grid.pv-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .pv-grid.pv-grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .pv-grid.pv-grid--6 { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 639px) {   /* phones: three provider cards across, so everything inside a card is compacted */
  .pv-grid, .pv-grid.pv-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pv-card { padding: 5px; border-radius: 16px; }
  .pv-card:hover { transform: translateY(-3px); }
  .pv-card .pv-body { padding: 8px 1px 4px; }
  .pv-card .pv-body h3 { font-size: .74rem; line-height: 1.2; letter-spacing: 0; text-wrap: balance; }
  .pv-card .rtp { margin-top: 6px; flex-direction: column; align-items: center; gap: 1px; }
  .pv-card .rtp-label { font-size: .58rem; letter-spacing: .12em; }
  .pv-card .rtp-value { font-size: .86rem; }
  .pv-card .meter { margin-top: 5px; height: 4px; }
}
@media (max-width: 359px) { .pv-card .pv-body h3 { font-size: .68rem; } }   /* the narrowest phones: "Spadegaming" is one long word and must fit its card */

/* ============ download page ============ */
.logo { width: 1em; height: 1em; fill: currentColor; stroke: none; flex: none; }
.logo-droid .limb { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.logo-droid .eye { fill: var(--logo-eye, #fff); }
.logo-droid { width: 1.3em; height: 1.3em; }
.logo-apple { width: 1.05em; height: 1.2em; }
.btn .logo { font-size: 22px; --logo-eye: var(--ink); }

/* hero without the category bar: normal spacing below */
.hero--page.hero--nobar .hero-grid { padding-bottom: 76px; }
/* hero with copy but no artwork: one column, don't leave the 2nd empty */
.hero--solo .hero-grid { grid-template-columns: 1fr; }
.hero--solo .hero-copy { max-width: 60ch; }
/* 4D results: the embed is the point of the page, so it sits flush under the hero instead of a full section gap */
.hero--page.hero--flush .hero-grid { padding-bottom: 32px; }
.section--bar { padding: 30px 0; }   /* a lone category bar does not need a full section band */
.section--bar .cat-bar { margin-bottom: 0; }   /* the -34px overlap is for hanging off a hero edge; in its own band the pill must sit inside the padding, not hang out of the band */
.hero--page.hero--flush + .section { padding-top: 0; padding-bottom: 0; }   /* the embed has no gap above or below: the next band starts right at its bottom edge */
@media (max-width: 959.98px) { .hero--page.hero--flush + .section { padding-top: 18px; padding-bottom: 18px; } }
.hero--page.hero--nobar + .section { padding-top: 88px; }
.hero-platforms { display: flex; gap: 12px; margin-top: 26px; }
.plat { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; font-size: 26px; color: var(--ink); background: rgba(255, 255, 255, .78); box-shadow: 0 10px 22px -12px rgba(0, 60, 100, .5); --logo-eye: #fff; }
.plat-chip { font-size: 30px; --logo-eye: #fff; }
.plat-chip.chip--a { color: #3ddc84; --logo-eye: #fff; }
.plat-chip.chip--b { color: #fff; }
.plat-chip .logo-droid { width: 1.2em; height: 1.2em; }
.hero-visual .app-visual { margin: 0; }
.h-logo { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-right: .35em; vertical-align: -.12em; border-radius: .32em; font-size: .8em; color: var(--ink); background: var(--brand); --logo-eye: var(--brand); }
.h-logo .logo-droid { width: 1.05em; height: 1.05em; }
.h-logo .logo-apple { width: .8em; height: .92em; }

/* key benefits */
.ben-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.ben-card {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 10px;
  min-height: 250px; padding: 26px; border-radius: 28px; color: var(--ink); border: 1px solid transparent;
  box-shadow: 0 26px 48px -32px rgba(0, 120, 180, .6); transition: transform .22s ease, box-shadow .22s ease;
}
.ben-card:hover { transform: translateY(-5px); }
.ben-bg { position: absolute; z-index: -1; right: -26px; top: -26px; width: 190px; height: 190px; opacity: .16; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(10deg); transition: transform .5s ease; }
.ben-card:hover .ben-bg { transform: rotate(2deg) scale(1.08); }
.ben-ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: auto; border-radius: 18px; background: rgba(255, 255, 255, .72); }
.ben-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ben-card h3 { margin-top: 18px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.ben-card p { font-size: .96rem; line-height: 1.55; }
.ben-card--1 { background: linear-gradient(150deg, #12d6fc, var(--brand) 50%, var(--brand-deep)); }
.ben-card--1 p { color: #05212e; font-weight: 500; }
.ben-card--2 { color: #fff; background: radial-gradient(260px 200px at 100% 0%, rgba(0, 200, 248, .3), transparent 70%), var(--ink); }
.ben-card--2 .ben-ico { background: var(--brand); color: var(--ink); }
.ben-card--2 p { color: #b4cbd8; }
.ben-card--3 { color: #fff; background: linear-gradient(150deg, #0a3a8a, #0079b8 58%, #00b1e9); }
.ben-card--3 p { color: #d3f1fb; }
.ben-card--3 .ben-ico { color: #0a3a8a; }
.ben-card--4 { background: linear-gradient(160deg, var(--tint-200), var(--tint-100) 60%, #fff); border-color: var(--tint-200); box-shadow: var(--shadow-sm); }
.ben-card--4 p { color: var(--ink-3); }
.ben-card--5 { background: linear-gradient(150deg, #5be6ff, var(--brand) 46%, #0099db); }
.ben-card--5 p { color: #05212e; font-weight: 500; }

/* phone mock-up + step tabs */
.dl-demo { display: grid; gap: 34px; align-items: center; }
.dl-phone { display: grid; place-items: center; }
.devphone {
  position: relative; width: min(268px, 70vw); aspect-ratio: 9 / 18.4; padding: 9px; border-radius: 42px;
  background: var(--ink); box-shadow: 0 40px 70px -24px rgba(0, 70, 120, .55), inset 0 0 0 2px #1c4258;
}
.devphone::before { content: ""; position: absolute; z-index: 3; top: 15px; left: 50%; width: 74px; height: 20px; border-radius: 12px; background: var(--ink); transform: translateX(-50%); }
.dev-screen { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: linear-gradient(180deg, #e9fbff, #fff 55%); }
.dev-layer { position: absolute; inset: 0; padding: 0 14px 14px; opacity: 0; transform: translateY(10px) scale(.985); pointer-events: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.dev-layer.is-on { opacity: 1; transform: none; }
.d-status { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 14px 6px 0; font-size: .68rem; font-weight: 800; color: var(--ink); }
.d-status i { width: 22px; height: 9px; border-radius: 3px; background: var(--ink); }
.d-url { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.d-url b { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.d-url span { flex: 1; height: 7px; border-radius: 7px; background: var(--tint-200); }
.d-line { display: block; height: 8px; width: 78%; border-radius: 8px; background: var(--tint-200); }
.d-line--s { width: 52%; background: var(--tint-100); }
.d-page { display: grid; justify-items: center; gap: 9px; margin-top: 22px; padding: 18px 12px; border-radius: 22px; background: linear-gradient(160deg, #12d6fc, var(--brand-deep)); }
.d-page .d-line { background: rgba(255, 255, 255, .7); } .d-page .d-line--s { background: rgba(255, 255, 255, .45); }
.d-page--top { margin-top: 18px; }
.d-logo { width: 44px; height: 44px; border-radius: 12px; }
.d-btn { display: grid; place-items: center; min-height: 30px; padding: 0 14px; margin-top: 4px; border-radius: 999px; font-size: .64rem; font-weight: 800; color: var(--brand); background: var(--ink); animation: dTap 2.4s ease-in-out infinite; }
@keyframes dTap { 0%, 60%, 100% { transform: none; } 70% { transform: scale(.94); } 80% { transform: scale(1.04); } }
.d-file { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.d-file > div { flex: 1; display: grid; gap: 5px; }
.d-file b { font-size: .7rem; font-weight: 800; color: var(--ink); }
.d-fico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: .55rem; font-style: normal; font-weight: 800; color: var(--ink); background: var(--brand); }
.d-prog { display: block; height: 6px; border-radius: 6px; background: var(--tint-100); overflow: hidden; }
.d-prog u { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); }
.is-on .d-prog u { animation: dProg 3s ease-out .3s forwards; }
@keyframes dProg { to { width: 100%; } }
.d-head { display: flex; align-items: center; gap: 8px; height: 36px; font-size: .74rem; font-weight: 800; color: var(--ink); }
.d-head svg, .d-row svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.d-set { display: grid; gap: 8px; margin-top: 8px; }
.d-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.d-row .d-line { width: 60%; }
.d-row b { font-size: .64rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.d-row--hl { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 200, 248, .22); }
.d-toggle { position: relative; flex: none; width: 34px; height: 20px; border-radius: 20px; background: var(--tint-200); transition: background-color .3s ease .4s; }
.d-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .3s ease .4s; }
.is-on .d-toggle { background: var(--brand); }
.is-on .d-toggle::after { transform: translateX(14px); }
.d-dialog { display: grid; justify-items: center; gap: 9px; margin-top: 30px; padding: 20px 14px 14px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.d-dialog b { font-size: .74rem; font-weight: 800; color: var(--ink); }
.d-acts { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; }
.d-acts u { flex: 1; height: 28px; border-radius: 999px; background: var(--tint-100); text-decoration: none; }
.d-acts .d-btn { flex: 1; margin: 0; }
.d-login { display: grid; justify-items: center; gap: 9px; margin-top: 20px; padding: 16px 20px; }
.d-login .d-line { width: 100%; } .d-login .d-btn { width: 100%; color: var(--ink); background: var(--brand); }
.d-safari { position: absolute; left: 12px; right: 12px; bottom: 16px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.d-addr { display: block; padding: 7px 12px; border-radius: 999px; text-align: center; font-size: .66rem; font-weight: 700; color: var(--ink-3); background: var(--tint-100); }
.d-skel { display: grid; gap: 7px; margin-top: 12px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.d-dim { filter: saturate(.7) brightness(.82); }
.d-sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; display: grid; gap: 8px; padding: 14px 12px 16px; border-radius: 24px; background: #fff; box-shadow: 0 -18px 40px -16px rgba(0, 40, 70, .5); }
.d-apps { display: flex; gap: 10px; margin-bottom: 4px; }
.d-apps i { flex: 1; aspect-ratio: 1; border-radius: 14px; background: var(--tint-100); }
.d-apps i:first-child { background: var(--brand); }
.d-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 10px; margin-top: 18px; padding: 0 2px; }
.d-grid i { display: block; aspect-ratio: 1; min-width: 0; border-radius: 14px; background: var(--tint-200); }
.d-grid i:nth-child(3n) { background: var(--tint-100); } .d-grid i:nth-child(5n) { background: var(--ink); opacity: .8; }
.d-app { display: grid; min-width: 0; justify-items: center; gap: 4px; font-size: .5rem; font-weight: 800; color: var(--ink); animation: dPop 2.4s ease-in-out infinite; }
.d-app img { width: 100%; aspect-ratio: 1; height: auto; border-radius: 14px; box-shadow: 0 0 0 3px rgba(0, 200, 248, .35); }
@keyframes dPop { 50% { transform: scale(1.12); } }

.dl-steps { display: grid; gap: 12px; }
.dl-step {
  position: relative; padding: 22px 24px 22px 26px; border-radius: 26px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); opacity: .72;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.dl-step:hover { opacity: 1; }
.dl-step.is-active { opacity: 1; border-color: var(--brand); box-shadow: 0 22px 40px -26px rgba(0, 200, 248, .75); transform: translateX(4px); }
.dl-step::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; border-radius: 0 5px 5px 0; background: var(--brand); transform: scaleY(0); transition: transform .3s ease; }
.dl-step.is-active::before { transform: none; }
.dl-num { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--ink); }
.dl-step h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.dl-step p { margin-top: 8px; color: var(--ink-3); }
.dl-step p + p { margin-top: 6px; }
.dl-points { display: grid; gap: 8px; margin-top: 10px; }
.dl-points li { position: relative; padding-left: 22px; color: var(--ink-3); }
.dl-points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.kbd { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .88em; font-weight: 800; color: var(--ink); background: var(--tint-100); border: 1px solid var(--tint-200); white-space: nowrap; }
.dl-step:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* progress bar on the active step: shows how long until the next step takes over */
.dl-step::after { content: ""; position: absolute; left: 26px; right: 24px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.dl-step.is-active::after { animation: dlFill var(--dl-dur, 5500ms) linear forwards; }
.dl-demo.is-idle .dl-step.is-active::after { animation-play-state: paused; }
@keyframes dlFill { to { transform: scaleX(1); } }

.section--dark .dl-step { background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.section--dark .dl-step.is-active { border-color: var(--brand); box-shadow: 0 22px 40px -26px rgba(0, 200, 248, .5); background: linear-gradient(180deg, rgba(0, 200, 248, .16), rgba(255, 255, 255, .05)); }
.section--dark .dl-step p, .section--dark .dl-points li { color: #c8dde8; }
/* the address shown in code type, as in the source copy */
.dl-step code { padding: 1px 8px; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .92em; font-weight: 700; color: var(--brand-ink); background: var(--tint-100); border: 1px solid var(--tint-200); white-space: nowrap; }
.section--dark .dl-step code { color: var(--brand); background: rgba(0, 200, 248, .12); border-color: rgba(0, 200, 248, .35); }
.section--dark .dl-step strong { color: #fff; background: linear-gradient(transparent 62%, rgba(0, 200, 248, .45) 62%); }
.section--dark .dl-num { color: var(--ink); background: var(--brand); }
.section--dark .dl-step:focus-visible { outline-color: var(--brand); }

/* requirements table: stacked cards on phones, a real table from 860px */
.req-table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.req-table thead { display: none; }
.req-table tbody, .req-table tr, .req-table th, .req-table td { display: block; }
.req-row { margin-bottom: 14px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.req-row th { margin-bottom: 12px; padding-bottom: 12px; text-align: left; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; border-bottom: 1px solid var(--tint-100); }
.req-row td { padding: 0 0 12px; font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.req-row td:last-child { padding-bottom: 0; }
.req-row td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.req-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 10px; font-size: 18px; vertical-align: middle; }
.req-and .req-ico { color: var(--ink); background: #3ddc84; --logo-eye: #3ddc84; }
.req-ios .req-ico { color: #fff; background: var(--ink); }

@media (min-width: 640px) {
  .ben-grid { grid-template-columns: repeat(2, 1fr); }
  .ben-card:last-child { grid-column: 1 / -1; min-height: 210px; }
}
@media (min-width: 860px) {
  .req-table { border-spacing: 0 10px; }
  .req-table thead { display: table-header-group; }
  .req-table tbody { display: table-row-group; }
  .req-table tr { display: table-row; }
  .req-table th, .req-table td { display: table-cell; vertical-align: middle; }
  .req-table thead th { padding: 18px 22px; text-align: left; font-size: 1rem; font-weight: 800; color: var(--ink); background: var(--tint-100); }
  .req-table thead th:first-child { border-radius: 20px 0 0 20px; }
  .req-table thead th:last-child { border-radius: 0 20px 20px 0; }
  .req-table thead .req-and { color: var(--ink); background: #c9f4dc; }
  .req-table thead .req-ios { color: #fff; background: var(--ink); }
  .req-table .req-row { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .req-table .req-row td::before { display: none; }
  .req-table .req-row > * { padding: 20px 22px; background: #fff; border-block: 1px solid var(--line); transition: background-color .2s ease, border-color .2s ease; }
  .req-table .req-row > th { width: 28%; margin: 0; border-inline-start: 1px solid var(--line); border-radius: 22px 0 0 22px; font-size: 1.02rem; }
  .req-table .req-row > td:last-child { padding-bottom: 20px; border-inline-end: 1px solid var(--line); border-radius: 0 22px 22px 0; }
  .req-table .req-row:hover > * { background: var(--tint-50); border-color: var(--brand); }
}
@media (min-width: 960px) {
  .dl-demo { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .dl-demo--rev { grid-template-columns: 1.2fr .8fr; }
  .dl-demo--rev .dl-phone { order: 2; }
  .devphone { width: 292px; }
  .ben-grid { grid-template-columns: repeat(6, 1fr); }
  .ben-card { grid-column: span 2; min-height: 290px; }
  .ben-card:nth-child(4), .ben-card:nth-child(5) { grid-column: span 3; min-height: 230px; }
  .ben-card:last-child { grid-column: span 3; }
}

/* ============ contact page ============ */
.contact-art { display: block; width: min(100%, 440px); height: auto; fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 34px 30px rgba(0, 50, 90, .35)); animation: float 7s ease-in-out infinite; }
.contact-art .k { fill: var(--ink); } .contact-art .w { fill: #fff; } .contact-art .a { fill: var(--brand); }
.contact-art .ray { stroke: #fff; } .contact-art .hs { stroke-width: 26; stroke: var(--ink); }
.contact-art .mic { stroke-width: 7; }
.hero--page.hero--contact .hero-grid { padding-bottom: 200px; }

/* the three channels: phones overlap the hero edge, caption and button underneath */
.channels { position: relative; z-index: 2; margin-top: -130px; padding-bottom: 28px; }
.channels-grid { display: grid; gap: 64px 28px; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.channel { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 380px; text-align: center; }
.channel-stage { position: relative; display: grid; place-items: center; width: 100%; padding-bottom: 52px; }
.channel .devphone { width: min(262px, 70vw); transition: transform .3s ease; }
.channel:hover .devphone { transform: translateY(-8px); }
.brand-badge, .brand-badge * { stroke: none; }
.brand-badge { position: absolute; z-index: 4; right: calc(50% - 168px); bottom: 0; width: 112px; height: 112px; filter: drop-shadow(0 18px 18px rgba(0, 30, 60, .4)); transform: rotate(-7deg); transition: transform .3s ease; }
.channel:hover .brand-badge { transform: rotate(0deg) scale(1.08); }
.channel p { max-width: 26ch; font-size: 1.12rem; font-weight: 500; line-height: 1.5; color: var(--ink-3); }
.channel .btn { margin-top: 22px; min-width: 210px; }
.channel .btn .logo { font-size: 24px; }

/* dark phone screens (shapes only: the mock-ups carry no text) */
.dev-screen--wa, .dev-screen--ig, .dev-screen--fb { color: #fff; }
.dev-screen--wa { background: #0b141a; }
.dev-screen--ig { background: #000; }
.dev-screen--fb { background: #18191a; }
.dev-screen--wa .d-status, .dev-screen--ig .d-status, .dev-screen--fb .d-status { color: #fff; }
.dev-screen--wa .d-status i, .dev-screen--ig .d-status i, .dev-screen--fb .d-status i { background: #fff; }
.m-l { display: block; height: 8px; width: 80%; border-radius: 8px; background: rgba(255, 255, 255, .55); }
.m-l.s { width: 52%; background: rgba(255, 255, 255, .3); }
.m-av { width: 38px; height: 38px; flex: none; border-radius: 50%; object-fit: cover; background: #fff; }
.m-bar { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 12px; background: #202c33; }
.m-bar svg { width: 17px; height: 17px; flex: none; fill: none; stroke: #8ea6b3; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-bar .m-l { flex: 1; width: auto; }
.m-chat { display: grid; align-content: start; gap: 10px; padding: 16px 12px; height: calc(100% - 46px - 50px - 56px); background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .035) 0 2px, transparent 2px) 0 0 / 22px 22px, #0b141a; }
.m-bub { display: grid; gap: 6px; width: 74%; padding: 10px 12px; border-radius: 12px; }
.m-bub .m-l { background: rgba(255, 255, 255, .6); }
.m-bub--note { width: 92%; justify-self: center; background: #182229; } .m-bub--note .m-l { background: #f2c94c; opacity: .7; }
.m-bub--out { justify-self: end; background: #005c4b; border-top-right-radius: 3px; }
.m-bub--in { background: #202c33; border-top-left-radius: 3px; width: 56%; }
.m-input { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 12px; background: #0b141a; }
.m-input span { flex: 1; height: 32px; border-radius: 999px; background: #202c33; }
.m-input i { width: 28px; height: 28px; border-radius: 50%; background: #25d366; } .m-input i:first-child { background: #202c33; }

.m-top { display: grid; place-items: center; height: 34px; } .m-top .m-l { width: 38%; background: #fff; }
.m-prof { display: flex; align-items: center; gap: 14px; padding: 6px 14px 0; }
.m-prof .m-av { width: 58px; height: 58px; box-shadow: 0 0 0 2px #000, 0 0 0 4px #c13584; }
.m-stats { flex: 1; display: flex; justify-content: space-around; } .m-stats b { width: 26px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .5); }
.m-lines { display: grid; gap: 6px; padding: 12px 14px 0; }
.m-btns { display: flex; gap: 8px; padding: 12px 14px 0; } .m-btns span { flex: 1; height: 26px; border-radius: 8px; background: #262626; }
.m-stories { display: flex; gap: 12px; padding: 14px 14px 10px; } .m-stories i { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #3a3a3a; background: linear-gradient(140deg, #12d6fc, #0a3a8a); }
.m-grid { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.m-grid i { display: block; aspect-ratio: 1; background: #1c3a52; } .m-grid i:nth-child(2n) { background: #0f5d86; } .m-grid i:nth-child(3n) { background: #00a9d8; } .m-grid i:nth-child(5) { background: #262626; }

.m-cover { position: relative; height: 128px; background: linear-gradient(140deg, #12d6fc, #0a3a8a); overflow: hidden; }
.m-cover span { position: absolute; left: -20%; bottom: -60%; width: 150%; aspect-ratio: 1.4; border-radius: 50%; background: #fff; opacity: .18; transform: rotate(-12deg); }
.m-fbhead { display: flex; align-items: flex-end; gap: 10px; padding: 0 14px; margin-top: -26px; position: relative; }
.m-fbhead .m-av { width: 62px; height: 62px; box-shadow: 0 0 0 3px #18191a; }
.m-fbhead > div { flex: 1; display: grid; gap: 6px; padding-bottom: 6px; }
.m-fbbtn { height: 30px; margin: 14px 14px 0; border-radius: 8px; background: #2d88ff; }
.m-tabs { display: flex; justify-content: space-around; margin-top: 18px; padding: 0 12px; } .m-tabs i { width: 34px; height: 8px; border-radius: 8px; background: #3a3b3c; } .m-tabs i:first-child { background: #2d88ff; }
.m-post { display: grid; gap: 7px; margin: 18px 14px 0; padding: 14px; border-radius: 12px; background: #242526; }

/* self-help cards */
.help-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.help-card {
  display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 16px 20px; border-radius: 24px;
  color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.help-ico { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px; color: var(--brand-ink); background: var(--tint-100); }
.help-grid li:nth-child(even) .help-ico { color: var(--brand); background: var(--ink); }
.help-ico svg, .help-go svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.help-name { flex: 1; font-size: 1.04rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.help-go { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: var(--ink-3); border: 1.5px solid var(--line); transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.help-go svg { width: 18px; height: 18px; stroke-width: 2.4; }
.help-card:hover .help-go { color: var(--ink); background: var(--brand); border-color: var(--brand); transform: translateX(3px); }

@media (min-width: 640px) {
  .help-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .channels-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
  .channel p { min-height: 3em; }   /* two lines, so the three buttons line up */
  .help-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .brand-badge { width: 92px; height: 92px; right: calc(50% - 140px); }
  .channel .btn { width: 100%; }
}

/* ============ promotion hub ============ */
.promohub-art { display: block; width: min(100%, 440px); height: auto; fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 34px 30px rgba(0, 50, 90, .35)); animation: float 7s ease-in-out infinite; }
.promohub-art .k { fill: var(--ink); } .promohub-art .w { fill: #fff; } .promohub-art .a { fill: var(--brand); }
.promohub-art .ray { stroke: #fff; } .promohub-art .pct { stroke-width: 9; }

.pc-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.pc-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 28px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.pc-banner { position: relative; overflow: hidden; aspect-ratio: 996 / 354; background: #0a3a8a; }   /* the frame is the supplied banners' own ratio, so they fit exactly */
.pc-banner img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pc-card:hover .pc-banner img { transform: scale(1.05); }

/* drawn banners: same deep-blue look as the supplied banner, figure from the card's own copy */
.pc-banner--art { display: flex; align-items: center; justify-content: space-between; gap: 4%; padding: 6% 6% 6% 7%; color: #fff; isolation: isolate; container-type: inline-size; }
.pc-banner--art::before { content: ""; position: absolute; z-index: -1; width: 90%; aspect-ratio: 1.5; border-radius: 50%; right: -26%; bottom: -60%; background: #fff; opacity: .14; transform: rotate(-14deg); }
.pc-banner--0 { background: linear-gradient(135deg, #0a3a8a, #0079b8 58%, #00b1e9); }
.pc-banner--1 { background: linear-gradient(135deg, #061f4d, #0a3a8a 52%, #0099db); }
.pc-banner--2 { background: linear-gradient(135deg, #0079b8, #00b1e9 55%, #12d6fc); }
.pc-banner--3 { background: linear-gradient(135deg, #12384c, #0a5c8a 55%, #00b1e9); }
.pb-copy { display: grid; gap: 1.6cqw; flex: 1; min-width: 0; }
.pb-label { font-size: clamp(.58rem, 2.4cqw, .8rem); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #bfeeff; }
.pb-fig { font-size: 12.5cqw; white-space: nowrap; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; text-shadow: 0 3px 0 rgba(4, 20, 28, .35); }
.pb-fig--long { font-size: 9.4cqw; }
.pb-sub { justify-self: start; align-self: start; padding: .5em 1.1em; border-radius: 14px; line-height: 1.3; font-size: clamp(.56rem, 2.1cqw, .74rem); font-weight: 800; letter-spacing: .06em; color: var(--ink); background: var(--brand); }
.pb-ill { flex: none; width: 31%; height: auto; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 12px 12px rgba(0, 20, 60, .4)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pb-ill .w { fill: #fff; } .pb-ill .a { fill: var(--brand); } .pb-ill .k { fill: var(--ink); } .pb-ill .dot { fill: var(--ink); stroke: none; }
.pc-card:hover .pb-ill { transform: scale(1.08) rotate(-3deg); }
/* drawn banners on the cards: the wide frame is shorter, so the figure and illustration are scaled down to sit inside it */
.pc-card .pc-banner--art { padding: 3.5% 5% 3.5% 6%; gap: 3%; }
.pc-card .pb-copy { gap: 1.1cqw; }
.pc-card .pb-fig { font-size: 11cqw; }
.pc-card .pb-fig--long { font-size: 8.4cqw; }
.pc-card .pb-ill { width: 22%; }

.pc-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.pc-body h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.pc-desc { margin-top: 10px; color: var(--ink-3); }
.pc-facts { display: grid; gap: 10px; margin: 18px 0 0; }
.pc-facts div { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: var(--tint-50); border: 1px solid var(--tint-100); }
.pc-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.pc-facts dd { margin: 0; font-weight: 600; color: var(--ink-2); }
.pc-adv { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 16px; font-size: .95rem; color: var(--ink-2); background: linear-gradient(140deg, #fff7dd, #fff); border: 1px solid #ffe7a0; }
.pc-adv strong { font-weight: 800; color: var(--ink); }
.pc-adv em { font-style: italic; }
.pc-card .pc-desc strong { white-space: normal; }
#whatsapp .step p strong { white-space: normal; }   /* defined after the shared highlight rule so it wins: long phrases must wrap in narrow columns */
#claim .step p strong, .tip-card p strong { white-space: normal; }
/* bold words on the coloured tip cards need colours that work on dark and on cyan */
.tip-card--1 p strong { color: #fff; background: linear-gradient(transparent 62%, rgba(0, 200, 248, .5) 62%); }
.tip-card--2 p strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(255, 255, 255, .6) 62%); }   /* long figures must wrap inside narrow cards instead of pushing the text past the edge */
.pc-facts dd a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: text-decoration-color .2s ease, color .2s ease; }
.pc-facts dd a:hover { color: var(--ink); text-decoration-color: var(--brand); }
.pc-adv-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; color: var(--ink); background: #ffd24d; }
.pc-adv-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 22px; }
.pc-actions .btn { flex: 1 1 120px; }

@media (min-width: 860px) {
  .pc-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

/* side by side: every card shares the same rows (banner, title, description, three detail boxes,
   advantage, buttons), so the content lines up across each pair whatever the text length */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 860px) {
    .pc-grid { row-gap: 0; }
    .pc-card { display: grid; grid-template-rows: subgrid; grid-row: span 8; margin-bottom: 26px; }
    .pc-banner { grid-row: 1; }
    .pc-body { display: grid; grid-template-rows: subgrid; grid-row: 2 / span 7; }
    .pc-body h3 { grid-row: 1; }
    .pc-desc { grid-row: 2; }
    .pc-facts { display: grid; grid-template-rows: subgrid; grid-row: 3 / span 3; row-gap: 10px; }
    .pc-adv { grid-row: 6; }
    .pc-actions { grid-row: 7; align-self: end; margin-top: 0; }
    .pc-facts div { align-content: start; }
  }
}
@media (max-width: 480px) {
  .pc-body { padding: 20px 18px 22px; }
}

/* what are winbox slots */
.what-grid { display: grid; gap: 40px; align-items: center; }
.what-copy p { margin-top: 22px; font-size: 1.1rem; color: var(--ink-3); }
.what-card {
  position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center;
  min-height: 280px; padding: 34px; border-radius: 32px;
  background: linear-gradient(140deg, #12d6fc, var(--brand) 48%, var(--brand-deep));
  box-shadow: 0 34px 60px -32px rgba(0, 200, 248, .65);
}
.what-card::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 320px; border-radius: 50%; left: -190px; bottom: -200px; background: #fff; opacity: .16; transform: rotate(-14deg); }
.what-art { width: min(100%, 380px); height: auto; filter: drop-shadow(0 22px 22px rgba(0, 50, 90, .3)); }

/* types of slot games */
.type-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.type-card h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.type-card p { color: var(--muted); }
.type-card:nth-child(even) .bento-icon { background: var(--ink); color: var(--brand); }

/* why play slots */
.why-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; padding: 38px 24px; border-radius: 32px;
  background: linear-gradient(140deg, #12d6fc, var(--brand) 48%, var(--brand-deep));
  box-shadow: 0 30px 56px -32px rgba(0, 200, 248, .7);
}
.cta-panel::before { content: ""; position: absolute; z-index: -1; width: 560px; height: 360px; border-radius: 50%; left: -220px; bottom: -230px; background: #fff; opacity: .16; transform: rotate(-14deg); }

@media (min-width: 640px) {
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .type-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 800px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid:not(.why-grid--even) .why-card:first-child { grid-column: 1 / -1; }   /* five items: lead with a wide one */
}
@media (min-width: 860px) {
  .game-grid { grid-template-columns: repeat(7, 1fr); gap: 28px 18px; }
  .game-tile h3 { font-size: 1rem; }
}
@media (min-width: 960px) {
  .what-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .type-grid { grid-template-columns: repeat(6, 1fr); }
  .type-card { grid-column: span 2; }
  .type-card:nth-child(4), .type-card:nth-child(5) { grid-column: span 3; }
  .type-card:last-child { grid-column: span 3; }  .type-grid--3 .type-card { grid-column: span 2; }   /* three cards in one row */
}
@media (max-width: 480px) {
  .cat-chip { padding: 0 14px; height: 42px; font-size: .9rem; }
  .cta-panel .btn { flex: 1 1 100%; }
}

/* category poster slider: how many posters are visible, ascending */
@media (min-width: 640px)  { .cat-slider { margin-inline: 0; } .cat-track { --cw: calc((100% - var(--gap) * 2.6) / 2.6); padding-inline: 0; scroll-padding-inline: 0; } .js .cat-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; } }
@media (min-width: 960px)  { .cat-track { --cw: calc((100% - var(--gap) * 4.4) / 4.4); } }

/* provider grid columns, ascending so each breakpoint overrides the one before */
@media (min-width: 960px)  { .pv-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .pv-grid { grid-template-columns: repeat(5, 1fr); } }

/* app illustration scale, ascending so each breakpoint overrides the one before */
@media (min-width: 480px)  { .app-visual { --s: .88; } }
@media (min-width: 640px)  { .app-visual { --s: 1.1; } }
@media (min-width: 960px)  { .app-visual { --s: .7; } }
@media (min-width: 1100px) { .app-visual { --s: .8; } }
@media (min-width: 1220px) { .app-visual { --s: .9; } .app-grid { gap: 40px; } }

/* small phones (320-380px): the header has to fit logo + Login + Register + menu in one row (the language switcher is in the drawer on phones) */
@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .brand img { height: 30px; }
  .header-actions { gap: 6px; }
  .lang-toggle { height: 38px; padding: 0 8px; gap: 3px; }
  .lang-code { display: none; }
  .header-actions .btn--sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }
  .nav-toggle { width: 40px; height: 40px; margin-left: 0; }
}
@media (max-width: 340px) {                                /* 320px phones: Login + Register + menu need a little less padding to stay inside the page gutter */
  .header-actions { gap: 5px; }
  .header-actions .btn--sm { padding: 0 11px; font-size: .85rem; }
}

/* small phones: nothing may be wider than the content area */
.dl-step p strong, .dl-points li strong { white-space: normal; }
@media (max-width: 480px) {
  .cat-slider { margin-inline: -16px; }      /* the page gutter is 16px here, not 20px */
}
/* the phone illustration is 470px wide at scale 1: shrink it only when the screen is too narrow for it */
@media (max-width: 375px) { .app-visual { --s: .66; } }
@media (max-width: 345px) { .app-visual { --s: .58; } }

/* ============ welcome bonus page ============ */
.hero-banner { position: relative; overflow: hidden; width: min(100%, 520px); border-radius: 28px; box-shadow: 0 40px 60px -26px rgba(0, 40, 90, .55), 0 0 0 6px rgba(255, 255, 255, .35); transform: rotate(2deg); transition: transform .4s ease; }
.hero-banner img { display: block; width: 100%; height: auto; }
.hero-visual:hover .hero-banner { transform: rotate(0); }
.hero--page .hero-visual:has(.hero-banner) { padding: 12px 36px; }

/* two-column specification table (reuses the requirements table) */
.req-table--2 .req-row td { font-size: 1.04rem; }
@media (min-width: 860px) {
  .req-table--2 .req-row > th { width: 36%; }
  .req-table--2 thead th { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
}

/* worked turnover example: tiles, then the formula, then the result */
.calc { display: grid; gap: 20px; }
.calc-title { font-size: 1.1rem; font-weight: 800; letter-spacing: .02em; color: var(--brand); }
.calc-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.calc-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); }
.calc-tile dt { font-size: .8rem; font-weight: 700; line-height: 1.3; color: #b4cbd8; }
.calc-tile dd { margin: 0; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.calc-tile:nth-child(3) dd { color: var(--brand); }
.calc-tile:nth-child(4) { background: linear-gradient(140deg, #12d6fc, var(--brand) 55%, var(--brand-deep)); border-color: transparent; }
.calc-tile:nth-child(4) dt { color: #05212e; } .calc-tile:nth-child(4) dd { color: var(--ink); }
.calc-formula { display: grid; gap: 10px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 30px 56px -34px rgba(0, 200, 248, .6); }
.calc-line { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: clamp(.82rem, 2.3vw, 1.1rem); font-weight: 700; line-height: 1.5; color: var(--ink-3); overflow-wrap: anywhere; }
.calc-line--result { color: var(--ink); }
.calc-total { padding: 2px 12px; border-radius: 10px; font-weight: 800; color: var(--ink); background: var(--brand); white-space: nowrap; }
.calc-note { margin: 0; max-width: 70ch; font-size: 1.04rem; color: #c8dde8; }

/* extra phone-screen shapes for the claim guide */
.d-form { display: grid; gap: 9px; margin-top: 16px; padding: 0 4px; }
.d-field { display: block; height: 32px; border-radius: 10px; background: #fff; border: 1.5px solid var(--tint-200); }
.d-field--s { width: 60%; }
.d-field--ok { position: relative; border-color: #34d6a0; }
.d-field--ok u { position: absolute; right: 10px; top: 8px; width: 14px; height: 8px; border-left: 3px solid #34d6a0; border-bottom: 3px solid #34d6a0; transform: rotate(-45deg); }
.d-btn--full { width: 100%; margin-top: 4px; min-height: 34px; color: var(--ink); background: var(--brand); }
.d-idcard { display: flex; align-items: center; gap: 12px; margin: 14px 4px 0; padding: 14px; border-radius: 16px; background: linear-gradient(140deg, #d9f6ff, #fff); border: 1px solid var(--tint-200); }
.d-idcard > div { flex: 1; display: grid; gap: 7px; }
.d-idphoto { width: 40px; height: 46px; border-radius: 10px; background: linear-gradient(140deg, var(--brand), var(--brand-deep)); }
.d-amounts { display: flex; gap: 8px; margin: 14px 4px 0; }
.d-chip { flex: 1; display: grid; place-items: center; height: 34px; border-radius: 10px; font-size: .68rem; font-weight: 800; color: var(--ink-3); background: #fff; border: 1.5px solid var(--tint-200); }
.d-chip.is-pick { color: var(--ink); background: var(--brand); border-color: var(--brand); }
.d-methods { display: grid; gap: 8px; margin: 12px 4px 0; }
.d-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px var(--brand); }
.d-dot--off { background: #fff; box-shadow: 0 0 0 2px var(--tint-200); }
.d-promo { display: grid; gap: 9px; margin: 14px 4px 0; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.d-promo--hl { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 200, 248, .22); }
.d-pbanner { display: grid; place-items: center; height: 64px; border-radius: 12px; background: linear-gradient(135deg, #0a3a8a, #00b1e9); }
.d-pbanner b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.d-pbanner--alt { height: 46px; background: linear-gradient(135deg, #12384c, #0a5c8a); }
.d-wallet { display: grid; justify-items: center; gap: 6px; margin: 16px 4px 0; padding: 18px 12px; border-radius: 20px; background: linear-gradient(160deg, #12d6fc, var(--brand-deep)); }
.d-wallet strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.d-wallet .d-line { background: rgba(255, 255, 255, .6); }
.d-badge { padding: 4px 12px; border-radius: 999px; font-size: .62rem; font-weight: 800; color: var(--ink); background: #fff; animation: dPop 2.4s ease-in-out infinite; }
.d-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }

/* the closing call-to-action button on this page */
.btn--caps { text-transform: uppercase; letter-spacing: .06em; }
.btn--caps svg { width: 22px; height: 22px; stroke-width: 2.4; }
@media (max-width: 420px) { .btn--caps { padding-inline: 18px; letter-spacing: .03em; font-size: .94rem; } }   /* long uppercase labels must fit a 305px-wide column */
.cta-panel--text .btn { white-space: normal; text-align: center; }

@media (min-width: 640px) { .calc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 800px) {
  .why-grid:not(.why-grid--even) .why-card:first-child { grid-column: 1 / -1; }
}

/* ============ lucky365 championship page ============ */
.hero-banner--art { transform: rotate(2deg); background: #0a3a8a; width: clamp(280px, 38vw, 520px); }   /* the drawn banner has no intrinsic size, so it needs an explicit one */
.hero-banner--art .pc-banner { aspect-ratio: 16 / 9; }
.hero-banner--art .pb-fig { font-size: 13.5cqw; }
.hero-banner--art .pb-fig--long { font-size: 10cqw; }   /* long figures like RM1,000,000 must not run under the illustration */

/* prize table (3 columns, on the dark section) */
.prize-table.req-table thead th { color: var(--brand); background: rgba(255, 255, 255, .06); border: 0; }
.prize-table .req-row { background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.prize-table .req-row th { color: #fff; border-color: rgba(255, 255, 255, .12); }
.prize-table .req-row td { color: #d9eaf2; }
.prize-table .req-row td::before { color: var(--brand); }
.rank-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 12px; border-radius: 50%; font-size: .8rem; font-weight: 800; color: var(--brand); background: rgba(0, 200, 248, .14); vertical-align: middle; }
.prize-amt { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; }
.prize-table .req-row td.prize-amt { font-weight: 800; }
/* bold in the dark prize tables is just heavier white text (no underline); the "each" after an amount stays light */
.prize-table .req-row td strong { font-weight: 800; color: #fff; background: none; }
.prize-table .prize-row--1 td strong { color: var(--ink); }
.prize-each { font-weight: 500; }
.prize-table .prize-row--top td.prize-amt { font-size: 1.4rem; color: var(--brand); }
.prize-row--1 { background: #0fd0fb !important; border-color: transparent !important; }
.prize-row--1 th, .prize-row--1 td, .prize-table .prize-row--1 td.prize-amt { color: var(--ink) !important; }
.prize-row--1 td::before { color: #05212e !important; }
.prize-row--1 .rank-badge { color: var(--brand); background: var(--ink); }
.prize-row--pool .prize-amt { font-size: 1rem; font-weight: 700; color: #d9eaf2; }
.prize-row--pool .rank-badge { color: #b4cbd8; background: transparent; }

/* monthly calendar: a vertical timeline */
.timeline { position: relative; display: grid; gap: 16px; margin: 0; padding-left: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; }   /* circle centred on its card */
/* the connector runs through the circle centres: lower half of one row + the gap + upper half of the next */
.tl-item:not(:last-child)::before { content: ""; position: absolute; z-index: 0; left: 26.5px; top: 50%; bottom: -16px; width: 3px; background: var(--tint-200); }
.tl-item:not(:first-child)::after { content: ""; position: absolute; z-index: 0; left: 26.5px; top: 0; height: 50%; width: 3px; background: var(--tint-200); }
.tl-node { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--ink); background: var(--brand); box-shadow: 0 0 0 6px rgba(0, 200, 248, .18); }
.tl-item:nth-child(even) .tl-node { color: var(--brand); background: var(--ink); }
.tl-node svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-card { padding: 20px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tl-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.tl-num .tl-colon { margin-left: -.12em; letter-spacing: 0; }   /* copy keeps its "Step 1 :" spacing, but the tag no longer drifts apart at wide letter-spacing */
.tl-num { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: var(--brand); background: var(--ink); }
.tl-card h3 { margin-top: 10px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.tl-card p { margin-top: 6px; color: var(--ink-3); }

/* phone-screen shapes: slots lobby, spinning reels, leaderboard */
.d-lobby { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 16px 4px 0; }
.d-lobby i { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; background: var(--tint-200); }
.d-lobby i:nth-child(2n) { background: var(--tint-100); }
.d-lobby i.is-pick { grid-column: span 3; aspect-ratio: auto; height: 74px; display: grid; place-items: center; background: linear-gradient(135deg, #0a3a8a, #00b1e9); box-shadow: 0 0 0 3px rgba(0, 200, 248, .3); animation: dPop 2.4s ease-in-out infinite; order: -1; }
.d-lobby i.is-pick em { font-style: normal; font-size: .95rem; font-weight: 800; letter-spacing: .06em; color: #fff; }
.d-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 4px 0; padding: 10px; border-radius: 18px; background: var(--ink); }
.d-reels > div { display: grid; gap: 7px; padding: 6px; border-radius: 12px; background: #fff; overflow: hidden; }
.d-reels i { display: block; aspect-ratio: 1; border-radius: 10px; background: var(--tint-200); }
.d-reels > div:nth-child(2) i:nth-child(2) { background: var(--brand); }
.d-reels > div:nth-child(1) i:nth-child(2) { background: var(--brand); }
.d-reels > div:nth-child(3) i:nth-child(2) { background: var(--brand); }
.is-on .d-reels > div { animation: dSpin 1.4s ease-in-out .3s 2; }
@keyframes dSpin { 0%, 100% { transform: none; } 40% { transform: translateY(-8px); } 70% { transform: translateY(5px); } }
.d-turn { display: grid; gap: 7px; margin: 14px 4px 0; }
.d-turn em { display: block; height: 10px; border-radius: 10px; background: var(--tint-100); overflow: hidden; }
.d-turn u { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); }
.is-on .d-turn u { animation: dProg 3.2s ease-out .4s forwards; }
.d-rank { display: flex; align-items: center; gap: 10px; margin: 8px 4px 0; padding: 9px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.d-rank i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; font-style: normal; font-size: .62rem; font-weight: 800; color: var(--ink); background: var(--tint-200); }
.d-rank .d-line { flex: 1; width: auto; }
.d-rank b { flex: none; width: 34px; height: 8px; border-radius: 8px; background: var(--tint-200); }
.d-rank--1 { background: linear-gradient(135deg, #12d6fc, var(--brand-deep)); border-color: transparent; }
.d-rank--1 i { color: var(--brand); background: var(--ink); }
.d-rank--1 .d-line { background: rgba(255, 255, 255, .7); } .d-rank--1 b { background: rgba(255, 255, 255, .85); }
.d-rank--me { margin-top: 14px; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 200, 248, .22); animation: dPop 2.4s ease-in-out infinite; }
.d-rank--me i { color: var(--ink); background: var(--brand); }

@media (min-width: 860px) {
  .req-table--3 .req-row > th { width: 32%; }
  .req-table--3 .req-row > td:nth-child(2) { width: 26%; }
  .prize-table.req-table .req-row > * { background: transparent; border-block-color: rgba(255, 255, 255, .14); }
  .prize-table.req-table .req-row { background: none; border: 0; box-shadow: none; }
  .prize-table.req-table .req-row > th { border-inline-start-color: rgba(255, 255, 255, .14); }
  .prize-table.req-table .req-row > td:last-child { border-inline-end-color: rgba(255, 255, 255, .14); }
  .prize-table.req-table .req-row > * { background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .05)); }
  .prize-table.req-table .req-row:hover > * { border-color: var(--brand); background: linear-gradient(180deg, rgba(0, 200, 248, .16), rgba(255, 255, 255, .06)); }
  .prize-table .prize-row--1 > * { background: #0fd0fb !important; border-color: transparent !important; }
  .tl-item { grid-template-columns: 64px minmax(0, 1fr); gap: 22px; }
  .tl-item:not(:last-child)::before, .tl-item:not(:first-child)::after { left: 30.5px; }
  .tl-node { width: 64px; height: 64px; }
}

/* ============ rescue bonus page ============ */
.boost { display: grid; gap: 18px; }
.boost-title { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--brand-ink); }
.boost-intro { margin: 0; max-width: 70ch; font-size: 1.06rem; color: var(--muted); }
.boost-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.boost-card { display: flex; flex-direction: column; gap: 18px; justify-content: center; padding: 28px; border-radius: 28px; box-shadow: 0 26px 48px -32px rgba(0, 120, 180, .6); transition: transform .22s ease; }
.boost-card:hover { transform: translateY(-4px); }
.boost-card p { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.55; }
.boost-card--1 { color: var(--ink); background: linear-gradient(140deg, #12d6fc, var(--brand) 50%, var(--brand-deep)); }
.boost-card--2 { color: #fff; background: radial-gradient(280px 200px at 100% 0%, rgba(0, 200, 248, .3), transparent 70%), var(--ink); }
.boost-card--2 p { color: #d9eaf2; font-weight: 500; }
.boost-days { display: flex; flex-wrap: wrap; gap: 10px; }
.boost-days span { display: grid; place-items: center; min-width: 72px; height: 64px; padding: 0 16px; border-radius: 18px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); background: var(--ink); box-shadow: 0 12px 22px -12px rgba(4, 20, 28, .6); }
.boost-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: var(--ink); background: var(--brand); }
.boost-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.boost-card .lead-in { font-weight: 800; color: var(--brand); }
/* bold phrases inside the two boost cards: white underline on the cyan card, cyan underline on the dark one */
.boost-card p strong { font-weight: 800; white-space: normal; }
.boost-card--1 p strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(255, 255, 255, .55) 62%); }
.boost-card--2 p strong:not(.lead-in) { color: #fff; background: linear-gradient(transparent 62%, rgba(0, 200, 248, .5) 62%); }
.boost .calc-formula { box-shadow: var(--shadow-md); border: 1px solid var(--line); }
@media (min-width: 860px) { .boost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }

/* extra phone-screen shapes: turnover chart, screenshot frame, wallet line */
.d-line--big { width: 62%; height: 22px; background: rgba(255, 255, 255, .85) !important; }
.d-bars { display: flex; align-items: flex-end; gap: 7px; height: 118px; margin: 14px 4px 0; padding: 12px 12px 0; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.d-bars i { flex: 1; height: var(--h, 50%); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); transform-origin: bottom; }
.is-on .d-bars i { animation: dGrow .8s cubic-bezier(.2, .7, .2, 1) both; }
.d-bars i:nth-child(2) { animation-delay: .06s !important; } .d-bars i:nth-child(3) { animation-delay: .12s !important; } .d-bars i:nth-child(4) { animation-delay: .18s !important; }
.d-bars i:nth-child(5) { animation-delay: .24s !important; } .d-bars i:nth-child(6) { animation-delay: .3s !important; } .d-bars i:nth-child(7) { animation-delay: .36s !important; }
@keyframes dGrow { from { transform: scaleY(0); } to { transform: none; } }
.d-bars--sm { height: 70px; margin: 0 0 4px; padding: 8px 8px 0; border: 0; background: var(--tint-50); }
.d-snap { position: relative; display: grid; gap: 8px; margin: 14px 4px 0; padding: 18px 16px; border-radius: 16px; background: #fff; }
.d-corner { position: absolute; width: 18px; height: 18px; border: 3px solid var(--brand); }
.d-corner--tl { left: 4px; top: 4px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.d-corner--tr { right: 4px; top: 4px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.d-corner--bl { left: 4px; bottom: 4px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.d-corner--br { right: 4px; bottom: 4px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.d-shutter { display: grid; place-items: center; margin-top: 18px; }
.d-shutter i { display: block; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--brand), 0 8px 18px -6px rgba(0, 120, 180, .5); animation: dPop 2.4s ease-in-out infinite; }

/* ============ monthly lucky draw page ============ */
/* golden ticket formula with a real fraction */
.tk-formula { padding: 30px 24px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.tk-eq { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: clamp(.9rem, 2.6vw, 1.25rem); font-weight: 700; color: var(--ink); text-align: center; }
.tk-floor { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 300; line-height: 1; color: var(--brand-ink); }
.frac { display: inline-flex; flex-direction: column; align-items: stretch; text-align: center; }
.frac-top { padding: 0 14px 6px; border-bottom: 3px solid var(--ink); }
.frac-bot { padding: 6px 14px 0; }
.tk-title { margin: 34px 0 16px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; color: var(--brand-ink); }
.tk-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tk-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.tk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.tk-card p strong { font-weight: 800; color: var(--ink); background: linear-gradient(transparent 60%, rgba(0, 200, 248, .35) 60%); }
.tk-tag { align-self: flex-start; padding: 4px 14px; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--ink); }
.tk-card p { margin: 0; font-size: 1.12rem; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.tk-stubs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tk-stubs i { position: relative; display: block; width: 34px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #12d6fc, var(--brand-deep)); }
.tk-stubs i::before, .tk-stubs i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; }
.tk-stubs i::before { left: -4px; } .tk-stubs i::after { right: -4px; }
.tk-card:nth-child(2) .tk-stubs i { background: linear-gradient(135deg, #0a3a8a, #00b1e9); }
.tk-card:nth-child(3) .tk-stubs i { background: linear-gradient(135deg, var(--ink-3), #0a5c8a); }
.tk-note { display: flex; gap: 12px; align-items: center; margin: 22px 0 0; padding: 16px 20px; border-radius: 18px; font-weight: 600; color: var(--ink-2); background: linear-gradient(140deg, #fff7dd, #fff); border: 1px solid #ffe7a0; }
.tk-note-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; color: var(--ink); background: #ffd24d; }
.tk-note-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 760px) { .tk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* four-column prize table */
.req-table--4 .req-row td:nth-child(3) { font-weight: 700; }
@media (min-width: 860px) {
  .req-table--4 .req-row > th { width: 24%; }
  .req-table--4 .req-row > td:nth-child(2) { width: 32%; }
  .req-table--4 .req-row > td:nth-child(3) { width: 14%; }
}

/* phone-screen shapes: ticket list and live stream */
.d-tickets { display: grid; gap: 8px; margin: 14px 4px 0; }
.d-ticket { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 12px; background: linear-gradient(135deg, #12d6fc, var(--brand-deep)); }
.d-ticket::before, .d-ticket::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #f1fcff; }
.d-ticket::before { left: -7px; } .d-ticket::after { right: -7px; }
.d-ticket b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .66rem; font-weight: 800; color: var(--brand); background: var(--ink); }
.d-ticket .d-line { flex: 1; width: auto; background: rgba(255, 255, 255, .7); }
.d-ticket.is-dim { background: var(--tint-200); } .d-ticket.is-dim b { color: var(--ink-3); background: #fff; } .d-ticket.is-dim .d-line { background: #fff; }
.is-on .d-ticket { animation: dSlide .5s cubic-bezier(.2, .7, .2, 1) both; }
.is-on .d-ticket:nth-child(2) { animation-delay: .1s; } .is-on .d-ticket:nth-child(3) { animation-delay: .2s; } .is-on .d-ticket:nth-child(4) { animation-delay: .3s; } .is-on .d-ticket:nth-child(5) { animation-delay: .4s; }
@keyframes dSlide { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.d-video { position: relative; display: grid; place-items: center; margin: 18px 4px 0; aspect-ratio: 16 / 11; border-radius: 16px; background: linear-gradient(135deg, #0a3a8a, #00b1e9); overflow: hidden; }
.d-livebadge { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; font-size: .56rem; font-weight: 800; letter-spacing: .1em; color: #fff; background: #ff3b4f; animation: dPop 2s ease-in-out infinite; }
.d-vplay { display: block; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); position: relative; }
.d-vplay::after { content: ""; position: absolute; left: 17px; top: 13px; border: 9px solid transparent; border-left: 14px solid var(--ink); border-right: 0; }

/* ============ angpao storm page ============ */
/* red envelope shapes for the phone screens (red is the traditional angpao colour) */
.d-env { position: relative; display: block; width: 100%; height: 100%; border-radius: 10px; background: linear-gradient(160deg, #ff6a76, #e03a4a); box-shadow: 0 8px 16px -6px rgba(224, 58, 74, .7); overflow: hidden; }
.d-env-flap { position: absolute; left: -10%; right: -10%; top: -34%; height: 78%; border-radius: 0 0 50% 50%; background: rgba(255, 255, 255, .16); }
.d-env-seal { position: absolute; left: 50%; top: 52%; width: 36%; aspect-ratio: 1; margin: -18% 0 0 -18%; border-radius: 50%; background: #ffd24d; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .45); }
.d-float { position: absolute; right: 18px; bottom: 36px; width: 58px; height: 74px; filter: drop-shadow(0 12px 12px rgba(224, 58, 74, .5)); animation: dBob 2s ease-in-out infinite; }
@keyframes dBob { 50% { transform: translateY(-10px) rotate(-4deg); } }
.d-openenv { position: relative; width: 78%; height: 210px; margin: 54px auto 0; }
.d-open-body { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; border-radius: 14px; background: linear-gradient(160deg, #ff6a76, #e03a4a); box-shadow: 0 16px 26px -10px rgba(224, 58, 74, .7); z-index: 2; }
.d-open-body .d-env-seal { top: 28%; width: 22%; margin: -11% 0 0 -11%; }
.d-open-flap { position: absolute; left: 0; right: 0; bottom: 118px; height: 64px; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #ff8791, #ff6a76); transform-origin: bottom; transform: perspective(300px) rotateX(-160deg); opacity: .0; z-index: 1; }
.d-open-card { position: absolute; left: 12%; right: 12%; bottom: 96px; display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border-radius: 12px; background: #fff; z-index: 1; box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .3); }
.d-line--ink { background: var(--ink) !important; opacity: .85; }
.is-on .d-open-card { animation: dRise 1s cubic-bezier(.2, .8, .2, 1) .2s both; }
@keyframes dRise { from { transform: translateY(70px); } to { transform: translateY(-26px); } }
.d-spark { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #ffd24d; opacity: 0; }
.d-spark--1 { left: 24%; top: 70px; } .d-spark--2 { right: 22%; top: 100px; background: var(--brand); } .d-spark--3 { left: 46%; top: 54px; width: 7px; height: 7px; }
.is-on .d-spark { animation: dTwinkle 1.6s ease-in-out .5s infinite; }
@keyframes dTwinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.3); } }

/* ============ 4d ekor super jackpot page ============ */
/* worked-example formula as pieces: result = counter payout + overlay */
.jp-eq { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin: 0; font-size: clamp(.95rem, 2.6vw, 1.2rem); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); text-align: center; }
.jp-lhs { color: var(--brand-ink); }
.jp-term { padding: 10px 18px; border-radius: 16px; background: var(--tint-100); border: 1px solid var(--tint-200); }
.jp-term--hi { color: var(--ink); background: linear-gradient(135deg, #12d6fc, var(--brand)); border-color: transparent; }
.jp-plus { font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--brand-ink); }
/* phone screens: operator picker, bet digits, draw result */
.d-ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 22px 4px 0; }
.d-op { display: flex; align-items: center; gap: 8px; padding: 12px 10px; border-radius: 14px; background: #fff; border: 1.5px solid var(--tint-200); }
.d-op i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--tint-200); }
.d-op b { flex: 1; height: 8px; border-radius: 8px; background: var(--tint-100); }
.d-op--pick { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 200, 248, .22); animation: dPop 2.4s ease-in-out infinite; }
.d-op--pick i { background: var(--brand); }
.d-btn--wide { margin: 14px 4px 0; }
.d-digits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 26px 4px 0; }
.d-digits b { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 14px; font-size: 1.5rem; font-weight: 800; color: var(--ink); background: #fff; border: 1.5px solid var(--tint-200); }
.d-draw { display: grid; justify-items: center; gap: 12px; margin: 22px 4px 0; padding: 20px 12px; border-radius: 20px; background: linear-gradient(160deg, #12d6fc, var(--brand-deep)); }
.d-draw .d-line { background: rgba(255, 255, 255, .6); }
.d-balls { display: flex; gap: 8px; }
.d-balls b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; font-weight: 800; color: var(--ink); background: #fff; }
.d-balls--wild b { width: 44px; height: 44px; font-size: 1.25rem; background: #ffd24d; box-shadow: 0 0 0 4px rgba(255, 255, 255, .5); animation: dPop 2.4s ease-in-out infinite; }

/* ============ usdt supercharge page ============ */
/* phone screens: deposit address + QR, exchange-to-wallet transfer */
.d-qr { display: grid; place-items: center; margin: 14px 4px 0; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.d-qr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; width: 104px; aspect-ratio: 1; }
.d-qr-grid i { display: block; border-radius: 3px; background: var(--tint-100); }
.d-qr-grid i.on { background: var(--ink); }
.d-addr { display: flex; align-items: center; gap: 10px; margin: 10px 4px 0; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--brand); animation: dPop 2.4s ease-in-out infinite; }
.d-addr .d-line { flex: 1; width: auto; }
.d-addr svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--brand-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d-xfer { display: grid; justify-items: center; gap: 10px; margin: 26px 8px 0; }
.d-xbox { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 14px; border-radius: 18px; background: #fff; border: 1.5px solid var(--tint-200); }
.d-xbox i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tint-200); }
.d-xbox .d-line { flex: 1; width: auto; }
.d-xbox--to { background: linear-gradient(160deg, #12d6fc, var(--brand-deep)); border-color: transparent; }
.d-xbox--to i { background: #fff; }
.d-xbox--to .d-line { background: rgba(255, 255, 255, .7); }
.d-xarrow { display: grid; justify-items: center; gap: 4px; }
.d-xarrow b { padding: 4px 12px; border-radius: 999px; font-size: .66rem; font-weight: 800; color: var(--brand); background: var(--ink); }
.d-xarrow svg { width: 30px; height: 36px; fill: none; stroke: var(--brand-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: dDown 1.6s ease-in-out infinite; }
@keyframes dDown { 0%, 100% { transform: translateY(-4px); opacity: .5; } 50% { transform: translateY(5px); opacity: 1; } }

/* ============ vip daily rebate page ============ */
/* tier table: the VIP rate stands out */
.rate-table .req-row td { font-size: 1.04rem; }
.rate-val { font-weight: 800; color: var(--ink); }
.rate-table .req-row td:last-child { font-weight: 800; color: var(--ink); }   /* rollover column is bold in the doc */
.rate-vip { display: inline-block; padding: 3px 14px; border-radius: 999px; font-weight: 800; color: var(--ink); background: var(--brand); }
@media (min-width: 860px) {
  .rate-table thead th { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
  .rate-table .req-row > th { width: 30%; }
  .rate-table .req-row > td:nth-child(2), .rate-table .req-row > td:nth-child(3) { width: 21%; }
}
/* worked example: two category cards and the total */
.rb-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.rb-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); }
.rb-label { font-size: .82rem; font-weight: 700; line-height: 1.3; color: #b4cbd8; }
.rb-turn { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.rb-eq { font-size: 1.04rem; font-weight: 600; line-height: 1.45; color: #c8dde8; }
.rb-eq b { padding: 2px 10px; border-radius: 10px; font-weight: 800; color: var(--ink); background: var(--brand); white-space: nowrap; }
.rb-card--total { background: linear-gradient(140deg, #12d6fc, var(--brand) 55%, var(--brand-deep)); border-color: transparent; }
.rb-card--total .rb-label, .rb-card--total .rb-eq { color: #05212e; }
.rb-card--total .rb-turn { color: var(--ink); }
@media (min-width: 760px) { .rb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
/* phone screens: midnight clock, wallet with two actions */
.d-clock { display: grid; justify-items: center; gap: 12px; margin: 26px 4px 0; padding: 26px 14px; border-radius: 22px; background: var(--ink); }
.d-clock strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--brand); }
.d-clock .d-line { background: rgba(255, 255, 255, .35); }
.d-clock-bar { display: block; width: 78%; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.d-clock-bar b { display: block; height: 100%; width: 100%; border-radius: 8px; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.is-on .d-clock-bar b { animation: dFill 3.2s ease-out .3s forwards; }
@keyframes dFill { to { transform: scaleX(1); } }
.d-wallet--s { padding: 14px 12px; }
.d-amounts--tall .d-chip { height: 44px; font-size: .78rem; }

/* ============ about us page ============ */
/* hero art: logo tile in the middle, the five games around it */
.about-art { display: block; width: min(100%, 520px); height: auto; fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 34px 30px rgba(0, 50, 90, .35)); animation: float 7s ease-in-out infinite; }
.about-art .w { fill: #fff; }
.about-art .ring { stroke: #fff; stroke-width: 3; stroke-dasharray: 2 12; opacity: .85; }
.about-art .ln { stroke: #fff; stroke-width: 3; opacity: .7; }
.about-art .pulse { fill: rgba(255, 255, 255, .22); stroke: none; transform-origin: 210px 190px; animation: aboutPulse 3.2s ease-in-out infinite; }
.about-art .sat .ic { stroke-width: 1.8; }
@keyframes aboutPulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.22); opacity: .2; } }
/* mission: statement on the left, the four pillars stacked on the right */
.mission-grid { display: grid; gap: 28px; }
.mission-grid .section-head { margin-bottom: 0; }
.mission-grid .why-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) {
  .mission-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
  .mission-grid .section-head { position: sticky; top: 112px; }
}
/* portfolio: five game types, three across then two */
.port-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.port-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.port-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.port-ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 8px; border-radius: 18px; color: var(--brand); background: var(--ink); box-shadow: 0 14px 24px -14px rgba(4, 20, 28, .8); }
.port-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.port-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.port-card p { margin: 0; font-size: 1.04rem; color: var(--muted); }
.port-card p strong { font-weight: 800; color: var(--ink); background: linear-gradient(transparent 60%, rgba(0, 200, 248, .3) 60%); }
.port-card p a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.port-card p a:hover { color: var(--ink); text-decoration-color: var(--brand); }
@media (min-width: 640px) {
  .port-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .port-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .port-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .port-card { grid-column: span 2; }
  .port-card:nth-child(n + 4) { grid-column: span 3; }
}
@media (min-width: 980px) { .port-grid--3 .port-card:last-child { grid-column: span 2; } }   /* three cards: one row of three */
/* responsible gaming: one calm cyan panel */
.resp-panel { position: relative; display: flex; align-items: center; gap: 24px; padding: 36px 28px; border-radius: 32px; color: var(--ink); background: linear-gradient(135deg, #12d6fc, var(--brand) 55%, var(--brand-deep)); overflow: hidden; isolation: isolate; box-shadow: 0 34px 60px -38px rgba(0, 120, 180, .8); }
.resp-panel::before { content: ""; position: absolute; z-index: -1; width: 62%; aspect-ratio: 1.5; border-radius: 50%; right: -18%; bottom: -70%; background: #fff; opacity: .16; transform: rotate(-14deg); }
.resp-ico { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 24px; color: var(--ink); background: #fff; box-shadow: 0 18px 30px -16px rgba(4, 20, 28, .5); }
.resp-ico svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.resp-panel h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.resp-panel p { margin: 12px 0 0; max-width: 62ch; font-size: clamp(1.02rem, 1.5vw, 1.18rem); font-weight: 600; color: #05212e; }
@media (max-width: 639px) { .resp-panel { flex-direction: column; align-items: flex-start; padding: 30px 24px; } }

/* ============ legal pages (terms, privacy) ============ */
.legal-art { display: block; width: min(100%, 500px); height: auto; fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 34px 30px rgba(0, 50, 90, .35)); animation: float 7s ease-in-out infinite; }
.legal-art .w { fill: #fff; } .legal-art .k { fill: var(--ink); } .legal-art .a { fill: var(--brand); }
.legal-art .l { stroke: var(--tint-200); stroke-width: 9; } .legal-art .d { stroke: rgba(255, 255, 255, .28); stroke-width: 9; }
.legal-art .ck { stroke-width: 11; }
.legal { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }   /* minmax(0,…) so the scrolling chip row cannot widen the page */
.legal-body { display: grid; gap: 18px; min-width: 0; }
/* contents: a scrolling chip row on phones, a sticky list beside the text on desktop */
.legal-toc { min-width: 0; }
.legal-toc ol { display: flex; gap: 8px; margin: 0 -20px; padding: 2px 20px 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.legal-toc ol::-webkit-scrollbar { display: none; }
@media (max-width: 480px) { .legal-toc ol { margin-inline: -16px; padding-inline: 16px; } }   /* the page gutter is 16px here, not 20px */
.legal-toc a { display: block; text-decoration: none; padding: 9px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; white-space: nowrap; color: var(--ink-2); background: #fff; border: 1px solid var(--line); transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.legal-toc a:hover { color: var(--ink); border-color: var(--brand); }
.legal-toc a.is-active { color: var(--ink); background: var(--brand); border-color: var(--brand); }
@media (min-width: 980px) {
  .legal { grid-template-columns: 290px minmax(0, 1fr); gap: 44px; align-items: start; }
  .legal-toc { position: sticky; top: 104px; padding: 18px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .legal-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .legal-toc a { padding: 10px 12px; border: 0; border-radius: 14px; font-size: .92rem; line-height: 1.35; white-space: normal; background: none; }
  .legal-toc a:hover { background: var(--tint-100); }
  .legal-toc a.is-active { background: var(--brand); }
}
.legal-sec { padding: 26px 22px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.legal-sec h2 { font-size: clamp(1.18rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.sec-num { color: var(--brand-ink); }
.terms { display: grid; margin: 0; }
.term { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); }
.term:first-child { border-top: 0; }
.term dt { font-size: 1rem; font-weight: 800; line-height: 1.35; color: var(--ink); }
.term dd { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink-3); }
.term dd strong { font-weight: 800; color: var(--ink); background: linear-gradient(transparent 60%, rgba(0, 200, 248, .3) 60%); }
.term dd a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.term dd a:hover { color: var(--ink); text-decoration-color: var(--brand); }
.term-sub li strong { font-weight: 800; color: var(--ink); }
.term-sub { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.term-sub li { position: relative; padding: 12px 16px 12px 44px; border-radius: 16px; background: var(--tint-50); border: 1px solid var(--tint-200); color: var(--ink-2); }
.term-sub li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 14px; height: 8px; border-left: 3px solid var(--brand-ink); border-bottom: 3px solid var(--brand-ink); transform: rotate(-45deg); }
.legal-p { margin: 16px 0 0; font-size: 1.04rem; line-height: 1.65; color: var(--ink-3); }
.legal-p:first-of-type { margin-top: 8px; }
.legal-p strong { font-weight: 800; color: var(--ink); background: linear-gradient(transparent 60%, rgba(0, 200, 248, .3) 60%); }
.legal-p a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.legal-p a:hover { color: var(--ink); text-decoration-color: var(--brand); }
.legal-p + .terms { margin-top: 12px; border-top: 1px solid var(--line); }   /* a lead-in sentence sits above the labelled points */
.legal-p + .terms .term:first-child { border-top: 0; }
.legal-art .in { fill: #fff; stroke: none; opacity: .28; }
.legal-art .sh { stroke-width: 11; }
.legal-art .kh { stroke-width: 8; }
@media (min-width: 760px) {
  .legal-sec { padding: 32px 36px; }
  .term { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
}

/* ============ login page ============ */
/* a button named inside a sentence ("Tap the Login button above"): shown as a small pill, brackets dropped */
.btn-ref { display: inline-block; padding: 1px 11px; border-radius: 999px; font-weight: 800; line-height: 1.5; color: var(--brand); background: var(--ink); }
.dl-step .btn-ref, .port-card .btn-ref { font-size: .92em; }
.login-phone { display: grid; place-items: center; }
.login-phone .devphone { transform: rotate(4deg); width: min(268px, 70vw); }
.d-face { position: relative; display: grid; place-items: center; width: 110px; height: 110px; margin: 26px auto 0; }
.d-face svg { width: 52px; height: 52px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: dPop 2.4s ease-in-out infinite; }
.d-face .d-corner { width: 24px; height: 24px; }
.d-btn--wide { margin: 14px 4px 0; }
.faq-wrap .section-head p { margin-top: 10px; }

/* ============ register guide page ============ */
.hero-feats { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-feats li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; font-size: .94rem; font-weight: 700; line-height: 1.3; color: var(--ink); background: rgba(255, 255, 255, .34); border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.hf-ck { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; color: var(--brand); background: var(--ink); }
.hf-ck svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.why-card p { word-break: keep-all; }   /* "Chinese (中文)" must not split between the two characters */
.d-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.d-otp i { display: block; aspect-ratio: 3 / 4; border-radius: 8px; background: #fff; border: 1.5px solid var(--tint-200); }
.d-otp i.on { background: var(--tint-100); border-color: var(--brand); }

/* ============ real name authentication page ============ */
.legal-art .pf { stroke: var(--ink); stroke-width: 7; fill: none; }
/* slideshow stage: wide, 16:9, shows the tutorial screenshots */
.rna-wrap { min-width: 0; }
.rna-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, #f5f7f8, #d9dee1); box-shadow: 0 34px 60px -36px rgba(0, 70, 120, .55), 0 0 0 1px rgba(4, 20, 28, .06); }
.dev-layer--fill { padding: 0; }
.dev-layer--fill img { display: block; width: 100%; height: 100%; object-fit: cover; }
.is-on .dl-step--plain p { margin-top: 10px; font-size: 1.04rem; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.dl-step--plain p a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); }
@media (min-width: 980px) {
  .dl-demo--wide { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 52px; align-items: start; }
  .dl-demo--wide .rna-wrap { position: sticky; top: calc(var(--header-h) + 28px); }
  .dl-demo--wide .dl-step { padding: 18px 22px 20px; }
}

/* ============ referral page ============ */
.legal-art .ln { stroke: #fff; stroke-width: 3; stroke-dasharray: 3 9; opacity: .8; }
.legal-art .av { stroke: var(--ink); }
.legal-art .qrg { fill: var(--ink); stroke: none; }
.d-tabbar { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; justify-content: space-around; align-items: center; height: 46px; border-radius: 16px; background: #fff; box-shadow: 0 10px 20px -12px rgba(0, 60, 100, .5); }
.d-tabbar i { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--tint-200); }
.d-tabbar i.on { background: var(--brand); box-shadow: 0 0 0 5px rgba(0, 200, 248, .28); animation: dPop 2.4s ease-in-out infinite; }
.d-band { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 20px 14px; border-radius: 22px; background: linear-gradient(160deg, #12d6fc, var(--brand-deep)); }
.d-band .d-line { flex: 1; width: auto; background: rgba(255, 255, 255, .7); }
.d-band-av { display: block; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.d-band-av--s { width: 38px; height: 38px; background: var(--tint-200); }
.d-qricon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: #fff; outline: 3px dashed var(--ink); outline-offset: 3px; animation: dPop 2.4s ease-in-out infinite; }
.d-qricon svg { width: 22px; height: 22px; fill: var(--ink); stroke: none; }
.d-qrcard { display: grid; justify-items: center; gap: 12px; margin: 22px 6px 0; padding: 20px 16px; border-radius: 22px; background: #fff; box-shadow: 0 20px 34px -22px rgba(0, 70, 120, .55); }
.d-qrcard svg { width: 138px; height: 138px; fill: var(--ink); stroke: none; }

/* ============ withdrawal tutorial page ============ */
.legal-art .arr { stroke: #fff; stroke-width: 9; }
.legal-art .bk { stroke: var(--ink); stroke-width: 7; }
.tk-title + .boost-intro { margin: -6px 0 18px; }
.d-btn--full.d-btn--wide { width: calc(100% - 8px); }   /* full width minus its side margins, so it lines up with the fields above it */
.cta-panel--help { flex-direction: column; align-items: center; gap: 12px; margin-top: 34px; padding: 40px 24px; }
.cta-panel--help h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: var(--ink); }
.help-ico { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 16px 28px -16px rgba(4, 20, 28, .5); }
.help-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ top-up tutorial page ============ */
.legal-art .coin { stroke: var(--ink); } .legal-art .cn { stroke: var(--ink); stroke-width: 11; }
.legal-art .qrg { fill: var(--ink); stroke: none; }
/* numbered step cards above the platform slides */
.step-cards { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step-cards .dl-num { align-self: flex-start; }
/* platform tabs */
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 6px; width: fit-content; max-width: 100%; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tab { min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; font: inherit; font-size: .98rem; font-weight: 800; color: var(--ink-2); background: none; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.tab:hover { color: var(--ink); background: var(--tint-100); }
.tab.is-active { color: var(--ink); background: var(--brand); box-shadow: 0 10px 20px -12px rgba(0, 200, 248, .9); }
.tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.tab-panel[hidden] { display: none; }
/* stacked slideshow: stage on top, the brief description of every slide underneath */
.dl-demo--stack { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.dl-demo--stack .rna-wrap { width: min(100%, 760px); margin-inline: auto; }
.dl-demo--stack .dl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }   /* twelve steps would be a very long single column on a phone */
.dl-demo--stack .dl-step { padding: 18px 20px 20px; }
.dl-demo--stack .dl-step.is-active { transform: translateY(-3px); }
@media (max-width: 559px) { .dl-demo--stack .dl-step { padding: 14px 14px 16px; } .dl-demo--stack .dl-step p { font-size: .94rem; } .dl-demo--stack .dl-step.is-active { transform: none; } }
@media (min-width: 1000px) { .dl-demo--stack { grid-template-columns: minmax(0, 1fr); gap: 28px; } .dl-demo--stack .dl-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* methods table */
.method-table .req-row td { font-size: 1.04rem; }
.spd { display: inline-block; padding: 3px 14px; border-radius: 999px; font-weight: 800; color: var(--ink-2); background: var(--tint-100); }
.spd--now { color: var(--ink); background: var(--brand); }
@media (min-width: 860px) {
  .method-table .req-row > th { width: 24%; }
  .method-table .req-row > td:nth-child(2) { width: 52%; }
}

/* ============ usdt deposit page ============ */
.legal-art .node { stroke: var(--ink); } .legal-art .nk { stroke: var(--ink); stroke-width: 7; }
.legal-art .tt { stroke: var(--ink); stroke-width: 15; }

/* ============ usdt withdrawal page ============ */
.d-head--cur { justify-content: flex-start; }
.d-cur { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; font-size: .62rem; font-weight: 800; color: var(--ink); background: #fff; border: 1.5px solid var(--tint-200); }
.d-cur svg { width: 11px; height: 11px; }
.d-cur--hl { color: var(--ink); background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 200, 248, .28); animation: dPop 2.4s ease-in-out infinite; }
.d-order { display: grid; gap: 12px; margin: 16px 4px 0; padding: 18px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.d-order .d-line:nth-child(2) { width: 40%; }

/* ============ ekor lottery tutorial page ============ */
.legal-art .dd { stroke: var(--tint-200); stroke-width: 5; stroke-dasharray: 4 9; }
.legal-art .bt text { font-size: 40px; font-weight: 800; fill: var(--ink); stroke: none; }
.legal-art .bt .bw { fill: #fff; }
/* bet 1 vs bet 2 table */
.bet-table .req-row td { font-size: 1.02rem; }
.bet-table .ex { display: block; width: fit-content; margin-top: 8px; padding: 4px 12px; border-radius: 10px; font-size: .9rem; font-weight: 700; color: var(--brand-ink); background: var(--tint-100); }
@media (min-width: 860px) {
  .bet-table .req-row > th { width: 18%; }
  .bet-table .req-row > td:nth-child(2) { width: 41%; }
}
.step-line { margin: 0; font-size: 1.06rem; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.step-line a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); overflow-wrap: anywhere; }
/* navigation figures: a phone with every button outlined */
.nav-fig { display: grid; place-items: center; padding: 34px 20px; border-radius: 32px; background: radial-gradient(120% 120% at 30% 20%, #f5f9fb, #dbe9f0); box-shadow: 0 34px 60px -36px rgba(0, 70, 120, .5), 0 0 0 1px rgba(4, 20, 28, .06); }
.nav-fig .devphone { width: min(268px, 70vw); }
.nav-fig.is-all [data-r] { outline: 2.5px dashed var(--ink); outline-offset: 3px; }
/* the mock bet slip inside the phone */
.eb { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px 12px 0; }   /* minmax(0,…): a row of nine chips must not stretch the whole grid past the screen edge */
.eb-row { display: flex; align-items: center; gap: 5px; min-width: 0; min-height: 40px; padding: 6px 9px; border-radius: 12px; background: #fff; border: 1.5px solid var(--tint-200); transition: border-color .25s ease, box-shadow .25s ease; }
.eb-row--s { min-height: 30px; padding: 4px 8px; border-radius: 10px; }
.eb-row--end { justify-content: space-between; }
.eb-row .d-line { flex: 1; width: auto; }
.eb-cal { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; color: var(--brand-ink); background: var(--tint-100); }
.eb-cal svg { width: 14px; height: 14px; }
.eb-tab { flex: 1; display: grid; place-items: center; height: 24px; border-radius: 8px; font-size: .6rem; font-weight: 800; color: var(--ink-3); background: var(--tint-100); }
.eb-tab.on { color: var(--ink); background: var(--brand); }
.eb-coin { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #ffd24d; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55); }
.eb-op { display: grid; place-items: center; flex: 1 1 0; min-width: 0; max-width: 20px; aspect-ratio: 1; border-radius: 50%; font-size: .5rem; font-weight: 800; color: var(--ink); background: var(--tint-200); }
.eb-op--v { flex: none; width: 16px; max-width: none; height: 15px; aspect-ratio: auto; border-radius: 5px; }
.eb-box { flex: 1; height: 26px; border-radius: 7px; background: var(--tint-100); border: 1.5px solid var(--tint-200); }
.eb-chip { flex: 1; display: grid; place-items: center; height: 22px; padding: 0 4px; border-radius: 7px; font-size: .54rem; font-weight: 800; color: var(--ink-3); background: var(--tint-100); }
.eb-chip--w { flex: 1 1 auto; font-size: .46rem; padding: 0 3px; }
.eb-bet { display: grid; place-items: center; height: 38px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: var(--ink); background: var(--brand); transition: box-shadow .25s ease; }
.eb-bet--s { flex: none; width: 64px; height: 26px; font-size: .6rem; }
.eb-grid { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; }
.eb-ops, .eb-cells { display: grid; gap: 2px; align-content: start; padding: 3px; border-radius: 10px; background: #fff; border: 1.5px solid var(--tint-200); transition: border-color .25s ease, box-shadow .25s ease; }
.eb-cells-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 2px; }
.eb-cells-row i { display: block; height: 15px; border-radius: 3px; background: var(--tint-100); }
.eb-amt { flex: 1; display: grid; gap: 3px; min-width: 0; }
.eb-amt b { font-size: .42rem; font-weight: 800; text-align: center; color: var(--ink-3); }
.eb-amt i { display: block; height: 12px; border-radius: 4px; background: var(--tint-100); }
.eb-lobby { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 6px 0; }
.eb-lobby i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: var(--tint-200); }
.eb-lobby i:nth-child(3n) { background: var(--tint-100); }
.eb-lobby .eb-tile { background: linear-gradient(135deg, #12d6fc, var(--brand-deep)); }
.eb-tile b { font-size: .6rem; font-weight: 800; color: #fff; }
.eb [data-r].is-hl, .eb-tile.is-hl { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 200, 248, .35); }
.eb-bet.is-hl { box-shadow: 0 0 0 4px rgba(0, 200, 248, .45); }
/* stepper: a slide per step with Back / Next */
.stepper { display: grid; gap: 26px; align-items: center; padding: 28px 22px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sp-phone { display: grid; place-items: center; }
.sp-body { display: grid; gap: 18px; min-width: 0; }
.sp-top, .sp-nav { display: none; }
.js .sp-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.js .sp-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-count { padding: 4px 14px; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--ink); }   /* reads "Step n", styled like the step pill it replaces */
.sp-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.sp-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #c6d9e3; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.sp-dot:hover { background: var(--brand); }
.sp-dot.is-cur { background: var(--ink); transform: scale(1.3); box-shadow: 0 0 0 3px rgba(0, 200, 248, .55); }
.sp-dot:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sp-steps { display: grid; margin: 0; padding: 0; list-style: none; min-height: 140px; align-content: start; }
.sp-step { display: grid; gap: 12px; align-content: start; animation: spIn .35s ease both; }
.sp-step[hidden] { display: none; }
@keyframes spIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.sp-step .dl-num { justify-self: start; }
.js .sp-step .dl-num { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }   /* the counter above now shows the step, so this one is read by screen readers only (it stays visible when JavaScript is off) */
.sp-text { margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); }
.perm { display: grid; gap: 8px; margin: 4px 0 0; }
.perm > div { padding: 10px 14px; border-radius: 14px; background: var(--tint-50); border: 1px solid var(--tint-200); }
.perm dt { display: inline; font-weight: 800; color: var(--brand-ink); }
.perm dd { display: inline; margin: 0 0 0 4px; font-weight: 600; color: var(--ink-3); }
.perm dd strong { font-weight: 800; color: var(--ink); }
.perm code { padding: 1px 7px; border-radius: 7px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .92em; font-weight: 700; color: #1f8a4c; background: #e6f7ee; border: 1px solid #bfe8d0; white-space: nowrap; }
.sp-prev { background: #fff; color: var(--ink); border-color: var(--ink); }
.sp-prev:hover { background: var(--ink); color: #fff; }
.sp-nav .btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
@media (min-width: 980px) { .stepper { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding: 40px 48px; } }
@media (max-width: 480px) { .stepper { padding: 22px 16px; } .sp-nav .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; } }

/* ============ horse racing tutorial page ============ */
.legal-art .in2 { fill: #dff6fd; stroke: var(--ink); stroke-width: 5; }
.legal-art .lane { fill: none; stroke: var(--tint-200); stroke-width: 4; stroke-dasharray: 3 11; }
.legal-art .rt text { font-size: 22px; font-weight: 800; fill: var(--ink); stroke: none; }
.legal-art .rt .rw { fill: #fff; }
.legal-art .pole { stroke: var(--ink); stroke-width: 6; }
.legal-art .flagp { stroke: var(--ink); }
.legal-art .a2 { fill: #ff8a1f; }
.rc-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.rc-card { padding: 22px 22px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rc-card .terms .term { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.rc-card .term-sub { margin: 0; }
.rc-card .term dd strong { font-weight: 800; color: var(--ink); }
/* in headings and bold labels the code word is just green monospace, so the brackets stay snug: (Win, Plc, W/P) */
.section-head h2 code, .rc-card dt code { padding: 0; border: 0; background: none; border-radius: 0; font-size: .9em; color: #2f7d46; }
.rc-card .term dd em { font-style: italic; }
.rc-card code { padding: 1px 7px; border-radius: 7px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .92em; font-weight: 700; color: #1f8a4c; background: #e6f7ee; border: 1px solid #bfe8d0; }
.rc-card .term-sub li strong { font-weight: 800; color: var(--ink); }
.rc-card .term-sub li a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); }
.rc-shot { overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 56px -34px rgba(0, 70, 120, .55); }
.rc-svg { display: block; width: 100%; height: auto; stroke: none; font-family: inherit; }
.rc-svg text { font-family: inherit; font-size: 14px; font-weight: 700; fill: var(--ink); stroke: none; }
.rc-svg .s { font-size: 12px; }
.rc-svg .b { font-weight: 800; }
.rc-svg .t-w { fill: #fff; }
@media (min-width: 980px) {
  .rc-grid--media { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; }
  .rc-card { padding: 28px 32px; }
}

/* ============ rcb988 provider page ============ */
.hero-banner--sq { width: min(100%, 340px); overflow: visible; border-radius: 0; box-shadow: none; filter: drop-shadow(0 34px 40px rgba(0, 40, 90, .5)); }   /* the provider card art is portrait and has its own rounded shape, so no frame or clip */
.bt-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.bt-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.bt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.bt-card h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.bt-card p { margin: 0; font-size: 1.02rem; color: var(--muted); }
/* the finishing places a bet needs: lit circles are the ones that count */
.bt-pos { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bt-pos i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; font-style: normal; font-size: .9rem; font-weight: 800; color: var(--ink-3); background: var(--tint-100); border: 1.5px solid var(--tint-200); }
.bt-pos i.on { color: var(--ink); background: var(--brand); border-color: var(--brand); box-shadow: 0 8px 16px -8px rgba(0, 200, 248, .9); }
/* connector between two lit circles: a rounded line with clean chevron heads that never touch the circles */
.bt-link { position: relative; flex: none; width: 30px; height: 3px; margin: 0 4px; border-radius: 3px; background: var(--brand-ink); }
.bt-link::after, .bt-link--any::before { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-top: 3px solid var(--brand-ink); border-right: 3px solid var(--brand-ink); border-radius: 1px; }
.bt-link::after { right: 0; transform: translateX(-1px) rotate(45deg); }
.bt-link--any::before { left: 0; transform: translateX(1px) rotate(-135deg); }
@media (min-width: 640px) { .bt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .bt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ============ gogoli provider page ============ */
/* marbles: glossy coloured balls used to picture each bet */
.mb-vis { display: flex; align-items: center; min-height: 76px; margin-bottom: 4px; }   /* same height on every card so the titles line up (the podium is the tallest drawing) */
.mb { position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; font-size: .78rem; font-weight: 800; color: #fff; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85) 0 9%, rgba(255, 255, 255, 0) 32%), var(--mc, #2f7bff); box-shadow: inset -4px -5px 8px rgba(0, 0, 40, .28), 0 8px 14px -8px rgba(0, 40, 90, .55); }
.mb--red { --mc: #ff4d63; } .mb--blue { --mc: #2f7bff; } .mb--gold { --mc: #ffc233; color: var(--ink); } .mb--green { --mc: #26c98c; }
.mb--orange { --mc: #ff8a1f; } .mb--teal { --mc: #12c7d6; } .mb--purple { --mc: #8c6bff; }
.mb--lead { box-shadow: inset -4px -5px 8px rgba(0, 0, 40, .28), 0 0 0 3px #fff, 0 0 0 5px var(--brand), 0 10px 16px -8px rgba(0, 120, 180, .6); }
.mb-row { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.mb-row--h2h { gap: 14px; }
.mb-vs { padding: 4px 11px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); background: var(--ink); }
.mb-row--grp { gap: 12px; min-width: 0; max-width: 100%; }
.mb-grp { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; gap: 6px; padding: 7px; border-radius: 999px; background: var(--tint-100); }
.mb-row--grp .mb-div { flex: none; }
.mb-grp .mb { flex: 0 1 auto; width: 36px; height: auto; min-width: 0; aspect-ratio: 1; }   /* the six marbles shrink together so the row always fits its card, whatever the column count */
.mb-div { width: 3px; height: 34px; border-radius: 3px; background: var(--tint-200); }
.mb-row--ord { gap: 8px; }
.mb-podium { display: flex; align-items: flex-end; gap: 8px; height: 76px; }
.mb-step { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mb-step i { display: block; width: 46px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #bdeefc, #dff6fd); }
.mb-step--1 i { height: 30px; background: linear-gradient(180deg, #12d6fc, var(--brand)); }
.mb-step--2 i { height: 20px; } .mb-step--3 i { height: 12px; }
.mb-step .mb { width: 30px; height: 30px; font-size: .7rem; }
@media (max-width: 400px) { .mb-row--grp { gap: 8px; } .mb-grp { gap: 4px; padding: 5px; } .mb-row--ord { gap: 4px; } .mb-row--ord .bt-link { width: 22px; margin: 0 2px; } }

/* ============ maxbet provider page ============ */
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.suite-lead { display: flex; align-items: center; gap: 20px; margin: 0 0 40px; padding: 26px 28px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.suite-lead p { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.55; color: var(--ink-2); }
.suite-lead .icon { align-self: flex-start; }
.section .port-grid + .tk-title, .section .port-grid + .card-pager + .tk-title, .section .why-grid + .tk-title, .suite-lead + .tk-title { margin-top: 44px; }   /* the phone card pager sits between the list and the heading */
.suite-lead + .tk-title { margin-top: 8px; }
/* slip mechanics: four numbered blocks */
.mech-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.mech { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 28px 26px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mech-head { display: flex; align-items: center; gap: 14px; }
.mech-num { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; font-weight: 800; color: var(--brand); background: var(--ink); }
.mech h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.mech > p, .mech-split p { margin: 0; font-size: 1.04rem; color: var(--ink-3); }
.mech p strong { font-weight: 800; color: var(--ink); background: linear-gradient(transparent 60%, rgba(0, 200, 248, .3) 60%); white-space: normal; }
.mech-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.mech-vis { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 22px 24px; border-radius: 24px; background: var(--tint-50); border: 1px solid var(--tint-200); }
.mech-vis--parlay span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--brand-ink); background: #fff; box-shadow: var(--shadow-sm); }
.mech-vis--parlay span svg { width: 26px; height: 26px; }
.mech-vis--parlay b { font-size: 1.3rem; font-weight: 800; color: var(--brand-ink); }
.mech-vis--parlay .tk { color: var(--ink); background: var(--brand); }
.mech-vis--cash { gap: 16px; }
.co-coin { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; color: #6b4a00; background: radial-gradient(circle at 32% 28%, #fff3b8, #ffc233 55%, #e69b00); box-shadow: 0 0 0 5px rgba(255, 194, 51, .3), 0 14px 22px -10px rgba(230, 155, 0, .8); animation: coPulse 2.6s ease-in-out infinite; }
.co-coin svg { width: 34px; height: 34px; stroke-width: 2.2; }
.co-bar { display: block; width: 110px; height: 14px; border-radius: 14px; background: linear-gradient(90deg, #12d6fc, var(--brand)); opacity: .8; }
@keyframes coPulse { 50% { transform: scale(1.07); } }
.sw-grid, .mo-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.sw-card, .mo-card { display: flex; gap: 16px; padding: 20px; border-radius: 22px; background: var(--tint-50); border: 1px solid var(--tint-200); }
.sw-card--on { background: linear-gradient(140deg, #e3f8fe, #fff); border-color: var(--brand); }
.sw-card h4, .mo-card h4 { font-size: 1.04rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.sw-card p, .mo-card p { margin: 6px 0 0; font-size: .98rem; color: var(--ink-3); }
.sw { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; border-radius: 999px; background: var(--tint-200); }
.sw i { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 40, 80, .3); transition: transform .3s ease; }
.sw--on { background: var(--brand); } .sw--on i { transform: translateX(20px); }
.mo-card { flex-direction: column; gap: 0; }
.mo-calc { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.mo-calc svg { width: 22px; height: 22px; color: var(--brand-ink); }
.mo-stake, .mo-win { display: inline-flex; align-items: baseline; gap: 3px; padding: 6px 14px; border-radius: 12px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.mo-stake small { font-size: .7rem; font-weight: 700; opacity: .7; }
.mo-stake { color: var(--ink); background: #fff; border: 1px solid var(--tint-200); }
.mo-win { color: var(--ink); background: var(--brand); }
@media (min-width: 760px) {
  .sw-grid, .mo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mech { padding: 32px 36px; }
  .mech-split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 480px) { .suite-lead { flex-direction: column; align-items: flex-start; } .mech { padding: 24px 20px; } .mech-vis--parlay { gap: 8px; padding-inline: 14px; } .mech-vis--parlay span { width: 44px; height: 44px; } }
@media (max-width: 380px) { .mech { padding: 22px 16px; } .mech-vis--parlay { gap: 6px; padding-inline: 10px; } .mech-vis--parlay span { width: 38px; height: 38px; border-radius: 12px; } .mech-vis--parlay span svg { width: 22px; height: 22px; } .sw-card, .mo-card { padding: 16px; } }

/* ============ cmd368 provider page: slip-mechanics drawings ============ */
.section--tint .mech-vis { background: #fff; }
.sl-track { position: relative; width: min(100%, 260px); height: 12px; border-radius: 12px; background: var(--tint-200); }
.sl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 12px; background: linear-gradient(90deg, #12d6fc, var(--brand)); }
.sl-knob { position: absolute; left: 62%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-ink); box-shadow: 0 8px 14px -6px rgba(0, 60, 100, .55); animation: slSlide 4s ease-in-out infinite; }
@keyframes slSlide { 0%, 100% { left: 62%; } 50% { left: 38%; } }
.sl-fill { animation: slFill 4s ease-in-out infinite; }
@keyframes slFill { 0%, 100% { width: 62%; } 50% { width: 38%; } }
.tg-svg { display: block; width: min(100%, 190px); height: auto; fill: none; stroke: none; }
.tg-line { stroke: var(--brand-ink); stroke-width: 4; stroke-linecap: round; }
.tg-goal { stroke: #ff8a1f; stroke-width: 3; stroke-dasharray: 6 7; }
.tg-dot { fill: #34d6a0; stroke: #fff; stroke-width: 3; }
.tg-ck { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tl-days { display: flex; align-items: center; gap: 14px; }
.tl-days i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--tint-200); }
.tl-days i.on { background: var(--brand); box-shadow: 0 0 0 5px rgba(0, 200, 248, .28); }
.tl-days i + i { position: relative; }
.tl-days i + i::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; height: 3px; margin-top: -1.5px; background: var(--tint-200); }
.tl-days span { display: grid; place-items: center; width: 46px; height: 46px; margin-left: 4px; border-radius: 50%; color: var(--ink); background: var(--brand); }
.tl-days span svg { width: 26px; height: 26px; }

/* ============ sbobet provider page ============ */
.mini-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.mini-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 22px; background: var(--tint-50); border: 1px solid var(--tint-200); }
.mini-card h4 { font-size: 1.04rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.mini-card p { margin: 6px 0 0; font-size: .98rem; color: var(--ink-3); }
.mini-card--wide { background: linear-gradient(140deg, #e3f8fe, #fff); border-color: var(--brand); }
@media (min-width: 760px) { .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 380px) { .mini-card { padding: 16px; } }

.stat-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 0 0 14px; padding: 0; list-style: none; }
.stat-card { display: flex; flex-direction: column; gap: 8px; padding: 28px 26px; border-radius: 28px; color: #fff; background: radial-gradient(260px 180px at 100% 0%, rgba(0, 200, 248, .32), transparent 70%), var(--ink); box-shadow: 0 30px 50px -32px rgba(4, 20, 28, .8); }
.stat-fig { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--brand); }
.stat-card h3 { font-size: 1.18rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; color: #fff; }
.stat-card p { margin: 0; font-size: 1rem; color: #c8dde8; }
.stat-more { margin-top: 0; }
@media (min-width: 860px) { .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; } }

/* ============ 9 wickets provider page ============ */
/* back / lay: blue and pink, the colours betting exchanges use for the two sides of a bet */
.ex-vis { display: flex; align-items: center; min-height: 52px; margin-bottom: 8px; }
.ex-pill { display: grid; place-items: center; width: 120px; height: 52px; border-radius: 16px; box-shadow: 0 10px 18px -10px rgba(0, 40, 90, .45); }
.ex-pill svg { width: 28px; height: 28px; stroke-width: 2.6; }
.ex-pill--back { color: #0a3a8a; background: #a9d4ff; border: 2px solid #7fbcf5; }
.ex-pill--lay { color: #8a1033; background: #ffc6d3; border: 2px solid #f5a0b4; }
.ex-pill--own { color: var(--brand-ink); background: #fff; border: 2px dashed var(--brand); box-shadow: none; }
.tl-lead { margin: 10px 0 0; font-size: 1.1rem; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.tl-lead a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); }

/* ============ evolution provider page ============ */
.ev-cats { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.ev-cat { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.ev-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.ev-cat-head { display: flex; align-items: center; gap: 14px; }
.ev-cat-head h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.ev-rows { display: grid; gap: 14px; margin: 0; }
.ev-rows > div { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.ev-rows dt { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.ev-rows dd { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink-3); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ev-chips li { padding: 6px 14px; border-radius: 999px; font-size: .92rem; font-weight: 700; color: var(--ink); background: var(--tint-100); border: 1px solid var(--tint-200); }
.ev-games { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ev-game { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border-radius: 20px; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease; }
.ev-game:hover { transform: translateY(-3px); border-color: var(--brand); }
.ev-game-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: var(--brand); background: var(--ink); }
.ev-game-ico svg { width: 22px; height: 22px; }
.ev-after { margin: 26px 0 0; }
.ev-after a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.ev-after a:hover { color: var(--ink); text-decoration-color: var(--brand); }
.ev-more-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.ev-more { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 22px; font-weight: 800; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ev-more > span:nth-child(2) { flex: 1; }
.ev-more > svg { width: 20px; height: 20px; color: var(--brand-ink); transition: transform .2s ease; }
.ev-more:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.ev-more:hover > svg { transform: translateX(4px); }
@media (min-width: 640px) { .ev-games { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ev-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .ev-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .ev-games { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ev-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 400px) { .ev-games { grid-template-columns: minmax(0, 1fr); } .ev-cat { padding: 22px 18px; } }

/* ============ ae sexy provider page ============ */
.hist-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.hist-card { padding: 28px 28px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hist-card p { margin: 0; font-size: 1.1rem; line-height: 1.7; color: var(--ink-2); }
.hist-facts { display: grid; gap: 18px; align-content: center; padding: 28px; border-radius: 30px; color: #fff; background: radial-gradient(260px 180px at 100% 0%, rgba(0, 200, 248, .32), transparent 70%), var(--ink); box-shadow: 0 30px 50px -32px rgba(4, 20, 28, .8); }
.hist-year { display: grid; gap: 6px; }
.hist-year strong { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--brand); }
.hist-year span { font-size: 1rem; font-weight: 700; color: #c8dde8; }
.hist-places { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hist-places li { padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.lc-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.lc-tile { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 14px; border-radius: 24px; text-decoration: none; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.lc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.lc-thumb { display: block; aspect-ratio: 640 / 829; }   /* portrait provider cards, drawn with their own rounded shape */
.lc-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(4, 20, 28, .28)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.lc-tile:hover .lc-thumb img { transform: scale(1.06); }
.lc-name { padding-inline: 6px; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; text-align: center; text-wrap: balance; color: var(--ink); }
@media (min-width: 640px) { .lc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 639px) {   /* phones: three tiles across (like the provider cards), so each tile is compacted */
  .lc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lc-tile { gap: 6px; padding: 5px 5px 8px; border-radius: 16px; }
  .lc-tile:hover { transform: translateY(-3px); }
  .lc-name { padding-inline: 1px; font-size: .74rem; line-height: 1.2; letter-spacing: 0; }
}
@media (min-width: 900px) { .hist-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; } }

/* ============ hot road provider page ============ */
.pr-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pr-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.pr-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.pr-n { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; font-size: 1.1rem; font-weight: 800; color: var(--brand); background: var(--ink); }
.pr-t { font-size: 1.08rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; color: var(--ink); }
.gm-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.gm-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.gm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.gm-img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .5s ease; }
.gm-card:hover .gm-img { transform: scale(1.04); }
.gm-card h3 { margin: 22px 26px 10px; font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.gm-up { display: block; margin-top: 4px; font-size: .92rem; font-weight: 700; letter-spacing: 0; color: var(--brand-ink); }
.gm-card p { margin: 0 26px 26px; font-size: 1.02rem; color: var(--muted); }
@media (min-width: 640px) { .gm-grid { display: flex; flex-wrap: wrap; justify-content: center; } .gm-card { flex: 0 1 calc((100% - 16px) / 2); } .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .gm-grid { gap: 20px; } .gm-card { flex-basis: calc((100% - 40px) / 3); } .pr-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } .pr-card { flex-direction: column; align-items: flex-start; padding: 22px 18px; } }

/* ---------- Pretty Gaming ---------- */
.vs-table .req-row td { font-size: 1.02rem; font-weight: 500; }
.vs-table .req-row td strong { font-weight: 800; color: var(--ink); }
.pk-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 24px; align-items: center; padding: 24px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.pk:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.pk h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.pk p { margin: 0; font-size: 1.04rem; color: var(--muted); }
.pk p a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.pk p a:hover { color: var(--ink); text-decoration-color: var(--brand); }
@media (min-width: 860px) {
  .vs-table .req-row > th { width: 22%; }
  .vs-table .req-row > td:nth-child(2) { width: 39%; }
  .vs-table thead th:nth-child(2) { color: var(--brand); background: var(--ink); }
  .vs-table .req-row > td:nth-child(2) { background: var(--tint-50); }
  .vs-table .req-row:hover > td:nth-child(2) { background: var(--tint-100); }
  .pk { grid-template-columns: auto minmax(0, .8fr) minmax(0, 1.5fr); padding: 22px 30px 22px 24px; gap: 24px; }
}

/* ---------- Ezugi ---------- */
.stat-grid--kh { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.stat-grid--kh .stat-card { gap: 10px; padding: 24px 20px; }
.stat-lab { font-size: 1rem; font-weight: 700; line-height: 1.3; color: #c8dde8; }
.val-lead { margin: 34px 0 18px; font-size: 1.12rem; font-weight: 700; line-height: 1.5; color: var(--ink-2); }
.val-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.val-card { position: relative; display: flex; flex-direction: column; gap: 10px; overflow: hidden; padding: 28px 24px 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.val-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--brand), #12d6fc); }
.val-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.val-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.val-card p { margin: 0; font-size: 1.02rem; color: var(--muted); }
.lic-panel { display: flex; align-items: center; gap: 22px; padding: 30px 28px; border-radius: 30px; color: #fff; background: radial-gradient(320px 200px at 100% 0%, rgba(0, 200, 248, .32), transparent 70%), var(--ink); box-shadow: 0 30px 50px -32px rgba(4, 20, 28, .8); }
.lic-ico { display: grid; place-items: center; flex: none; width: 68px; height: 68px; border-radius: 22px; color: var(--brand); background: rgba(0, 200, 248, .12); border: 1px solid rgba(0, 200, 248, .35); }
.lic-ico svg { width: 34px; height: 34px; }
.lic-body { min-width: 0; }
.lic-label { margin: 0 0 6px; font-size: 1.02rem; font-weight: 700; color: #c8dde8; }
.lic-link { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; font-size: clamp(1.02rem, 2.4vw, 1.4rem); font-weight: 800; letter-spacing: -.01em; color: var(--brand); text-decoration: underline; text-decoration-color: rgba(0, 200, 248, .45); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color .2s ease, text-decoration-color .2s ease; }
.lic-link span { min-width: 0; overflow-wrap: break-word; }
.lic-link svg { flex: none; width: 22px; height: 22px; transition: transform .2s ease; }
.lic-link:hover { color: #fff; text-decoration-color: var(--brand); }
.lic-link:hover svg { transform: translateX(4px); }
.pf-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.pf-grid .port-card { grid-column: auto; }
@media (min-width: 560px) { .val-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .stat-grid--kh { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .stat-grid--kh .stat-card { padding: 28px 26px; } }
@media (min-width: 980px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .val-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 520px) { .lic-panel { flex-direction: column; align-items: flex-start; padding: 26px 22px; } }

/* ---------- DB Gaming ---------- */
.tl-card h3.tl-year { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; color: var(--ink); }
.tl-card h3.tl-year + p { margin-top: 4px; }

/* ---------- Playtech ---------- */
/* live lobby preview: dark panel, cards styled like the provider's own lobby */
.section--lobby { color: #fff; background: radial-gradient(900px 420px at 85% 0%, rgba(0, 200, 248, .16), transparent 70%), radial-gradient(700px 360px at 0% 100%, rgba(0, 200, 248, .08), transparent 70%), var(--ink); }
.section--lobby .section-head h2 { color: #fff; }
.lv-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.lv-card { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 14px; border-radius: 18px; background: #0b2230; border: 1px solid rgba(255, 255, 255, .08); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.lv-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 22px 36px -22px rgba(0, 200, 248, .6); }
.lv-thumb { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 461 / 348; background: #181a27; }
.lv-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.lv-card:hover .lv-thumb img { transform: scale(1.05); }
.lv-new { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; font-size: .62rem; font-weight: 800; letter-spacing: .1em; color: #fff; background: #e5304b; }
.lv-card h3 { margin: 4px 6px 0; font-size: .95rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: #fff; }
.lv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 6px; }
.lv-bet { padding: 3px 10px; border-radius: 8px; font-size: .82rem; font-weight: 800; color: #ffd24d; background: rgba(255, 210, 77, .12); border: 1px solid rgba(255, 210, 77, .3); white-space: nowrap; }
.lv-host { font-size: .86rem; font-weight: 600; color: #9fb7c4; }
@media (min-width: 640px) { .lv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 860px) { .lv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lv-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }

/* the floating hero chip sticks out 26px; between ~1000px and ~1200px that pushed the page 6px sideways */
.hero { overflow-x: clip; }
/* contact page: the Facebook card's backdrop ring is wider than the card and nudged the page 4px sideways near 1000px */
.channels { overflow-x: clip; }

/* ---------- Choice Gaming ---------- */
.section--lobby .section-head p { color: #9fb7c4; }
.section--lobby .port-card { background: #0b2230; border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.section--lobby .port-card:hover { border-color: var(--brand); box-shadow: 0 22px 36px -22px rgba(0, 200, 248, .6); }
.section--lobby .port-card h3 { color: #fff; }
.section--lobby .port-card p { color: #9fb7c4; }
.section--lobby .port-card p strong, .section--lobby .section-head p strong { font-weight: 800; color: #fff; background: linear-gradient(transparent 62%, rgba(0, 200, 248, .4) 62%); }
.section--lobby .port-ico { color: var(--brand); background: rgba(0, 200, 248, .12); border: 1px solid rgba(0, 200, 248, .35); box-shadow: none; }
.pf-grid--2 .port-card h3 { font-size: 1.22rem; }
.tn-banner { margin: 0 0 44px; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 200, 248, .12); }
.tn-banner img { display: block; width: 100%; height: auto; }
.cg-subs { display: grid; gap: 14px; margin: 2px 0 0; }
.cg-subs dt { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.cg-subs dd { margin: 3px 0 0; font-size: 1.02rem; color: var(--muted); }
.tl-node b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 980px) { .pf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Big Gaming ---------- */
.lb-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.lb-card { display: flex; flex-direction: column; gap: 16px; padding: 28px 22px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lb-card h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); }
@media (min-width: 900px) { .lb-card .lb-list { flex: 1; grid-auto-rows: 1fr; } .lb-card .lb-item { align-items: start; align-content: center; } }
.lb-card--classic { color: #fff; border-color: rgba(255, 255, 255, .08); background: radial-gradient(360px 240px at 100% 0%, rgba(0, 200, 248, .22), transparent 70%), var(--ink); box-shadow: 0 30px 50px -32px rgba(4, 20, 28, .8); }
.lb-card--classic h3 { color: #fff; }
.lb-lead { margin: 0; font-size: 1.04rem; font-weight: 600; line-height: 1.55; color: var(--ink-2); }
.lb-card--classic .lb-lead { color: #c8dde8; }
.lb-lead strong { font-weight: 800; color: var(--ink); }
.lb-card--classic .lb-lead strong { color: #fff; }
.lb-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lb-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; align-content: start; padding: 14px 16px; border-radius: 20px; background: var(--tint-50); border: 1px solid var(--line); }
.lb-item h4 { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.lb-item p { margin: 4px 0 0; font-size: .98rem; color: var(--muted); }
.lb-item p strong { font-weight: 800; color: var(--ink); }
.lb-card--classic .lb-item p strong { color: #fff; }
.lb-card--classic .lb-item { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .09); }
.lb-card--classic .lb-item h4 { color: #fff; }
.lb-card--classic .lb-item p { color: #9fb7c4; }
.lb-card--classic .lb-item .icon { color: var(--brand); background: rgba(0, 200, 248, .12); }
.eco { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding: 28px 22px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.eco h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); }
.eco .lb-item { background: var(--tint-50); }
@media (min-width: 640px) { .lb-card, .eco { padding: 32px 30px; } .lb-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lb-list--3 .lb-item { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) { .lb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; } }

/* ---------- Carousel (real name authentication): swipe, mouse drag, arrows, dots ---------- */
.cr { --cr-w: min(80vw, 560px); --cr-gap: 16px; position: relative; margin-top: 4px; outline: none; }
.cr:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 28px; }
.cr-track { position: relative; display: flex; gap: var(--cr-gap); margin: 0; padding: 26px 0 38px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y; }
.cr-track::-webkit-scrollbar { display: none; }
.cr-track::before, .cr-track::after { content: ""; flex: 0 0 calc((100% - var(--cr-w)) / 2 - var(--cr-gap)); }   /* lets the first and last slide sit in the middle */
.cr-track.is-dragging, .cr-track.is-moving { scroll-snap-type: none; }
.cr-track.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.cr-track.is-jumping { scroll-snap-type: none; }
.cr-track.is-jumping .cr-slide { transition: none; }   /* looping carousels swap a copy for the real slide without a fade */
.cr-slide { flex: 0 0 var(--cr-w); display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); opacity: .5; transform: scale(.94); transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.cr-slide.is-active { opacity: 1; transform: none; border-color: var(--brand); box-shadow: 0 30px 50px -30px rgba(0, 200, 248, .75); }
.cr-shot { aspect-ratio: 16 / 9; overflow: hidden; background: #e6ecef; }
.cr-shot img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.cr-cap { padding: 20px 24px 24px; }
.cr-cap p { margin: 10px 0 0; font-size: 1.08rem; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.cr-cap p a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.cr-cap p a:hover { color: var(--ink); text-decoration-color: var(--brand); }
.cr-nav { display: flex; align-items: center; justify-content: center; gap: 12px; padding-inline: 12px; }
.cr-arrow { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease; }
.cr-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cr-arrow:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.cr-arrow:disabled { opacity: .35; cursor: default; }
.cr-arrow:focus-visible, .cr-dot:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.cr-dots { display: flex; align-items: center; }
.cr-dot { --slot: 18px; --dot: 8px; --pill: 22px; position: relative; flex: none; width: var(--slot); height: 32px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .3s ease; }
.cr-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--dot); height: var(--dot); margin: calc(var(--dot) / -2) 0 0 calc(var(--dot) / -2); border-radius: 999px; background: var(--tint-200); transition: width .3s ease, margin .3s ease, background-color .3s ease; }
.cr-dot:hover::after { background: var(--brand); }
.cr-dot.is-active { width: calc(var(--slot) + var(--pill) - var(--dot)); }   /* the active slot grows by what the pill gains over a dot, so the gap on each side of the pill equals the gap between plain dots */
.cr-dot.is-active::after { width: var(--pill); margin-left: calc(var(--pill) / -2); background: var(--brand); }
@media (max-width: 400px) { .cr-nav { gap: 8px; padding-inline: 8px; } .cr-dot { --slot: 14px; --pill: 18px; } }   /* twelve dots plus both arrows must fit a 320px phone */
@media (max-width: 430px) { .cr--many .cr-nav { gap: 8px; padding-inline: 8px; } .cr--many .cr-dot { --slot: 12px; --dot: 6px; --pill: 16px; } }   /* fifteen dots plus both arrows on a narrow phone */
@media (min-width: 640px) { .cr { --cr-gap: 22px; } .cr-dot { --slot: 24px; --dot: 10px; --pill: 30px; } .cr-cap { padding: 22px 28px 28px; } .cr-cap p { font-size: 1.14rem; } }

/* a real screenshot inside the phone frame (the frame takes the screenshot's own proportions) */
.nav-fig .devphone--shot { width: min(340px, 80vw); aspect-ratio: auto; }
.devphone--shot .dev-screen { height: auto; padding-top: 26px; background: #4994ec; }   /* a strip of the app's own blue for the notch to sit in, so it never covers the screenshot */
.devphone--shot .dev-screen img { display: block; width: 100%; height: auto; }

/* ---------- Lucky365 (slot provider page) ---------- */
.sg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; margin: 0; padding: 0; list-style: none; }
.sg-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.sg-art { width: 100%; aspect-ratio: 256 / 326; overflow: hidden; border-radius: 18px; background: var(--tint-100); box-shadow: 0 14px 26px -16px rgba(0, 70, 110, .6); transition: transform .25s ease, box-shadow .25s ease; }
.sg-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.sg-card:hover .sg-art { transform: translateY(-6px); box-shadow: 0 24px 38px -16px rgba(0, 153, 219, .7); }
.sg-card:hover .sg-art img { transform: scale(1.05); }
.sg-card h3 { font-size: .95rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--ink-2); text-wrap: balance; }
.demo-acct { margin-top: 30px; padding: 28px 24px; border-radius: 28px; color: #fff; background: radial-gradient(320px 200px at 100% 0%, rgba(0, 200, 248, .3), transparent 70%), var(--ink); box-shadow: 0 30px 50px -32px rgba(4, 20, 28, .8); }
.demo-acct p { margin: 0 0 16px; font-size: 1.06rem; font-weight: 600; line-height: 1.5; color: #c8dde8; }
.demo-acct dl { display: grid; gap: 10px; margin: 0; max-width: 520px; }
.demo-acct dl > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.demo-acct dt { font-size: 1rem; font-weight: 700; color: #c8dde8; }
.demo-acct dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 1.2rem; font-weight: 800; letter-spacing: .04em; color: var(--brand); }
@media (min-width: 640px) { .sg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 18px; } .sg-card h3 { font-size: 1rem; } .demo-acct { padding: 32px 34px; } }

/* ---------- Pragmatic Play (slot provider page) ---------- */
.pgc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pgc-card { display: flex; flex-direction: column; padding: 10px 10px 18px; border-radius: 22px; color: #fff; background: #0b2230; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 40px -28px rgba(4, 20, 28, .8); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.pgc-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 28px 44px -26px rgba(0, 200, 248, .6); }
.pgc-art { aspect-ratio: 254 / 244; overflow: hidden; border-radius: 14px; background: #04141c; }
.pgc-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.pgc-card:hover .pgc-art img { transform: scale(1.06); }
.pgc-card h3 { flex: 1; margin: 14px 8px 0; font-size: 1.02rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.pgc-card .rtp { margin: 12px 8px 0; }
.pgc-card .rtp-value { color: #fff; }
.pgc-card .meter { margin: 8px 8px 0; }
.hist-card p + p { margin-top: 16px; }
.dr-note { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 20px 22px; border-radius: 24px; background: rgba(0, 200, 248, .1); border: 1px solid rgba(0, 200, 248, .3); }
.dr-note .port-ico { flex: none; }
.dr-note p a { font-weight: 800; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.dr-note p a:hover { color: #fff; text-decoration-color: var(--brand); }
.dr-note p { margin: 0; font-size: 1.06rem; font-weight: 600; line-height: 1.55; color: #e3f3fa; }
.demo-acct p strong { color: #fff; font-weight: 800; }
@media (min-width: 640px) { .pgc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .pgc-card h3 { font-size: 1.1rem; } .dr-note { padding: 24px 28px; } }

/* ---------- Jili (slot provider page) ---------- */
.jg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.jg-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px 18px; align-items: start; padding: 16px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.jg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.jg-art { aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--tint-100); box-shadow: 0 14px 24px -14px rgba(0, 70, 110, .6); }
.jg-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.jg-card:hover .jg-art img { transform: scale(1.06); }
.jg-grid--portrait .jg-art { aspect-ratio: 187 / 220; }   /* the Jili game art is portrait, so show it whole instead of cropping the title off */
.jg-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.jg-body h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.jg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.jg-tags li { padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--ink-2); background: var(--tint-100); }
.jg-tags .is-rtp { color: var(--ink); background: var(--brand); }
.jg-body p { margin: 0; font-size: 1.02rem; color: var(--muted); }
.jg-body p strong { font-weight: 800; color: var(--ink); }
.jg-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (min-width: 640px) { .jg-card { grid-template-columns: 148px minmax(0, 1fr); padding: 20px; gap: 20px; } }
@media (min-width: 980px) { .jg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 420px) { .jg-card { grid-template-columns: minmax(0, 1fr); } .jg-art { width: 120px; } }

/* ---------- Microslot (slot provider page) ---------- */
.stat-grid--2 { grid-template-columns: minmax(0, 1fr); margin: 0; }
.stat-grid--2 .stat-card p { font-size: 1.04rem; line-height: 1.6; }
.stat-card p strong { font-weight: 800; color: #fff; }
.stat-card p a { font-weight: 800; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.stat-card p a:hover { color: #fff; text-decoration-color: var(--brand); }
.stat-grid--2 .stat-card h3 { margin-top: 2px; }
.jp-ladder { display: flex; align-items: flex-end; gap: 10px; height: 150px; max-width: 520px; margin: 0 0 30px; padding: 0; list-style: none; }
.jp-ladder li { flex: 1; display: flex; align-items: flex-end; justify-content: center; height: var(--h); padding-bottom: 10px; border-radius: 16px 16px 6px 6px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: linear-gradient(180deg, var(--brand), #0aa6d6); box-shadow: 0 16px 30px -18px rgba(0, 200, 248, .9); }
.jp-ladder li:last-child { color: #4a2c00; background: linear-gradient(180deg, #ffd24d, #ff9d1f); box-shadow: 0 16px 30px -18px rgba(255, 157, 31, .9); }
@media (min-width: 860px) { .stat-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 980px) { .jg-grid--odd .jg-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- JDB (slot provider page) ---------- */
.sg-grid--few { display: flex; flex-wrap: wrap; justify-content: center; }
.sg-grid--few .sg-card { flex: 0 0 calc((100% - 24px) / 3); }
/* the JDB art already has its own rounded corners and a transparent edge */
.sg-art--clear { background: none; box-shadow: none; filter: drop-shadow(0 14px 18px rgba(0, 70, 110, .38)); }
.sg-card:hover .sg-art--clear { box-shadow: none; filter: drop-shadow(0 22px 26px rgba(0, 153, 219, .5)); }
.jd-list { display: grid; gap: 18px; }
.jd-game { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.jd-head { display: flex; align-items: flex-start; gap: 16px; }
.jd-num { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px; font-size: 1.3rem; font-weight: 800; color: var(--brand); background: var(--ink); }
.jd-game h3 { font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.jd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.jd-tags li { padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ink-2); background: var(--tint-100); }
.jd-tags li:first-child { color: var(--ink); background: var(--brand); }
.jd-intro a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
.jd-intro a:hover { color: var(--ink); text-decoration-color: var(--brand); }
.jd-intro { margin: 0; font-size: 1.06rem; font-weight: 600; line-height: 1.55; color: var(--ink-2); }
.jd-feats { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
.jd-feat { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 20px; background: var(--tint-50); border: 1px solid var(--line); }
.jd-feat b { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.jd-feat span { font-size: .98rem; color: var(--muted); }
.jd-feat span strong { font-weight: 800; color: var(--ink); }
.jd-tip { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 210, 77, .22), rgba(255, 157, 31, .16)); border: 1px solid rgba(255, 157, 31, .45); }
.jd-tip .port-ico { flex: none; color: #8a4b00; background: rgba(255, 255, 255, .6); box-shadow: none; }
.jd-tip p { margin: 0; font-size: 1.02rem; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.jd-tip strong { font-weight: 800; color: var(--ink); }
@media (min-width: 640px) { .sg-grid--few .sg-card { flex-basis: calc((100% - 72px) / 5); } .jd-game { padding: 30px 30px; } .jd-feats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jd-feats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Spadegaming (slot provider page) ---------- */
/* top-game cards: portrait art with a number tag */
.jg-grid--tall .jg-art { position: relative; aspect-ratio: 265 / 354; }
.jg-no { position: absolute; z-index: 1; top: 8px; left: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; font-size: .85rem; font-weight: 800; color: var(--brand); background: var(--ink); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.badge-row li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; font-size: .95rem; font-weight: 800; letter-spacing: .02em; color: var(--ink); background: var(--tint-100); border: 1px solid var(--tint-200); }
.badge-row svg { flex: none; width: 20px; height: 20px; color: var(--brand-ink); }

/* ---------- Fa Chai (slot provider page) ---------- */
/* ---------- Fa Chai image grids: new releases (3) and the game library (11) ---------- */
.fc-grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.fc-grid--lib { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fc-grid--lib .fc-card { flex: 0 0 calc((100% - 24px) / 3); }
.fc-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 70, 110, .38)); transition: transform .25s ease, filter .25s ease; }
.fc-card:hover .fc-art img { transform: translateY(-5px); filter: drop-shadow(0 22px 26px rgba(0, 153, 219, .5)); }
@media (min-width: 640px) { .fc-grid { gap: 18px; } .fc-grid--lib { gap: 16px; } .fc-grid--lib .fc-card { flex-basis: calc((100% - 32px) / 3); } }
@media (min-width: 860px) { .fc-grid--lib { gap: 18px; } .fc-grid--lib .fc-card { flex-basis: calc((100% - 90px) / 6); } }


/* ---------- Kingmidas: award-nominated game cards ---------- */
.aw-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.aw-card { position: relative; display: flex; align-items: center; gap: 22px; overflow: hidden; padding: 22px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); transition: transform .22s ease, border-color .22s ease; }
.aw-card:hover { transform: translateY(-4px); border-color: rgba(255, 210, 77, .55); }
.aw-card--fire { background: radial-gradient(420px 260px at 85% 110%, rgba(255, 150, 40, .28), transparent 70%), linear-gradient(135deg, #2a1608, #120b06 70%); }
.aw-card--sky { background: radial-gradient(420px 260px at 85% 110%, rgba(150, 120, 255, .38), transparent 70%), linear-gradient(135deg, #2a2468, #120f33 70%); }
.aw-fig { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 150px; margin: 0; }
.aw-fig img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .8); transition: transform .35s ease; }
.aw-card:hover .aw-fig img { transform: scale(1.04); }
.aw-fig figcaption { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; color: #fff; }
.aw-body { min-width: 0; }
.aw-body h3 { font-size: clamp(1.15rem, 3.4vw, 1.6rem); font-weight: 800; letter-spacing: .01em; line-height: 1.2; text-transform: uppercase; color: #ffc933; }
.aw-nom { display: grid; gap: 4px; margin: 14px 0 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.aw-nom span { color: #c9d6dd; font-weight: 700; }
@media (min-width: 640px) { .aw-card { gap: 30px; padding: 28px 30px; } .aw-fig { width: 190px; } .aw-nom { font-size: .88rem; } }
@media (min-width: 980px) { .aw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 420px) { .aw-card { gap: 14px; padding: 16px; } .aw-fig { width: 108px; } .aw-fig figcaption { font-size: .66rem; } }

/* Kingmidas: About cards, with the award logos in the middle (wider) card */
.ab-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.ab-grid > .port-card { grid-column: auto; }
.aw-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.aw-logos li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.aw-logo { position: relative; display: block; width: 100%; aspect-ratio: 1.1; transition: transform .22s ease; }   /* the badges sit straight on the card, no dark tile behind them */
.aw-logos li:hover .aw-logo { transform: translateY(-3px); }
.aw-logo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.aw-cap { font-size: .72rem; font-weight: 800; line-height: 1.3; text-align: center; color: var(--ink-2); text-wrap: balance; }
@media (min-width: 980px) { .ab-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; } }
@media (max-width: 420px) { .aw-logos { gap: 8px; } .aw-cap { font-size: .66rem; } }

/* ---------- Monkey King (slot provider page) ---------- */
.lb-card h3 { display: flex; align-items: center; gap: 12px; }
.pc-mark { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; color: #fff; }
.pc-mark svg { width: 18px; height: 18px; stroke-width: 2.6; }
.pc-mark--pro { background: #19b26b; }
.pc-mark--con { background: #ff9d1f; }
@media (min-width: 900px) { .lb-card--pros .lb-list, .lb-card--cons .lb-list { flex: none; grid-auto-rows: auto; } .lb-card--pros .lb-item, .lb-card--cons .lb-item { align-content: start; } }   /* keep rows their natural height, not stretched to match the longer card */
.lb-card--pros { border-top: 5px solid #19b26b; }
.lb-card--cons { border-top: 5px solid #ff9d1f; }
.lb-card--cons .lb-item .icon { color: #8a4b00; background: rgba(255, 157, 31, .18); }
.pt-table .pt-rtp { font-weight: 800; color: var(--brand-ink); }
.pt-table .req-row > td.pt-max { font-weight: 800; color: var(--ink); }
.req-table--6 .req-row td { font-size: .98rem; }
@media (min-width: 860px) {
  .req-table--6 .req-row > th { width: 15%; }
  .req-table--6 .req-row > td:nth-child(2) { width: 17%; }
  .req-table--6 .req-row > td:nth-child(3) { width: 8%; }
  .req-table--6 .req-row > td:nth-child(4) { width: 11%; }
  .req-table--6 .req-row > td:nth-child(5) { width: 11%; font-weight: 700; }
  .req-table--6 thead th { padding-inline: 16px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
  .req-table--6 .req-row > * { padding: 18px 16px; }
}

/* ---------- Askmeslot (slot provider page) ---------- */
.stat-sub { margin: 0; font-size: .95rem; line-height: 1.45; color: #c8dde8; }
.pf-grid--4 { grid-template-columns: minmax(0, 1fr); }
.pk-card { position: relative; }
.pk-n { position: absolute; top: 22px; right: 24px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: .95rem; font-weight: 800; color: var(--brand); background: var(--ink); }
.rv-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.rv-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.rv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.rv-stars { display: flex; gap: 4px; color: #ffb81f; }
.rv-stars svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.rv-card h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.rv-card blockquote { display: flex; flex-direction: column; flex: 1; gap: 14px; margin: 0; }
.rv-card blockquote p { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--ink-2); }
.rv-card footer { margin-top: auto; font-size: .95rem; font-weight: 800; color: var(--brand-ink); }
@media (min-width: 640px) { .pf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .pf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .rv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- Nextspin (slot provider page) ---------- */
/* neon / dark-mode tech-spec cards, one accent colour each */
.nx-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.nx-card { --ac: #00c8f8; position: relative; display: flex; flex-direction: column; gap: 14px; overflow: hidden; padding: 28px 24px; border-radius: 28px; color: #fff; background: radial-gradient(320px 220px at 100% 0%, color-mix(in srgb, var(--ac) 22%, transparent), transparent 70%), #0a1119; border: 1px solid color-mix(in srgb, var(--ac) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac) 14%, transparent), 0 28px 60px -34px var(--ac); transition: transform .22s ease, box-shadow .22s ease; }
.nx-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ac) 40%, transparent), 0 34px 64px -30px var(--ac); }
.nx-card--pink { --ac: #ff4dd8; }
.nx-card--gold { --ac: #ffc233; }
.nx-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--ac); background: color-mix(in srgb, var(--ac) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 45%, transparent); }
.nx-ico svg { width: 26px; height: 26px; }
.nx-card h3 { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #fff; text-shadow: 0 0 22px color-mix(in srgb, var(--ac) 55%, transparent); }
.nx-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.nx-list li { position: relative; padding-left: 18px; font-size: .98rem; line-height: 1.55; color: #9fb7c4; }
.nx-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 10px var(--ac); }
.nx-list b { font-weight: 800; color: #fff; }
.nx-rtp { font-weight: 800; color: var(--brand-ink); }
.nx-vol { display: block; font-size: .9rem; font-weight: 600; font-style: italic; color: var(--muted); }
.nx-table .req-row > td.nx-max { font-weight: 800; color: var(--ink); }
.nx-table td strong { font-weight: 800; color: var(--ink); }
.hist-card p strong { font-weight: 800; color: var(--ink); }
.tl-card p strong { font-weight: 800; color: var(--ink); }
@media (min-width: 860px) {
  .nx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .nx-table.req-table--4 .req-row > th { width: 19%; }
  .nx-table.req-table--4 .req-row > td:nth-child(2) { width: 46%; }
  .nx-table.req-table--4 .req-row > td:nth-child(3) { width: 17%; }
  .nx-table.req-table--4 .req-row > td:nth-child(4) { width: 18%; font-weight: 800; }
  .nx-table.req-table--4 thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
}

/* ---------- Play8 (slot provider page) ---------- */
/* six showcase cards: two even rows of three, not the 3 + 2 + 1 the shared card grid would make */
.p8-hot .port-card, .p8-hot .port-card:nth-child(n + 4), .p8-hot .port-card:last-child { grid-column: auto; }
@media (min-width: 980px) { .p8-hot { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#apk .section-head p a { font-weight: 800; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(0, 200, 248, .55); transition: color .2s ease, text-decoration-color .2s ease; }
#apk .section-head p a:hover { color: var(--ink); text-decoration-color: var(--brand); }
.p8-lib { display: grid; gap: 16px; padding: 28px 24px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.p8-lib h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.p8-lib h3:not(:first-child) { margin-top: 10px; }
.p8-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p8-chips li { padding: 8px 16px; border-radius: 999px; font-size: .95rem; font-weight: 700; color: var(--ink-2); background: var(--tint-50); border: 1px solid var(--tint-200); transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.p8-chips li:hover { background: var(--tint-100); border-color: var(--brand); transform: translateY(-2px); }
@media (min-width: 640px) { .p8-lib { padding: 34px 34px; } }

/* Spadegaming licensing: the three official certification logos, sitting straight on the card (no tile behind them) */
.lic-logos { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 30px; margin: 0; padding: 0; list-style: none; }
.lic-logos li { display: flex; flex: 0 1 var(--w, 140px); min-width: 0; }   /* one row: the three shrink together instead of wrapping */
.lic-tile { display: block; transition: transform .22s ease; }
.lic-logos li:hover .lic-tile { transform: translateY(-3px); }
.lic-tile img { display: block; width: var(--w, 140px); max-width: 100%; height: auto; }   /* a set width per logo, so wide and square marks look equally big */
.lic-logos li:nth-child(1) { --w: 134px; } .lic-logos li:nth-child(2) { --w: 184px; } .lic-logos li:nth-child(3) { --w: 66px; }
@media (max-width: 520px) { .lic-logos { flex-wrap: wrap; justify-content: center; gap: 12px 22px; } .lic-logos li:nth-child(1) { flex-basis: 100%; justify-content: center; --w: 168px; } .lic-logos li:nth-child(2) { --w: 190px; } .lic-logos li:nth-child(3) { --w: 76px; } }
@media (max-width: 380px) { .lic-logos { gap: 12px 16px; } .lic-logos li:nth-child(2) { --w: 150px; } .lic-logos li:nth-child(3) { --w: 64px; } }

/* ---------- Home: banner carousel + a shorter hero ---------- */
.bn { position: relative; background: var(--ink); }
.bn-viewport { position: relative; overflow: hidden; aspect-ratio: 800 / 417; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.bn-viewport.is-dragging { cursor: grabbing; }
.bn-track { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.bn-slide { position: absolute; inset: 0; transform: translateX(0); transition: transform .95s cubic-bezier(.55, .05, .2, 1); will-change: transform; }   /* eases in and out: a gentle start, a long soft landing */
.bn-slide:nth-child(n + 2) { transform: translateX(100%); }
.bn-viewport.is-dragging .bn-slide { transition: none; }
.bn-link { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.bn-img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.bn-img { z-index: 1; object-fit: cover; }
.bn-link:focus-visible { outline: 3px solid var(--brand); outline-offset: -6px; }
.bn-arrow { position: absolute; z-index: 3; top: 50%; display: none; place-items: center; width: 48px; height: 48px; padding: 0; margin-top: -24px; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .88); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); cursor: pointer; opacity: 0; transition: opacity .25s ease, background-color .2s ease, transform .2s ease; }
.bn-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bn-arrow--prev { left: 18px; }
.bn-arrow--next { right: 18px; }
.bn-viewport:hover .bn-arrow, .bn-arrow:focus-visible { opacity: 1; }
.bn-arrow:hover { background: var(--brand); transform: scale(1.06); }
.bn-arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.bn-dots {   /* the hero's pagination: a small glass capsule, so the dots read on any banner */
  --dot: 7px; --pill: 28px; --pad: 7px;
  position: absolute; z-index: 3; left: 50%; bottom: 6px; display: flex; align-items: center; padding: 2px 5px; transform: translateX(-50%);
  border-radius: 999px; background: rgba(4, 20, 28, .42); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
}
.bn-dot { position: relative; width: calc(var(--dot) + var(--pad) * 2); height: 20px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .35s cubic-bezier(.2, .7, .2, 1); }   /* the active dot takes a wider slot, so the spacing stays even */
.bn-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: var(--dot); height: var(--dot); margin: calc(var(--dot) / -2) 0 0 calc(var(--dot) / -2); border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .35s cubic-bezier(.2, .7, .2, 1), margin .35s cubic-bezier(.2, .7, .2, 1), background-color .2s ease; }
.bn-dot:hover::before { background: #fff; }
.bn-dot.is-active { width: calc(var(--pill) + var(--pad) * 2); cursor: default; }
.bn-dot.is-active::before { width: var(--pill); margin-left: calc(var(--pill) / -2); background: rgba(255, 255, 255, .3); }
.bn-fill {   /* the active pill, drawn as ONE rounded shape: a grey track with the cyan timer filling it from the left, so both ends are always the same true curve */
  position: absolute; left: 50%; top: 50%; width: var(--dot); height: var(--dot); margin: calc(var(--dot) / -2) 0 0 calc(var(--dot) / -2); border-radius: 999px;
  background: linear-gradient(var(--brand), var(--brand)) left center / 0% 100% no-repeat, rgba(255, 255, 255, .3);
  opacity: 0; pointer-events: none; transition: width .35s cubic-bezier(.2, .7, .2, 1), margin .35s cubic-bezier(.2, .7, .2, 1), opacity .25s ease;
}
.bn-dot.is-active .bn-fill { width: var(--pill); margin-left: calc(var(--pill) / -2); opacity: 1; }
.bn-dot.is-active::before { background: transparent; }   /* the fill element draws the whole active pill */
.bn-dot:focus-visible { outline: 2px solid #fff; outline-offset: -3px; border-radius: 999px; }
/* phones: the banner at its own shape, with a strip beneath for the controls so nothing sits on the artwork */
.bn-link picture { display: contents; }
@media (min-width: 640px) { .bn-viewport { aspect-ratio: 3840 / 1150; } .bn-dots { bottom: 8px; } }   /* the banners are 3840x1150, so the frame matches them and they fill edge to edge; phones use the native 800x417 mobile art, so their frame matches it and nothing is cropped */
@media (min-width: 1000px) { .bn-dots { --dot: 8px; --pill: 34px; --pad: 8px; bottom: 8px; } }
@media (min-width: 900px) { .bn-arrow { display: grid; } }

/* home hero: shorter than before — smaller type, tighter spacing, and a smaller phone */
.hero--compact { padding-top: 34px; background: radial-gradient(760px 380px at 88% 4%, rgba(0, 200, 248, .13), transparent 70%), linear-gradient(180deg, #fff 0%, #fff 100%); }   /* the banners above carry the colour, so this stays clean white; the tinted section after it then reads as its own band */
.hero--compact .hero-bg::before { background: var(--brand); opacity: .05; }
.hero--compact .hero-bg::after { background: var(--brand); opacity: .07; }
.hero--compact .btn--outline { background: transparent; }
.hero--compact .btn--outline:hover { background: var(--ink); }
.hero--compact .stat { border: 1px solid var(--line); }
.hero--compact .hero-grid { gap: 28px; padding-bottom: 52px; }
.hero--compact h1 { font-size: clamp(1.8rem, 4.4vw, 2.75rem); }
.hero--compact .lead { margin-top: 14px; font-size: clamp(.98rem, 1.4vw, 1.08rem); }
.hero--compact .cta-row { margin-top: 22px; }
.hero--compact .hero-visual { zoom: .7; }

/* ---------- Step slideshow, one step at a time on phones (data-pager) ---------- */
.dl-pager { display: none; }
@media (max-width: 959px) {
  .dl-demo.has-pager { gap: 20px; touch-action: pan-y; }
  .has-pager .dl-steps { display: grid; }
  .has-pager .dl-step { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: none; transition: none; cursor: default; }   /* every card shares one cell, so the page keeps the height of the tallest and does not jump */
  .has-pager .dl-step.is-active { visibility: visible; opacity: 1; transform: none; }
  .has-pager .dl-step::after { display: none; }
  .has-pager .dl-step.is-in-next { animation: dlInNext .38s cubic-bezier(.2, .7, .2, 1); }
  .has-pager .dl-step.is-in-prev { animation: dlInPrev .38s cubic-bezier(.2, .7, .2, 1); }
  .has-pager .dl-pager { display: flex; }
}
@keyframes dlInNext { from { opacity: 0; transform: translateX(28px); } }
@keyframes dlInPrev { from { opacity: 0; transform: translateX(-28px); } }

/* ---------- Step cards, one at a time on phones (data-card-pager) ---------- */
.card-pager { display: none; }
@media (max-width: 639px) {
  .step-cards.is-paged { touch-action: pan-y; }
  .step-cards.is-paged > li { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: none; transition: none; }   /* every card shares one cell, so the page keeps the height of the tallest and does not jump */
  .step-cards.is-paged > li:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
  .step-cards.is-paged > li.is-active { visibility: visible; opacity: 1; border-color: var(--brand); box-shadow: 0 22px 40px -26px rgba(0, 200, 248, .75); }
  .step-cards.is-paged > li.is-in-next { animation: dlInNext .38s cubic-bezier(.2, .7, .2, 1); }
  .step-cards.is-paged > li.is-in-prev { animation: dlInPrev .38s cubic-bezier(.2, .7, .2, 1); }
  .step-cards.is-paged + .card-pager { display: flex; margin-top: 22px; }
}

/* ---------- Icons added where a matching component elsewhere already had one ---------- */
/* team cards (Askmeslot): the icon sits before the heading; on the dark card it takes the brand colours */
.lb-card--classic h3 .icon { color: var(--brand); background: rgba(0, 200, 248, .12); }
/* FAQ: a question-mark bubble before every question (the plus/minus stays on the right) */
.faq-item summary h3 { flex: 1; min-width: 0; }
.faq-item summary::before {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--tint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304141c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 2.5-3 4.2M12 18h.01'/%3E%3C/svg%3E") center / 28px no-repeat;
  transition: background-color .3s ease;
}
.faq-item.is-open summary::before, :root:not(.js) .faq-item[open] summary::before { background-color: var(--brand); }
/* footer column headings: a small icon before each title (drawn with a mask, so it follows the title colour) */
.footer-col .footer-title { display: flex; align-items: center; gap: 8px; }
.footer-col .footer-title::before {
  content: ""; flex: none; width: 15px; height: 15px; background-color: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.footer-col[aria-label="Games"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='11' rx='5.5'/%3E%3Cpath d='M8 10.5v4M6 12.5h4M15.5 11.5h.01M18 13.5h.01'/%3E%3C/svg%3E"); }
.footer-col[aria-label="Promotions"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='18' height='11' rx='1.5'/%3E%3Cpath d='M12 9v11M3 13.5h18M12 9C9.5 9 7.5 7.8 7.5 6.2a1.9 1.9 0 0 1 3.3-1.2C11.7 5.8 12 7.5 12 9zM12 9c2.5 0 4.5-1.2 4.5-2.8A1.9 1.9 0 0 0 13.2 5C12.3 5.8 12 7.5 12 9z'/%3E%3C/svg%3E"); }
.footer-col[aria-label="Company and Legal"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5M12 7.5h.01'/%3E%3C/svg%3E"); }
.footer-col[aria-label="Account"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E"); }
.footer-col[aria-label="Payment"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7a2 2 0 0 1 2-2h11v3'/%3E%3Crect x='3' y='8' width='18' height='12' rx='2.5'/%3E%3Ccircle cx='16.5' cy='14' r='1.2'/%3E%3C/svg%3E"); }
.footer-col[aria-label="Guides and Help"] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M4 19V5M9 7h6'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) {
  html, html.is-smooth { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- guides hub: the blog's dark panel, widened for a directory ---- */
.section--hub { background: #fff; padding: 34px 0 76px; }
.hub-panel {
  max-width: 1080px; margin-inline: auto; padding: 48px 56px 56px; border-radius: 24px;
  background: radial-gradient(1000px 420px at 85% -8%, rgba(0, 200, 248, .13), transparent 62%), var(--ink-2);
  color: #e3eff6;
}
@media (max-width: 720px) { .hub-panel { padding: 32px 22px 40px; border-radius: 18px; } }
.hub-eyebrow { margin-bottom: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.hub-panel h1 { margin-bottom: 14px; font-size: clamp(1.68rem, 3.8vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: #fff; }
.hub-panel .lead { max-width: 64ch; margin-top: 0; color: #cfe4ef; font-weight: 500; }
/* the three-step path for someone who has never used Winbox */
.hub-start { display: grid; gap: 14px; margin-top: 30px; padding: 22px 24px; border-radius: 18px; background: rgba(0, 200, 248, .09); border: 1px solid rgba(0, 200, 248, .3); }
@media (min-width: 860px) { .hub-start { grid-template-columns: auto repeat(3, 1fr); align-items: center; gap: 20px; } }
.hub-start-label { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.hub-step { display: flex; align-items: center; gap: 11px; font-weight: 700; color: #e3eff6; text-decoration: none; }
.hub-step b { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--ink); font-size: .8rem; font-weight: 800; }
.hub-step:hover, .hub-step:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* category groups */
.hub-group { margin-top: 42px; }
.hub-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hub-group-head h2 { font-size: 1.18rem; font-weight: 800; letter-spacing: -.015em; color: #fff; }
.hub-count { flex: none; font-size: .78rem; font-weight: 700; color: #9fc0d2; }
.hub-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.hub-card { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 18px; text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); }
.hub-card:hover, .hub-card:focus-visible { background: rgba(0, 200, 248, .1); border-color: var(--brand); }
.hub-card .bento-icon { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0, 200, 248, .14); color: var(--brand); }
.hub-card .bento-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hub-card h3 { font-size: 1.04rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.hub-card p { font-size: .93rem; line-height: 1.6; color: #bed6e3; }
.hub-card .hub-go { margin-top: auto; padding-top: 4px; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.hub-foot { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; color: #b9d2e0; }
.hub-foot a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
/* blog listing: same panel, matched to the post width so index and article feel like one section */
.hub-panel--narrow { max-width: 860px; }
.hub-panel .post-meta { color: var(--brand); }
/* a stacked feed, not a grid: one post must not sit stranded in a 3-column track */
.hub-list { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.hub-list .hub-card h3 { font-size: 1.22rem; }
.hub-list .hub-card p { font-size: .98rem; line-height: 1.65; }
.hub-list .hub-card .post-meta { margin-bottom: 2px; }

/* ---- visible breadcrumb trail (mirrors the BreadcrumbList schema exactly) ---- */
.crumbs { margin-bottom: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; line-height: 1.5; }
.crumbs li + li::before { content: "/"; opacity: .42; font-weight: 500; }
.crumbs a { color: inherit; opacity: .74; text-decoration: none; }
.crumbs a:hover, .crumbs a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { opacity: .95; font-weight: 700; }
/* on the blog post the trail sits on the white page, where .post-back used to */
.post-crumbs { max-width: 860px; margin: 0 auto 16px; }
