/* ==========================================================================
   LIPY GAMES — sistema visual
   Cores da marca (logo): azul elétrico + ciano + âmbar/laranja sobre azul-noite.
   Vidro líquido: .glass (todas as telas) + refração real em navegadores Chromium (lipy.js → Glass).
   ========================================================================== */

:root {
  color-scheme: dark;

  --ink-0: #02040a;
  --ink-1: #05070f;
  --ink-2: #0a0f1d;
  --ink-3: #111932;
  --line: rgba(170, 205, 255, .12);
  --line-2: rgba(170, 205, 255, .22);

  --txt: #eef4ff;
  --txt-2: rgba(226, 236, 255, .74);
  --txt-3: rgba(226, 236, 255, .5);

  --cyan: #2ad8ff;
  --blue: #2170ff;
  --royal: #1b3fd8;
  --amber: #ffb627;
  --orange: #ff7a1a;
  --green: #3ef08a;
  --red: #ff4d5e;

  --grad-cool: linear-gradient(115deg, #a8f1ff 0%, #2ad8ff 28%, #2170ff 72%, #5b4dff 100%);
  --grad-warm: linear-gradient(115deg, #ffe07a 0%, #ffb627 38%, #ff7a1a 100%);
  --grad-brand: linear-gradient(110deg, #2ad8ff 0%, #2170ff 42%, #8a5cff 64%, #ff7a1a 88%, #ffb627 100%);
  --grad-loop: linear-gradient(110deg, #2ad8ff 0%, #2170ff 22%, #8a5cff 40%, #ff7a1a 60%, #ffb627 76%, #2ad8ff 100%);

  --f-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --f-text: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .15, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --wrap: 1440px;
  --gutter: clamp(16px, 5vw, 72px);
  --radius: 28px;
  --nav-h: 64px;

  --z-nav: 800;
  --z-menu: 790; /* abaixo da barra: o botão X do menu fica sempre tocável */
  --z-veil: 9000;
  --z-loader: 9500;
  --z-cursor: 9999;

  /* vidro */
  --glass-fill: linear-gradient(145deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .045) 45%, rgba(255, 255, 255, .09));
  --glass-blur: 22px;
  --glass-sat: 185%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink-1);
  color: var(--txt);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (min-width: 1600px) { body { font-size: 18px; } }
/* o que passa da tela para os lados é cortado aqui, não na janela: assim nada vira rolagem lateral
   (no árabe a sobra vai para a esquerda, e a janela chegava a ficar deslocada). clip não quebra o sticky. */
main, .foot { overflow-x: clip; }

img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--amber); color: #120a00; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 8px; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 16px; top: 16px; z-index: calc(var(--z-loader) + 1);
  padding: 12px 18px; border-radius: 12px; background: var(--amber); color: #120a00; font-weight: 700;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* barra de rolagem */
html { scrollbar-width: thin; scrollbar-color: rgba(120, 170, 255, .35) transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: rgba(120, 170, 255, .28); border-radius: 10px; border: 3px solid var(--ink-1); }

/* ---------- ambiente: aurora + granulação ---------- */
.atmos { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #0b1330 0%, var(--ink-1) 55%, var(--ink-0) 100%); }
.atmos i {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(80px); opacity: .42; mix-blend-mode: screen; will-change: transform;
}
.atmos i:nth-child(1) { background: radial-gradient(circle, #1f5cff 0%, transparent 62%); left: -18vmax; top: -22vmax; animation: drift1 28s ease-in-out infinite alternate; }
.atmos i:nth-child(2) { background: radial-gradient(circle, #19c8ff 0%, transparent 60%); right: -26vmax; top: 18vh; opacity: .26; animation: drift2 34s ease-in-out infinite alternate; }
.atmos i:nth-child(3) { background: radial-gradient(circle, #ff8a1a 0%, transparent 60%); left: 20vw; bottom: -40vmax; opacity: .22; animation: drift3 40s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(22vw, 16vh, 0) scale(1.2); } }
@keyframes drift2 { to { transform: translate3d(-18vw, 30vh, 0) scale(.85); } }
@keyframes drift3 { to { transform: translate3d(-24vw, -20vh, 0) scale(1.15); } }

.grain {
  position: fixed; inset: -50%; z-index: 9990; pointer-events: none; opacity: .075; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(96px, 14vw, 200px); }
.section--tight { padding-block: clamp(64px, 9vw, 120px); }

/* ---------- tipografia ---------- */
.display, .h1, .h2, .h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.display { font-size: clamp(2.9rem, 8.4vw, 9.6rem); line-height: .9; letter-spacing: -.045em; }
.h1 { font-size: clamp(2.5rem, 6vw, 6.4rem); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 4.6rem); }
.h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); letter-spacing: -.02em; line-height: 1.08; }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.35rem); line-height: 1.55; color: var(--txt-2); max-width: 42ch; text-wrap: pretty; }
.muted { color: var(--txt-2); }
.txt-cool { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.txt-warm { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.txt-brand { background: var(--grad-loop); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(210, 228, 255, .5); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--txt-2);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(42, 216, 255, .14), 0 0 18px var(--cyan);
  animation: pulse 2.4s var(--ease-out) infinite;
}
.eyebrow--warm::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 182, 39, .14), 0 0 18px var(--amber); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(42, 216, 255, 0), 0 0 22px var(--cyan); } }
.mono { font-family: var(--f-mono); letter-spacing: .04em; }

/* linhas mascaradas do SplitText */
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

/* ==========================================================================
   VIDRO LÍQUIDO
   ========================================================================== */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--r, var(--radius));
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat)) brightness(1.06);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat)) brightness(1.06);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, .38),
    inset 0 -1px 0 0 rgba(255, 255, 255, .07),
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    inset 0 -22px 34px -24px rgba(140, 215, 255, .22),
    inset 0 22px 30px -26px rgba(255, 255, 255, .22),
    0 28px 60px -30px rgba(0, 0, 0, .75),
    0 10px 24px -12px rgba(0, 0, 0, .4);
}
/* aro: borda em gradiente (luz em cima/esquerda, reflexo colorido embaixo/direita) */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .12) 22%, rgba(255, 255, 255, 0) 48%, rgba(120, 225, 255, .28) 78%, rgba(255, 196, 110, .45) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* brilho especular que segue o ponteiro (--gx/--gy vêm do JS) */
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(220px circle at var(--gx, 20%) var(--gy, -10%), rgba(255, 255, 255, .26), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 38%);
  mix-blend-mode: soft-light;
  opacity: var(--glow, .9);
  transition: opacity .4s var(--ease-out);
}
.glass > * { position: relative; z-index: 3; }
.glass--pill { --r: 999px; }
.glass--thin { --glass-blur: 12px; }
.glass--dark { background: linear-gradient(145deg, rgba(12, 18, 36, .62), rgba(6, 9, 20, .5)); }
.glass--warm { background: linear-gradient(145deg, rgba(255, 190, 80, .22), rgba(255, 120, 30, .08) 55%, rgba(255, 255, 255, .06)); }
.glass--cool { background: linear-gradient(145deg, rgba(90, 200, 255, .2), rgba(33, 112, 255, .08) 55%, rgba(255, 255, 255, .06)); }
/* com refração ativa, o blur vem do filtro SVG */
.glass.is-lens { -webkit-backdrop-filter: none; }

