/* BearMod Game Vault v13: editorial game catalog and conversion system. */

@property --vault-shine-stop {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 36%;
}

:root {
  --vault-stage: #f6f7fb;
  --vault-stage-2: #eceff6;
  --vault-panel: #ffffff;
  --vault-veil: rgba(246, 247, 251, .94);
  --vault-action: #ff8b13;
  --vault-action-deep: #a94c00;
  --vault-unlock: #7845e6;
  --vault-unlock-bright: #9469f2;
  --vault-hairline: rgba(49, 35, 62, .14);
  --vault-grid: rgba(49, 35, 62, .045);
}

.single-game-html { scroll-padding-top: 0; }

[data-theme="dark"] {
  --vault-stage: #17131f;
  --vault-stage-2: #211a2c;
  --vault-panel: #251f2f;
  --vault-veil: rgba(23, 19, 31, .94);
  --vault-action: #ff9b32;
  --vault-action-deep: #ffb868;
  --vault-unlock: #a985ff;
  --vault-unlock-bright: #cbb4ff;
  --vault-hairline: rgba(255, 255, 255, .13);
  --vault-grid: rgba(255, 255, 255, .045);
}

.funnel-home,
.single-game-page {
  --ink-faint: #625a6a;
  background-color: var(--vault-stage);
  background-image:
    linear-gradient(var(--vault-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--vault-grid) 1px, transparent 1px);
  background-size: 44px 44px;
}

.funnel-home .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

[data-theme="dark"] .funnel-home,
[data-theme="dark"] .single-game-page { --ink-faint: #bdb3c5; }

[hidden] { display: none !important; }

.no-game-vip .tt-vip,
.no-game-vip .tt-vip-col { display: none; }

.funnel-home .grain,
.single-game-page .grain { opacity: .16; }

.funnel-home .nav,
.single-game-page .nav { z-index: 90; }
.funnel-home .nav { view-transition-name: vault-nav; }

.funnel-home .nav__inner,
.single-game-page .nav__inner,
.single-game-page .nav.scrolled .nav__inner {
  min-height: 62px;
  padding-inline: 14px 11px;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 7px;
  background: rgba(250, 251, 253, .82) !important;
  box-shadow: 0 16px 46px rgba(43, 31, 56, .1);
  backdrop-filter: blur(20px) saturate(1.18);
}

[data-theme="dark"] .funnel-home .nav__inner,
[data-theme="dark"] .single-game-page .nav__inner,
[data-theme="dark"] .single-game-page .nav.scrolled .nav__inner {
  border-color: rgba(203, 180, 255, .16);
  background: rgba(31, 25, 41, .86) !important;
  box-shadow: 0 18px 50px rgba(8, 5, 13, .28);
}

.funnel-home .brand,
.single-game-page .brand {
  min-width: 148px;
  gap: 0;
  overflow: visible;
  font-size: 0;
}

.funnel-home .brand::after,
.single-game-page .brand::after {
  content: "";
  width: 142px;
  height: 35px;
  display: block;
  background: url('/assets/img/brand/bear-mod-logo.webp') left center / contain no-repeat;
}

.funnel-home .brand__mark,
.single-game-page .brand__mark { display: none; }

.funnel-home .nav__links a,
.single-game-page .nav__links a {
  position: relative;
  color: var(--ink-dim);
  font-size: 11px;
  font-weight: 600;
}

.funnel-home .nav__links a::after,
.single-game-page .nav__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vault-action), var(--vault-unlock));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.funnel-home .nav__links a:hover::after,
.single-game-page .nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.funnel-home .nav-icon-btn,
.single-game-page .nav-icon-btn {
  width: 44px;
  height: 44px;
}

.funnel-home .lang,
.single-game-page .lang { min-height: 44px; }

@media (min-width: 761px) {
  .game-royal-kingdom .single-preview .game-preview__media { object-position: center 24.5%; }
}

/* Theme reveal is progressive; unsupported browsers retain the instant switch. */
html[data-vt="theme"]::view-transition-old(root) { z-index: 1; animation: none; }
html[data-vt="theme"]::view-transition-new(root) {
  z-index: 2;
  animation: vaultThemeReveal .58s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes vaultThemeReveal {
  from { clip-path: circle(0 at var(--theme-x) var(--theme-y)); }
  to { clip-path: circle(150vmax at var(--theme-x) var(--theme-y)); }
}

/* Home vault scene. */
.funnel-home .funnel-hero {
  --vault-x: 0;
  --vault-y: 0;
  position: relative;
  min-height: clamp(760px, calc(100svh - 30px), 920px);
  color: var(--ink);
  background: var(--vault-stage-2);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--vault-action), var(--vault-unlock)) 1;
}

.funnel-hero__meter {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(120, 69, 230, .12);
}

.funnel-hero__meter span {
  display: block;
  width: calc(var(--funnel-step, 1) * 16.6667%);
  height: 100%;
  background: linear-gradient(90deg, var(--vault-action) 0 46%, var(--vault-unlock) 62% 100%);
  box-shadow: 0 0 18px rgba(120, 69, 230, .32);
  transition: width .6s cubic-bezier(.22, 1, .36, 1);
}

