/* ==========================================================================
   LIPY GAMES — páginas dedicadas de cada jogo (base comum)
   Cada página define no <body>: --c1 (destaque claro), --c2 (destaque forte), --c3 (fundo), --c4 (2º destaque)
   ========================================================================== */
body.jogo { --c1: #ffc14d; --c2: #ff7a1a; --c3: #120a02; --c4: #2ad8ff; background: var(--c3); }
body.jogo .atmos { background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c2) 22%, var(--c3)) 0%, var(--c3) 55%, var(--ink-0) 100%); }
body.jogo .atmos i:nth-child(1) { background: radial-gradient(circle, var(--c2) 0%, transparent 62%); opacity: .3; }
body.jogo .atmos i:nth-child(2) { background: radial-gradient(circle, var(--c4) 0%, transparent 60%); opacity: .18; }
body.jogo .atmos i:nth-child(3) { background: radial-gradient(circle, var(--c1) 0%, transparent 60%); opacity: .16; }
.txt-game { background: linear-gradient(115deg, #fff 0%, var(--c1) 40%, var(--c2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.jogo .eyebrow::before { background: var(--c1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 20%, transparent), 0 0 18px var(--c1); }

/* ---------------- herói do jogo ---------------- */
.gh { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 50px) 0 90px; isolation: isolate; }
.gh__bg { position: absolute; inset: -6%; z-index: -2; }
.gh__bg img, .gh__bg video { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(1.25) brightness(.55); transform: scale(1.06); }
.gh__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 70% at 72% 45%, transparent, color-mix(in srgb, var(--c3) 70%, transparent) 70%),
    linear-gradient(90deg, var(--c3) 5%, color-mix(in srgb, var(--c3) 75%, transparent) 42%, color-mix(in srgb, var(--c3) 10%, transparent) 75%),
    linear-gradient(0deg, var(--c3) 2%, transparent 35%);
}
.gh__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.gh__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--txt-3); }
.gh__crumb a { color: var(--txt-2); transition: color .3s; }
.gh__crumb a:hover { color: var(--txt); }
.gh__crumb i { font-style: normal; opacity: .5; }
.gh__id { display: flex; align-items: center; gap: 20px; margin: 30px 0 22px; }
.gh__icon { width: clamp(78px, 7.4vw, 108px); aspect-ratio: 1; height: auto; border-radius: 26%; box-shadow: 0 24px 50px -18px #000, 0 0 0 1px rgba(255, 255, 255, .18); }
.gh__logo { width: clamp(220px, 28vw, 420px); height: auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .55)); }
.gh__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.3rem, 5.3vw, 5.6rem); line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.gh__title .l { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.gh__lead { margin-top: 24px; }
.gh__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.gh__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.gh__visual { position: relative; height: min(76svh, 740px); min-height: 520px; }
.gh__phone { --w: clamp(230px, 20vw, 310px); position: absolute; z-index: 2; left: calc(50% - var(--w) / 2); top: 50%; margin-top: calc(var(--w) * -1.066); rotate: 4deg; }
.gh__foot { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-2); }

.btn--game { color: #120800; background: linear-gradient(115deg, #fff3c8 0%, var(--c1) 35%, var(--c2) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 34px -12px color-mix(in srgb, var(--c2) 80%, transparent), 0 0 0 1px color-mix(in srgb, var(--c1) 60%, transparent); }
.btn--game .btn__ic { background: rgba(12, 6, 0, .85); color: var(--c1); }

/* ---------------- frase-sensação (acende com a rolagem) ---------------- */
.gi__txt { margin-top: 30px; max-width: 24ch; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 4.4rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.gi__txt em { font-style: normal; }

/* ---------------- como se joga (celular fixo que troca de tela) ---------------- */
.gp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(30px, 6vw, 110px); }
.gp__steps { display: grid; }
.gp__step { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; gap: 18px; max-width: 520px; }
.gp__step:first-child { min-height: 60svh; justify-content: flex-start; padding-top: 6vh; }
.gp__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .8; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c1) 60%, transparent); }
.gp__step h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.6rem); letter-spacing: -.035em; line-height: 1.02; }
.gp__step p { color: var(--txt-2); font-size: clamp(1.02rem, 1.25vw, 1.2rem); max-width: 44ch; }
.gp__gesture { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; }
.gp__side { position: relative; }
.gp__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.gp__phone { --w: clamp(240px, 21vw, 320px); }
.gp__phone .phone__screen img, .gp__phone .phone__screen video { transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); opacity: 0; transform: scale(1.08); }
.gp__phone .phone__screen .is-on { opacity: 1; transform: none; }
html.no-js .gp__phone .phone__screen [data-step="0"] { opacity: 1; transform: none; }
.gp__glow { position: absolute; inset: 20% 10%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c2) 55%, transparent), transparent 65%); filter: blur(40px); z-index: -1; }
.gp__dots { position: absolute; right: -34px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.gp__dots i { width: 5px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .25); transition: background .4s, transform .4s var(--ease-out); transform: scaleY(.4); }
.gp__dots i.is-on { background: var(--c1); transform: none; box-shadow: 0 0 12px var(--c1); }

