/* 918kiss — site styles. Sections are appended below as they are built. */

:root {
  --bg: #161514;
  --fg: #f4f1ea;
  --fg-dim: rgba(244, 241, 234, .72);
  --line: rgba(255, 255, 255, .12);
  --panel: #1f1d1b;
  --accent: #ff5c9a;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ═════════ HEADER ═════════ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  transition: background-color .3s, backdrop-filter .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(22, 21, 20, .86);
  box-shadow: 0 1px 0 var(--line);
}
/* the blur lives on a pseudo-element: backdrop-filter on the header itself would make the
   fixed mobile menu size itself to the header instead of the screen */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .3s;
}
.site-header.scrolled::before { opacity: 1; }
/* sub-pages: the bar is fully transparent at the top and only turns solid once you scroll (home keeps its soft shade over the hero image) */
body:has(main.page) .site-header:not(.scrolled):not(.menu-open) { background: transparent; }
/* the first intro block slides up under the bar, so there is no seam where the page glow begins */
.page > .dl-hero:not(.dl-hero--banner):first-child {
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
}
/* menu open: solid bar so it joins the menu panel below it */
.site-header.menu-open { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.site-header.menu-open::before { opacity: 0; }
.header-inner {
  max-width: 1280px; height: var(--header-h); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 32px;
}

.brand { flex: none; display: block; }
.brand img { height: 57px; width: auto; min-width: 120px; }  /* min-width keeps the slot visible until logo exists */

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--fg);
  border-radius: 8px; transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--accent); }
.chev { width: 14px; height: 14px; transition: transform .25s; }
.nav-item.open .chev { transform: rotate(180deg); }

/* dropdown */
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; padding: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu a { display: block; padding: 10px 12px; font-size: 14.5px; color: var(--fg-dim); border-radius: 8px; }
.menu a:hover, .menu a:focus-visible { background: rgba(255, 255, 255, .07); color: var(--fg); }
.nav-item.open > .menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) {
  .nav-item.has-menu:hover > .menu { opacity: 1; visibility: visible; transform: none; }
  .nav-item.has-menu:hover .chev { transform: rotate(180deg); }
  .nav-item.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* hover bridge */
}

/* actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s, color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); color: var(--accent); }
.icon-btn svg { width: 22px; height: 22px; }

.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; margin: 0 auto; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* search */
.search-panel {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) 16px;
  display: flex; gap: 10px;
}
.search-panel[hidden] { display: none; }
.search-panel input {
  flex: 1; min-width: 0; padding: 12px 16px; font: inherit; color: var(--fg);
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
}
.search-panel input::placeholder { color: var(--fg-dim); }
.search-panel button { padding: 0 20px; font-weight: 600; color: #111; background: var(--accent); border-radius: 8px; }

/* mobile */
@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 12px var(--gutter) 32px;
    background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; border-radius: 0; }
  .menu {
    position: static; min-width: 0; padding: 0 0 10px 4px; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav-item.open > .menu { display: block; }
  .menu a { padding: 11px 8px; font-size: 15.5px; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ═════════ HERO ═════════ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh); display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 72px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center;
}
/* darkens the empty left of the artwork so the copy stays readable */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 5, 9, .88) 0%, rgba(14, 5, 9, .62) 38%, rgba(14, 5, 9, 0) 68%),
    linear-gradient(to top, var(--bg) 0%, rgba(22, 21, 20, 0) 22%);
}
.hero-inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.hero-copy { max-width: 580px; }
.hero h1 {
  margin: 0 0 24px; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 600;
  line-height: 1.08; letter-spacing: -.02em; text-wrap: balance;
}
.hero p { margin: 0; max-width: 52ch; font-size: clamp(.875rem, 1vw, .9375rem); line-height: 1.65; color: var(--fg-dim); }