.funnel-home .funnel-slide {
  contain: layout paint;
  opacity: 0;
  visibility: hidden;
  transition: opacity .48s ease, visibility .48s;
}

.funnel-home .funnel-slide.is-active { opacity: 1; visibility: visible; }

.funnel-home .funnel-slide__media {
  object-position: center 38%;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.025);
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
  will-change: auto;
}

.funnel-home .funnel-slide.is-active .funnel-slide__media {
  transform: translate3d(calc(var(--vault-x) * -8px), calc(var(--vault-y) * -6px), 0) scale(1.012);
  will-change: transform;
}

.funnel-home .funnel-slide::before {
  z-index: 1;
  width: 70%;
  right: auto;
  background:
    linear-gradient(90deg, rgba(246, 247, 251, .98) 0%, rgba(246, 247, 251, .91) 43%, rgba(246, 247, 251, .48) 67%, transparent 100%),
    linear-gradient(0deg, rgba(246, 247, 251, .54), transparent 38%);
  -webkit-mask-image: linear-gradient(90deg, #000 0 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 72%, transparent 100%);
}

[data-theme="dark"] .funnel-home .funnel-slide::before {
  background:
    linear-gradient(90deg, rgba(23, 19, 31, .99) 0%, rgba(23, 19, 31, .93) 43%, rgba(23, 19, 31, .5) 67%, transparent 100%),
    linear-gradient(0deg, rgba(23, 19, 31, .64), transparent 38%);
}

.funnel-home .funnel-slide::after {
  width: 2px;
  background: linear-gradient(180deg, var(--vault-action) 0 48%, var(--vault-unlock) 48% 100%);
  box-shadow: 0 0 22px rgba(120, 69, 230, .25);
}

.funnel-home .funnel-slide__content {
  min-height: clamp(760px, calc(100svh - 30px), 920px);
  align-items: center;
  padding-top: 212px;
  padding-bottom: 54px;
}

.funnel-home .funnel-copy {
  position: relative;
  width: min(100%, 680px);
  isolation: isolate;
}

.funnel-home .funnel-copy::before {
  position: absolute;
  z-index: -1;
  top: 15px;
  left: -16px;
  color: transparent;
  font: 800 12rem/.8 var(--f-display);
  -webkit-text-stroke: 1px rgba(120, 69, 230, .1);
  opacity: .75;
  pointer-events: none;
}

.funnel-slide:nth-child(1) .funnel-copy::before { content: "01"; }
.funnel-slide:nth-child(2) .funnel-copy::before { content: "02"; }
.funnel-slide:nth-child(3) .funnel-copy::before { content: "03"; }
.funnel-slide:nth-child(4) .funnel-copy::before { content: "04"; }
.funnel-slide:nth-child(5) .funnel-copy::before { content: "05"; }
.funnel-slide:nth-child(6) .funnel-copy::before { content: "06"; }

.funnel-home .funnel-copy .sale-offer {
  position: absolute;
  top: -54px;
  left: 0;
  right: auto;
  width: auto;
  margin: 0;
  border-color: rgba(255, 139, 19, .3);
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

[data-theme="dark"] .funnel-home .funnel-copy .sale-offer { background: rgba(37, 31, 47, .76); }

.funnel-home .funnel-copy__index,
.funnel-home .funnel-copy__eyebrow,
.funnel-home .funnel-copy__version,
.funnel-home .funnel-copy__chips span {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.funnel-home .funnel-copy__index { margin-bottom: 11px; color: var(--vault-unlock); }
.funnel-home .funnel-copy__eyebrow { margin-bottom: 13px; color: var(--ink-dim); }

.funnel-home .funnel-copy h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-size: 5.2rem;
  font-weight: 800;
  line-height: .92;
  letter-spacing: 0;
  text-wrap: balance;
}

.funnel-home .funnel-copy__lead {
  max-width: 56ch;
  margin-top: 23px;
  color: var(--ink-dim);
  font-size: 1.02rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.funnel-home .funnel-copy__chips { gap: 6px; margin-top: 18px; }
.funnel-home .funnel-copy__chips span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--vault-unlock);
  border-color: rgba(120, 69, 230, .24);
  border-radius: 4px;
  background: rgba(255, 255, 255, .68);
}

[data-theme="dark"] .funnel-home .funnel-copy__chips span { color: var(--vault-unlock-bright); background: rgba(37, 31, 47, .76); }

.funnel-home .funnel-copy__version {
  width: fit-content;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--vault-hairline);
  color: var(--ink-dim);
}

.funnel-home .funnel-copy__version b { color: var(--vault-unlock); }
.funnel-home .funnel-copy__version b::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: #2fbd82;
  box-shadow: 0 0 0 4px rgba(47, 189, 130, .11);
  vertical-align: 1px;
}