/* ---------------- abas de vidro (com a gota que desliza) ---------------- */
.tabs { --r: 999px; position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 5px; --glass-blur: 14px; }
.tabs > * { position: relative; z-index: 3; }
.tabs button {
  position: relative; z-index: 2; height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--txt-2); transition: color .35s; white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: #120800; font-weight: 600; }
.tabs__blob { position: absolute !important; z-index: 1 !important; top: 5px; left: 0; height: 44px; width: 80px; border-radius: 999px; background: linear-gradient(115deg, #fff3c8, var(--c1) 45%, var(--c2)); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--c2) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .6); pointer-events: none; }

/* ---------------- galeria de telas ---------------- */
.gg__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 44px; }
.gg__head .h1 { margin-top: 20px; }
.gg__rail { position: relative; }
.gg__track {
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 20px var(--gutter) 40px; scrollbar-width: none; cursor: grab;
}
.gg__track::-webkit-scrollbar { display: none; }
.gg__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gg__track.is-drag * { pointer-events: none; }
.gg__item { flex: none; scroll-snap-align: center; display: grid; gap: 14px; justify-items: center; }
.gg__item[hidden] { display: none; }
.gg__item .phone { --w: clamp(200px, 18vw, 270px); transition: transform .7s var(--ease-out); }
.gg__item:hover .phone { transform: translateY(-10px) rotate(-1.5deg); }
.gg__item figcaption { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--txt-2); text-align: center; max-width: 26ch; }
.gg__item a { display: block; border-radius: 40px; }
.gg__nav { display: flex; gap: 10px; }
.gg__nav button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; --r: 50%; }
.gg__nav svg { width: 18px; height: 18px; }
.gg__progress { height: 2px; margin: 0 var(--gutter); background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.gg__progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--c1), var(--c2)); }

/* ---------------- recursos (grade de vidro) ---------------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.feat { --r: 28px; padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; }
.feat__ic { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.feat svg.feat__ic { width: 46px; height: 46px; color: var(--c1); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c1) 60%, transparent)); }
.feat h3 { font-family: var(--f-display); font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.feat p { color: var(--txt-2); font-size: 15.5px; }
.feat--wide { grid-column: span 2; }

/* ---------------- trilha ---------------- */
.gm__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.gm__grid .h1 { margin: 20px 0 22px; }

/* ---------------- ficha técnica ---------------- */
.ficha { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; --r: 30px; overflow: hidden; }
.ficha > div { padding: 26px 24px; box-shadow: inset -1px -1px 0 rgba(255, 255, 255, .08); }
.ficha dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-3); margin-bottom: 10px; }
.ficha dd { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.45; }
.ficha dd small { display: block; color: var(--txt-3); font-size: 13px; font-weight: 400; margin-top: 4px; }