/* ═════════ THE APP ═════════ */
.app {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 92svh); display: flex; flex-direction: column;
  background: linear-gradient(135deg, #3a1522 0%, #14100f 60%);  /* shows until the images exist */
}
.app-bgs { position: absolute; inset: 0; z-index: -2; }
.app-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.app-bg.is-active { opacity: 1; transform: none; }
.app::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 5, 9, .82) 0%, rgba(14, 5, 9, .45) 42%, rgba(14, 5, 9, 0) 70%),
    linear-gradient(to top, rgba(14, 5, 9, .75) 0%, rgba(14, 5, 9, 0) 45%);
}
.app-inner { flex: 1; display: flex; align-items: flex-end; width: 100%; max-width: 1280px; margin: 0 auto; padding: 96px var(--gutter) 56px; }
.app-copy { max-width: 600px; }
.app h2 {
  margin: 0 0 18px; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 600;
  line-height: 1.12; letter-spacing: -.02em; text-wrap: balance;
}
.app-panel p { margin: 0; font-size: clamp(.875rem, 1vw, .9375rem); line-height: 1.7; color: var(--fg-dim); }
.app-panel + .app-panel { margin-top: 14px; }  /* only matters without JS, when all three show */
.app-panel a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.app-panel a:hover { color: var(--accent); }
/* one paragraph at a time when JS is running */
.js .app-panel:not(.is-active) { display: none; }
.js .app-panel.is-active { animation: panel-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

/* bottom bar */
.app-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(22, 21, 20, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.app-tab {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 80px; padding: 14px 20px;
  border-left: 1px solid var(--line); text-align: center; font-size: clamp(.85rem, 1.1vw, 1rem); font-weight: 500; color: var(--fg-dim);
  transition: background-color .25s, color .25s;
}
.app-tab:first-child { border-left: 0; }
.app-tab:hover { background: rgba(255, 255, 255, .08); color: var(--fg); }
.app-tab.is-active { background: #fff; color: #111; }
.app-tab:focus-visible { outline-offset: -4px; }
/* auto-advance progress line */
.app-tab::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.js .app-tab.is-active.is-timed::after { animation: tab-progress var(--dwell, 9s) linear forwards; }
.app:hover .app-tab::after, .app:focus-within .app-tab::after { animation-play-state: paused; }
@keyframes tab-progress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .app-bg, .app-tab { transition: none; }
  .js .app-panel.is-active { animation: none; }
}

@media (max-width: 760px) {
  .app { min-height: 0; }
  .app-inner { padding-top: 260px; padding-bottom: 32px; }
  .app::before { background: linear-gradient(to top, rgba(14, 5, 9, .94) 0%, rgba(14, 5, 9, .72) 55%, rgba(14, 5, 9, .1) 92%); }
  .app-tab { min-height: 76px; padding: 10px 8px; font-size: 12px; line-height: 1.3; }
}

/* ═════════ NEW & POPULAR GAMES ═════════ */
.games {
  --g-ink: #1a0e12; --g-dim: #5a4a50; --g-line: #f0dde3; --g-accent: #d81b60;
  background: #fff8fa; color: var(--g-ink);
}
.games-top { position: relative; max-width: 1280px; min-height: clamp(440px, 40vw, 560px); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter) 40px; }
.games-top::before {  /* soft glow so the right side is not empty before the artwork exists */
  content: ""; position: absolute; right: 0; bottom: 0; width: 55%; height: 90%; z-index: 0;
  background: radial-gradient(ellipse at 65% 70%, rgba(225, 40, 90, .16), transparent 65%); pointer-events: none;
}
.games-art { position: absolute; z-index: 1; right: 0; bottom: 0; height: 100%; width: 58%; object-fit: contain; object-position: right bottom; }
.games-copy { position: relative; z-index: 2; max-width: 520px; }
.games h2 {
  margin: 0 0 24px; font-size: clamp(1.9rem, 3.8vw, 3.25rem); font-weight: 600; line-height: 1.04;
  letter-spacing: -.02em; text-transform: uppercase;
}
.games h2 span { display: block; background: linear-gradient(90deg, #ff4d94, #f0384f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.games-copy p { margin: 0 0 14px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.65; color: var(--g-dim); }

.games-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--g-line); }
.games-facts li { position: relative; padding: 36px clamp(20px, 3vw, 40px) 44px; border-left: 1px solid var(--g-line); transition: background-color .3s; }
.games-facts li:first-child { border-left: 0; }
.games-facts li:hover { background: #fff; }
.games-facts svg { display: block; width: 52px; height: 52px; margin-bottom: 40px; }
.games-facts h3 { margin: 0 0 10px; font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -.01em; }
.games-facts p { margin: 0; max-width: 34ch; font-size: clamp(.875rem, 1vw, .9375rem); line-height: 1.65; color: var(--g-dim); }

.games-more { margin: 0; padding: 22px var(--gutter); text-align: center; font-size: .9375rem; color: var(--g-dim); }
.games-more a { color: var(--g-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.games-more a:hover { color: var(--g-ink); }

@media (max-width: 860px) {
  .games-top { min-height: 0; padding-bottom: 0; }
  .games-art { position: relative; display: block; width: 100%; height: 300px; margin-top: 8px; }
  .games-facts { grid-template-columns: 1fr; }
  .games-facts li { border-left: 0; border-top: 1px solid var(--g-line); padding: 28px var(--gutter); }
  .games-facts li:first-child { border-top: 0; }
  .games-facts svg { margin-bottom: 20px; }
}

/* ═════════ WHERE 918KISS IS PLAYED ═════════ */
.btn-primary {
  display: inline-flex; align-items: center; padding: 13px 24px; font-size: 14.5px; font-weight: 600; color: #fff;
  background: linear-gradient(90deg, #ff5c9a, #e8243f); border-radius: 10px; transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(240, 56, 79, .35); }
.btn-primary:active { transform: scale(.98); }

.played { position: relative; isolation: isolate; overflow: hidden; min-height: max(640px, 92svh); display: flex; flex-direction: column; background: #070508; }
.played-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.played::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 5, 8, .88) 0%, rgba(7, 5, 8, .55) 42%, rgba(7, 5, 8, 0) 72%),
    linear-gradient(to top, rgba(7, 5, 8, .8) 0%, rgba(7, 5, 8, 0) 40%);
}
.played-inner { flex: 1; display: flex; align-items: center; width: 100%; max-width: 1280px; margin: 0 auto; padding: calc(var(--header-h) + 40px) var(--gutter) 48px; }
.played-copy { max-width: 540px; }
.played h2 { margin: 0 0 22px; font-size: clamp(1.75rem, 3.4vw, 2.875rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.played-copy p { margin: 0 0 14px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.7; color: rgba(244, 241, 234, .82); }
.played-copy .btn-primary { margin-top: 14px; }

/* partner logos, grouped by country */
.played-logos { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr .7fr; border-top: 1px solid var(--line); background: rgba(14, 6, 10, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lgroup { padding: 22px clamp(16px, 2.4vw, 32px) 26px; border-left: 1px solid var(--line); }
.lgroup:first-child { border-left: 0; }
.lgroup h3 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lgroup ul { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.lgroup li { height: 30px; display: flex; align-items: center; }
.lgroup img { max-height: 30px; max-width: 110px; width: auto; height: auto; object-fit: contain; opacity: .85; transition: opacity .2s; }
.lgroup img:hover { opacity: 1; }
.lgroup-more p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--fg-dim); }

@media (max-width: 860px) {
  .played { min-height: 0; }
  .played::before { background: linear-gradient(to top, rgba(7, 5, 8, .94) 0%, rgba(7, 5, 8, .78) 60%, rgba(7, 5, 8, .35) 100%); }
  .played-inner { padding-top: 200px; }
  .played-logos { grid-template-columns: 1fr 1fr; }
  .lgroup:nth-child(3) { border-left: 0; }
  .lgroup:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ═════════ HOW PLATFORMS & AGENTS RUN 918KISS ═════════ */
.route {
  --g-ink: #1a0e12; --g-dim: #5a4a50; --g-line: #f0dde3; --g-accent: #d81b60;
  background: #fff8fa; color: var(--g-ink); padding: clamp(64px, 8vw, 112px) 0;
}
.route-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.route-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.route h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.875rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.route-head p { margin: 0; max-width: 40ch; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.65; color: var(--g-dim); }

/* no boxes: two open columns split by a hairline, each with an accent rule on top */
.route-cards { display: grid; grid-template-columns: 1fr 1fr; }
.route-card { position: relative; padding: 36px clamp(24px, 4vw, 64px) 8px 0; }
.route-card + .route-card { padding-left: clamp(24px, 4vw, 64px); padding-right: 0; border-left: 1px solid var(--g-line); }
.route-card::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #ff4d94, #f0384f); }
.route-card + .route-card::before { left: clamp(24px, 4vw, 64px); }
.route-card > svg { display: block; width: 44px; height: 44px; margin-bottom: 22px; color: var(--g-accent); }
.route-card p { margin: 0; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.75; color: var(--g-dim); }
.route-card a { color: var(--g-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--g-accent); }
.route-card a:hover { color: var(--g-accent); }

.route-also { margin-top: clamp(36px, 4.5vw, 64px); max-width: 720px; }
.route-also-lead { margin: 0 0 12px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.65; color: var(--g-ink); }
.route-also ul { list-style: none; margin: 0; padding: 0; }
.route-also li { position: relative; padding: 8px 0 8px 24px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.65; color: var(--g-dim); }
.route-also li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--g-accent); }


@media (max-width: 860px) {
  .route-head, .route-cards { grid-template-columns: 1fr; }
  .route-card, .route-card + .route-card { padding: 32px 0 8px; border-left: 0; }
  .route-card + .route-card { margin-top: 24px; }
  .route-card + .route-card::before { left: 0; }
  .route-head { align-items: start; }
}

/* ═════════ JACKPOTS + COMPANY (shared fixed background) ═════════ */
/* The image is fixed to the viewport, so both sections scroll over it like windows.
   clip-path crops it to this wrapper (works on iOS, unlike background-attachment: fixed). */
.fixbg {
  position: relative; isolation: isolate; clip-path: inset(0); background: #0d0709;  /* shows until the image exists */
}
.fixbg-img { position: fixed; inset: 0; z-index: -2; width: 100vw; height: 100vh; height: 100lvh; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .fixbg-img { position: absolute; width: 100%; height: 100%; } }

/* ═════════ JACKPOTS & EVENTS ═════════ */
.jackpot {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: clamp(480px, 62vh, 640px); padding: clamp(72px, 9vw, 120px) 0;
  background:
    radial-gradient(ellipse 45% 55% at 50% 55%, rgba(240, 56, 79, .2), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(225, 40, 90, .25), transparent 70%),
    rgba(12, 5, 8, .5);
}
.jackpot-inner { max-width: 720px; padding: 0 var(--gutter); }
.jackpot h2 { margin: 0 0 22px; font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.jackpot p { margin: 0 0 30px; font-size: clamp(.9375rem, 1.15vw, 1.0625rem); line-height: 1.75; color: rgba(244, 241, 234, .84); }

/* ═════════ THE COMPANY ═════════ */
.company { --g-ink: #f4f1ea; --g-dim: rgba(244, 241, 234, .82); --g-line: rgba(255, 255, 255, .18); --g-accent: #d6b36a; background: rgba(12, 5, 8, .72); color: var(--g-ink); padding: clamp(64px, 8vw, 112px) 0; }
.company-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 6vw, 96px); align-items: start;
}
.company h2 { position: relative; margin: 0; padding-top: 28px; font-size: clamp(1.75rem, 3.4vw, 2.875rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.company h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #ff4d94, #f0384f); }
.company-copy { padding-top: 28px; }
.company-copy p { margin: 0 0 18px; font-size: clamp(.9375rem, 1.15vw, 1.0625rem); line-height: 1.8; color: var(--g-dim); }
.company-copy p:last-child { margin-bottom: 0; }
.company-copy a { color: var(--g-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--g-accent); }
.company-copy a:hover { color: var(--g-accent); }

@media (max-width: 860px) {
  .company-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ═════════ FINAL CTA ═════════ */
.btn-ghost {
  display: inline-flex; align-items: center; padding: 12px 24px; font-size: 14.5px; font-weight: 600; color: var(--fg);
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 10px; transition: background-color .2s, border-color .2s, transform .2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--accent); }
.btn-ghost:active { transform: scale(.98); }

.cta { background: #0d0709; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.cta-copy { max-width: 640px; }
.cta h2 { margin: 0 0 14px; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.cta p { margin: 0; font-size: clamp(.9375rem, 1.15vw, 1.0625rem); line-height: 1.7; color: rgba(244, 241, 234, .84); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

@media (max-width: 760px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ═════════ FOOTER ═════════ */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden; background: #070508;
  background-image:
    radial-gradient(ellipse 55% 90% at 12% 0%, rgba(225, 40, 90, .2), transparent 70%),
    radial-gradient(ellipse 40% 70% at 100% 100%, rgba(255, 92, 154, .08), transparent 70%);
}
.site-footer::before {  /* thin pink-to-red glow along the top edge */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #ff5c9a 30%, #e8243f 70%, transparent); opacity: .7;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px clamp(40px, 8vw, 128px);
}
.footer-brand img { height: 57px; width: auto; min-width: 120px; }
.footer-brand p { max-width: 36ch; margin: 18px 0 22px; font-size: .9375rem; line-height: 1.65; color: var(--fg-dim); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-contact a {
  display: inline-flex; align-items: center; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--fg);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; transition: background-color .25s, border-color .25s, color .25s, transform .2s;
}
.footer-contact a:hover { background: linear-gradient(90deg, #ff5c9a, #e8243f); border-color: transparent; color: #fff; transform: translateY(-2px); }

.footer-nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px clamp(24px, 4vw, 64px); }
.footer-nav h2 { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.footer-nav li + li { margin-top: 12px; }
.footer-nav a { position: relative; display: inline-block; font-size: 15px; color: var(--fg-dim); transition: color .25s, transform .25s; }
.footer-nav a::after {  /* underline grows from the left on hover */
  content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.footer-nav a:hover { color: var(--fg); transform: translateX(3px); }
.footer-nav a:hover::after { transform: scaleX(1); }

.footer-bar {
  max-width: 1280px; margin: 0 auto; padding: 22px var(--gutter) 30px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--fg-dim);
}
.footer-bar p { display: flex; align-items: center; gap: 12px; margin: 0; }
.age-badge {
  display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #fff; border: 1.5px solid #e8243f; border-radius: 999px;
}
.footer-bar ul { display: flex; gap: 24px; }
.footer-bar a { transition: color .2s; }
.footer-bar a:hover { color: var(--fg); }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: start; grid-template-columns: repeat(3, auto); }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

/* ═════════ INNER PAGES (download etc.): simple, readable layout — restyle freely ═════════ */
.page { padding-top: var(--header-h); }
.page .wrap { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.page h1 { margin: 0 0 20px; font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.page h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.page h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 600; }
.page p { margin: 0 0 16px; font-size: 1rem; line-height: 1.75; color: var(--fg-dim); }
.page a:not(.btn-primary) { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.page a:not(.btn-primary):hover { color: var(--accent); }

.dl-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(225, 40, 90, .22), transparent 70%); }
/* banner hero (download page): image slider behind the intro, header floats over it */
.dl-hero--banner {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  margin-top: calc(var(--header-h) * -1); min-height: clamp(460px, 44vw, 620px);
  padding: calc(var(--header-h) + 40px) 0 72px; background: #0d0709;
}
/* same 1280 container as the header, so the text lines up with the logo */
.page .dl-hero--banner .wrap { width: 100%; max-width: 1280px; }
.dl-hero--banner .wrap > * { max-width: 520px; }
.page .dl-hero--banner h1 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin-bottom: 16px; }
.page .dl-hero--banner p { font-size: clamp(.875rem, 1vw, .9375rem); line-height: 1.65; margin-bottom: 12px; }
.slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; }
.dl-hero--banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 5, 9, .85) 0%, rgba(14, 5, 9, .55) 40%, rgba(14, 5, 9, 0) 68%),
    linear-gradient(to top, #0d0709 0%, rgba(13, 7, 9, 0) 22%);
}
/* one block of text per slide; without JS everything stays visible */
.js .slide-copy:not(.is-active) { display: none; }
.js .slide-copy.is-active { animation: copy-in .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes copy-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .js .slide-copy.is-active { animation: none; } }
.slider-dots { position: absolute; left: 50%; bottom: 22px; display: flex; gap: 10px; transform: translateX(-50%); }
.slider-dots button { position: relative; width: 28px; height: 20px; padding: 0; }
.slider-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); transition: background-color .3s; }
.slider-dots button:hover::before { background: rgba(255, 255, 255, .6); }
.slider-dots button.is-active::before { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
@media (max-width: 760px) {
  .dl-hero--banner { min-height: 520px; align-items: flex-end; padding-bottom: 64px; }
  .slide { object-position: 78% center; }
  .dl-hero--banner::before { background: linear-gradient(to top, rgba(14, 5, 9, .94) 0%, rgba(14, 5, 9, .75) 55%, rgba(14, 5, 9, .15) 100%); }
}

.summary-strip { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.summary-strip div { display: flex; gap: 10px; align-items: baseline; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.summary-strip dt { font-size: 13px; color: var(--fg-dim); }
.summary-strip dd { margin: 0; font-weight: 600; }

.dl-get { padding: clamp(40px, 5vw, 72px) 0; }

.doc { padding: clamp(36px, 5vw, 64px) 0; }
.steps, .bullets { margin: 0 0 20px; padding: 0; list-style: none; }
.steps { counter-reset: step; }
.steps li, .bullets li { position: relative; padding: 6px 0 6px 40px; font-size: 1rem; line-height: 1.7; color: var(--fg-dim); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 6px; width: 26px; height: 26px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; border-radius: 50%; background: linear-gradient(135deg, #ff5c9a, #e8243f); }
.bullets li::before { content: ""; position: absolute; left: 10px; top: 1.05em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.page .lead-in { margin: 24px 0 6px; font-weight: 600; color: var(--fg); }
.page [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* comparison table */
.table-scroll { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 16px 20px; font-size: .9375rem; line-height: 1.5; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th, .compare thead td { border-top: 0; background: rgba(255, 255, 255, .05); font-weight: 600; }
.compare thead th:not(:first-child), .compare tbody td { border-left: 1px solid var(--line); }
.compare tbody th { width: 22%; font-weight: 500; color: var(--accent); }
.compare tbody td { color: var(--fg-dim); }

/* forms (agent check / report) */
.tool-form { margin: 20px 0 28px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .035); }
.tool-form label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 500; }
.tool-form input[type="text"], .tool-form input[type="file"] {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--fg); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 10px;
}
.tool-form input[type="text"]:focus-visible { outline-offset: 1px; }
.tool-row { display: flex; gap: 10px; }
.tool-row input { flex: 1; min-width: 0; }
.tool-row .btn-primary, .tool-form > .btn-primary { border: 0; cursor: pointer; }
.tool-title { margin: 0 0 16px; font-weight: 600; color: var(--fg); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.tool-wide { grid-column: 1 / -1; }
.tool-result { margin: 14px 0 0; font-weight: 600; color: var(--fg); }
.page .after-table { margin-top: 20px; }
@media (max-width: 600px) { .tool-row { flex-direction: column; } .tool-grid { grid-template-columns: 1fr; } }

/* demo */
.demo-frame { margin: 28px 0 12px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0d0709; aspect-ratio: 16 / 10; }
.demo-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-link { word-break: break-all; font-size: .9375rem; }
.cred { margin: 0 0 24px; padding: 18px 22px; border: 1px dashed rgba(255, 92, 154, .5); border-radius: 14px; background: rgba(255, 92, 154, .06); }
.cred div { display: flex; gap: 10px; padding: 3px 0; }
.cred dt { color: var(--fg-dim); }
.cred dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .demo-frame { aspect-ratio: 4 / 5; } }

/* contact */
.tool-form textarea { width: 100%; padding: 12px 14px; font: inherit; color: var(--fg); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 10px; resize: vertical; }
.contact-list { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .035); font-size: 1.0625rem; }

/* certificates */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 8px 0 24px; }
.certs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(160deg, #2a1119, #120a0d); }
.page strong { color: var(--fg); font-weight: 600; }

/* game list */
.page .wrap-wide { max-width: 1080px; }
.game-list { padding: 8px 0 clamp(56px, 7vw, 96px); }
.game-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px 32px; padding: 26px; margin-bottom: 20px;
  border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .035);
}
.game-art { width: 100%; height: 100%; max-height: 300px; border-radius: 14px; object-fit: cover; background: linear-gradient(160deg, #3a1522, #14100f); }
.game-body { display: flex; flex-direction: column; align-items: flex-start; }
.game-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 14px; }
.game-facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.game-facts dd { margin: 2px 0 0; font-size: .9375rem; }
.game-body p { font-size: .9375rem; }
.game-body .btn-primary { margin-top: auto; }
.game-shot { grid-column: 1 / -1; width: 100%; border-radius: 14px; background: linear-gradient(160deg, #1c1014, #0d0709); aspect-ratio: 16 / 9; object-fit: cover; }

@media (max-width: 860px) {
  .game-card { grid-template-columns: 1fr; }
  .game-art { max-height: 240px; }
}

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: max(620px, 92svh); padding-bottom: 48px; }
  .hero-bg { object-position: 78% 30%; }
  .hero::before {
    background: linear-gradient(to top, rgba(14, 5, 9, .96) 0%, rgba(14, 5, 9, .8) 45%, rgba(14, 5, 9, .1) 80%);
  }
}


/* download bento: flip cards */
.dl-flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.dl-flip:hover .dl-flip-inner, .dl-flip:focus-within .dl-flip-inner { transform: rotateY(180deg); }
.dl-face { position: absolute; inset: 0; display: flex; align-items: center; gap: 20px; padding: 22px 28px; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, #2a2226, #1c1719); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.dl-face::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 92, 154, .28), transparent 70%); pointer-events: none; }
.dl-back { transform: rotateY(180deg); flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 18px 26px; border-color: rgba(255, 92, 154, .5); background: linear-gradient(160deg, #3a1d2b, #1c1719); }
.dl-back p { margin: 0; font-size: .9375rem; line-height: 1.55; color: rgba(244, 241, 234, .88); }
.dl-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--fg-dim); }
.dl-back .dl-meta li { margin: 0; }
.dl-back .btn-primary { padding: 10px 20px; }
.dl-front div { display: grid; gap: 3px; }
.dl-front small { font-size: 12.5px; color: var(--fg-dim); }
.dl-front strong { font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; }
.dl-os-icon { flex: none; width: 56px; height: 56px; padding: 13px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #ff5c9a, #e8243f); }
.dl-os-icon path { fill: currentColor; }
.dl-go { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 1.125rem; }
.dl-flip--qr .dl-front img { flex: none; width: 112px; height: 112px; padding: 8px; border-radius: 16px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .dl-flip-inner { transition-duration: .01s; } }

/* download: scattered collage */
.dl-get { overflow-x: clip; }
.dl-stage { position: relative; width: 100%; max-width: 1180px; height: 670px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.dl-big { position: absolute; z-index: 0; left: 18%; top: -50px; font-size: clamp(220px, 34vw, 430px); font-weight: 700; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 92, 154, .28); pointer-events: none; user-select: none; }
.dl-photo { position: absolute; z-index: 1; right: var(--gutter); top: 30px; width: 54%; height: 520px; border-radius: 40px 240px 40px 240px; overflow: hidden; rotate: 2deg; box-shadow: 0 40px 90px rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .14); }
.dl-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 82% center; }
.dl-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(13, 7, 9, .55), transparent 55%); }
.dl-sticker { position: absolute; z-index: 4; right: 12%; top: 8px; padding: 9px 18px; font-size: 13px; font-weight: 700; letter-spacing: .03em; color: #fff; border-radius: 99px; background: linear-gradient(90deg, #ff5c9a, #e8243f); rotate: -6deg; box-shadow: 0 12px 30px rgba(232, 36, 63, .4); }
.dl-head { position: absolute; z-index: 3; left: var(--gutter); top: 70px; width: 52%; }
.dl-head h2 { margin: 0 0 22px; font-size: clamp(2.75rem, 6.6vw, 5.5rem); font-weight: 700; line-height: .92; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }
.dl-head h2 em { font-style: normal; background: linear-gradient(90deg, #ff8fb8, #ff3d5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-head p { margin: 0; max-width: 400px; font-size: .9375rem; line-height: 1.7; color: rgba(244, 241, 234, .85); }

.dl-flip { position: absolute; z-index: 5; width: 350px; height: 196px; perspective: 1200px; outline: none; rotate: var(--r, 0deg); transition: rotate .5s cubic-bezier(.2, .8, .2, 1); animation: dl-float 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.dl-flip:hover, .dl-flip:focus-within { rotate: 0deg; z-index: 8; animation-play-state: paused; }
#android { --r: -4deg; --d: 0s; left: calc(var(--gutter) - 8px); top: 380px; }
#ios { --r: 3deg; --d: -2.4s; left: 31%; top: 500px; }
.dl-flip--qr { --r: -5deg; --d: -4.6s; right: calc(var(--gutter) + 10px); top: 470px; width: 330px; z-index: 6; }
@keyframes dl-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .dl-flip { animation: none; } }

@media (max-width: 860px) {
  .dl-stage { height: auto; display: flex; flex-direction: column; gap: 18px; padding-bottom: 8px; }
  .dl-big { left: auto; right: 0; top: -30px; }
  .dl-head, .dl-photo, .dl-flip, #android, #ios, .dl-flip--qr { position: relative; inset: auto; left: auto; right: auto; top: auto; width: 100%; }
  .dl-head { order: 1; }
  .dl-photo { order: 2; height: 300px; border-radius: 28px 120px 28px 120px; }
  .dl-sticker { order: 2; position: absolute; right: 8%; top: auto; }
  .dl-flip { order: 3; height: 200px; max-width: 420px; }
  #android { rotate: -2deg; } #ios { rotate: 2deg; align-self: flex-end; } .dl-flip--qr { rotate: -2deg; }
}
.dl-front strong { white-space: nowrap; }
.dl-flip--qr .dl-front { gap: 16px; padding-right: 20px; }
.dl-flip--qr .dl-front img { width: 100px; height: 100px; }
@media (max-width: 860px) {
  .dl-sticker { position: static; order: 0; align-self: flex-start; margin-left: 6px; }
  .dl-head h2 { font-size: clamp(2.5rem, 13vw, 3.5rem); }
}

/* ═════════ download page: lower sections ═════════ */
.fx-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.fx-intro { max-width: 560px; }
.fx-intro h2, .fx-h5 h2, .fx-one h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }
.fx-after { max-width: 640px; }
.fx-path, .fx-rail, .fx-h5, .fx-one, .fx-verify { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.fx-slant { padding-top: calc(clamp(56px, 8vw, 110px) + 3vw); padding-bottom: calc(clamp(56px, 8vw, 110px) + 3vw); margin: -3vw 0; clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); background: linear-gradient(160deg, #241a1f, #1a1416 60%, #2b1721); }

/* android: staggered trail */
.fx-trail { position: relative; margin: 36px 0 24px; }
.fx-wave { position: absolute; left: 0; top: 18px; width: 100%; height: 160px; overflow: visible; }
.fx-wave path { fill: none; stroke: rgba(255, 92, 154, .55); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fx-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0 0 70px; list-style: none; counter-reset: s; }
.fx-steps li { counter-increment: s; position: relative; padding-top: 74px; font-size: .9375rem; line-height: 1.65; color: var(--fg-dim); }
.fx-steps li:nth-child(2) { margin-top: 50px; } .fx-steps li:nth-child(3) { margin-top: 10px; } .fx-steps li:nth-child(4) { margin-top: 64px; }
.fx-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; font-size: 4.5rem; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.fx-steps li::after { content: ""; position: absolute; left: 0; top: 66px; width: 28px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #ff5c9a, #e8243f); }
.fx-notes { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; margin-top: 12px; }
.fx-notes-title { flex: 0 0 100%; margin: 0 0 -2px; font-weight: 600; color: var(--fg); }
.fx-note { flex: 1 1 280px; max-width: 420px; padding: 18px 20px; font-size: .9375rem; line-height: 1.6; color: var(--fg-dim); background: rgba(255, 92, 154, .07); border: 1px solid rgba(255, 92, 154, .25); border-left: 4px solid var(--accent); border-radius: 6px 18px 18px 18px; rotate: -1.2deg; }
.fx-note:nth-of-type(2) { rotate: 1.4deg; margin-top: 14px; }

/* iphone: swipe rail */
.fx-hint { margin: 14px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fx-cards { --rail-pad: max(var(--gutter), calc((100vw - 1100px) / 2 + var(--gutter))); scroll-padding-inline: var(--rail-pad); display: flex; gap: 18px; margin: 32px 0 28px; padding: 6px var(--rail-pad) 18px; list-style: none; counter-reset: c; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; outline: none; }
.fx-cards li { counter-increment: c; flex: 0 0 min(300px, 78vw); min-height: 250px; scroll-snap-align: start; position: relative; padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); font-size: .9375rem; line-height: 1.65; color: var(--fg-dim); display: flex; flex-direction: column; justify-content: flex-end; }
.fx-cards li:nth-child(even) { margin-top: 28px; }
.fx-cards li::before { content: counter(c); position: absolute; top: 18px; left: 22px; font-size: 5rem; font-weight: 700; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, #ff8fb8, #e8243f); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* h5: shout */
.fx-h5 { text-align: center; overflow: hidden; }
.fx-h5 .fx-wrap { position: relative; }
.fx-h5 h2 { margin: 0 0 6px; font-size: .9375rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fx-shout { margin: 10px 0 36px; font-size: clamp(3.25rem, 11vw, 9rem); font-weight: 800; line-height: .92; letter-spacing: -.05em; color: var(--fg); }
.fx-shout span { background: linear-gradient(90deg, #ff8fb8, #ff3d5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-chip { position: absolute; padding: 9px 18px; font-size: 13px; font-weight: 700; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); animation: dl-float 6s ease-in-out infinite; }
.fx-chip--1 { left: 6%; top: 20%; rotate: -8deg; }
.fx-chip--2 { right: 7%; top: 14%; rotate: 6deg; animation-delay: -2s; background: linear-gradient(90deg, #ff5c9a, #e8243f); border: 0; color: #fff; }
.fx-chip--3 { right: 14%; top: 58%; rotate: -4deg; animation-delay: -4s; }
.fx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 880px; margin: 0 auto; text-align: left; }

/* original: giant 1 */
.fx-one-grid { display: grid; grid-template-columns: minmax(180px, .6fr) 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.fx-one-num { font-size: clamp(14rem, 30vw, 24rem); font-weight: 800; line-height: .8; letter-spacing: -.08em; background: linear-gradient(160deg, #ff8fb8, #e8243f 70%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 20px 50px rgba(232, 36, 63, .35)); rotate: -4deg; justify-self: center; }

/* verify: offset 2x2 */
.fx-verify-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.fx-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.fx-checks li { padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-size: .9375rem; line-height: 1.6; color: var(--fg-dim); transition: transform .3s, border-color .3s; }
.fx-checks li:nth-child(even) { transform: translateY(44px); }
.fx-checks li:hover { border-color: rgba(255, 92, 154, .55); transform: translateY(-4px); }
.fx-checks li:nth-child(even):hover { transform: translateY(40px); }
.fx-checks svg { display: block; width: 44px; height: 44px; padding: 10px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(135deg, #ff5c9a, #e8243f); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.fx-checks strong { display: block; margin-bottom: 4px; font-size: 1.0625rem; color: var(--fg); }
.fx-warn { grid-column: 1 / -1; margin: 56px 0 0; padding: 18px 24px; border-radius: 16px; color: #ffd3e2; background: linear-gradient(90deg, rgba(232, 36, 63, .22), rgba(255, 92, 154, .08)); border: 1px solid rgba(255, 92, 154, .35); }

@media (max-width: 860px) {
  .fx-wave { display: none; }
  .fx-steps { grid-template-columns: 1fr; gap: 6px; padding-bottom: 20px; border-left: 2px dashed rgba(255, 92, 154, .5); margin-left: 8px; }
  .fx-steps li, .fx-steps li:nth-child(n) { margin-top: 0; padding: 4px 0 22px 54px; }
  .fx-steps li::before { font-size: 2.25rem; top: 0; left: 8px; background: var(--bg); padding-right: 6px; }
  .fx-steps li::after { display: none; }
  .fx-cols, .fx-one-grid, .fx-verify-grid, .fx-checks { grid-template-columns: 1fr; }
  .fx-checks li:nth-child(even), .fx-checks li:nth-child(even):hover { transform: none; }
  .fx-warn { margin-top: 16px; }
  .fx-one-num { font-size: 11rem; justify-self: start; }
  .fx-chip { position: static; display: inline-block; margin: 0 4px 10px; animation: none; }
  .fx-shout { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .fx-chip { animation: none; } }

/* beat the global .page p rule */
.page .fx-shout { margin: 10px 0 40px; font-size: clamp(3.25rem, 11vw, 9rem); line-height: .92; color: var(--fg); }
.page .fx-hint { font-size: 13px; line-height: 1.4; }
.page .fx-notes-title { line-height: 1.4; }
.page .fx-warn { font-size: .9375rem; line-height: 1.6; color: #ffd3e2; }
/* iphone steps: show all four on desktop, swipe only on small screens */
.fx-hint { display: none; }
.fx-cards { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 18px; max-width: 1100px; margin: 36px auto 28px; padding: 6px var(--gutter) 18px; box-sizing: border-box; overflow: visible; scroll-snap-type: none; }
.fx-cards li { flex: none; min-height: 210px; padding: 84px 22px 22px; justify-content: flex-start; }
.fx-cards li:nth-child(even) { margin-top: 34px; }
.fx-cards li:nth-child(3) { margin-top: 10px; }
@media (max-width: 860px) {
  .fx-hint { display: block; }
  .fx-cards { display: flex; align-items: stretch; max-width: none; margin: 28px 0; padding: 6px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .fx-cards::-webkit-scrollbar { display: none; }
  .fx-cards li, .fx-cards li:nth-child(n) { flex: 0 0 min(280px, 76vw); margin-top: 0; min-height: 220px; }
}.fx-cards li { padding-top: 112px; min-height: 240px; }
/* ═════════ game page ═════════ */
.page .gx-hero .wrap { max-width: 1100px; }
.page .gx-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 6.4vw, 5.25rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.page .gx-hero p { max-width: 640px; }

.gx-collection { padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.gx-col-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.gx-col-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }
.gx-stats { display: flex; gap: 28px; margin: 24px 0 0; padding: 0; list-style: none; }
.gx-stats li { display: grid; font-size: .875rem; color: var(--fg-dim); text-transform: uppercase; letter-spacing: .1em; }
.gx-stats strong { font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; text-transform: none; background: linear-gradient(160deg, #ff8fb8, #e8243f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-col-text { margin-top: clamp(0px, 3vw, 44px); }
.page .gx-most { margin: 36px 0 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.gx-index { display: flex; flex-wrap: wrap; gap: 12px 10px; }
.page .gx-index a { padding: 9px 18px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--fg); border-radius: 99px; border: 1px solid hsl(var(--h) 80% 65% / .5); background: hsl(var(--h) 70% 50% / .13); transition: rotate .25s, background .25s, transform .25s; rotate: -2deg; }
.page .gx-index a:nth-child(even) { rotate: 1.8deg; translate: 0 6px; }
.page .gx-index a:nth-child(3n) { rotate: -4deg; translate: 0 -3px; }
.page .gx-index a:hover { rotate: 0deg; background: hsl(var(--h) 75% 50% / .45); color: #fff; transform: translateY(-3px); }

.game-list { padding: clamp(32px, 5vw, 64px) 0 clamp(60px, 8vw, 120px); overflow-x: clip; }
.game-list .wrap-wide { max-width: 1180px; }
.game-list .game-card { --rot: -3deg; position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0 0 clamp(90px, 11vw, 170px); border: 0; border-radius: 0; background: none; }
.game-list .game-card::before { content: attr(data-title); position: absolute; z-index: 0; left: -2%; top: -.62em; font-size: clamp(3.5rem, 11vw, 9.5rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px hsl(var(--h) 80% 65% / .25); pointer-events: none; user-select: none; }

.game-list .game-shot { grid-column: 5 / 13; grid-row: 1; z-index: 1; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px 150px 28px 28px; border: 1px solid hsl(var(--h) 80% 70% / .22); background: radial-gradient(circle at 25% 20%, hsl(var(--h) 75% 46% / .75), transparent 55%), linear-gradient(135deg, hsl(var(--h) 60% 26%), hsl(calc(var(--h) + 50) 55% 10%)); box-shadow: 0 40px 90px hsl(var(--h) 80% 18% / .55); transition: opacity .3s; }
.game-list .game-art { grid-column: 1 / 6; grid-row: 1; align-self: end; z-index: 3; width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .25); background: linear-gradient(160deg, hsl(var(--h) 85% 55%), hsl(calc(var(--h) + 60) 70% 24%)); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); transform: translateY(16%) rotate(var(--rot)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.game-list .game-card:hover .game-art { transform: translateY(12%) rotate(0deg) scale(1.03); }
.game-list .game-body { grid-column: 6 / 13; grid-row: 2; z-index: 2; margin-top: 38px; align-items: flex-start; }
.game-list .game-body h3 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.game-list .game-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.game-list .game-facts div { display: flex; align-items: baseline; gap: 8px; padding: 6px 14px; border-radius: 99px; border: 1px solid hsl(var(--h) 80% 65% / .4); background: hsl(var(--h) 70% 50% / .14); }
.game-list .game-facts dt { font-size: 11px; color: hsl(var(--h) 90% 75%); }
.game-list .game-facts dd { margin: 0; font-size: .875rem; }
.game-list .game-body p { max-width: 560px; }
.game-list .game-body .btn-primary { margin-top: 6px; }

/* mirrored layout */
.game-list .game-card:nth-child(3n) { --rot: 3deg; }
.game-list .game-card:nth-child(3n)::before { left: auto; right: -2%; }
.game-list .game-card:nth-child(3n) .game-shot { grid-column: 1 / 9; border-radius: 150px 28px 28px 28px; }
.game-list .game-card:nth-child(3n) .game-art { grid-column: 8 / 13; }
.game-list .game-card:nth-child(3n) .game-body { grid-column: 1 / 8; }

/* spotlight: full-bleed shot with the text on top */
.game-list .game-card:nth-child(1), .game-list .game-card:nth-child(5), .game-list .game-card:nth-child(8) { --rot: 5deg; }
.game-list .game-card:nth-child(1)::after, .game-list .game-card:nth-child(5)::after, .game-list .game-card:nth-child(8)::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 40px; background: linear-gradient(90deg, rgba(10, 6, 8, .94) 0%, rgba(10, 6, 8, .62) 45%, transparent 80%); pointer-events: none; }
.game-list .game-card:nth-child(1) .game-shot, .game-list .game-card:nth-child(5) .game-shot, .game-list .game-card:nth-child(8) .game-shot { grid-column: 1 / -1; grid-row: 1 / 3; height: clamp(520px, 56vw, 680px); aspect-ratio: auto; border-radius: 40px; }
.game-list .game-card:nth-child(1) .game-body, .game-list .game-card:nth-child(5) .game-body, .game-list .game-card:nth-child(8) .game-body { grid-column: 1 / 8; grid-row: 1 / 3; align-self: end; z-index: 4; margin: 0; padding: clamp(24px, 4vw, 56px); }
.game-list .game-card:nth-child(1) .game-art, .game-list .game-card:nth-child(5) .game-art, .game-list .game-card:nth-child(8) .game-art { grid-column: 9 / 13; grid-row: 1 / 3; align-self: center; margin-right: 12px; transform: rotate(var(--rot)); z-index: 4; }
.game-list .game-card:nth-child(1):hover .game-art, .game-list .game-card:nth-child(5):hover .game-art, .game-list .game-card:nth-child(8):hover .game-art { transform: rotate(0deg) scale(1.04); }
.game-list .game-card:nth-child(5)::after { background: linear-gradient(270deg, rgba(10, 6, 8, .94) 0%, rgba(10, 6, 8, .62) 45%, transparent 80%); }
.game-list .game-card:nth-child(5) .game-body { grid-column: 6 / 13; }
.game-list .game-card:nth-child(5) .game-art { grid-column: 1 / 5; margin: 0 0 0 12px; --rot: -5deg; }
.game-list .game-card:nth-child(1)::before { z-index: 5; top: -.5em; }
#seaworld .game-body::before { content: "★ Most played"; margin-bottom: 14px; padding: 7px 16px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; border-radius: 99px; background: linear-gradient(90deg, #ff5c9a, #e8243f); rotate: -3deg; box-shadow: 0 10px 28px rgba(232, 36, 63, .45); }

@media (max-width: 860px) {
  .gx-col-grid { grid-template-columns: 1fr; }
  .game-list .game-card { display: flex; flex-direction: column; }
  .game-list .game-card::before { font-size: 3.5rem; left: 0; right: auto; top: -.5em; }
  .game-list .game-card:nth-child(n)::after { display: none; }
  .game-list .game-card:nth-child(n) .game-shot { grid-column: auto; grid-row: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 24px 80px 24px 24px; }
  .game-list .game-card:nth-child(n) .game-art { width: 62%; margin: -56px 0 0 auto; transform: rotate(var(--rot)); }
  .game-list .game-card:nth-child(n) .game-body { margin: 22px 0 0; padding: 0; align-self: stretch; }
  .game-list .game-card:nth-child(n):hover .game-art { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .game-list .game-art { transition: none; } }

@media (max-width: 860px) {
  .game-list .game-card:nth-child(n) .game-shot { order: 1; }
  .game-list .game-card:nth-child(n) .game-art { order: 2; }
  .game-list .game-card:nth-child(n) .game-body { order: 3; }
}
/* ═════════ game page: real 4:3 covers ═════════ */
/* regular cards: one big tilted cover, text card overlapping its edge */
.game-list .game-shot { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 4 / 3; border-radius: 30px 150px 30px 30px; rotate: -1.6deg; transition: rotate .5s cubic-bezier(.2, .8, .2, 1), transform .5s cubic-bezier(.2, .8, .2, 1); }
.game-list .game-card:hover .game-shot { rotate: 0deg; transform: scale(1.02); }
.game-list .game-body { grid-column: 7 / 13; grid-row: 1; align-self: center; margin: 0; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: rgba(22, 17, 19, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid hsl(var(--h) 80% 65% / .3); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.game-list .game-card:nth-child(3n) .game-shot { grid-column: 6 / 13; border-radius: 150px 30px 30px 30px; rotate: 1.6deg; }
.game-list .game-card:nth-child(3n) .game-body { grid-column: 1 / 7; }
.game-list .game-card:nth-child(4n+2) .game-shot { grid-column: 1 / 7; }
.game-list .game-card:nth-child(4n+2) .game-body { grid-column: 6 / 13; }

/* spotlight cards: the same cover as a dark full-bleed backdrop plus a sharp tilted copy */
.game-list .game-card:nth-child(1) .game-shot, .game-list .game-card:nth-child(5) .game-shot, .game-list .game-card:nth-child(8) .game-shot { rotate: 0deg; filter: saturate(1.25) brightness(.62); object-position: center 40%; }
.game-list .game-card:nth-child(1):hover .game-shot, .game-list .game-card:nth-child(5):hover .game-shot, .game-list .game-card:nth-child(8):hover .game-shot { transform: none; }
.game-list .game-card:nth-child(1) .game-body, .game-list .game-card:nth-child(5) .game-body, .game-list .game-card:nth-child(8) .game-body { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; }
.game-list .game-card:nth-child(1) .game-art, .game-list .game-card:nth-child(5) .game-art, .game-list .game-card:nth-child(8) .game-art { border: 3px solid rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: 0 40px 90px rgba(0, 0, 0, .65); }

@media (max-width: 860px) {
  .game-list .game-card:nth-child(n) .game-shot { rotate: 0deg; filter: none; aspect-ratio: 4 / 3; border-radius: 24px 90px 24px 24px; }
  .game-list .game-card:nth-child(n) .game-body { padding: 4px 0 0; margin: 22px 0 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .game-list .game-card:nth-child(n) .game-art { display: none; }
}

.game-list .game-card:nth-child(1) .game-shot, .game-list .game-card:nth-child(5) .game-shot, .game-list .game-card:nth-child(8) .game-shot { object-position: center 4%; }
.game-list .game-card:nth-child(1)::after, .game-list .game-card:nth-child(8)::after { background: linear-gradient(to top, rgba(10, 6, 8, .96) 0%, rgba(10, 6, 8, .8) 28%, rgba(10, 6, 8, 0) 58%), linear-gradient(90deg, rgba(10, 6, 8, .94) 0%, rgba(10, 6, 8, .6) 45%, transparent 80%); }
.game-list .game-card:nth-child(5)::after { background: linear-gradient(to top, rgba(10, 6, 8, .96) 0%, rgba(10, 6, 8, .8) 28%, rgba(10, 6, 8, 0) 58%), linear-gradient(270deg, rgba(10, 6, 8, .94) 0%, rgba(10, 6, 8, .6) 45%, transparent 80%); }
@media (max-width: 860px) { .game-list .game-card:nth-child(n)::after { display: none; } }
/* ═════════ solution page ═════════ */
.sx-vs, .sx-api, .sx-agent, .sx-register, .sx-credit, .sx-fair, .sx-perks { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.sx-agent.fx-slant, .sx-fair.fx-slant { padding-top: calc(clamp(56px, 8vw, 110px) + 3vw); padding-bottom: calc(clamp(56px, 8vw, 110px) + 3vw); }
.page .sx-lead, .page .sx-eyebrow { margin: 56px 0 14px; font-size: .8125rem; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sx-agent h2, .sx-register h2, .sx-fair h2, .sx-perks h2, .sx-vs h2, .sx-api h2, .sx-cta h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }

/* hero */
.sx-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.page .sx-hero h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.sx-hero-visual { position: relative; }
.sx-hero-visual img { display: block; width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 80% center; border-radius: 40px 190px 40px 40px; rotate: 2.5deg; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.page a.sx-route { position: absolute; z-index: 2; padding: 12px 22px; font-size: 14px; font-weight: 700; text-decoration: none; color: #fff; border-radius: 99px; background: rgba(22, 17, 19, .7); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: rotate .3s, background .3s, transform .3s; animation: dl-float 6s ease-in-out infinite; }
.page a.sx-route--1 { left: -6%; bottom: 16%; rotate: -6deg; }
.page a.sx-route--2 { right: -3%; top: 9%; rotate: 5deg; animation-delay: -3s; background: linear-gradient(90deg, #ff5c9a, #e8243f); border: 0; }
.page a.sx-route:hover { rotate: 0deg; transform: translateY(-3px) scale(1.04); color: #fff; }

/* two ways: versus */
.sx-vs-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; align-items: start; }
.sx-way { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid var(--line); background: linear-gradient(160deg, #2a2226, #1b1517); transition: rotate .4s cubic-bezier(.2, .8, .2, 1), transform .4s, border-color .3s; }
.sx-way img { display: block; width: 100%; height: 200px; object-fit: cover; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.sx-way--api img { object-position: 80% center; }
.page .sx-way h3 { position: relative; margin: -50px 28px 14px; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -.03em; }
.sx-way dl { display: grid; gap: 14px; margin: 0; padding: 0 28px 30px; }
.sx-way dl div { padding-top: 12px; border-top: 1px solid var(--line); }
.sx-way dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sx-way dd { margin: 3px 0 0; color: var(--fg); }
.sx-way--api { rotate: -1.4deg; }
.sx-way--agent { rotate: 1.4deg; margin-top: 60px; }
.sx-way:hover { rotate: 0deg; transform: translateY(-5px); border-color: rgba(255, 92, 154, .55); }
.sx-vs-badge { position: absolute; z-index: 3; left: 50%; top: 42%; translate: -50% -50%; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; font-size: 1.25rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff5c9a, #e8243f); box-shadow: 0 14px 40px rgba(232, 36, 63, .5); rotate: -10deg; }

/* gaming api */
.sx-banner { position: relative; display: flex; align-items: flex-end; min-height: 440px; overflow: hidden; border-radius: 36px 210px 36px 36px; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.sx-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.sx-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 8, 10, .94) 0%, rgba(14, 8, 10, .72) 38%, rgba(14, 8, 10, 0) 72%); }
.sx-banner-copy { position: relative; z-index: 2; max-width: 560px; padding: clamp(24px, 4vw, 52px); }
.sx-banner-copy h2 { margin: 0 0 14px; font-size: clamp(2rem, 4.4vw, 3.5rem); }
.sx-banner-copy p { margin: 0; color: rgba(244, 241, 234, .86); }
.sx-facts { display: flex; flex-wrap: wrap; gap: 12px 10px; margin: 30px 0 6px; padding: 0; list-style: none; }
.sx-facts li { padding: 9px 18px; font-size: 14px; font-weight: 600; border-radius: 99px; border: 1px solid rgba(255, 92, 154, .45); background: rgba(255, 92, 154, .1); rotate: -2deg; }
.sx-facts li:nth-child(even) { rotate: 1.8deg; translate: 0 6px; }
.sx-facts li:nth-child(3n) { rotate: -4deg; translate: 0 -3px; }
.sx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; }
.sx-cols p:nth-child(2) { margin-top: 40px; }
.page .sx-pull { max-width: 840px; margin: 44px 0 0; padding-left: 28px; border-left: 4px solid var(--accent); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--fg); }
@media (min-width: 861px) { .sx-steps5 { grid-template-columns: repeat(5, 1fr); } .sx-steps5 li:nth-child(5) { margin-top: 30px; } }

/* agent */
.sx-agent-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.sx-kiosk { position: relative; margin: 0; }
.sx-kiosk img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% center; border-radius: 190px 36px 36px 36px; rotate: -2.5deg; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.sx-kiosk figcaption { position: absolute; right: -14px; bottom: 34px; padding: 10px 20px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: #fff; border-radius: 99px; background: linear-gradient(90deg, #ff5c9a, #e8243f); rotate: 5deg; box-shadow: 0 12px 30px rgba(232, 36, 63, .45); }
.sx-zig { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: z; }
.sx-zig::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed rgba(255, 92, 154, .5); }
.sx-zig li { counter-increment: z; position: relative; padding: 20px 24px; margin-bottom: 18px; font-size: .9375rem; line-height: 1.6; color: var(--fg-dim); border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); transition: border-color .3s, transform .3s; }
.sx-zig li:nth-child(odd) { grid-column: 1; }
.sx-zig li:nth-child(even) { grid-column: 3; margin-top: -46px; }
.sx-zig li::before { content: counter(z); position: absolute; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff5c9a, #e8243f); box-shadow: 0 0 0 6px #1d1618; }
.sx-zig li:nth-child(odd)::before { left: calc(100% + 12px); }
.sx-zig li:nth-child(even)::before { right: calc(100% + 12px); }
.sx-zig li:hover { border-color: rgba(255, 92, 154, .55); transform: translateY(-3px); }

/* player registration */
.sx-reg-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.sx-phone img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 84% center; border-radius: 46% 54% 40% 60% / 54% 42% 58% 46%; rotate: -4deg; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 90px rgba(232, 36, 63, .22); }
.sx-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: n; }
.sx-notes li { counter-increment: n; position: relative; padding: 78px 20px 24px; font-size: .9375rem; line-height: 1.6; color: var(--fg-dim); border-radius: 8px 28px 28px 28px; border: 1px solid rgba(255, 92, 154, .3); background: rgba(255, 92, 154, .08); rotate: -1.6deg; transition: rotate .3s, transform .3s; }
.sx-notes li:nth-child(even) { rotate: 1.8deg; margin-top: 26px; }
.sx-notes li::before { content: counter(n); position: absolute; top: 14px; left: 20px; font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, #ff8fb8, #e8243f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-notes li:hover { rotate: 0deg; transform: translateY(-4px); }

/* credit */
.page .sx-shout2 { max-width: 1000px; margin: 10px 0 22px; font-size: clamp(2.75rem, 8vw, 6.5rem); font-weight: 800; line-height: .95; letter-spacing: -.05em; color: var(--fg); }
.sx-shout2 span { background: linear-gradient(90deg, #ff8fb8, #ff3d5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page .sx-credit-lead { max-width: 640px; font-size: 1.125rem; color: var(--fg); }
.sx-credit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin-top: 28px; }
.sx-credit-cards p { margin: 0; padding: 26px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); rotate: -1.2deg; }
.sx-credit-cards p:nth-child(2) { rotate: 1.4deg; margin-top: 38px; }

/* fair play */
.sx-fair-grid { display: grid; grid-template-columns: .5fr 1.5fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.sx-shield { display: grid; place-items: center; }
.sx-shield svg { width: min(100%, 260px); rotate: -6deg; filter: drop-shadow(0 20px 50px rgba(232, 36, 63, .55)); animation: dl-float 7s ease-in-out infinite; }
.sx-shield path:first-child { fill: rgba(255, 92, 154, .14); stroke: #ff5c9a; stroke-width: 3; stroke-linejoin: round; }
.sx-shield path:last-child { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.sx-fair .sx-facts { margin-top: 20px; margin-bottom: 20px; }

/* perks */
.sx-perk-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: p; }
.sx-perk { counter-increment: p; position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 26px; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, #2a2226, #1b1517); transition: rotate .3s, transform .3s; }
.sx-perk::before { content: "0" counter(p); position: absolute; top: 20px; left: 26px; font-size: .875rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); }
.sx-perk span { position: relative; z-index: 2; }
.sx-perk:hover { transform: translateY(-5px); rotate: 0deg; }
.sx-perk--img { grid-column: 1 / 5; grid-row: 1; font-size: 1.5rem; }
.sx-perk--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }
.sx-perk--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 6, 8, .9), rgba(10, 6, 8, .35) 70%, rgba(10, 6, 8, .1)); }
.sx-perk--img::before { z-index: 3; }
.sx-perk--tall { grid-column: 5 / 7; grid-row: 1 / 3; align-items: center; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; background: linear-gradient(160deg, #ff5c9a, #e8243f); border: 0; rotate: 1.5deg; }
.sx-perk--tall::before { color: rgba(255, 255, 255, .8); }
.sx-perk:nth-child(3) { grid-column: 1 / 3; rotate: -1.6deg; }
.sx-perk:nth-child(4) { grid-column: 3 / 5; rotate: 1.4deg; }

/* cta */
.sx-cta { position: relative; isolation: isolate; overflow: hidden; margin-top: 3vw; padding: calc(clamp(90px, 12vw, 170px) + 3vw) 0 clamp(90px, 12vw, 170px); text-align: center; clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%); }
.sx-cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sx-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10, 6, 14, .35), rgba(10, 6, 14, .8)); }
.sx-cta h2 { max-width: 920px; margin: 0 auto 20px; font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 800; line-height: .95; letter-spacing: -.045em; }
.sx-cta p { max-width: 560px; margin: 0 auto 34px; font-size: 1.0625rem; color: rgba(244, 241, 234, .88); }
.sx-cta .btn-primary { padding: 18px 42px; font-size: 1.0625rem; animation: sx-pulse 2.8s ease-in-out infinite; }
@keyframes sx-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 36, 63, .55); } 50% { box-shadow: 0 0 0 18px rgba(232, 36, 63, 0); } }

@media (max-width: 860px) {
  .sx-hero-grid, .sx-vs-grid, .sx-cols, .sx-agent-grid, .sx-reg-grid, .sx-credit-cards, .sx-fair-grid { grid-template-columns: 1fr; }
  .page a.sx-route--1 { left: 4%; } .page a.sx-route--2 { right: 4%; }
  .sx-vs-badge { position: relative; left: auto; top: auto; translate: none; margin: -6px auto; }
  .sx-way--agent { margin-top: 0; }
  .sx-cols p:nth-child(2) { margin-top: 0; }
  .sx-banner { min-height: 380px; border-radius: 28px 110px 28px 28px; }
  .sx-banner::after { background: linear-gradient(to top, rgba(14, 8, 10, .95) 8%, rgba(14, 8, 10, .5) 60%, rgba(14, 8, 10, .1)); }
  .sx-kiosk img { aspect-ratio: 4 / 3.4; border-radius: 100px 28px 28px 28px; }
  .sx-zig { grid-template-columns: 1fr; padding-left: 28px; }
  .sx-zig::before { left: 10px; }
  .sx-zig li:nth-child(n) { grid-column: 1; margin-top: 0; }
  .sx-zig li:nth-child(n)::before { left: -46px; right: auto; top: 16px; }
  .sx-notes { grid-template-columns: 1fr 1fr; }
  .sx-credit-cards p:nth-child(2) { margin-top: 0; }
  .sx-shield svg { width: 140px; }
  .sx-perk-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .sx-perk:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 170px; }
  .sx-perk--img { min-height: 220px; }
}
@media (max-width: 520px) { .sx-notes { grid-template-columns: 1fr; } .sx-notes li:nth-child(even) { margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .page a.sx-route, .sx-shield svg, .sx-cta .btn-primary { animation: none; } }

.sx-zig li:nth-child(1) { grid-row: 1; } .sx-zig li:nth-child(2) { grid-row: 2; } .sx-zig li:nth-child(3) { grid-row: 3; } .sx-zig li:nth-child(4) { grid-row: 4; } .sx-zig li:nth-child(5) { grid-row: 5; }
@media (max-width: 860px) { .sx-zig li:nth-child(n) { grid-row: auto; } }
.sx-zig li { margin-bottom: 30px; }
.sx-zig li:nth-child(even) { margin-top: -6px; }
/* solution: tidy versions of the compare cards, fact chips and perks grid */
.sx-vs-grid { align-items: stretch; }
.sx-way, .sx-way--api, .sx-way--agent { rotate: 0deg; margin-top: 0; display: flex; flex-direction: column; }
.sx-way dl { flex: 1; align-content: start; }
.sx-way:hover { transform: translateY(-4px); }
.sx-vs-badge { top: 50%; rotate: 0deg; }
.sx-facts li, .sx-facts li:nth-child(even), .sx-facts li:nth-child(3n) { rotate: 0deg; translate: none; }
.sx-perk-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
.sx-perk--img, .sx-perk--tall, .sx-perk:nth-child(3), .sx-perk:nth-child(4) { grid-column: auto; grid-row: auto; rotate: 0deg; }
.sx-perk--img, .sx-perk--tall { font-size: 1.25rem; align-items: flex-end; }
.sx-perk:hover { transform: translateY(-4px); }
@media (max-width: 860px) {
  .sx-vs-badge { top: auto; margin: -6px auto; }
  .sx-perk-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}
@media (min-width: 861px) { .sx-vs-badge { top: 150px; } }
/* solution: tidy player steps */
.sx-notes { align-items: stretch; }
.sx-notes li, .sx-notes li:nth-child(even), .sx-notes li:hover { rotate: 0deg; margin-top: 0; }
.sx-notes li { border-radius: 24px; }
/* ═════════ demo page: lobby / arcade look ═════════ */
.dm-hero, .dm-demo, .dm-try, .dm-test, .dm-vs, .dm-levels { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.dm-demo h2, .dm-try h2, .dm-test h2, .dm-vs h2, .dm-levels h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.page .dm-lead { margin: 0 0 28px; font-size: 1.0625rem; }

/* hero: centered, fan of covers */
.dm-hero { text-align: center; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 92, 154, .22), transparent 70%); }
.page .dm-hero h1 { max-width: 880px; margin: 0 auto 22px; font-size: clamp(2.5rem, 6.4vw, 5.25rem); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.dm-hero h1 span { background: linear-gradient(90deg, #ff8fb8, #ff3d5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dm-hero p { max-width: 680px; margin-left: auto; margin-right: auto; }
.dm-fan { display: flex; justify-content: center; align-items: flex-end; margin: 56px 0 0; padding: 0 0 30px; list-style: none; }
.dm-fan li { flex: 0 0 clamp(120px, 20vw, 260px); margin-left: clamp(-70px, -5vw, -28px); transition: transform .45s cubic-bezier(.2, .8, .2, 1), z-index 0s; }
.dm-fan li:first-child { margin-left: 0; }
.dm-fan li:nth-child(1) { rotate: -11deg; translate: 0 44px; }
.dm-fan li:nth-child(2) { rotate: -5.5deg; translate: 0 14px; z-index: 2; }
.dm-fan li:nth-child(3) { rotate: 0deg; z-index: 4; scale: 1.14; }
.dm-fan li:nth-child(4) { rotate: 5.5deg; translate: 0 14px; z-index: 2; }
.dm-fan li:nth-child(5) { rotate: 11deg; translate: 0 44px; }
.dm-fan li:hover { transform: translateY(-16px); z-index: 6; }
.page .dm-fan a { display: block; text-decoration: none; }
.dm-fan img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .22); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }

/* demo: pick cards + console */
.dm-demo { background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .025)); }
.dm-demo h2, .dm-demo .dm-lead { text-align: center; }
.dm-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.dm-picks li { overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, .045); transition: transform .3s, border-color .3s; }
.dm-picks li:hover { transform: translateY(-4px); border-color: rgba(255, 92, 154, .55); }
.dm-pick-img { aspect-ratio: 16 / 9; overflow: hidden; }
.dm-pick-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.dm-pick-img--two { display: grid; grid-template-columns: 1fr 1fr; }
.dm-picks p { margin: 0; padding: 20px 22px 24px; font-size: .9375rem; line-height: 1.6; color: var(--fg); }
.dm-demo .demo-link { margin-top: 16px; text-align: center; }

/* what you can try: big quote left, numbered rows right */
.dm-try-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.dm-try-head { position: sticky; top: calc(var(--header-h) + 28px); }
.page .dm-bigquote { margin: 28px 0 0; font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; background: linear-gradient(135deg, #ff8fb8, #e8243f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dm-rows { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.dm-rows li { counter-increment: r; position: relative; padding: 26px 0 26px 76px; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.7; color: var(--fg-dim); }
.dm-rows li:last-child { border-bottom: 1px solid var(--line); }
.dm-rows li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 2.25rem; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 92, 154, .7); }

/* test id: ticket */
.dm-test { background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(255, 200, 87, .08), transparent 70%); }
.dm-test h2 { text-align: center; margin-bottom: 36px; }
.dm-ticket { position: relative; display: grid; grid-template-columns: 300px 1fr; border-radius: 30px; border: 1px solid rgba(255, 200, 87, .35); background: linear-gradient(135deg, #2c2218, #1b1517 70%); box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
.dm-ticket::before, .dm-ticket::after { content: ""; position: absolute; left: 300px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(255, 200, 87, .35); z-index: 2; }
.dm-ticket::before { top: -16px; border-top-color: transparent; border-left-color: transparent; rotate: 45deg; }
.dm-ticket::after { bottom: -16px; border-bottom-color: transparent; border-right-color: transparent; rotate: 45deg; }
.dm-stub { display: flex; flex-direction: column; justify-content: center; padding: 36px 30px; }
.page .dm-stub-title { margin: 0 0 18px; font-size: .8125rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; color: #ffc857; }
.dm-stub .cred { margin: 0; padding: 0; border: 0; background: none; display: grid; gap: 18px; }
.dm-stub .cred div { display: grid; gap: 4px; padding: 0; }
.dm-stub .cred dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.dm-stub .cred dd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.5rem; letter-spacing: .02em; color: #ffe2a3; }
.dm-ticket-main { padding: 36px clamp(24px, 4vw, 44px); border-left: 2px dashed rgba(255, 200, 87, .4); }
.page .dm-perks-title { margin: 0 0 16px; font-weight: 700; color: var(--fg); }
.dm-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 0 0 8px; padding: 0; list-style: none; }
.dm-perks li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.5; color: var(--fg-dim); }
.dm-perks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; fill: none; stroke: #1b1517; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; background: #ffc857; box-sizing: border-box; }
.dm-ticket .tool-form { margin: 24px 0 0; border-color: rgba(255, 200, 87, .3); background: rgba(0, 0, 0, .25); }
.dm-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.dm-notes p { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid #ffc857; font-size: .9375rem; }

/* demo vs test id: scoreboard */
.dm-vs h2 { text-align: center; margin-bottom: 36px; }
.dm-board { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.dm-board th, .dm-board td { padding: 18px 22px; font-size: 1rem; line-height: 1.45; }
.dm-board thead th { font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; }
.dm-board thead th:first-child, .dm-board tbody td:first-child { text-align: right; }
.dm-board thead th:last-child, .dm-board tbody td:last-child { text-align: left; }
.dm-board thead th:first-child { color: #ff8fb8; }
.dm-board thead th:last-child { color: #ffc857; }
.dm-board tbody td { width: 38%; color: var(--fg); background: rgba(255, 255, 255, .05); }
.dm-board tbody td:first-child { border-radius: 18px 0 0 18px; border-right: 0; background: linear-gradient(270deg, rgba(255, 92, 154, .14), rgba(255, 255, 255, .04)); }
.dm-board tbody td:last-child { border-radius: 0 18px 18px 0; background: linear-gradient(90deg, rgba(255, 200, 87, .14), rgba(255, 255, 255, .04)); }
.dm-board tbody th { width: 24%; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #ff5c9a, #e8243f); }
.page .dm-after { max-width: 640px; margin: 28px auto 0; text-align: center; font-size: 1.25rem; font-weight: 600; line-height: 1.4; color: var(--fg); }

/* how to: level path */
.dm-path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: l; }
.dm-path::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 29px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #ff5c9a, #e8243f 60%, rgba(232, 36, 63, .15)); }
.dm-path li { counter-increment: l; position: relative; padding-top: 84px; text-align: center; font-size: .9375rem; line-height: 1.6; color: var(--fg-dim); }
.dm-path li::before { content: counter(l); position: absolute; left: 50%; top: 0; translate: -50% 0; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; font-size: 1.5rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff5c9a, #e8243f); box-shadow: 0 0 0 8px #161514, 0 0 0 10px rgba(255, 92, 154, .4); }
.dm-path li:last-child::before { background: #ffc857; color: #1b1517; box-shadow: 0 0 0 8px #161514, 0 0 0 10px rgba(255, 200, 87, .5); }
.page .dm-final { max-width: 760px; margin: 52px auto 0; padding: 22px 28px; border-radius: 22px; border: 1px dashed rgba(255, 92, 154, .5); background: rgba(255, 92, 154, .06); text-align: center; color: var(--fg); }

@media (max-width: 860px) {
  .dm-picks, .dm-try-grid, .dm-notes { grid-template-columns: 1fr; }
  .dm-try-head { position: static; }
  .dm-ticket { grid-template-columns: 1fr; }
  .dm-ticket::before, .dm-ticket::after { left: auto; margin-left: 0; top: 168px; bottom: auto; width: 30px; height: 30px; rotate: 0deg; border: 1px solid rgba(255, 200, 87, .35); }
  .dm-ticket::before { left: -16px; border-left-color: transparent; border-top-color: transparent; rotate: -45deg; }
  .dm-ticket::after { right: -16px; border-right-color: transparent; border-bottom-color: transparent; rotate: -45deg; }
  .dm-ticket-main { border-left: 0; border-top: 2px dashed rgba(255, 200, 87, .4); }
  .dm-perks { grid-template-columns: 1fr; }
  .dm-stub .cred { grid-template-columns: 1fr 1fr; }
  .dm-board, .dm-board tbody, .dm-board tr { display: block; }
  .dm-board thead { display: none; }
  .dm-board tr { margin-bottom: 16px; }
  .dm-board tbody th { display: block; width: auto; border-radius: 16px 16px 0 0; padding: 12px; }
  .dm-board tbody td { display: block; width: auto; text-align: left; border-radius: 0; }
  .dm-board tbody td:first-child { text-align: left; border-radius: 0; background: rgba(255, 92, 154, .1); }
  .dm-board tbody td:last-child { border-radius: 0 0 16px 16px; background: rgba(255, 200, 87, .1); }
  .dm-board tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); }
  .dm-path { grid-template-columns: 1fr; gap: 6px; padding-left: 4px; }
  .dm-path::before { left: 30px; right: auto; top: 30px; bottom: 30px; width: 4px; height: auto; }
  .dm-path li { padding: 6px 0 26px 88px; text-align: left; }
  .dm-path li::before { left: 0; translate: none; }
}
@media (prefers-reduced-motion: reduce) { .dm-fan li, .dm-picks li { transition: none; } }

@media (max-width: 860px) {
  .dm-board tr { display: flex; flex-direction: column; }
  .dm-board tbody th { order: -1; }
}
/* ═════════ about page: editorial look ═════════ */
.ab-hero, .ab-story, .ab-miles, .ab-do, .ab-fair, .ab-pipe, .ab-markets { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.ab-hero h1, .ab-story h2, .ab-miles h2, .ab-do h2, .ab-fair h2, .ab-pipe h2, .ab-markets h2, .ab-row h3, .ab-market h3 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.02em; }
.ab-hero h2, .ab-do h2 { text-align: left; }
.ab-story h2, .ab-miles h2, .ab-do h2, .ab-fair h2, .ab-pipe h2, .ab-markets h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.05; }

/* hero */
.ab-hero { padding-bottom: clamp(32px, 5vw, 64px); }
.page .ab-kicker { margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--accent); }
.page .ab-hero h1 { max-width: 1000px; margin: 0 0 36px; font-size: clamp(2.75rem, 7vw, 6rem); line-height: 1; }
.ab-hero h1 em { font-style: italic; color: #ff8fb8; }
.ab-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: 920px; padding-top: 24px; border-top: 1px solid var(--line); }
.ab-intro p { margin: 0; font-size: 1.0625rem; line-height: 1.75; }
.ab-strip { margin: clamp(36px, 6vw, 64px) 0 0; }
.ab-strip img { display: block; width: 100%; height: clamp(220px, 32vw, 400px); object-fit: cover; object-position: 70% center; border-radius: 6px; filter: saturate(.9); }

/* story: cream paper band */
.ab-story { background: #f3ede3; color: #1c1517; }
.ab-story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.ab-story-head { position: sticky; top: calc(var(--header-h) + 28px); }
.ab-story h2 { margin: 0 0 28px; color: #1c1517; }
.ab-years { display: flex; flex-direction: column; margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: clamp(4.5rem, 11vw, 9rem); font-weight: 700; line-height: .9; letter-spacing: -.05em; }
.ab-years span:first-child { color: transparent; -webkit-text-stroke: 2px #d81b60; }
.ab-years span:last-child { color: #d81b60; margin-left: .35em; }
.page .ab-story-body p { font-size: 1.125rem; line-height: 1.8; color: #3a2e33; }
.ab-story-body p:first-child::first-letter { float: left; margin: .08em .12em 0 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 4.6em; font-weight: 700; line-height: .8; color: #d81b60; }
.page .ab-story a { color: #b0124d; text-decoration-color: #d81b60; }
.ab-aside { margin-top: 36px; padding: 22px 26px; border-left: 4px solid #d81b60; background: rgba(216, 27, 96, .08); }
.page .ab-aside p { margin: 0; font-size: 1rem; color: #1c1517; }

/* milestones: horizontal line */
.ab-miles { text-align: center; }
.ab-miles h2 { margin-bottom: 56px; }
.ab-line { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ab-line::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 86px; height: 2px; background: linear-gradient(90deg, rgba(255, 92, 154, .2), #ff5c9a, rgba(255, 92, 154, .2)); }
.ab-line li { position: relative; padding: 0 12px; }
.ab-line li::after { content: ""; display: block; width: 18px; height: 18px; margin: 14px auto 22px; border-radius: 50%; background: #161514; border: 3px solid #ff5c9a; box-shadow: 0 0 0 6px rgba(255, 92, 154, .15); }
.ab-year { display: block; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px #ff8fb8; }
.ab-line li:last-child .ab-year { color: #ff8fb8; -webkit-text-stroke: 0; }
.ab-line p { max-width: 260px; margin: 0 auto; font-size: 1rem; color: var(--fg); }

/* what the studio does: alternating rows */
.ab-do h2 { margin-bottom: 44px; }
.ab-row { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(24px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.ab-row--flip { grid-template-columns: 6fr 5fr; }
.ab-row--flip .ab-photo { order: 2; }
.ab-row figure { margin: 0; }
.ab-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 75% center; border-radius: 6px; }
.ab-collage { position: relative; aspect-ratio: 4 / 3; }
.ab-collage img { position: absolute; width: 72%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.ab-collage img:first-child { left: 0; top: 0; }
.ab-collage img:last-child { right: 0; bottom: 0; border: 4px solid #161514; }
.ab-row h3 { margin: 0 0 14px; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; }
.ab-row-text p { margin: 0; font-size: 1.0625rem; }

/* fair: framed certificates */
.ab-fair { background: linear-gradient(to bottom, rgba(255, 255, 255, .03), transparent); }
.page .ab-fair-lead { max-width: 720px; margin: 18px 0 0; font-size: 1.125rem; color: var(--fg); }
.ab-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); margin: 44px 0; padding: 0; list-style: none; }
.ab-certs li { padding: 14px; border-radius: 4px; background: #f3ede3; box-shadow: 0 28px 70px rgba(0, 0, 0, .5); }
.ab-certs img, .ab-cert-ph { display: block; width: 100%; aspect-ratio: 320 / 420; object-fit: cover; }
.ab-cert-ph { background:
  radial-gradient(circle at 50% 78%, rgba(216, 27, 96, .28) 0 11%, transparent 11.5%),
  repeating-linear-gradient(to bottom, transparent 0 12px, rgba(28, 21, 23, .12) 12px 13px) 0 0 / 70% 46% no-repeat,
  #ece4d6; background-position: center, 50% 14%, 0 0; }
.ab-fair-cols { margin-top: 0; }
.ab-fair-cols p:nth-child(2) { margin-top: 0; }

/* pipeline: chevrons */
.ab-pipe h2 { margin-bottom: 44px; }
.ab-chev { display: flex; margin: 0; padding: 0; list-style: none; counter-reset: c; }
.ab-chev li { counter-increment: c; flex: 1; position: relative; min-height: 220px; margin-left: -18px; padding: 30px 46px 30px 56px; font-size: .9375rem; line-height: 1.55; color: #fff; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%, 34px 50%); }
.ab-chev li:first-child { margin-left: 0; padding-left: 30px; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%); }
.ab-chev li:nth-child(1) { background: #7a1f3d; } .ab-chev li:nth-child(2) { background: #a3214b; } .ab-chev li:nth-child(3) { background: #cc2459; } .ab-chev li:nth-child(4) { background: linear-gradient(135deg, #ff5c9a, #e8243f); }
.ab-chev li::before { content: counter(c, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: "Iowan Old Style", Georgia, serif; font-size: 2rem; font-weight: 700; color: rgba(255, 255, 255, .55); }
.page .ab-pipe-end { max-width: 720px; margin: 36px 0 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-style: italic; line-height: 1.4; color: var(--fg); }

/* markets */
.ab-markets-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 88px); align-items: stretch; }
.ab-flags { margin: 0; }
.ab-flags img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 78% center; border-radius: 6px; }
.ab-markets h2 { margin-bottom: 8px; }
.ab-market { padding: 22px 0; border-top: 1px solid var(--line); }
.ab-market:first-of-type { margin-top: 22px; }
.ab-market h3 { margin: 0 0 6px; font-size: 1.625rem; color: #ff8fb8; }
.ab-market p { margin: 0; }

@media (max-width: 860px) {
  .ab-intro, .ab-story-grid, .ab-row, .ab-row--flip, .ab-markets-grid { grid-template-columns: 1fr; }
  .ab-story-head { position: static; }
  .ab-years { flex-direction: row; gap: .2em; font-size: 4rem; }
  .ab-years span:last-child { margin-left: 0; }
  .ab-row--flip .ab-photo { order: 0; }
  .ab-line { grid-template-columns: 1fr; gap: 28px; text-align: left; padding-left: 28px; }
  .ab-line::before { left: 8px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: rgba(255, 92, 154, .5); }
  .ab-line li { padding: 0; }
  .ab-line li::after { position: absolute; left: -29px; top: 20px; margin: 0; }
  .ab-line p { margin: 0; max-width: none; }
  .ab-miles { text-align: left; }
  .ab-certs { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .ab-chev { flex-direction: column; }
  .ab-chev li, .ab-chev li:first-child { margin: 0 0 -14px; min-height: 0; padding: 26px 24px 46px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 50% 100%, 0 calc(100% - 22px)); }
  .ab-chev li:last-child { margin-bottom: 0; padding-bottom: 26px; clip-path: none; border-radius: 0 0 14px 14px; }
  .ab-flags img { min-height: 260px; }
}

/* about: fixes */
.page .ab-years { margin: 0; font-size: clamp(4.5rem, 11vw, 9rem); line-height: .9; }
.ab-story-body p:first-child::first-letter { all: unset; }
.ab-story-body > p:first-child::first-letter { float: left; margin: .08em .12em 0 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 4.6em; font-weight: 700; line-height: .8; color: #d81b60; }
.ab-line li { display: flex; flex-direction: column; align-items: center; }
.ab-line li::after { order: 1; }
.ab-line p { order: 2; }
.ab-line::before { top: calc(clamp(3rem, 7vw, 5.5rem) + 24px); }
@media (max-width: 860px) {
  .page .ab-years { font-size: 4rem; }
  .ab-line li { align-items: flex-start; }
  .ab-line::before { top: 10px; }
}
.ab-photo img, .ab-collage img { height: auto; }

/* ═════════ partners page: same look as the home page (cinematic dark hero, light open columns, accent rules) ═════════ */
.pn-hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(560px, 82svh, 740px); display: flex; align-items: center; padding: 64px 0; }
.pn-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.pn-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 5, 9, .92) 0%, rgba(14, 5, 9, .68) 40%, rgba(14, 5, 9, 0) 72%), linear-gradient(to top, var(--bg) 0%, rgba(22, 21, 20, 0) 22%); }
.pn-hero-inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.pn-hero-copy { max-width: 600px; }
.page .pn-hero h1 { margin: 0 0 24px; font-size: clamp(1.75rem, 3.4vw, 2.875rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.pn-hero p { max-width: 52ch; margin: 0 0 14px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.7; color: var(--fg-dim); }
.pn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* light sections reuse the home "route" look; these lines undo the global dark-page text colours */
.page .route h2, .page .route h3 { color: var(--g-ink); }
.page .route h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.875rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.page .route p, .page .route li { color: var(--g-dim); }
.page .route .route-also-lead, .page .route .pn-lead { color: var(--g-ink); }
.page .route a:not(.btn-primary) { color: var(--g-ink); font-weight: 500; text-decoration-color: var(--g-accent); }
.page .route a:not(.btn-primary):hover { color: var(--g-accent); }
.page .route h3 { margin: 0 0 14px; font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; }
.route .route-head { align-items: start; }
.pn-prose { max-width: 760px; margin: 0 0 clamp(28px, 3.5vw, 48px); }
.page .pn-prose p { margin: 0 0 16px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.75; }
.page .pn-prose .pn-lead { margin: 28px 0 0; font-weight: 600; }
.route .route-also p { font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.75; margin: 0 0 14px; }
.route .route-also .pn-gap { margin-top: 40px; }
.pn-dots { list-style: none; margin: 0; padding: 0; }
.pn-dots li { position: relative; padding: 9px 0 9px 24px; font-size: clamp(.9375rem, 1.1vw, 1.0625rem); line-height: 1.65; }
.pn-dots li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--g-accent, #ff5c9a); }
.pn-dots--dark li { color: var(--fg-dim); }
.pn-dots--dark li::before { background: var(--accent); }
.page .route-card h3 + .pn-dots { margin-top: 4px; }

/* dark check section */
.pn-check { padding: clamp(64px, 8vw, 112px) 0; background: var(--bg); }
.pn-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.pn-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pn-row--rule { margin-top: clamp(44px, 5vw, 80px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.pn-rule { display: block; width: 56px; height: 3px; margin-bottom: 22px; border-radius: 3px; background: linear-gradient(90deg, #ff4d94, #f0384f); }
.pn-check h2 { margin: 0 0 18px; font-size: clamp(1.75rem, 3.4vw, 2.875rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.pn-check .tool-form { margin: 0 0 24px; }
.page .pn-lead { margin: 0 0 10px; font-weight: 600; color: var(--fg); }
.pn-row .tool-form { margin-top: 0; }

/* cinematic band between sections */
.pn-band { position: relative; margin: 0; }
.pn-band img { display: block; width: 100%; height: clamp(200px, 24vw, 340px); object-fit: cover; object-position: 70% center; }
.pn-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg), rgba(22, 21, 20, 0) 32%, rgba(255, 248, 250, 0) 68%, #fff8fa); pointer-events: none; }

/* closing cta, same as the home page */
.page .cta h2 { margin: 0 0 14px; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.page .cta p { margin: 0; font-size: clamp(.9375rem, 1.15vw, 1.0625rem); line-height: 1.7; color: rgba(244, 241, 234, .84); }

@media (max-width: 860px) {
  .pn-row { grid-template-columns: 1fr; }
  .pn-hero { min-height: 560px; align-items: flex-end; }
  .pn-hero::before { background: linear-gradient(to top, rgba(14, 5, 9, .94) 0%, rgba(14, 5, 9, .78) 55%, rgba(14, 5, 9, .2) 100%); }
  .route .route-head { grid-template-columns: 1fr; }
  .route .route-cards { grid-template-columns: 1fr; }
  .route .route-card + .route-card { padding-left: 0; border-left: 0; margin-top: 28px; }
  .route .route-card + .route-card::before { left: 0; }
  .route .route-card { padding-right: 0; }
}

.page .pn-actions .btn-ghost, .page .pn-actions .btn-ghost:hover { text-decoration: none; color: var(--fg); }
/* ═════════ SCROLL MOTION (assets/js/motion.js) ═════════ */
/* hidden only once the script has tagged the element, so nothing stays invisible if JS fails */
.motion [data-reveal]:not(.is-in):not(.is-done) { opacity: 0; }
.motion [data-reveal].is-in:not(.is-done) { animation: reveal-up 1.1s cubic-bezier(.16, 1, .3, 1) var(--rd, 0ms) both; }
.motion [data-reveal="left"].is-in:not(.is-done) { animation-name: reveal-left; }
.motion [data-reveal="right"].is-in:not(.is-done) { animation-name: reveal-right; }
.motion [data-reveal="pop"].is-in:not(.is-done) { animation-name: reveal-pop; animation-duration: 1.2s; }
.motion [data-reveal].is-done { opacity: 1; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes reveal-left { from { opacity: 0; transform: translateX(-80px); } to { opacity: 1; transform: none; } }
@keyframes reveal-right { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }
@keyframes reveal-pop { from { opacity: 0; transform: translateY(20px) scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  @keyframes reveal-left { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
  @keyframes reveal-right { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
}
/* sideways entrances must not create a horizontal scrollbar */
body { overflow-x: clip; }

/* game page hero: gamebanner.webp behind the intro, header floats over it (same idea as the download banner) */
.gx-hero--banner {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  margin-top: calc(var(--header-h) * -1); min-height: clamp(480px, 46vw, 640px);
  padding: calc(var(--header-h) + 48px) 0 72px; background: #0d0709;
}
.gx-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.gx-hero--banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 7, 9, .8) 0%, rgba(13, 7, 9, .45) 42%, rgba(13, 7, 9, 0) 70%),
    linear-gradient(to top, var(--bg) 0%, rgba(22, 21, 20, 0) 22%);
}
.page .gx-hero--banner .wrap { width: 100%; max-width: 1280px; }
.gx-hero--banner .wrap > * { max-width: 600px; }
.page .gx-hero--banner h1 { max-width: 640px; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; }
.page .gx-hero--banner p { max-width: 560px; margin-left: 0; }
@media (max-width: 760px) {
  .gx-hero--banner { align-items: flex-end; min-height: 560px; }
  .gx-hero--banner::before { background: linear-gradient(to top, rgba(13, 7, 9, .94) 0%, rgba(13, 7, 9, .75) 55%, rgba(13, 7, 9, .2) 100%); }
}

/* demo frame: the "cabinet" look (bezel, plaque, corner brackets) and the iPhone full-screen player, same idea as the mega888tech demo */
.dm-cabinet {
  position: relative; margin-top: 44px; padding: clamp(10px, 1.4vw, 20px);
  background: linear-gradient(180deg, #1d1719, #0d0709);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(255, 255, 255, .1), 0 70px 120px -40px rgba(232, 36, 63, .38), 0 40px 80px -30px #000;
}
.dm-cabinet::before, .dm-cabinet::after {
  content: ""; position: absolute; width: clamp(22px, 3vw, 40px); height: clamp(22px, 3vw, 40px);
  pointer-events: none; border: 3px solid var(--accent);
}
.dm-cabinet::before { left: -9px; top: -9px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.dm-cabinet::after { right: -9px; bottom: -9px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.dm-plaque { display: flex; justify-content: space-between; gap: 12px; padding: 0 4px clamp(8px, 1vw, 12px); font-size: .72rem; font-weight: 600; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: #a8a29c; }
.dm-plaque span:first-child { color: #fff; }
.dm-plaque span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.dm-player { position: relative; aspect-ratio: 16 / 10; width: 100%; overflow: hidden; border-radius: 8px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 1px #000; }
.dm-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
@media (max-width: 600px) { .dm-player { aspect-ratio: 4 / 5; } .dm-plaque span:last-child { display: none; } }

.dm-fs-row { display: flex; justify-content: center; margin-top: clamp(18px, 3vw, 28px); }
.dm-fs-btn { border: 0; cursor: pointer; }
.dm-fs-btn svg { width: 18px; height: 18px; margin-right: 8px; flex: none; }
.dm-fs-btn[hidden] { display: none; }
.dm-fs-layer { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100vh; height: 100dvh; background: #05070a; }
.dm-fs-layer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.dm-fs-close {
  position: absolute; top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); z-index: 2;
  display: grid; place-items: center; width: 42px; height: 42px; color: #fff; opacity: .75; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(8, 11, 16, .7);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dm-fs-close svg { width: 18px; height: 18px; }
.dm-fs-open { overflow: hidden; }
/* ═════════ FLOATING BUTTONS (assets/js/floatbar.js) ═════════ */
.floatbar {
  position: fixed; z-index: 90; right: 16px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px;
  animation: fab-in .7s cubic-bezier(.16, 1, .3, 1) .6s both;
}
.fab {
  --fab: 54px; position: relative; display: grid; place-items: center; width: var(--fab); height: var(--fab); border-radius: 50%;
  color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.fab svg { width: 52%; height: 52%; fill: currentColor; }
.fab:hover { transform: scale(1.12); box-shadow: 0 12px 28px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.fab:active { transform: scale(.95); }
.fab-play { background: linear-gradient(135deg, #ff5c9a, #e8243f); }
.fab-play::before {  /* attention ring on Play Now */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ff5c9a; animation: fab-ring 2.2s ease-out infinite;
}
.fab-whatsapp { background: #25d366; }
.fab-telegram { background: #229ed9; }
.fab-ios { background: #1c1c1e; }
.fab-android { background: #3ddc84; color: #0b3d22; }
.fab-android svg { width: 62%; height: 62%; }
.fab-android .eye { fill: #3ddc84; }
/* label that slides out to the left on hover or keyboard focus */
.fab::after {
  content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%; padding: 6px 12px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #fff; background: rgba(13, 7, 9, .92); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px;
  opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .2s, transform .2s;
}
.fab:hover::after, .fab:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
@keyframes fab-in { from { opacity: 0; transform: translate(40px, -50%); } }
@keyframes fab-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .floatbar { animation: none; } .fab-play::before { animation: none; display: none; } }
@media (max-width: 760px) {
  .floatbar { right: 10px; top: auto; bottom: 16px; transform: none; gap: 10px; animation-name: fab-in-m; }
  .fab { --fab: 46px; }
  .fab::after { display: none; }
}
@keyframes fab-in-m { from { opacity: 0; transform: translateX(40px); } }