.funnel-home .funnel-copy__actions { gap: 9px; margin-top: 25px; }
.funnel-home .funnel-copy__actions .btn { min-height: 52px; padding-inline: 19px; border-radius: 6px; }
.funnel-home .funnel-copy__actions .btn:first-child {
  --vault-shine-stop: 36%;
  color: #24150a;
  border-color: var(--vault-action);
  background: linear-gradient(108deg, #ffb552 0, #ff8b13 var(--vault-shine-stop), #e96f05 100%);
  box-shadow: inset 0 -2px 0 rgba(120, 69, 230, .32), 0 15px 34px rgba(242, 138, 27, .25);
  transition: --vault-shine-stop .38s ease, transform .2s ease, box-shadow .2s ease;
}

.funnel-home .funnel-copy__actions .btn:first-child:hover { --vault-shine-stop: 67%; transform: translateY(-2px); }
.funnel-home .funnel-copy__actions .btn--ghost { color: var(--vault-unlock); border-color: rgba(120, 69, 230, .28); background: rgba(255, 255, 255, .72); }
[data-theme="dark"] .funnel-home .funnel-copy__actions .btn--ghost { color: var(--vault-unlock-bright); background: rgba(37, 31, 47, .78); }

/* The complete catalog is visible before the hero pitch. */
.funnel-home .funnel-dock {
  position: absolute;
  z-index: 7;
  top: 86px;
  right: 0;
  bottom: auto;
  left: 0;
  display: block;
  view-transition-name: vault-catalog;
}

.funnel-home .funnel-dock__surface {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 4fr) 92px;
  height: 74px;
  min-height: 74px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 48px rgba(43, 31, 56, .14);
  backdrop-filter: blur(20px) saturate(1.12);
}

[data-theme="dark"] .funnel-home .funnel-dock__surface {
  border-color: rgba(203, 180, 255, .18);
  background: rgba(37, 31, 47, .88);
  box-shadow: 0 18px 48px rgba(8, 6, 12, .28);
}

.funnel-home .funnel-dock__intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px 14px;
  border-right: 1px solid var(--vault-hairline);
}

.funnel-home .funnel-dock__intro strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font: 750 12px/1.2 var(--f-display);
}

.funnel-home .funnel-dock__intro strong::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #2fbd82;
  box-shadow: 0 0 0 4px rgba(47, 189, 130, .12);
}

.funnel-home .funnel-dock__intro span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink-dim);
  font: 400 9px/1.45 var(--f-mono);
  text-wrap: pretty;
}

.funnel-home .funnel-dock__rail {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.funnel-home .funnel-dock__game {
  position: relative;
  min-width: 0;
  min-height: 72px;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 7px;
  color: var(--ink-dim);
  border: 0;
  border-right: 1px solid var(--vault-hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: 700 9px/1.25 var(--f-body);
  text-align: left;
  animation: vaultCatalogIn .48s cubic-bezier(.22, 1, .36, 1) both;
  transition: color .2s ease, background-color .2s ease;
}

.funnel-home .funnel-dock__game:nth-child(2) { animation-delay: 35ms; }
.funnel-home .funnel-dock__game:nth-child(3) { animation-delay: 70ms; }
.funnel-home .funnel-dock__game:nth-child(4) { animation-delay: 105ms; }
.funnel-home .funnel-dock__game:nth-child(5) { animation-delay: 140ms; }
.funnel-home .funnel-dock__game:nth-child(6) { animation-delay: 175ms; }

.funnel-home .funnel-dock__game::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--vault-action), var(--vault-unlock));
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .22s ease, transform .42s cubic-bezier(.22, 1, .36, 1);
}

.funnel-home .funnel-dock__game img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(43, 31, 56, .13);
}

.funnel-home .funnel-dock__game span {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-wrap: balance;
}

.funnel-home .funnel-dock__game:hover { color: var(--vault-unlock); background: rgba(120, 69, 230, .07); }
.funnel-home .funnel-dock__game.is-active {
  color: var(--ink);
  background: linear-gradient(115deg, rgba(255, 139, 19, .13), rgba(120, 69, 230, .13));
}
.funnel-home .funnel-dock__game.is-active::after { opacity: 1; transform: scaleX(1); }
.funnel-home .funnel-dock__game:focus-visible { z-index: 1; outline: 2px solid var(--vault-unlock); outline-offset: -3px; }

.funnel-home .funnel-dock__controls {
  display: grid;
  grid-template-rows: 26px minmax(44px, 1fr);
  border-left: 1px solid var(--vault-hairline);
}

.funnel-home .funnel-dock__counter {
  display: grid;
  place-items: center;
  color: var(--vault-unlock);
  border-bottom: 1px solid var(--vault-hairline);
  font: 700 9px/1 var(--f-mono);
  font-variant-numeric: tabular-nums;
}