/* barra de progresso da página, dentro da navegação */
.nav__progress { position: absolute !important; z-index: 4; left: 24px; right: 24px; bottom: 0; height: 1.5px; overflow: hidden; border-radius: 2px; pointer-events: none; }
.nav__progress i { display: block; height: 100%; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--cyan); }

/* ícones de traço que se desenham ao aparecer (pathLength="1" em cada traço) */
.draw { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.draw > * { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-out); }
.draw > *:nth-child(2) { transition-delay: .18s; }
.draw > *:nth-child(3) { transition-delay: .32s; }
.draw > *:nth-child(4) { transition-delay: .44s; }
.draw.is-drawn > *, html.no-js .draw > *, html.rm .draw > * { stroke-dashoffset: 0; }

/* ---------- botões ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 10px 0 26px; border-radius: 999px;
  font-family: var(--f-text); font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: box-shadow .5s var(--ease-out), background-color .3s; /* o transform é do ímã (GSAP) */
  will-change: transform;
}
.btn__ic {
  display: grid; place-items: center; width: calc(var(--h) - 16px); height: calc(var(--h) - 16px); border-radius: 50%;
  background: rgba(255, 255, 255, .14); overflow: hidden; flex: none;
}
.btn__ic svg { width: 16px; height: 16px; transition: transform .6s var(--ease-out); }
.btn:hover .btn__ic svg { transform: translateX(3px) rotate(-45deg); }
.btn--warm {
  color: #1a0c00;
  background: var(--grad-warm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 6px rgba(160, 60, 0, .35), 0 14px 34px -12px rgba(255, 130, 30, .7), 0 0 0 1px rgba(255, 190, 90, .5);
}
.btn--warm .btn__ic { background: rgba(26, 12, 0, .88); color: var(--amber); }
.btn--warm::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 46%, transparent 62%);
  background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: soft-light;
  transition: background-position 1s var(--ease-out);
}
.btn--warm:hover::after { background-position: -40% 0; }
.btn--warm:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 6px rgba(160, 60, 0, .35), 0 22px 50px -14px rgba(255, 130, 30, .9), 0 0 0 1px rgba(255, 190, 90, .7); }
.btn--glass { color: var(--txt); padding-right: 10px; }
.btn--glass .btn__ic { background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--sm { --h: 44px; font-size: 14px; padding-left: 20px; gap: 10px; }
.btn--plain { padding: 0 22px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.link-arrow svg { width: 16px; transition: transform .5s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }
.u-line { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.u-line:hover { background-size: 100% 1px; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  border-radius: 999px; color: var(--txt);
}
.chip--line { box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255, 255, 255, .03); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.chip__dot--live { background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* selo "Google Play — em breve" */
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; border-radius: 16px;
  color: var(--txt); background: rgba(3, 6, 14, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 14px 30px -18px #000;
  transition: transform .5s var(--ease-out), box-shadow .4s;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--txt-3); line-height: 1.2; }
.store b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.store[aria-disabled="true"] { cursor: default; }
a.store:not([aria-disabled="true"]):hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 20px 40px -18px #000; }

/* ==========================================================================
   NAVEGAÇÃO
   ========================================================================== */
.nav {
  position: fixed; z-index: var(--z-nav); top: 14px; left: 50%;
  width: min(1240px, calc(100% - 28px)); height: var(--nav-h);
  transform: translateX(-50%);
  transition: transform .7s var(--ease-out);
}
.nav.is-hidden { transform: translate(-50%, calc(-100% - 30px)); }
.nav.is-hidden:focus-within { transform: translateX(-50%); } /* quem navega pelo teclado sempre vê onde está */
.nav__bar {
  --r: 22px; height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 10px 0 18px;
}
.nav__brand { display: flex; align-items: center; justify-self: start; height: 100%; }
.nav__brand img { height: 38px; width: auto; filter: drop-shadow(0 4px 14px rgba(33, 112, 255, .45)); transition: transform .6s var(--ease-spring); }
.nav__brand:hover img { transform: rotate(-4deg) scale(1.06); }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__links a, .nav__links button {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 14px;
  font-size: 14.5px; font-weight: 500; color: var(--txt-2); transition: color .3s;
}
.nav__links a:hover, .nav__links button:hover, .nav__links .is-active { color: var(--txt); }
.nav__links button svg { width: 12px; transition: transform .5s var(--ease-out); }
.nav__links button[aria-expanded="true"] svg { transform: rotate(180deg); }
/* a gota de vidro que desliza entre os itens */
.nav__blob {
  position: absolute; z-index: 1; top: 50%; left: 0; height: 42px; width: 60px; border-radius: 14px; pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 6px 16px -8px rgba(0, 0, 0, .6);
  transform: translate(0, -50%); opacity: 0;
}
.nav__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
/* seletor de idioma (bandeira) */
.idioma { position: relative; }
.idioma__bt {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 7px; border-radius: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--txt-2); transition: background .3s, color .3s;
}
.idioma__bt:hover, .idioma__bt[aria-expanded="true"] { background: rgba(255, 255, 255, .08); color: var(--txt); }
.idioma__flag, .idioma__lista img, .menu__idiomas img, .sugere img {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22), 0 4px 10px -4px rgba(0, 0, 0, .7);
}
.idioma__seta { width: 11px; height: 11px; transition: transform .5s var(--ease-out); }
.idioma__bt[aria-expanded="true"] .idioma__seta { transform: rotate(180deg); }
/* a lista fica dentro da barra de vidro (o desfoque não enxerga a página por trás): fundo mais denso para ler bem */
.idioma__lista {
  position: absolute; top: calc(100% + 16px); inset-inline-end: -4px; width: 236px; padding: 8px; --r: 20px;
  background: linear-gradient(160deg, rgba(20, 30, 58, .96), rgba(7, 11, 24, .97));
  display: grid; gap: 2px; visibility: hidden; pointer-events: none; transform-origin: 100% 0;
}
[dir="rtl"] .idioma__lista { transform-origin: 0 0; }
.idioma__lista.is-open { visibility: visible; pointer-events: auto; }
.idioma__lista a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: 13px;
  font-size: 14.5px; font-weight: 500; color: var(--txt-2); transition: background .3s, color .3s;
}
.idioma__lista a:hover { background: rgba(255, 255, 255, .08); color: var(--txt); }
.idioma__lista a[aria-current] { background: rgba(42, 216, 255, .12); color: var(--txt); box-shadow: inset 0 0 0 1px rgba(42, 216, 255, .28); }
.idioma__lista b { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; color: var(--txt-3); }
.idioma__lista a[aria-current] b { color: var(--cyan); }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 14px; place-items: center; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--txt); transition: transform .6s var(--ease-out), top .6s var(--ease-out); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* painel "Jogos" */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(760px, calc(100vw - 28px));
  transform: translateX(-50%); padding: 14px; --r: 26px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  visibility: hidden; pointer-events: none;
}
.mega.is-open { visibility: visible; pointer-events: auto; }
.mega__item {
  position: relative; display: grid; gap: 14px; padding: 14px; border-radius: 18px; overflow: hidden;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: background .4s, translate .5s var(--ease-out);
}
.mega__item:hover { background: rgba(255, 255, 255, .09); translate: 0 -3px; }
.mega__item img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); }
.mega__item b { display: block; font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.mega__item small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-3); }
.mega__item::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%;
  background: var(--c, var(--blue)); filter: blur(50px); opacity: 0; transition: opacity .5s;
}
.mega__item:hover::after { opacity: .45; }