/* ---------------- onde jogar (lojas e portais) ---------------- */
.onde__head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: 40px; }
.onde__head .h2 { margin-top: 18px; }
.onde__grupos { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px 22px; }
.onde__rot { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-3); }
.onde__rot svg { width: 18px; height: 18px; color: var(--c1); }
.onde__lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.plat {
  --r: 24px; --glass-blur: 16px; min-height: 132px; padding: 22px 22px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025) 55%, rgba(255, 255, 255, .06));
  transition: translate .6s var(--ease-out), box-shadow .4s;
}
.plat__logo { display: flex; align-items: center; gap: 12px; height: 42px; }
.plat__logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.plat__logo b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.plat__logo img[src*="amazon"] { height: 30px; }
.plat__gp { width: 32px; height: 32px; flex: none; }
.plat__gs { height: 40px !important; border-radius: 12px; flex: none; }
.plat__poki { height: 40px !important; }
.plat__cg { height: 44px !important; }
.plat__st { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--txt-2); }
.plat__st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); animation: blink 2s steps(2) infinite; }
.plat[aria-disabled="true"] { cursor: default; }
.plat.is-live { cursor: pointer; }
.plat.is-live .plat__st { color: var(--green); }
.plat.is-live .plat__st::before { background: var(--green); box-shadow: 0 0 10px var(--green); animation: none; }
.plat.is-live:hover { translate: 0 -5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 0 0 1.5px color-mix(in srgb, var(--c1) 70%, transparent), 0 30px 60px -28px #000; }
.onde__legal { margin-top: 24px; font-size: 11.5px; line-height: 1.6; color: var(--txt-3); max-width: 110ch; }
@media (max-width: 900px) {
  .onde__head, .onde__grupos { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .onde__lista { grid-template-columns: 1fr 1fr; }
  .plat { min-height: 112px; padding: 16px 14px 14px; }
  .plat__logo { height: 34px; }
  .plat__logo b { font-size: 14px; white-space: normal; line-height: 1.1; }
  .plat__logo img[src*="amazon"] { height: 22px; }
}

/* ---------------- lista do jogo ---------------- */
.glista__card { --r: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); padding: clamp(30px, 5vw, 76px); overflow: hidden; }
.glista__card .h2 { margin: 18px 0 18px; }
.glista__art { position: relative; display: grid; place-items: center; }
.glista__art .pass { width: min(100%, 340px); }
.glista__art .pass__title { font-size: clamp(1.45rem, 2.3vw, 2.1rem); overflow-wrap: anywhere; }

/* ---------------- próximo universo ---------------- */
.gn { position: relative; display: block; min-height: 78svh; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.gn__bg { position: absolute; inset: 0; z-index: -1; }
.gn__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) brightness(.45); transform: scale(1.12); transition: transform 1.6s var(--ease-out), filter 1s; }
.gn:hover .gn__bg img { transform: scale(1.02); filter: saturate(1.35) brightness(.62); }
.gn__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink-1), transparent 45%), linear-gradient(90deg, rgba(3, 5, 11, .85), transparent 70%); }
.gn__in { min-height: 78svh; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 90px 70px; }
.gn__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--txt-2); }
.gn__name { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-top: 18px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 8.4rem); line-height: .9; letter-spacing: -.055em; }
.gn__name img { width: clamp(70px, 8vw, 130px); border-radius: 26%; box-shadow: 0 20px 50px -16px #000; transition: transform .8s var(--ease-spring); }
.gn:hover .gn__name img { transform: rotate(-8deg) scale(1.08); }
.gn__go { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; font-weight: 600; }
.gn__go i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #05070f; transition: transform .7s var(--ease-out); }
.gn__go i svg { width: 22px; height: 22px; }
.gn:hover .gn__go i { transform: translateX(10px) rotate(-45deg); }

/* ---------------- responsivo ---------------- */
@media (max-width: 1100px) {
  .ficha { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .gh { padding-top: calc(var(--nav-h) + 30px); }
  .gh__grid { grid-template-columns: 1fr; }
  .gh__visual { order: -1; height: 420px; min-height: 0; }
  .gh__phone { --w: 170px; }
  .gh__id { margin-top: 20px; }
  .gh__bg::after { background: linear-gradient(0deg, var(--c3) 30%, color-mix(in srgb, var(--c3) 60%, transparent) 70%, color-mix(in srgb, var(--c3) 30%, transparent)); }
  .gh__foot { display: none; }
  .gp__grid { grid-template-columns: 1fr; }
  .gp__side { display: none; }
  .gp__step, .gp__step:first-child { min-height: 0; padding: 20px 0 40px; }
  .gp__shot { display: block !important; }
  .gm__grid, .glista__card { grid-template-columns: 1fr; }
  .glista__art { order: -1; }
  .glista__art .pass { width: min(86%, 300px); }
}
@media (max-width: 600px) {
  .feats, .ficha { grid-template-columns: 1fr; }
  .feat--wide { grid-column: auto; }
  .gh__ctas .btn { width: 100%; justify-content: space-between; }
}
/* imagem da etapa (só aparece no celular, onde o telefone fixo some) */
.gp__shot { display: none; width: min(68%, 260px); margin-top: 10px; }
.gp__shot .phone { --w: 100%; }