.funnel-home .funnel-dock__arrows { display: grid; grid-template-columns: 1fr 1fr; }
.funnel-home .funnel-dock__arrow {
  width: auto;
  height: auto;
  min-width: 44px;
  min-height: 44px;
  color: var(--vault-unlock);
  border: 0;
  border-right: 1px solid var(--vault-hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.funnel-home .funnel-dock__arrow:last-child { border-right: 0; }
.funnel-home .funnel-dock__arrow:hover { color: #fff; background: var(--vault-unlock); }

@keyframes vaultCatalogIn {
  from { opacity: 0; transform: translateY(-8px); }
}

/* Directional carousel transition with the v11 fade as fallback. */
.funnel-slide.is-active .funnel-slide__media { view-transition-name: vault-art; }
.funnel-slide.is-active .funnel-copy { view-transition-name: vault-copy; }
html[data-vt="funnel"] .funnel-slide { transition: none; }
html[data-vt="funnel"]::view-transition-old(vault-art),
html[data-vt="funnel"]::view-transition-old(vault-copy) { animation: vaultFadeOut .25s ease both; }
html[data-vt="funnel"]::view-transition-new(vault-art) { animation: vaultArtReveal .62s cubic-bezier(.16, 1, .3, 1) both; }
html[data-vt="funnel"]::view-transition-new(vault-copy) { animation: vaultCopyReveal .5s cubic-bezier(.22, 1, .36, 1) both; }
html[data-vt="funnel"]::view-transition-old(vault-nav),
html[data-vt="funnel"]::view-transition-new(vault-nav),
html[data-vt="funnel"]::view-transition-old(vault-catalog),
html[data-vt="funnel"]::view-transition-new(vault-catalog) { animation: none; }
html[data-funnel-dir="next"] { --vault-clip: inset(0 0 0 100%); --vault-copy-x: 24px; }
html[data-funnel-dir="prev"] { --vault-clip: inset(0 100% 0 0); --vault-copy-x: -24px; }

@keyframes vaultFadeOut { to { opacity: .22; } }
@keyframes vaultArtReveal { from { opacity: .58; clip-path: var(--vault-clip); transform: scale(1.025); } }
@keyframes vaultCopyReveal { from { opacity: 0; transform: translateX(var(--vault-copy-x)); } }

/* Real proof theatre linked to the selected game. */
.funnel-home .funnel-proof,
.funnel-home .funnel-passes {
  position: relative;
  padding: 116px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 820px;
}

.funnel-home .funnel-proof { background: var(--vault-panel); }
.funnel-home .funnel-passes { background: var(--vault-stage-2); }
.funnel-home .funnel-proof::before,
.funnel-home .funnel-passes::before { height: 2px; background: linear-gradient(90deg, var(--vault-action) 0 44%, var(--vault-unlock) 58% 100%); }
.funnel-home .funnel-proof__inner,
.funnel-home .funnel-passes__inner { gap: 54px; }
.funnel-home .funnel-section-head { max-width: 860px; }
.funnel-home .funnel-section-head h2 {
  max-width: 14ch;
  font-size: 4rem;
  line-height: .96;
  text-wrap: balance;
}
.funnel-home .funnel-section-head h2 em { color: var(--vault-unlock); }
.funnel-home .funnel-section-head p { max-width: 66ch; font-size: 1rem; text-wrap: pretty; }

.funnel-proof__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.funnel-proof__visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--vault-stage-2), var(--vault-stage-2)) padding-box,
    linear-gradient(135deg, rgba(255, 139, 19, .76), rgba(120, 69, 230, .68)) border-box;
  box-shadow: 0 32px 80px rgba(43, 31, 56, .16);
  contain: paint;
  isolation: isolate;
}

.funnel-proof__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--vault-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--vault-grid) 1px, transparent 1px);
  background-size: 30px 30px;
}