/* menu de celular */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); display: grid; align-content: center; gap: 28px;
  padding: 110px var(--gutter) 40px;
  background: rgba(3, 6, 14, .72); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  visibility: hidden; clip-path: circle(0% at calc(100% - 44px) 44px);
}
.menu.is-open { visibility: visible; }
.menu__links a { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 11vw, 3.6rem); letter-spacing: -.04em; line-height: 1.12; }
.menu__games { display: flex; gap: 12px; }
.menu__games a { display: grid; gap: 8px; justify-items: center; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--txt-2); text-align: center; }
.menu__games img { width: 68px; height: 68px; border-radius: 18px; }
.menu__idiomas { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__idiomas a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 7px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--txt-2);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.menu__idiomas img { width: 24px; height: 24px; }
.menu__idiomas a[aria-current] { color: var(--txt); background: rgba(42, 216, 255, .14); box-shadow: inset 0 0 0 1px rgba(42, 216, 255, .4); }
.menu__legal { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--txt-3); }

@media (max-width: 960px) {
  .nav { top: 10px; width: calc(100% - 20px); --nav-h: 60px; }
  .nav__bar { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  /* no celular a bandeira fica sozinha ao lado do menu */
  .idioma__bt { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .idioma__atual, .idioma__seta { display: none; }
  .idioma__flag { width: 28px; height: 28px; }
  .nav__burger { display: grid; position: relative; }
  .nav__brand img { height: 34px; }
}

/* ==========================================================================
   CURSOR (lente de vidro)
   ========================================================================== */
.cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor *:not(input):not(textarea):not(select) { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(160, 230, 255, .9); }
.cursor__lens {
  --r: 999px; position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  --glass-blur: 2px; --glass-sat: 160%;
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), opacity .3s;
}
.cursor__lens span {
  font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease-out); text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.cursor.is-link .cursor__lens { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label .cursor__lens { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.is-label .cursor__lens span { opacity: 1; transform: none; }
.cursor.is-down .cursor__lens { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.cursor.is-hidden { opacity: 0; }

/* ==========================================================================
   PRÉ-CARREGADOR
   ========================================================================== */
.loader { display: none; }
html.js.is-loading .loader {
  position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-items: center; background: var(--ink-0); overflow: hidden;
}
html.is-loading body { overflow: hidden; }
.loader__core { position: relative; width: min(46vw, 230px); aspect-ratio: 1; display: grid; place-items: center; }
.loader__ring {
  position: absolute; inset: -18%; border-radius: 50%;
  background: conic-gradient(from var(--a, 0deg), transparent 0 55%, rgba(42, 216, 255, .9) 72%, #fff 76%, rgba(255, 182, 39, .9) 82%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 1.6s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.loader__glass { position: absolute; inset: -6%; border-radius: 50%; --r: 50%; }
.loader__mark { position: relative; width: 74%; filter: drop-shadow(0 10px 40px rgba(33, 112, 255, .55)); clip-path: inset(100% 0 0 0); }
.loader__count {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 5vh, 48px);
  font-family: var(--f-display); font-weight: 300; font-size: clamp(3.6rem, 12vw, 9rem); line-height: .8; letter-spacing: -.06em;
  font-variant-numeric: tabular-nums; color: var(--txt);
}
.loader__count sup { font-size: .28em; letter-spacing: 0; vertical-align: top; margin-left: .2em; color: var(--txt-3); }
.loader__label { position: absolute; right: var(--gutter); bottom: clamp(24px, 5.4vh, 54px); text-align: right; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-3); line-height: 1.9; }
.loader__label b { color: var(--txt); font-weight: 500; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .06); }
.loader__bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-brand); box-shadow: 0 0 20px var(--cyan); }
.loader__curtain { position: absolute; left: 0; width: 100%; bottom: 100%; height: 22vh; fill: var(--ink-0); pointer-events: none; }

/* ==========================================================================
   TRANSIÇÃO ENTRE PÁGINAS
   ========================================================================== */
.veil { position: fixed; inset: 0; z-index: var(--z-veil); pointer-events: none; visibility: hidden; }
.veil.is-on { visibility: visible; pointer-events: auto; }
.veil__fill { position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 40%, var(--vc2, #0f1b3d), var(--vc1, #05070f)); clip-path: circle(0% at var(--vx, 50%) var(--vy, 50%)); }
.veil__icon { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 32px; overflow: hidden; opacity: 0; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); }
.veil__icon img { width: 100%; height: 100%; object-fit: cover; }
html.is-entering .veil { visibility: visible; }
html.is-entering .veil__fill { clip-path: circle(150% at 50% 50%); }
html.is-entering .veil__icon { opacity: 1; }

/* transição nativa entre documentos (Chrome/Safari em http): o ícone do jogo "voa" até a página dele */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .7s; animation-timing-function: cubic-bezier(.7, 0, .15, 1); }
::view-transition-group(game-icon) { animation-duration: .8s; animation-timing-function: cubic-bezier(.7, 0, .15, 1); }
::view-transition-old(game-icon), ::view-transition-new(game-icon) { height: 100%; object-fit: cover; }

/* ==========================================================================
   COMPONENTES COMUNS
   ========================================================================== */
/* celular (moldura) */
.phone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.2; border-radius: calc(var(--w) * .16);
  padding: calc(var(--w) * .035);
  background: linear-gradient(145deg, #2a3040, #0b0e16 30%, #05070c 70%, #262c3b);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .16),
    inset 0 0 0 calc(var(--w) * .012) #0a0c12,
    0 50px 100px -30px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(0, 0, 0, .8);
}
.phone::before { /* botões laterais */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 12%; border-radius: 0 3px 3px 0; background: #1b202b;
  box-shadow: -1px 0 0 rgba(255, 255, 255, .08), 0 calc(var(--w) * .2) 0 #1b202b;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .125); overflow: hidden; background: #000; isolation: isolate; }
.phone__screen > img, .phone__screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__island { position: absolute; z-index: 5; left: 50%; top: calc(var(--w) * .03); width: 32%; height: calc(var(--w) * .085); transform: translateX(-50%); border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.phone__glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; background: linear-gradient(120deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .06) 100%); }

/* objetos flutuantes (heróis): o JS mexe em transform; a flutuação usa translate, então não brigam */
.fl { position: absolute; will-change: transform; pointer-events: none; }
.fl { animation: flutua 7s ease-in-out infinite; }
.fl:nth-of-type(2n) { animation-duration: 8.5s; animation-delay: -2s; }
.fl:nth-of-type(3n) { animation-duration: 6.2s; animation-delay: -4s; }
@keyframes flutua { 50% { translate: 0 -16px; } }

/* número/índice grande */
.idx { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--txt-3); }

/* player de trilha */
.player { --r: 28px; display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 22px; align-items: center; }
.player__art { position: relative; width: 112px; height: 112px; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 40px -14px #000; }
.player__art img { width: 100%; height: 100%; object-fit: cover; }
.player__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .3), transparent 40%); }
.player__now { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--txt-3); }
.player__title { font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 12px; }
.player__row { display: flex; align-items: center; gap: 14px; }
.player__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-warm); color: #1a0c00; box-shadow: 0 10px 24px -10px rgba(255, 140, 30, .9), inset 0 1px 0 rgba(255, 255, 255, .6); flex: none; transition: transform .4s var(--ease-spring); }
.player__btn:hover { transform: scale(1.08); }
.player__btn svg { width: 20px; height: 20px; }
.player__btn .i-pause { display: none; }
.player.is-playing .player__btn .i-play { display: none; }
.player.is-playing .player__btn .i-pause { display: block; }
.player__bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; flex: 1; }
.player__bars i { flex: 1; min-width: 2px; height: 12%; border-radius: 2px; background: linear-gradient(to top, var(--cyan), #fff); opacity: .75; transform-origin: bottom; }
.player__prog { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin-top: 14px; cursor: pointer; }
.player__prog i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); border-radius: inherit; background: var(--grad-warm); }
.player__time { font-family: var(--f-mono); font-size: 11px; color: var(--txt-3); min-width: 88px; text-align: right; }
.player__list { grid-column: 1 / -1; display: grid; gap: 4px; margin-top: 4px; }
.player__list button {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; text-align: left;
  font-size: 15px; color: var(--txt-2); transition: background .3s, color .3s;
}
.player__list button:hover { background: rgba(255, 255, 255, .06); color: var(--txt); }
.player__list button.is-on { background: rgba(255, 255, 255, .1); color: var(--txt); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.player__list .n { font-family: var(--f-mono); font-size: 11px; color: var(--txt-3); }
.player__list .d { font-family: var(--f-mono); font-size: 11px; color: var(--txt-3); }
@media (max-width: 560px) { .player { grid-template-columns: 1fr; } .player__art { width: 84px; height: 84px; } }

/* galeria (lightbox) */
.lightbox {
  position: fixed; inset: 0; z-index: calc(var(--z-veil) - 1); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 72px 20px 28px; background: rgba(2, 4, 10, .78); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  visibility: hidden; opacity: 0; touch-action: pan-y;
}
.lightbox.is-open { visibility: visible; }
.lightbox__stage { display: grid; place-items: center; height: 100%; min-height: 0; }
.lightbox__stage img { max-height: calc(100svh - 150px); width: auto; border-radius: 28px; box-shadow: 0 40px 100px -30px #000; }
.lightbox__nav { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; --r: 50%; }
.lightbox__nav svg { width: 20px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; --r: 50%; }
.lightbox__close svg { width: 18px; }
.lightbox__count { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--txt-2); }
@media (max-width: 700px) { .lightbox { grid-template-columns: 1fr; padding-inline: 12px; } .lightbox__nav { display: none; } }

/* marquee */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }

/* ==========================================================================
   LISTA LIPY — inscrição + passe de acesso antecipado
   ========================================================================== */
.signup { display: grid; gap: 18px; }
.signup fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.signup legend { padding: 0; margin-bottom: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--txt-3); }
.signup legend small { font-size: inherit; letter-spacing: inherit; opacity: .7; text-transform: none; }
.tog-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tog { position: relative; cursor: pointer; }
.tog input, .gtog input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tog__ui {
  --r: 999px; --glass-blur: 10px; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 12px;
  font-size: 14.5px; font-weight: 500; color: var(--txt-2); transition: color .3s, background .3s;
}
.tog__ui svg { width: 18px; height: 18px; flex: none; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); transition: background .3s, box-shadow .3s; }
.tog__ui svg path { stroke: #1a0c00; stroke-width: 3; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s var(--ease-out); }
.tog input:checked + .tog__ui { color: var(--txt); background: linear-gradient(145deg, rgba(255, 190, 80, .24), rgba(255, 120, 30, .08)); }
.tog input:checked + .tog__ui svg { background: var(--grad-warm); box-shadow: 0 0 12px rgba(255, 170, 40, .7); }
.tog input:checked + .tog__ui svg path { stroke-dashoffset: 0; }
.tog input:focus-visible + .tog__ui { outline: 2px solid var(--cyan); outline-offset: 3px; }
.gtog-list { display: flex; flex-wrap: wrap; gap: 10px; }
.gtog { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14px; font-weight: 500; color: var(--txt-2); transition: background .3s, box-shadow .3s, color .3s; }
.gtog img { width: 34px; height: 34px; border-radius: 10px; filter: grayscale(.7) brightness(.8); transition: filter .4s, transform .5s var(--ease-spring); }
.gtog:has(input:checked) { color: var(--txt); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 190, 90, .7), 0 0 24px -6px rgba(255, 150, 40, .6); }
.gtog:has(input:checked) img { filter: none; transform: rotate(-6deg) scale(1.06); }
.gtog:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.signup__field { --r: 999px; --glass-blur: 16px; display: flex; align-items: center; gap: 8px; padding: 7px; min-height: 66px; transition: box-shadow .4s; }
.signup__field input[type="email"] {
  flex: 1; min-width: 0; height: 52px; padding: 0 12px 0 20px; border: 0; outline: 0; background: none; color: var(--txt);
  font: 500 17px/1 var(--f-text); letter-spacing: -.01em;
}
.signup__field input::placeholder { color: var(--txt-3); }
.signup__field:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 0 0 2px rgba(42, 216, 255, .65), 0 0 40px -8px rgba(42, 216, 255, .6), 0 28px 60px -30px rgba(0, 0, 0, .75); }
.signup.is-erro .signup__field { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 0 0 2px rgba(255, 77, 94, .75), 0 0 36px -10px rgba(255, 77, 94, .7); }
.signup__field .btn { flex: none; }
/* isca para robôs: invisível sem sair da tela (jogar para -9999px vira rolagem lateral no árabe) */
.signup__hp { position: absolute !important; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.signup .btn .i-load { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 182, 39, .35); border-top-color: var(--amber); animation: gira .8s linear infinite; }
.signup.is-sending .btn .i-seta { display: none; }
.signup.is-sending .btn .i-load { display: block; }
@keyframes gira { to { transform: rotate(360deg); } }
.signup__msg { min-height: 1.4em; font-size: 14.5px; color: var(--txt-2); }
.signup__msg.is-erro { color: #ff8a96; }
.signup__legal { font-size: 13px; color: var(--txt-3); line-height: 1.55; max-width: 60ch; }
.signup__legal a { color: var(--txt-2); text-decoration: underline; text-underline-offset: 3px; }
.signup.is-done > :not(.signup__ok) { display: none; }
.signup__ok { display: grid; gap: 14px; justify-items: start; outline: 0; }
.signup__ok[hidden] { display: none; }
.signup__check { width: 64px; height: 64px; color: var(--green); filter: drop-shadow(0 0 16px rgba(62, 240, 138, .6)); }
.signup__ok b { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; }
.signup__ok p { color: var(--txt-2); max-width: 46ch; }
.signup__ok p span { color: var(--txt); font-weight: 600; }
.signup__ok button { font-size: 14px; color: var(--txt-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .signup__field { flex-direction: column; align-items: stretch; border-radius: 26px; --r: 26px; padding: 8px; }
  .signup__field input[type="email"] { height: 50px; padding: 0 14px; text-align: center; }
  .signup__field .btn { justify-content: space-between; width: 100%; }
}

/* passe de acesso antecipado (vidro holográfico) */
.pass {
  --r: 30px; position: relative; width: min(100%, 400px); aspect-ratio: 5 / 7.4; padding: 26px 26px 20px; display: flex; flex-direction: column; gap: 16px;
  isolation: isolate; overflow: hidden; transform-style: preserve-3d;
  background: linear-gradient(160deg, rgba(40, 70, 170, .55), rgba(10, 16, 40, .7) 50%, rgba(90, 40, 20, .5));
}
.pass__foil {
  position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; border-radius: inherit; mix-blend-mode: color-dodge; opacity: .5;
  background:
    radial-gradient(300px circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .45), transparent 60%),
    repeating-linear-gradient(115deg, rgba(42, 216, 255, .0) 0%, rgba(42, 216, 255, .35) 8%, rgba(255, 90, 200, .3) 16%, rgba(255, 190, 60, .35) 24%, rgba(42, 216, 255, 0) 32%);
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, var(--fx, 30%) var(--fy, 30%);
}
.pass__top { display: flex; align-items: center; gap: 12px; }
.pass__top img { width: 44px; filter: drop-shadow(0 4px 12px rgba(33, 112, 255, .6)); }
.pass__top .mono { font-size: 12px; letter-spacing: .26em; font-weight: 600; }
.pass__tag { margin-left: auto; padding: 5px 10px; border-radius: 8px; font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .2em; color: #1a0c00; background: var(--grad-warm); }
.pass__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: .95; letter-spacing: -.045em; margin-top: 6px; }
.pass__games { display: flex; margin-top: auto; }
.pass__games img { width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 0 0 3px rgba(8, 12, 26, .9), 0 10px 22px -8px #000; }
.pass__games img + img { margin-left: -12px; }
.pass__row { display: flex; justify-content: space-between; gap: 16px; }
.pass__row small { display: block; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-3); }
.pass__row b { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.pass__cut { position: relative; height: 0; margin: 4px -26px; border-top: 2px dashed rgba(255, 255, 255, .22); }
.pass__cut::before, .pass__cut::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink-1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.pass__cut::before { left: -12px; }
.pass__cut::after { right: -12px; }
.pass__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pass__bar { width: 150px; height: 34px; fill: rgba(255, 255, 255, .8); }
.pass__bottom .mono { font-size: 10px; letter-spacing: .16em; color: var(--txt-3); text-align: right; }
.pass__stamp {
  position: absolute !important; z-index: 5 !important; right: 18px; top: 44%; padding: 8px 16px; border-radius: 12px; opacity: 0; transform: rotate(-12deg);
  font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: .02em; color: var(--green);
  box-shadow: inset 0 0 0 3px var(--green), 0 0 30px rgba(62, 240, 138, .4); text-shadow: 0 0 18px rgba(62, 240, 138, .6);
  background: rgba(6, 30, 18, .55);
}
.pass.is-active .pass__stamp { opacity: 1; }

/* confete e conquista */
.confete { position: fixed; inset: 0; z-index: calc(var(--z-veil) + 1); pointer-events: none; overflow: hidden; }
.confete i, .confete__img { position: absolute; left: 0; top: 0; width: 10px; height: 14px; margin: -7px 0 0 -5px; border-radius: 2px; }
.confete__img { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 0; }
.trofeu {
  position: fixed; z-index: calc(var(--z-veil) + 2); top: 18px; left: 0; right: 0; margin: 0 auto; width: min(380px, calc(100vw - 24px));
  --r: 22px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 14px 18px 18px 14px;
  background: linear-gradient(145deg, rgba(20, 30, 60, .78), rgba(8, 12, 26, .72));
}
.trofeu__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #1a0c00; background: var(--grad-warm); box-shadow: 0 0 26px rgba(255, 170, 40, .6), inset 0 1px 0 rgba(255, 255, 255, .6); }
.trofeu__ic svg { width: 28px; height: 28px; }
.trofeu__txt small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.trofeu__txt b { display: block; font-family: var(--f-display); font-size: 16px; letter-spacing: -.01em; margin: 2px 0; }
.trofeu__txt span { display: block; font-size: 13px; color: var(--txt-2); line-height: 1.35; }
.trofeu__xp { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 8px; }
.trofeu__xp i { display: block; height: 100%; transform-origin: 0 50%; background: var(--grad-warm); box-shadow: 0 0 10px var(--amber); }

/* rodapé */
.foot { position: relative; padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .4)); }
.foot__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot__brand img { width: 190px; }
.foot__brand p { margin-top: 18px; color: var(--txt-2); max-width: 32ch; font-size: 15px; }
.foot__col h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-3); margin-bottom: 18px; }
.foot__col li + li { margin-top: 10px; }
.foot__col a { color: var(--txt-2); transition: color .3s; font-size: 15px; }
.foot__col a:hover { color: var(--txt); }
.foot__word {
  position: relative; margin: clamp(60px, 9vw, 120px) 0 clamp(20px, 3vw, 40px); user-select: none;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 11vw, 13.5rem); line-height: .8; letter-spacing: -.06em; white-space: nowrap; text-align: center;
}
.foot__word span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(200, 220, 255, .22); }
.foot__word span + span {
  position: absolute; inset: 0; -webkit-text-stroke: 0; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-mask: radial-gradient(260px circle at var(--fx, -30%) var(--fy, 50%), #000 20%, transparent 70%);
  mask: radial-gradient(260px circle at var(--fx, -30%) var(--fy, 50%), #000 20%, transparent 70%);
}
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--txt-3); }
.foot__legal strong { color: var(--txt-2); font-weight: 500; }
.foot__up { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; --r: 50%; }
.foot__up svg { width: 16px; }
@media (max-width: 900px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* aviso "este site também está em …" (para quem abriu um link noutro idioma) */
.sugere {
  position: fixed; z-index: calc(var(--z-nav) - 20); bottom: 20px; inset-inline-start: 20px; max-width: min(440px, calc(100vw - 32px));
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 14px; padding: 14px 14px 14px 16px; --r: 22px;
  background: linear-gradient(160deg, rgba(20, 30, 58, .9), rgba(7, 11, 24, .92));
}
.sugere p { font-size: 14.5px; line-height: 1.4; color: var(--txt); }
.sugere .btn { grid-column: 2; justify-self: start; }
.sugere__x { grid-column: 3; grid-row: 1; width: 34px; height: 34px; border-radius: 10px; font-size: 20px; line-height: 1; color: var(--txt-3); transition: background .3s, color .3s; }
.sugere__x:hover { background: rgba(255, 255, 255, .08); color: var(--txt); }
@media (max-width: 600px) { .sugere { inset-inline: 16px; bottom: 16px; max-width: none; } }

/* enquanto a raiz descobre o país (máx. 1 s), nada aparece: sem piscar em inglês antes de ir para o idioma certo */
html.is-detectando body { visibility: hidden; }

/* ==========================================================================
   IDIOMAS COM OUTRAS ESCRITAS (as fontes extras vêm no link do Google Fonts de cada página, via tools/i18n.mjs)
   A Unbounded/Geist continuam primeiro: letras latinas (marcas, números) ficam iguais em todos os idiomas.
   ========================================================================== */
html:lang(hi) { --f-display: "Unbounded", "Baloo 2", "Noto Sans Devanagari", sans-serif; --f-text: "Geist", "Noto Sans Devanagari", sans-serif; --f-mono: "Geist Mono", "Noto Sans Devanagari", monospace; }
html:lang(ja) { --f-display: "Unbounded", "M PLUS 1p", "Noto Sans JP", sans-serif; --f-text: "Geist", "Noto Sans JP", sans-serif; --f-mono: "Geist Mono", "Noto Sans JP", monospace; }
html:lang(ar) { --f-display: "Unbounded", "Alexandria", sans-serif; --f-text: "Geist", "IBM Plex Sans Arabic", sans-serif; --f-mono: "Geist Mono", "IBM Plex Sans Arabic", monospace; }
/* espaçamento entre letras separa o árabe (as letras são ligadas) e embola o devanágari; no japonês fica torto */
html:lang(ar) *, html:lang(hi) *, html:lang(ja) * { letter-spacing: 0 !important; }
/* essas escritas são mais altas: entrelinha de título apertada corta acento/traço (e a máscara das linhas corta junto) */
html:lang(hi) :is(h1, h2, h3, h4, .display, .h1, .h2, .h3, .manifesto__txt, .cap__name, .uni__name, .gi__txt, .gn__name, .menu__links a, .pass__title, .inferno__t, .arena__nome, .esc__txt b, .gag__vitoria b, .gag__placa b, .mundo__txt b, .signup__ok b, .trofeu__txt b, .player__title, .mega__item b, .qp__win b),
html:lang(ar) :is(h1, h2, h3, h4, .display, .h1, .h2, .h3, .manifesto__txt, .cap__name, .uni__name, .gi__txt, .gn__name, .menu__links a, .pass__title, .inferno__t, .arena__nome, .esc__txt b, .gag__vitoria b, .gag__placa b, .mundo__txt b, .signup__ok b, .trofeu__txt b, .player__title, .mega__item b, .qp__win b) { line-height: 1.32; }
html:lang(ja) :is(h1, h2, h3, h4, .display, .h1, .h2, .h3, .manifesto__txt, .cap__name, .uni__name, .gi__txt, .gn__name, .menu__links a, .pass__title, .inferno__t, .arena__nome, .esc__txt b, .gag__vitoria b, .gag__placa b, .mundo__txt b, .signup__ok b, .trofeu__txt b, .player__title, .mega__item b, .qp__win b) { line-height: 1.2; }
/* negrito sintético borra kanji: só vale o peso que a fonte tem de verdade */
html:lang(ja) { font-synthesis: none; }
html:lang(hi) body, html:lang(ar) body { line-height: 1.7; }
/* japonês quebra linha em qualquer caractere: pede para não deixar pontuação sozinha no começo */
html:lang(ja) body { line-break: strict; word-break: normal; overflow-wrap: anywhere; }
html:lang(ja) :is(h1, h2, h3, .display, .h1, .h2, .h3) { word-break: keep-all; overflow-wrap: anywhere; }

/* ==========================================================================
   ÁRABE (direita → esquerda)
   Grade, flex e texto espelham sozinhos. Aqui: setas que apontam "para frente" viram, e o que é
   máquina (trilhos que correm, tabuleiro, cena, gráfico) segue da esquerda para a direita.
   ========================================================================== */
[dir="rtl"] :is(.btn__ic svg, .link-arrow svg, .route svg, .gn__go svg, .mega__go svg) { scale: -1 1; }
[dir="rtl"] .marquee, [dir="rtl"] .wall__row { direction: ltr; }
[dir="rtl"] .hud > li { left: auto; right: var(--x); }
[dir="rtl"] .idioma__lista a { padding: 9px 9px 9px 12px; }

/* movimento reduzido: sem aurora animada, sem granulação animada */
@media (prefers-reduced-motion: reduce) {
  .atmos i, .grain, .eyebrow::before, .txt-brand, .loader__ring { animation: none !important; }
  /* nada fica em loop: flutuações, brasas, halos, piscadas */
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
/* e-mail se escreve da esquerda para a direita, mesmo em página árabe */
[dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }
[dir="rtl"] input[type="email"]:placeholder-shown { direction: rtl; }