.funnel-proof__visual::after,
.pointer-light::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(170px circle at var(--px, 50%) var(--py, 50%), rgba(255, 139, 19, .95), rgba(120, 69, 230, .58) 52%, transparent 82%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.funnel-proof__visual > :is(img, video) {
  width: auto;
  height: min(520px, 78vh);
  max-width: 76%;
  display: block;
  object-fit: contain;
  border: 7px solid #1d1725;
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(17, 12, 22, .28);
  transition: opacity .28s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.funnel-proof__visual:hover img { transform: translateY(-4px) scale(1.008); }
.funnel-proof__media-meta {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 5px;
  background: rgba(27, 20, 35, .82);
  backdrop-filter: blur(12px);
  font: 700 10px/1.35 var(--f-mono);
  text-transform: uppercase;
}
.funnel-proof__media-meta b { color: #fff; text-transform: none; }
.funnel-proof__play {
  position: absolute;
  z-index: 10;
  top: 18px;
  right: 18px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #24150a;
  border: 0;
  border-radius: 50%;
  background: var(--vault-action);
  box-shadow: 0 14px 32px rgba(242, 138, 27, .3);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.funnel-proof__play:hover { transform: scale(1.06); box-shadow: 0 18px 40px rgba(242, 138, 27, .38); }
.funnel-proof__play svg { width: 20px; fill: currentColor; }
.funnel-proof__play .is-pause { display: none; }
.funnel-proof__play.is-playing .is-play { display: none; }
.funnel-proof__play.is-playing .is-pause { display: block; }

.funnel-proof__steps { border-top: 1px solid var(--vault-hairline); }
.funnel-proof__steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 16px;
  padding: 25px 0;
  border-bottom: 1px solid var(--vault-hairline);
}
.funnel-proof__steps article > span { grid-row: 1 / 3; color: var(--vault-action-deep); font: 700 10px/1 var(--f-mono); padding-top: 6px; }
.funnel-proof__steps h3 { margin: 0; color: var(--ink); font: 750 1.25rem/1.2 var(--f-display); }
.funnel-proof__steps p { grid-column: 2; margin: 5px 0 0; color: var(--ink-dim); font-size: .9rem; line-height: 1.65; }
.funnel-proof__cta {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 22px;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 15px 17px;
  color: var(--ink);
  border: 1px solid rgba(120, 69, 230, .28);
  border-radius: 6px;
  background: var(--violet-soft);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.funnel-proof__cta:hover { border-color: var(--vault-unlock); transform: translateY(-2px); }
.funnel-proof__cta span { color: var(--ink-dim); font-size: .78rem; }
.funnel-proof__cta b { color: var(--vault-unlock); font: 750 1rem/1.2 var(--f-display); }
.funnel-proof__cta svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Access ledger: one decision, no pricing-card template. */
.funnel-access { border-top: 1px solid var(--vault-hairline); }
.funnel-access__tier {
  position: relative;
  min-height: 126px;
  display: grid;
  grid-template-columns: 46px minmax(220px, 1.15fr) minmax(260px, 1.25fr) minmax(140px, auto) 24px;
  gap: 20px;
  align-items: center;
  padding: 22px 18px;
  overflow: hidden;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--vault-hairline);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  contain: paint;
  transition: background-color .22s ease, transform .22s ease;
}
.funnel-access__tier[hidden] { display: none; }
.funnel-access__tier:hover { transform: translateX(4px); }
.funnel-access__tier--free:hover { background: rgba(255, 255, 255, .55); }
.funnel-access__tier--premium { background: rgba(255, 139, 19, .075); }
.funnel-access__tier--premium:hover { background: rgba(255, 139, 19, .13); }
.funnel-access__tier--vip { background: rgba(120, 69, 230, .075); }
.funnel-access__tier--vip:hover { background: rgba(120, 69, 230, .13); }
.funnel-access__index { color: var(--ink-faint); font: 700 10px/1 var(--f-mono); }
.funnel-access__name { display: grid; gap: 8px; }
.funnel-access__name small { color: var(--vault-unlock); font: 700 10px/1 var(--f-mono); text-transform: uppercase; }
.funnel-access__tier--premium .funnel-access__name small { color: var(--vault-action-deep); }
.funnel-access__name small em { padding: 3px 5px; color: #24150a; border-radius: 3px; background: var(--vault-action); font-style: normal; }
.funnel-access__name b { color: var(--ink); font: 750 1.18rem/1.25 var(--f-display); }
.funnel-access__tier > p { margin: 0; color: var(--ink-dim); font-size: .88rem; line-height: 1.6; }
.funnel-access__price { display: grid; justify-items: end; gap: 7px; white-space: nowrap; }
.funnel-access__price s { color: var(--ink-faint); font: 500 .78rem/1 var(--f-mono); }
.funnel-access__price strong { color: var(--ink); font: 800 1.75rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.funnel-access__tier--premium .funnel-access__price strong { color: var(--vault-action-deep); }
.funnel-access__tier--vip .funnel-access__price strong { color: var(--vault-unlock); }
.funnel-access__tier > svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }
.funnel-home .funnel-passes__trust { margin: -30px 0 0; color: var(--ink-dim); font-size: 11px; }

.funnel-home .funnel-safety { background: #4d2a82; }
[data-theme="dark"] .funnel-home .funnel-safety { background: #352256; }
.funnel-home .funnel-footer { margin-top: 0; }

/* Dedicated pages inherit the vault without becoming another home page. */
.single-game-page .single-hero {
  min-height: min(850px, calc(100svh - 32px));
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--vault-action), var(--vault-unlock)) 1;
}
.single-game-page .single-hero::before {
  width: 72%;
  right: auto;
  background:
    linear-gradient(90deg, rgba(246, 247, 251, .98) 0%, rgba(246, 247, 251, .9) 44%, rgba(246, 247, 251, .45) 70%, transparent 100%),
    linear-gradient(0deg, rgba(246, 247, 251, .55), transparent 40%);
  -webkit-mask-image: linear-gradient(90deg, #000 0 74%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 74%, transparent 100%);
}
[data-theme="dark"] .single-game-page .single-hero::before {
  background:
    linear-gradient(90deg, rgba(23, 19, 31, .99) 0%, rgba(23, 19, 31, .92) 44%, rgba(23, 19, 31, .48) 70%, transparent 100%),
    linear-gradient(0deg, rgba(23, 19, 31, .62), transparent 40%);
}
.single-game-page .single-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--vault-action) 0 48%, var(--vault-unlock) 48% 100%);
}
.single-game-page .single-preview .game-preview__media { filter: saturate(1.08) contrast(1.02); transform: scale(1.012); }
.single-game-page .single-hero__copy { width: min(58%, 740px); }
.single-game-page .single-hero__copy h1 { max-width: 12ch; font-size: 5rem; line-height: .92; text-wrap: balance; }
.single-game-page .single-hero__sub { max-width: 61ch; color: var(--ink-dim); text-wrap: pretty; }
.single-game-page .single-hero__badges span { min-height: 31px; border-radius: 4px; font-size: 11px; }
.single-game-page .single-hero__cta .btn { min-height: 52px; border-radius: 6px; }
.single-game-page .single-hero__cta a[href*="/buy"] {
  color: #24150a;
  background: linear-gradient(108deg, #ffb552, #ff8b13 45%, #e96f05);
  box-shadow: inset 0 -2px 0 rgba(120, 69, 230, .28), 0 15px 34px rgba(242, 138, 27, .24);
}
.single-game-page .single-hero__cta a[href*="/v1/free"] { color: var(--vault-unlock); background: rgba(255, 255, 255, .76); }
[data-theme="dark"] .single-game-page .single-hero__cta a[href*="/v1/free"] { color: var(--vault-unlock-bright); background: rgba(37, 31, 47, .78); }

.single-game-page .single-conversion {
  padding: 94px 0;
  background: var(--vault-panel);
}
.single-game-page .single-conversion__head { max-width: 860px; }
.single-game-page .single-conversion__head h2 { max-width: 15ch; font-size: 3.7rem; line-height: .96; text-wrap: balance; }
.single-game-page .single-conversion__choices { gap: 0; border-top: 1px solid var(--vault-hairline); border-bottom: 1px solid var(--vault-hairline); }
.single-game-page .single-choice {
  min-height: 220px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--vault-hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.single-game-page .single-choice:last-child { border-right: 0; }
.single-game-page .single-choice--premium { background: rgba(255, 139, 19, .075); }
.single-game-page .single-choice:hover { border-color: var(--vault-hairline); background-color: rgba(120, 69, 230, .06); transform: none; }
.single-game-page .single-choice--premium:hover { background-color: rgba(255, 139, 19, .13); }
.single-game-page .single-conversion__vip { min-height: 80px; margin-top: 14px; border-radius: 6px; }
.single-game-page .single-conversion__trust { color: var(--ink-dim); font-size: 11px; }

.single-game-page .section__head h2 { text-wrap: balance; }
.single-game-page #videos .feat { border-radius: 7px; box-shadow: 0 18px 48px rgba(43, 31, 56, .12); }
.single-game-page #videos .feat__media,
.single-game-page #videos .game-preview__media { transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.single-game-page #videos .feat:hover .feat__media,
.single-game-page #videos .feat:hover .game-preview__media { transform: scale(1.018); }
.single-game-page #videos .video-toggle { width: 46px; height: 46px; }

@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .funnel-proof__visual {
      animation: vaultStageReveal 1ms cubic-bezier(.22, 1, .36, 1) both;
      animation-timeline: view();
      animation-range: entry 8% cover 34%;
    }
    @keyframes vaultStageReveal {
      from { opacity: .25; clip-path: inset(9% 8% 9% 8%); transform: translateY(26px); }
    }
  }
}

@media (max-width: 1100px) {
  .funnel-home .funnel-copy h1 { font-size: 4.35rem; }
  .funnel-home .funnel-slide::before { width: 82%; }
  .funnel-home .funnel-dock__surface { grid-template-columns: minmax(164px, .72fr) minmax(0, 4fr) 86px; }
  .funnel-home .funnel-dock__intro { padding-inline: 11px; }
  .funnel-home .funnel-dock__game { gap: 6px; padding-inline: 5px; font-size: 8.5px; }
  .funnel-home .funnel-dock__game img { width: 31px; height: 31px; flex-basis: 31px; }
  .funnel-proof__stage { grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 38px; }
  .funnel-access__tier { grid-template-columns: 38px 1fr 1fr auto 22px; gap: 14px; }
  .single-game-page .single-hero__copy h1 { font-size: 4.2rem; }
}

@media (max-width: 900px) {
  .funnel-home .funnel-dock { top: 80px; }
  .funnel-home .funnel-dock__surface { height: auto; grid-template-columns: minmax(0, 1fr) 92px; }
  .funnel-home .funnel-dock__intro { height: 42px; min-height: 42px; padding-block: 6px; border-right: 0; }
  .funnel-home .funnel-dock__controls { grid-column: 2; grid-row: 1; grid-template-rows: 1fr; }
  .funnel-home .funnel-dock__counter { display: none; }
  .funnel-home .funnel-dock__rail {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--vault-hairline);
  }
  .funnel-home .funnel-dock__game { min-height: 50px; border-bottom: 1px solid var(--vault-hairline); }
  .funnel-home .funnel-dock__game:nth-child(n + 4) { border-bottom: 0; }
  .funnel-home .funnel-slide__content { padding-top: 228px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .funnel-home .funnel-hero,
  .funnel-home .funnel-slide__content { min-height: clamp(856px, calc(100svh - 30px), 920px); }
}

@media (max-width: 760px) {
  .funnel-home .nav__inner,
  .single-game-page .nav__inner,
  .single-game-page .nav.scrolled .nav__inner { min-height: 56px; padding-inline: 10px; }
  .funnel-home .brand,
  .single-game-page .brand { min-width: 34px; width: 34px; }
  .funnel-home .brand::after,
  .single-game-page .brand::after { display: none; }
  .funnel-home .brand__mark,
  .single-game-page .brand__mark { width: 32px; height: 32px; display: block; }

  .funnel-home .funnel-hero,
  .funnel-home .funnel-slide__content { min-height: max(680px, calc(100svh - 22px)); }
  .funnel-home .funnel-slide::before {
    width: 100%;
    background: linear-gradient(0deg, rgba(246, 247, 251, .96) 0%, rgba(246, 247, 251, .79) 59%, rgba(246, 247, 251, .08) 100%);
    -webkit-mask-image: none;
    mask-image: none;
  }
  [data-theme="dark"] .funnel-home .funnel-slide::before { background: linear-gradient(0deg, rgba(23, 19, 31, .98) 0%, rgba(23, 19, 31, .87) 59%, rgba(23, 19, 31, .14) 100%); }
  .funnel-home .funnel-slide__media { object-position: center 26%; transform: scale(1.012); }
  .funnel-home .funnel-slide.is-active .funnel-slide__media { transform: scale(1); }
  .funnel-home .funnel-slide__content { align-items: flex-end; padding-top: 190px; padding-bottom: 28px; }
  .funnel-home .funnel-copy::before { top: 6px; left: -5px; font-size: 7.5rem; }
  .funnel-home .funnel-copy .sale-offer {
    top: -60px;
    left: auto;
    right: 0;
    min-height: 40px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .funnel-home .sale-offer__value { min-width: 50px; min-height: 40px; border-radius: 5px; }
  .funnel-home .sale-offer__copy { display: none; }
  .funnel-home .funnel-copy__index { margin-bottom: 7px; }
  .funnel-home .funnel-copy__eyebrow { max-width: 36ch; margin-bottom: 9px; font-size: 9px; }
  .funnel-home .funnel-copy h1 { max-width: 12ch; font-size: 3.15rem; line-height: .96; }
  .funnel-home .funnel-copy__lead { margin-top: 14px; font-size: .89rem; line-height: 1.55; }
  .funnel-home .funnel-copy__chips { margin-top: 12px; }
  .funnel-home .funnel-copy__chips span { min-height: 25px; padding-inline: 7px; font-size: 9px; }
  .funnel-home .funnel-copy__chips span:nth-child(3) { display: none; }
  .funnel-home .funnel-copy__version { margin-top: 9px; padding-top: 8px; font-size: 10px; }
  .funnel-home .funnel-copy__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
  .funnel-home .funnel-copy__actions .btn { min-width: 0; min-height: 46px; padding-inline: 9px; font-size: 10px; }
  .funnel-home .funnel-dock { top: 74px; bottom: auto; }
  .funnel-home .funnel-dock__surface { grid-template-columns: 1fr; min-height: 0; }
  .funnel-home .funnel-dock__intro {
    height: 38px;
    min-height: 38px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 7px 10px;
  }
  .funnel-home .funnel-dock__intro span { font-size: 8px; }
  .funnel-home .funnel-dock__controls { display: none; }
  .funnel-home .funnel-dock__rail { grid-column: 1; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .funnel-home .funnel-dock__game,
  .funnel-home .funnel-dock__game:nth-child(n + 4) {
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 5px 2px;
    border-right: 1px solid var(--vault-hairline);
    border-bottom: 0;
    font-size: 8px;
    line-height: 1;
    text-align: center;
  }
  .funnel-home .funnel-dock__game:last-child { border-right: 0; }
  .funnel-home .funnel-dock__game img { width: 29px; height: 29px; flex-basis: 29px; }
  .funnel-home .funnel-dock__game span { width: 100%; white-space: nowrap; }

  .funnel-home .funnel-proof,
  .funnel-home .funnel-passes { padding: 80px 0; }
  .funnel-home .funnel-proof__inner,
  .funnel-home .funnel-passes__inner { gap: 36px; }
  .funnel-home .funnel-section-head h2 { font-size: 2.7rem; }
  .funnel-proof__stage { grid-template-columns: 1fr; gap: 30px; }
  .funnel-proof__visual { min-height: 520px; }
  .funnel-proof__visual > :is(img, video) { height: 450px; max-width: 82%; }
  .funnel-proof__steps article { padding-block: 21px; }

  .funnel-access__tier {
    min-height: 0;
    grid-template-columns: 34px 1fr auto 20px;
    gap: 10px;
    padding: 20px 8px;
  }
  .funnel-access__name { grid-column: 2; }
  .funnel-access__tier > p { grid-column: 2 / -1; margin-top: 5px; }
  .funnel-access__price { grid-column: 3; grid-row: 1; }
  .funnel-access__price strong { font-size: 1.35rem; }
  .funnel-access__tier > svg { grid-column: 4; grid-row: 1; }
  .funnel-home .funnel-passes__trust { margin-top: -18px; font-size: 10px; }

  .single-game-page .single-hero { min-height: calc(100svh - 24px); padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .single-game-page .single-hero::before {
    width: 100%;
    background: linear-gradient(0deg, rgba(246, 247, 251, .98) 0%, rgba(246, 247, 251, .88) 59%, rgba(246, 247, 251, .16) 100%);
    -webkit-mask-image: none;
    mask-image: none;
  }
  [data-theme="dark"] .single-game-page .single-hero::before { background: linear-gradient(0deg, rgba(23, 19, 31, .99) 0%, rgba(23, 19, 31, .91) 59%, rgba(23, 19, 31, .23) 100%); }
  .single-game-page .single-hero__copy { width: 100%; }
  .single-game-page .single-hero__copy h1 { font-size: 3rem; }
  .single-game-page .single-conversion { padding: 70px 0; }
  .single-game-page .single-conversion__head h2 { font-size: 2.6rem; }
  .single-game-page .single-conversion__choices { grid-template-columns: 1fr; }
  .single-game-page .single-choice { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--vault-hairline); }
  .single-game-page .single-choice:last-child { border-bottom: 0; }

  .single-game-page #videos .features {
    width: calc(100vw - 12px);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 318px);
    grid-template-columns: none;
    gap: 12px;
    margin-left: calc((100vw - min(calc(100vw - 24px), var(--maxw))) / -2);
    padding: 8px 14px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--vault-unlock) transparent;
  }
  .single-game-page #videos .feat { width: auto; scroll-snap-align: center; }
  .single-game-page #videos .video-toggle,
  .single-game-page #preview .video-toggle,
  .single-game-page .game-panel .video-toggle { top: 12px; bottom: auto; }
  .single-game-page .single-preview > .video-toggle { top: 72px; right: 14px; bottom: auto; }
}

@media (max-width: 420px) {
  .funnel-home .funnel-copy h1 { font-size: 2.65rem; }
  .funnel-home .funnel-copy__lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .funnel-home .funnel-section-head h2 { font-size: 2.35rem; }
  .funnel-proof__visual { min-height: 460px; }
  .funnel-proof__visual > :is(img, video) { height: 395px; }
  .funnel-proof__media-meta { right: 10px; bottom: 10px; left: 10px; }
  .funnel-proof__media-meta span { display: none; }
  .funnel-proof__cta { grid-template-columns: 1fr 20px; }
  .funnel-proof__cta span { display: none; }
  .funnel-access__name b { font-size: 1.02rem; }
  .funnel-access__tier > p { font-size: .82rem; }
  .single-game-page .single-hero__copy h1 { font-size: 2.55rem; }
}

@media (max-width: 340px) {
  .funnel-home .funnel-hero,
  .funnel-home .funnel-slide__content { min-height: 720px; }
  .funnel-home .funnel-copy__actions { grid-template-columns: 1fr; }
  .funnel-home .funnel-copy__lead { -webkit-line-clamp: 2; }
  .funnel-home .funnel-copy__chips { display: none; }
  .funnel-home .funnel-copy h1 { font-size: 2.75rem; }
  .funnel-home .funnel-slide__content { padding-bottom: 28px; }
  .sticky-cta { gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .sticky-cta__txt b { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-cta__txt span { display: none; }
  .sticky-cta .btn { min-height: 44px; padding: 10px 14px; }
  body { padding-bottom: 64px; }
}

@media (max-width: 520px) {
  .funnel-home .funnel-dock__intro span { display: none; }
  .funnel-home .funnel-dock__intro strong { font-size: 10.5px; }
  .funnel-home .funnel-dock__game span { font-size: 0; }
  .funnel-home .funnel-dock__game span::after { content: attr(data-short); font-size: 9px; font-weight: 700; }
}

@media (max-width: 350px) {
  .funnel-home .funnel-dock.wrap { width: calc(100% - 16px); max-width: none; padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-vt]::view-transition-old(root),
  html[data-vt]::view-transition-new(root),
  html[data-vt]::view-transition-old(vault-art),
  html[data-vt]::view-transition-new(vault-art),
  html[data-vt]::view-transition-old(vault-copy),
  html[data-vt]::view-transition-new(vault-copy) { animation: none !important; }
  .funnel-slide,
  .funnel-slide__media,
  .funnel-hero__meter span,
  .funnel-copy__actions .btn,
  .funnel-dock__game,
  .funnel-proof__visual > :is(img, video),
  .funnel-access__tier,
  .single-choice,
  .nav__inner,
  .nav-icon-btn,
  .lang,
  .game-drop__btn,
  .funnel-home a,
  .single-game-page a,
  [data-reveal],
  [data-animate] {
    animation: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .funnel-slide__media,
  .funnel-copy__actions .btn,
  .funnel-dock__game,
  .funnel-proof__visual > :is(img, video),
  .funnel-access__tier,
  .single-choice { transform: none !important; will-change: auto !important; }
}
