/* =====================================================================
   HAUX — estilos do site
   ===================================================================== */

/* Fontes hospedadas no próprio site: só o alfabeto latino (o que o português usa).
   Licenças livres: Baloo 2 e JetBrains Mono (SIL OFL), Luckiest Guy (Apache 2.0). */
@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fontes/baloo2-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../assets/fontes/jetbrainsmono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Luckiest Guy'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fontes/luckiestguy-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Visual de propósito escuro (tela de computador / Matrix), igual ao verso das cartas */
:root {
  color-scheme: dark;
  --safe-top: env(safe-area-inset-top, 0px);
  --bg: #030604;
  --bg-2: #061009;
  --line: rgba(17, 241, 88, .14);
  --line-2: rgba(17, 241, 88, .32);
  --g: #03fc4a;
  --g-glow: rgba(17, 241, 88, .5);
  --g-deep: #04381b;
  --r: #e53212;
  --b: #3690e2;
  --card-peca: #004f9e;
  --card-ataque: #e53212;
  --card-defesa: #009640;
  --white: #effff4;
  --muted: #a3bfae;
  --muted-2: #6d8a79;
  --ft: 'Luckiest Guy', 'Baloo 2', system-ui, sans-serif;
  --fb: 'Baloo 2', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 68px;
  --gutter: clamp(16px, 4vw, 40px);
  --card-r: 4.6% / 3%;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--safe-top) + 8px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font-family: var(--fb); font-size: clamp(16px, .6vw + 12px, 19px); line-height: 1.55;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 95; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .014) 0 1px, transparent 1px 3px);
}
body.no-scroll { overflow: hidden; }
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: normal; }
::selection { background: var(--g); color: #02140a; }
:focus-visible { outline: 3px solid var(--g); outline-offset: 3px; border-radius: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - var(--gutter) * 2); }
.t-green { color: var(--g); }
.t-red { color: var(--r); }
.t-blue { color: #6cadef; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.flip-x { transform: scaleX(-1); }

/* ---------- Botões ---------- */
.btn {
  --bh: 6px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.35em .72em; border: 0; border-radius: 14px;
  font-family: var(--ft); font-size: 1.05rem; letter-spacing: .03em; line-height: 1;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), background-color .25s, translate .25s var(--ease);
}
.btn .ic { margin-top: -.18em; }
.btn--buy {
  color: #00170a; overflow: hidden;
  background: linear-gradient(180deg, #8dffae 0%, #03fc4a 48%, #11f158 100%);
  box-shadow: 0 var(--bh) 0 #02a631, 0 10px 30px rgba(17, 241, 88, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.btn--buy::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent);
  transform: translateX(-150%) skewX(-20deg); animation: shine 3.8s ease-in-out infinite;
}
.btn--buy:hover { box-shadow: 0 var(--bh) 0 #02a631, 0 14px 46px rgba(17, 241, 88, .6), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--buy:active { translate: 0 4px; box-shadow: 0 2px 0 #02a631, 0 6px 20px rgba(17, 241, 88, .4); }
.btn--ghost { color: var(--g); background: rgba(17, 241, 88, .06); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn--ghost:hover { background: rgba(17, 241, 88, .13); box-shadow: inset 0 0 0 2px var(--g), 0 0 26px rgba(17, 241, 88, .25); }
.btn--sm { --bh: 4px; font-size: .88rem; padding: .78em 1em .6em; border-radius: 11px; }
.btn--lg { font-size: clamp(1rem, 1.2vw, 1.2rem); padding: 1.02em 1.5em .84em; }
.btn--xl { --bh: 7px; font-size: clamp(1.1rem, 1.9vw, 1.55rem); padding: 1.06em 1.6em .88em; border-radius: 18px; }

/* ---------- Logo X ---------- */
.badge-x {
  --s: 40px; width: var(--s); height: var(--s); flex: none; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 2.5px var(--g-deep), 0 0 0 4.5px var(--g), 0 0 18px var(--g-glow);
}
.badge-x svg { width: 60%; height: 60%; fill: #070b08; }
.badge-x--xl { --s: clamp(76px, 18vw, 112px); }

/* ---------- Boot ---------- */
.boot { display: none; }
.js .boot {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, #04140a, #010302 70%); color: var(--g); font-family: var(--fm);
  clip-path: inset(0 0 0 0); transition: clip-path .55s var(--ease), opacity .25s .5s;
}
.js.no-boot .boot { display: none; }
.boot.is-off { clip-path: inset(50% 0 50% 0); opacity: 0; pointer-events: none; }
.boot__inner { width: min(540px, 100% - 48px); }
.boot__log { font-size: clamp(12px, 3.3vw, 15px); line-height: 1.95; min-height: 9.8em; }
.boot__row { display: flex; gap: 10px; align-items: baseline; animation: bootrow .18s steps(3) both; }
.boot__row i { flex: 1; border-bottom: 2px dotted rgba(17, 241, 88, .35); transform: translateY(-4px); }
.boot__row b { color: #eafff1; }
.boot__logo { display: flex; align-items: center; gap: 18px; margin-top: 14px; opacity: 0; }
.boot__logo img { width: min(340px, 72vw); height: auto; filter: drop-shadow(0 0 26px var(--g-glow)); }
.boot.is-logo .boot__logo { animation: bootlogo .65s var(--spring) forwards; }
.boot__word {
  font-family: var(--ft); font-size: clamp(56px, 15vw, 100px); color: #fff; letter-spacing: .05em; line-height: 1; padding-top: .14em;
  text-shadow: 0 0 26px var(--g-glow), 4px 0 0 rgba(229, 50, 18, .65), -4px 0 0 rgba(54, 144, 226, .65);
}
.boot__skip { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted-2); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Progresso + Navegação ---------- */
.progress { position: fixed; top: var(--safe-top); left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--g), #c6ffdc); box-shadow: 0 0 12px var(--g); }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding-top: var(--safe-top); transition: background-color .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(3, 8, 5, .94); box-shadow: 0 1px 0 var(--line); }
.nav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }
.nav__inner { height: var(--nav-h); width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__logo { display: block; width: auto; height: 30px; filter: drop-shadow(0 0 14px rgba(17, 241, 88, .35)); }
.aviso { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 8px; max-height: 64px; overflow: hidden; padding: 7px 16px 6px; font-weight: 700; font-size: .88rem; line-height: 1.25; text-align: center; text-decoration: none; color: #00170a; background: #03fc4a; transition: max-height .35s var(--ease), padding .35s var(--ease); }
/* o brilho que corre na faixa anda por transformação (leve para o navegador) */
.aviso::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1; width: 400%; pointer-events: none; background: linear-gradient(90deg, #03fc4a, #a6ffc2, #03fc4a, #a6ffc2, #03fc4a); animation: avisoMove 7s linear infinite; }
.aviso[hidden] { display: none; }
.aviso .ic { width: 1em; height: 1em; }
.nav.is-scrolled .aviso, .nav.is-open .aviso { max-height: 0; padding-block: 0; }
.aviso__txt { text-wrap: balance; }
.nav.is-scrolled .aviso::before, .nav.is-open .aviso::before { animation-play-state: paused; }
/* seções fora da tela: animações pausadas (economiza processador e bateria; ver pauseOffscreen no main.js) */
.anim-pause, .anim-pause *, .anim-pause *::before, .anim-pause *::after { animation-play-state: paused !important; }
@keyframes avisoMove { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .97rem; color: var(--muted); padding: .45em .8em; border-radius: 10px; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: #fff; background: rgba(17, 241, 88, .08); }
.nav__links a.is-active { color: var(--g); background: rgba(17, 241, 88, .08); }
.nav__links .nav__mobile-buy { display: none; }
.nav__burger { display: none; position: relative; width: 46px; height: 46px; padding: 0; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(17, 241, 88, .06); }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--g); transition: transform .3s var(--ease), opacity .2s; }
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 28px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + var(--aviso-h, 0px) + var(--safe-top) + 30px) 0 96px; overflow: clip; isolation: isolate; }
.rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .8; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--cx, 72%) var(--cy, 45%), rgba(17, 241, 88, .11), transparent 60%),
    linear-gradient(90deg, rgba(3, 6, 4, .94) 0%, rgba(3, 6, 4, .74) 38%, rgba(3, 6, 4, .08) 66%, rgba(3, 6, 4, .3) 100%),
    linear-gradient(180deg, rgba(3, 6, 4, .55) 0%, transparent 26%, transparent 72%, var(--bg) 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(20px, 4vw, 60px); }
.hero__title { margin: 0 0 24px; font-family: var(--ft); font-size: clamp(2.8rem, 6.2vw, 5.5rem); line-height: .93; letter-spacing: .01em; text-transform: uppercase; }
.hero__title .line { display: block; padding: .1em 0 .02em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; text-shadow: 0 .06em 0 var(--g-deep), 0 0 .6em rgba(17, 241, 88, .2); }
.hero__title .t-red { text-shadow: 0 .06em 0 #5c0a10, 0 0 .5em rgba(229, 50, 18, .4); }
.hero__lead { font-size: clamp(1.05rem, 1.25vw, 1.25rem); color: #cfe7d8; max-width: 34em; }
.hero__lead strong { color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.js .hero__copy > :not(.hero__title), .js .hero__stage { opacity: 0; transform: translateY(18px); }
.js .hero__title .line > span { opacity: 0; transform: translateY(55%) skewY(5deg); filter: blur(6px); }
.booted .hero__copy > :not(.hero__title), .booted .hero__stage { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.booted .hero__title .line > span { opacity: 1; transform: none; filter: none; transition: transform 1s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); }
.booted .hero__title .line:nth-child(2) > span { transition-delay: .09s; }
.booted .hero__title .line:nth-child(3) > span { transition-delay: .18s; }
.booted .hero__copy > .hero__lead { transition-delay: .3s; }
.booted .hero__copy > .hero__ctas { transition-delay: .4s; }

/* Leque de cartas */
.hero__stage { position: relative; height: clamp(440px, 64vh, 660px); perspective: 1600px; }
.hero__ring { position: absolute; left: 50%; top: 52%; width: min(560px, 96%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(17, 241, 88, .3) 0%, rgba(17, 241, 88, .08) 42%, transparent 66%); animation: breathe 5s ease-in-out infinite; }
.hero__ring::before, .hero__ring::after { content: ''; position: absolute; border-radius: 50%; }
.hero__ring::before { inset: 15%; border: 1.5px dashed rgba(17, 241, 88, .38); animation: spin 50s linear infinite; }
.hero__ring::after { inset: 5%; border: 1px solid rgba(17, 241, 88, .16); }
.fan { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--px, 0) * 18deg)) rotateX(calc(var(--py, 0) * -12deg)); transition: transform .7s var(--ease); }
.fan__card { --w: clamp(150px, 16.5vw, 245px); position: absolute; left: 50%; top: 50%; width: var(--w); transform-style: preserve-3d; transform: translate(-50%, -50%) translate3d(var(--x), var(--y), var(--z)) rotate(var(--r)); }
.fan__deal { transform-style: preserve-3d; }
.js .fan__deal { opacity: 0; }
.booted .fan__deal { animation: deal 1.15s var(--spring) var(--d) both; }
.fan__float { animation: float var(--f, 6s) ease-in-out infinite; }
.fan__card .hc { box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.fan__btn { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--card-r); box-shadow: 0 0 46px rgba(17, 241, 88, .42); }
.fan__btn .hc { box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }

/* ---------- Faixas ---------- */

/* ---------- Seções ---------- */
.sec { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.eyebrow { margin-bottom: 16px; font-family: var(--fm); font-size: .84rem; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.eyebrow--red { color: var(--r); }
.title { max-width: 15em; font-family: var(--ft); font-size: clamp(2.3rem, 5.4vw, 4.5rem); line-height: .98; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 .06em 0 rgba(4, 56, 27, .9); padding-top: .08em; }
.title--sm { margin-top: clamp(70px, 9vw, 120px); font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.sub { max-width: 40em; margin-top: 18px; font-size: clamp(1.05rem, 1.25vw, 1.22rem); color: var(--muted); }
.js [data-reveal] {
  opacity: 0; transform: translateY(38px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background-color .35s;
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- O jogo ---------- */
.statement { max-width: 22em; font-family: var(--ft); font-size: clamp(1.85rem, 4.3vw, 3.7rem); line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; }
.statement .w { opacity: .14; transition: opacity .35s, color .35s, text-shadow .35s; }
.statement .w.on { opacity: 1; }
.statement .k-g .w.on { color: var(--g); text-shadow: 0 0 26px rgba(17, 241, 88, .45); }
.statement .k-r .w.on { color: var(--r); text-shadow: 0 0 26px rgba(229, 50, 18, .45); }
.statement .k-b .w.on { color: #5a9cff; text-shadow: 0 0 26px rgba(54, 144, 226, .5); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(54px, 7vw, 90px); }
.feature {
  position: relative; padding: 26px 22px 24px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line);
}
.feature::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: conic-gradient(from var(--a, 0deg), transparent 0 65%, var(--g) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rotate-a 3.5s linear infinite;
}
.feature:hover { translate: 0 -6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 40px rgba(17, 241, 88, .1); }
.feature:hover::before { opacity: 1; }
.feature__emoji { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 16px; font-size: 30px; background: rgba(17, 241, 88, .08); border: 1px solid var(--line-2); }
.feature h3 { margin-bottom: 8px; font-family: var(--ft); font-size: 1.38rem; letter-spacing: .02em; text-transform: uppercase; }
.feature p { font-size: .98rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: rgba(17, 241, 88, .03); }
.stat { padding: 26px 18px 22px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; padding-top: .12em; font-family: var(--ft); font-size: clamp(2.8rem, 5.6vw, 4.4rem); font-weight: 400; line-height: 1; color: var(--g); text-shadow: 0 0 30px rgba(17, 241, 88, .45); }
.stat span { display: block; margin-top: 6px; font-size: .95rem; color: var(--muted); }

/* ---------- Monte seu PC ---------- */
.sec--monte { padding-bottom: 0; }
.monte__scroller { position: relative; height: 560vh; }
.monte__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + var(--safe-top) + 8px) 0 18px; overflow: hidden; }
.monte__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.monte__board { position: relative; }
.mobo { width: 100%; height: auto; max-height: calc(100svh - var(--nav-h) - 130px); margin-inline: auto; overflow: visible; }
.mb-ghost { fill: none; stroke: rgba(17, 241, 88, .32); stroke-width: 2; stroke-dasharray: 8 7; transition: opacity .4s; }
.mb-ghost-label { fill: rgba(17, 241, 88, .6); font-family: var(--fm); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-anchor: middle; transition: opacity .4s; }
.mb-real { opacity: 0; transform: translateY(-38px) scale(1.06); transform-box: fill-box; transform-origin: 50% 50%; transition: opacity .45s var(--ease), transform .75s var(--spring), filter .6s; }
.mb-part.is-on .mb-real { opacity: 1; transform: none; }
.mb-part.is-on > .mb-ghost, .mb-part.is-on > .mb-ghost-label { opacity: 0; }
.mb-part.is-current .mb-real { filter: drop-shadow(0 0 10px rgba(17, 241, 88, .85)); }
.mb-part[data-part="placa-mae"].is-current .mb-real { filter: drop-shadow(0 0 14px rgba(17, 241, 88, .45)); }
.mb-silk { fill: rgba(17, 241, 88, .6); font-family: var(--fm); font-size: 11px; letter-spacing: .08em; text-anchor: middle; }
.mb-led { fill: #1c3a29; transition: fill .3s; }
.mobo.is-complete .mb-led { fill: var(--g); animation: blink 1s steps(2) infinite; }
.mb-traces { opacity: .5; }
.mobo.is-complete .mb-traces { opacity: 1; }
.mobo.is-complete .mb-traces path { stroke-dasharray: 10 14; animation: flow 1.1s linear infinite; }
.mb-cpu-t { font-family: var(--ft); font-size: 27px; fill: #1b1b1b; text-anchor: middle; }
.mb-cpu-s { font-family: var(--fm); font-size: 11px; font-weight: 700; fill: #3a3f45; text-anchor: middle; }
.mb-ssd-x { font-family: var(--ft); font-size: 18px; fill: #fff; text-anchor: middle; }
.mb-ssd-t { font-family: var(--ft); font-size: 17px; fill: #1b1b1b; text-anchor: middle; }
.mb-gpu-t { font-family: var(--ft); font-size: 15px; letter-spacing: .06em; fill: #80b8ef; text-anchor: middle; }
.blades { transform-box: fill-box; transform-origin: 50% 50%; }
.mb-part.is-on .blades { animation: spin 1.6s linear infinite; }
.mobo.is-complete .blades { animation-duration: .45s; }
.monte__power {
  position: absolute; left: 50%; top: 46%; padding: .22em .55em .06em; pointer-events: none; opacity: 0;
  font-family: var(--ft); font-size: clamp(2.4rem, 6.5vw, 5.2rem); color: #fff; letter-spacing: .04em;
  border: 5px solid var(--g); border-radius: 18px; background: rgba(3, 12, 7, .78);
  text-shadow: 0 0 22px var(--g); box-shadow: 0 0 46px var(--g-glow), inset 0 0 30px rgba(17, 241, 88, .3);
  transform: translate(-50%, -50%) scale(.5) rotate(-8deg); transition: opacity .3s, transform .6s var(--spring);
}
.is-complete .monte__power { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-8deg); }
.monte__count { position: absolute; left: 4%; bottom: -10px; padding: 2px 12px; border-radius: 9px; font-family: var(--fm); font-size: .88rem; letter-spacing: .08em; color: var(--muted); background: var(--bg); border: 1px solid var(--line); }
.monte__count b { font-size: 1.3em; color: var(--g); }
.monte__info { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; align-items: center; }
.monte__card { width: 100%; max-width: 250px; justify-self: center; perspective: 1000px; }
.monte__card.enter > * { animation: cardIn .75s var(--spring); }
.monte__mini { position: relative; aspect-ratio: 682 / 1048; }
.monte__mini > div { position: absolute; left: 50%; top: 50%; width: 46%; transform-origin: 50% 100%; transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); }
.monte__mini .hc { box-shadow: 0 12px 26px rgba(0, 0, 0, .55); }
.monte__step { font-family: var(--fm); font-size: .82rem; letter-spacing: .16em; color: var(--g); }
.monte__name { margin: 8px 0 6px; padding-top: .08em; font-family: var(--ft); font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.monte__nick { font-weight: 700; font-size: 1.15rem; color: #80b8ef; }
.is-complete .monte__nick { color: var(--g); }
.monte__desc { margin-top: 10px; color: var(--muted); }
.monte__text.swap > * { animation: textIn .5s var(--ease) both; }
.monte__text.swap > :nth-child(2) { animation-delay: .05s; }
.monte__text.swap > :nth-child(3) { animation-delay: .1s; }
.monte__text.swap > :nth-child(4) { animation-delay: .15s; }
.monte__dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
/* computador com tela alta: os botões das peças em cruz (▲ / ◀ ■ ▶ / ▼), com o troféu no canto */
@media (min-width: 960px) and (min-height: 700px) {
  .monte__dots { display: grid; gap: 8px; margin-top: 18px; justify-content: center; grid-template-areas: ". cima ." "esq meio dir" ". baixo canto"; }
  .monte__dots > [data-p="armazenamento"] { grid-area: esq; }
  .monte__dots > [data-p="processador"] { grid-area: cima; }
  .monte__dots > [data-p="placa-mae"] { grid-area: meio; }
  .monte__dots > [data-p="placa-de-video"] { grid-area: baixo; }
  .monte__dots > [data-p="memoria-ram"] { grid-area: dir; }
  .monte__dots > .mdot--win { grid-area: canto; }
}
.mdot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1.5px dashed rgba(255, 255, 255, .22); background: transparent; color: rgba(255, 255, 255, .35); font-size: 20px; transition: all .3s var(--ease); }
.mdot svg { width: 22px; height: 22px; }
.mdot.is-on { border: 1.5px solid #80b8ef; color: #fff; background: linear-gradient(#1866d1, #004f9e); box-shadow: 0 0 14px rgba(54, 144, 226, .5); }
.mdot.is-current { transform: translateY(-5px) scale(1.12); }
.mdot--win.is-on { border-color: #b6ffd2; background: linear-gradient(#8dffae, #03fc4a); box-shadow: 0 0 18px var(--g-glow); }

/* ---------- Como jogar ---------- */
.steps { list-style: none; padding: 0; margin: clamp(40px, 6vw, 70px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* O título acompanha a largura do card (container query), para caber em uma linha em qualquer tela */
.step { position: relative; container-type: inline-size; padding: 14px 14px 20px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); }
.step__num { display: block; margin: 16px 4px 0; font-family: var(--fm); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.step h3 { margin: 4px 4px 6px; font-family: var(--ft); font-size: clamp(1.05rem, 8.2cqw - 1px, 1.3rem); line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.step p { margin: 0 4px; font-size: .93rem; line-height: 1.45; color: var(--muted); }
.scene { position: relative; height: 150px; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, rgba(17, 241, 88, .14), transparent 60%), #06120b; border: 1px solid var(--line); }
.sc-card { position: absolute; width: 44px; aspect-ratio: 682 / 1048; border-radius: 4px; }
.sc-back { background: url(../assets/cartas/verso.webp) center / cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), 0 6px 14px rgba(0, 0, 0, .5); }
.sc-face { --fc: #004f9e; --fl: #9cc2ff; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--fl) 0 21%, transparent 22%), #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.sc-face::before { content: ''; position: absolute; left: 10%; right: 10%; top: 7%; height: 8%; border-radius: 2px; background: #313131; }
.sc-face::after { content: ''; position: absolute; left: 10%; right: 10%; top: 68%; height: 18%; border-radius: 4px; background: var(--fc); }
.f-ataque { --fc: #e53212; --fl: #ffa0a6; }
.f-defesa { --fc: #009640; --fl: #8dffbe; }
.sc-flip { position: absolute; width: 44px; aspect-ratio: 682 / 1048; transform-style: preserve-3d; }
.sc-flip .sc-card { inset: 0; width: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.sc-flip .sc-back { transform: rotateY(180deg); }

.scene--draw .sc-deck { position: absolute; left: 20%; top: 50%; width: 44px; aspect-ratio: 682 / 1048; transform: translate(-50%, -50%); }
.sc-deck i { position: absolute; inset: 0; border-radius: 4px; background: url(../assets/cartas/verso.webp) center / cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.sc-deck i:nth-child(1) { transform: translate(-5px, 5px); }
.sc-deck i:nth-child(2) { transform: translate(-2.5px, 2.5px); }
.scene--draw .sc-card { left: 20%; top: 50%; margin: -34px 0 0 -22px; opacity: 0; animation: draw 4s var(--ease) infinite; }
.scene--draw .d1 { --tx: 62px; --rt: -12deg; }
.scene--draw .d2 { --tx: 104px; --rt: 0deg; animation-delay: .22s; }
.scene--draw .d3 { --tx: 146px; --rt: 12deg; animation-delay: .44s; }

/* Passo 02 visto pelos olhos de quem joga: a mão fica embaixo e a carta escolhida sobe
   para a mesa, virada para baixo. O invólucro (.sc-play) sobe e some; dentro dele a carta
   só gira. Separados porque animar a opacidade no mesmo elemento do giro desliga o 3D e
   o verso não aparece. */
.sc-slot { position: absolute; left: 50%; bottom: 64px; width: 40px; aspect-ratio: 682 / 1048; transform: translateX(-50%); border-radius: 5px; border: 1.5px dashed rgba(17, 241, 88, .35); }
.scene--secret > .sc-card, .sc-play { bottom: -16px; transform-origin: 50% 100%; }
.scene--secret .s1 { left: calc(50% - 58px); transform: rotate(-14deg); animation: dim 4.4s infinite; }
.scene--secret .s3 { left: calc(50% + 14px); transform: rotate(14deg); animation: dim 4.4s infinite; }
.sc-play { position: absolute; z-index: 2; left: calc(50% - 22px); width: 44px; aspect-ratio: 682 / 1048; perspective: 300px; animation: secret 4.4s var(--ease) infinite; }
.sc-play .sc-flip { top: 0; left: 0; animation: secretFlip 4.4s var(--ease) infinite; }
.sc-play .sc-back { transform: rotateX(180deg); }

/* Todas começam no verso e viram uma por uma; depois voltam juntas para o verso.
   Uma animação por carta, sem atraso, para as quatro ficarem sempre no mesmo compasso. */
.scene--reveal { perspective: 500px; }
.scene--reveal .sc-flip { top: 50%; margin-top: -34px; transform: rotateY(180deg); animation: 7s ease-in-out infinite; }
.scene--reveal .r1 { left: calc(50% - 106px); animation-name: reveal1; }
.scene--reveal .r2 { left: calc(50% - 51px); animation-name: reveal2; }
.scene--reveal .r3 { left: calc(50% + 4px); animation-name: reveal3; }
.scene--reveal .r4 { left: calc(50% + 59px); animation-name: reveal4; }

.scene--resolve { display: grid; align-content: center; gap: 7px; padding: 0 14px; }
.sc-res { --c: #3690e2; --cb: rgba(54, 144, 226, .18); display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; font-weight: 700; font-size: .9rem; opacity: .4; background: rgba(255, 255, 255, .04); animation: res 3.6s infinite; }
.sc-res--ataque { --c: #ff3b47; --cb: rgba(229, 50, 18, .18); animation-delay: 1.2s; }
.sc-res--defesa { --c: #03fc4a; --cb: rgba(17, 241, 88, .15); animation-delay: 2.4s; }
.sc-ic svg { width: 22px; height: 22px; }

.winbar { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 22px; border-radius: 18px; font-size: 1.1rem; background: linear-gradient(90deg, rgba(17, 241, 88, .15), rgba(17, 241, 88, .03)); border: 1px solid var(--line-2); }
.winbar strong { color: var(--g); }
.winbar__trophy { font-size: 2rem; animation: bounce 2.2s var(--spring) infinite; }

.tipos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.tipo--erro { --glow: rgba(42, 120, 160, .32); --cn: #6cc3ee; }
.pill--erro { color: #a9dcf5; background: rgba(42, 120, 160, .2); box-shadow: inset 0 0 0 1px rgba(108, 195, 238, .45); }
.tab--erro[aria-selected="true"] { background: rgba(42, 120, 160, .2); border-color: rgba(108, 195, 238, .65); box-shadow: 0 0 26px rgba(42, 120, 160, .3); }
.arsenal[data-tipo="erro"] { --ac: #6cc3ee; --ag: rgba(42, 120, 160, .38); }

/* Bom saber */
.rules { margin-top: 26px; padding: 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.rules__title { margin-bottom: 14px; padding-top: .1em; font-family: var(--ft); font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; color: var(--g); }
.rules__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; margin: 0; padding: 0; list-style: none; }
.rules__list li { display: flex; align-items: flex-start; gap: 12px; }
.rules__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #191d1b; border: 1px solid rgba(255, 255, 255, .08); }
.rules__ic svg { width: 21px; height: 21px; }
.rules__list p { font-size: .98rem; color: var(--muted); }
.rules__list strong { color: #fff; }

/* O que vem na caixa */
.caixa__bar { display: flex; height: 16px; margin: 34px 0 10px; overflow: hidden; border-radius: 999px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.caixa__bar span { height: 100%; }
.caixa__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 26px; font-size: .9rem; color: var(--muted); }
.caixa__legend span { display: inline-flex; align-items: center; gap: 7px; }
.caixa__legend i { width: 11px; height: 11px; border-radius: 3px; }
.caixa { display: flex; flex-wrap: wrap; gap: 18px; }
.cx-group { --cn: #5a9cff; flex: 1 1 auto; padding: 18px 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.cx-group--ataque { --cn: #ff4a55; }
.cx-group--defesa { --cn: var(--g); }
.cx-group--erro { --cn: #6cc3ee; }
.cx-group h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding-top: .1em; font-family: var(--ft); font-size: 1.25rem; text-transform: uppercase; color: var(--cn); }
.cx-group h3 b { font-family: var(--fm); font-size: .85rem; font-weight: 700; color: var(--muted); }
.cx-cards { display: flex; flex-wrap: wrap; gap: 16px 12px; }
.cx-card { position: relative; width: 78px; }
.cx-card .hc { box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
/* a quantidade de cada carta usa a cor do tipo (--cc vem do js/main.js) */
.cx-card__n { position: absolute; top: -9px; right: -7px; z-index: 2; min-width: 32px; padding: 3px 7px 2px; border-radius: 999px; font-family: var(--fm); font-size: .78rem; font-weight: 700; text-align: center; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); background: var(--cc, var(--g)); box-shadow: 0 0 0 2px var(--bg), 0 0 14px rgba(var(--cc-rgb, 17, 241, 88), .65); }
.cx-card__name { display: block; margin: 6px -8px 0; font-size: .74rem; line-height: 1.15; text-align: center; color: var(--muted); }
.caixa__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.caixa__cta p { color: var(--muted); }
.tipo { --glow: rgba(54, 144, 226, .28); --cn: #5a9cff; display: grid; gap: 22px; align-content: start; padding: 26px 24px; border-radius: 24px; background: radial-gradient(110% 60% at 50% 0%, var(--glow), transparent 70%), rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08); }
.tipo--ataque { --glow: rgba(229, 50, 18, .28); --cn: #ff4a55; }
.tipo--defesa { --glow: rgba(17, 241, 88, .22); --cn: var(--g); }
.tipo__card { width: min(220px, 72%); margin: 0 auto; }
/* .tipo__body: só o texto ao lado da carta (o texto impresso na carta tem tamanho próprio) */
.tipo__body h4 { margin: 12px 0 4px; font-family: var(--ft); font-size: 1.8rem; text-transform: uppercase; color: var(--cn); }
.tipo__body p { color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: .38em .85em .32em .55em; border-radius: 999px; font-family: var(--fm); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pill svg { width: 18px; height: 18px; flex: none; }
.pill__ic { display: inline-flex; }
.pill--peca { color: #a9ccff; background: rgba(54, 144, 226, .14); box-shadow: inset 0 0 0 1px rgba(54, 144, 226, .45); }
.pill--ataque { color: #ffa0a6; background: rgba(229, 50, 18, .14); box-shadow: inset 0 0 0 1px rgba(229, 50, 18, .45); }
.pill--defesa { color: #8dffbe; background: rgba(17, 241, 88, .12); box-shadow: inset 0 0 0 1px rgba(17, 241, 88, .45); }

.midcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin-top: 50px; padding: 26px 30px; border-radius: 24px; background: linear-gradient(100deg, rgba(17, 241, 88, .17), rgba(17, 241, 88, .04) 60%), #06120b; border: 1px solid var(--line-2); }
.midcta p { font-size: 1.15rem; color: #cfe7d8; }
.midcta strong { display: block; font-family: var(--ft); font-weight: 400; font-size: 1.55rem; letter-spacing: .02em; text-transform: uppercase; color: var(--g); }
.midcta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Arsenal ---------- */
.sec--arsenal { background: radial-gradient(60% 45% at 18% 40%, rgba(229, 50, 18, .13), transparent 70%), linear-gradient(180deg, var(--bg), #0a0506 50%, var(--bg)); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 22px; }
.tab { display: inline-flex; align-items: center; gap: 9px; padding: .7em 1.1em .55em; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); font-family: var(--ft); font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); transition: all .25s var(--ease); }
.tab:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.tab__ic { display: inline-flex; margin-top: -.15em; }
.tab__ic svg { width: 20px; height: 20px; }
.tab__n { padding: 3px 7px 2px; border-radius: 6px; font-family: var(--fm); font-size: .72rem; background: rgba(255, 255, 255, .08); }
.tab[aria-selected="true"] { color: #fff; }
.tab--ataque[aria-selected="true"] { background: rgba(229, 50, 18, .16); border-color: rgba(229, 50, 18, .65); box-shadow: 0 0 26px rgba(229, 50, 18, .25); }
.tab--defesa[aria-selected="true"] { background: rgba(17, 241, 88, .12); border-color: rgba(17, 241, 88, .6); box-shadow: 0 0 26px rgba(17, 241, 88, .2); }
.tab--peca[aria-selected="true"] { background: rgba(54, 144, 226, .16); border-color: rgba(54, 144, 226, .65); box-shadow: 0 0 26px rgba(54, 144, 226, .25); }

.arsenal { --ac: #ff4a55; --ag: rgba(229, 50, 18, .34); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.arsenal[data-tipo="defesa"] { --ac: var(--g); --ag: rgba(17, 241, 88, .28); }
.arsenal[data-tipo="peca"] { --ac: #5a9cff; --ag: rgba(54, 144, 226, .34); }
.arsenal__stage { position: relative; display: grid; justify-items: center; gap: 20px; padding: 18px 0; }
.arsenal__glow { position: absolute; left: 50%; top: 45%; width: min(125%, 100vw); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(circle, var(--ag), transparent 62%); transition: background .5s; }
.arsenal__card { position: relative; width: min(330px, 82%); perspective: 1100px; }
.arsenal__card.enter > .tilt { animation: cardIn .7s var(--spring); }
.arsenal__nav { position: relative; display: flex; align-items: center; gap: 14px; }
.arsenal__arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .04); transition: all .2s; }
.arsenal__arrow:hover { color: var(--ac); border-color: var(--ac); box-shadow: 0 0 22px var(--ag); }
.arsenal__index { min-width: 5.6em; text-align: center; font-family: var(--fm); font-size: .85rem; letter-spacing: .1em; color: var(--muted); }
.arsenal__info.enter > * { animation: textIn .5s var(--ease) both; }
.arsenal__info.enter > :nth-child(2) { animation-delay: .04s; }
.arsenal__info.enter > :nth-child(3) { animation-delay: .08s; }
.arsenal__info.enter > :nth-child(4) { animation-delay: .12s; }
.arsenal__info.enter > :nth-child(5) { animation-delay: .16s; }
.arsenal__info.enter > :nth-child(6) { animation-delay: .2s; }
.ars-name { margin: 16px 0 8px; padding-top: .08em; font-family: var(--ft); font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1; text-transform: uppercase; color: var(--ac); text-shadow: 0 0 34px var(--ag); }
.ars-effect { font-size: clamp(1.12rem, 1.5vw, 1.38rem); font-weight: 700; color: #fff; }
.ars-facts { display: grid; gap: 10px; margin-top: 14px; }
.fact { padding: 11px 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); border-left: 3px solid var(--ac); }
.fact__k { display: block; margin-bottom: 2px; font-family: var(--fm); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
.fact p { font-size: .97rem; color: #d4e7dc; }
.ars-counter { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .95rem; color: var(--muted); }
.ars-counter svg { width: 22px; height: 22px; flex: none; }
.ars-counter b { color: #fff; font-weight: 700; }
.arsenal__strip { display: flex; gap: 12px; margin-top: 30px; padding: 12px 4px 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.thumb { flex: none; display: grid; justify-items: center; gap: 8px; width: 108px; padding: 9px 8px 10px; border-radius: 14px; border: 1px solid transparent; background: transparent; opacity: .62; scroll-snap-align: center; transition: opacity .25s, translate .25s var(--ease), border-color .25s, background-color .25s, box-shadow .25s; }
.thumb:hover { opacity: 1; translate: 0 -4px; }
.thumb[aria-selected="true"] { opacity: 1; border-color: var(--ac); background: rgba(255, 255, 255, .04); box-shadow: 0 0 24px var(--ag); }
.thumb__card { display: block; width: 86px; }
.thumb__name { font-family: var(--ft); font-size: .78rem; line-height: 1.1; letter-spacing: .03em; text-align: center; text-transform: uppercase; }

/* Demonstração animada de cada efeito */
.fx { margin: 18px 0 4px; padding: 14px 16px 10px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.fx-row { display: flex; align-items: center; gap: 10px; min-height: 92px; }
.fx-p { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 92px; }
.fx-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; background: #0c2016; border: 2px solid var(--line-2); }
.fx-p b { font-family: var(--fm); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fx-chips { position: relative; display: flex; justify-content: center; gap: 4px; min-height: 26px; }
.fx-chip { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: #fff; background: linear-gradient(#1866d1, #004f9e); border: 1.5px solid #80b8ef; }
.fx-chip svg { width: 16px; height: 16px; }
.fx-lane { position: relative; flex: 1; height: 44px; }
.fx-lane::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .14); }
.fx-proj { position: absolute; left: 0; top: 50%; font-size: 26px; line-height: 1; transform: translate(-50%, -50%); animation: fx-shot 2.8s var(--ease) infinite; }
.fx-cap { margin-top: 6px; text-align: center; font-family: var(--fm); font-size: .76rem; letter-spacing: .04em; color: var(--muted); }
.fx--destruir .fx-victim { animation: fx-destroy 2.8s infinite; }
.fx--roubar .fx-proj { animation: fx-hook 3.2s var(--ease) infinite; }
.fx--roubar .fx-victim { animation: fx-steal-out 3.2s infinite; }
.fx--roubar .fx-gain { animation: fx-steal-in 3.2s infinite; }
.fx-freeze .fx-av { animation: fx-bsod 2.8s infinite; }
.fx-freeze::after, .fx-safe::after { position: absolute; top: -16px; padding: 2px 7px; border-radius: 6px; font-family: var(--fm); font-size: 10px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; opacity: 0; animation: fx-pop 2.8s infinite; }
.fx-freeze::after { content: 'PULA A VEZ'; color: #fff; background: #1a5fd0; }
.fx-safe::after { content: '✓ SALVO'; color: #00170a; background: var(--g); }
.fx--trocar .fx-chips { display: grid; }
.fx-set { grid-area: 1 / 1; display: flex; justify-content: center; gap: 4px; }
.fx--trocar .fx-set--1 { animation: fx-set1 3.2s infinite; }
.fx--trocar .fx-set--2 { opacity: 0; animation: fx-set2 3.2s infinite; }
.fx-lane--swap .fx-proj { left: 50%; animation: fx-swap 3.2s infinite; }
.fx-lane--swap::after { content: '⇄'; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); font-size: 18px; color: var(--muted); }
.fx-shuffle { display: flex; justify-content: center; gap: 10px; width: 100%; }
.fx-mini { width: 34px; aspect-ratio: 682 / 1048; border-radius: 4px; background: url(../assets/cartas/verso.webp) center / cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 6px 12px rgba(0, 0, 0, .4); }
.fx-mini.m0 { animation: sh0 2.6s var(--ease) infinite; }
.fx-mini.m1 { animation: sh1 2.6s var(--ease) infinite; }
.fx-mini.m2 { animation: sh2 2.6s var(--ease) infinite; }
.fx-mini.m3 { animation: sh3 2.6s var(--ease) infinite; }
.fx-lane--block .fx-proj { animation: fx-block 2.8s var(--ease) infinite; }
.fx-lane--reflect .fx-proj { animation: fx-reflect 3.2s var(--ease) infinite; }
.fx-wall { position: absolute; right: -4px; top: 50%; font-size: 28px; line-height: 1; transform: translateY(-50%); animation: fx-wall 2.8s infinite; }
.fx-lane--reflect .fx-wall { animation-duration: 3.2s; }
.fx--refletir .fx-victim { animation: fx-destroy-late 3.2s infinite; }
.fx--refletir .fx-safe::after { animation-duration: 3.2s; }
.fx-build { display: flex; justify-content: center; gap: 8px; width: 100%; }
.fx-build.cruz { display: grid; gap: 5px; }
.fx-build.cruz .fx-chip { width: 36px; height: 36px; border-radius: 10px; }
.fx-build.cruz .fx-chip svg { width: 19px; height: 19px; }
.fx-build .fx-chip { width: 42px; height: 42px; border-radius: 11px; }
.fx-build .fx-chip svg { width: 22px; height: 22px; }
.fx-chip.fx-empty { color: rgba(255, 255, 255, .25); background: transparent; border: 1.5px dashed rgba(255, 255, 255, .2); }
.fx-chip.fx-new { animation: fx-install 2.6s infinite; }
.fx-hand { display: flex; gap: 4px; }
.fx-m { --fc: #004f9e; position: relative; width: 24px; aspect-ratio: 682 / 1048; transform-style: preserve-3d; }
.fx-m i { position: absolute; inset: 0; border-radius: 3px; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .45); }
.fx-m i:first-child { background: url(../assets/cartas/verso.webp) center / cover; }
.fx-m i:last-child { transform: rotateY(180deg); background: linear-gradient(#fff 0 12%, #313131 12% 22%, #fff 22% 62%, var(--fc) 62% 84%, #fff 84%); }
.fx-m.is-ataque { --fc: #e53212; }
.fx-m.is-defesa { --fc: #009640; }
.fx--revelar-mao .fx-m, .fx--revelar-carta .fx-m.fx-pick, .fx--adivinhar .fx-m { animation: fx-showcard 2.8s var(--ease) infinite; }
.fx--revelar-mao .fx-m:nth-child(2) { animation-delay: .08s; }
.fx--revelar-mao .fx-m:nth-child(3) { animation-delay: .16s; }
.fx-skip::after, .fx-lose::after { position: absolute; top: -16px; padding: 2px 7px; border-radius: 6px; font-family: var(--fm); font-size: 10px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; color: #fff; opacity: 0; animation: fx-pop 2.8s infinite; }
.fx-skip::after { content: 'PERDEU A VEZ'; background: #e53212; }
.fx-lose::after { content: 'PERDEU A JOGADA'; background: #2a78a0; }
.fx-lose .fx-av { animation: fx-bsod 2.8s infinite; }
.fx-chip.fx-broken { animation: fx-fix 2.8s infinite; }
.fx-tool { font-size: 26px; line-height: 1; animation: fx-tool 2.8s infinite; }
.fx-oe { position: absolute; left: 50%; top: 50%; padding: 4px 9px 3px; border-radius: 8px; white-space: nowrap; font-family: var(--fm); font-size: .74rem; font-weight: 700; color: #fff; background: #1c1f1e; border: 1px solid var(--ac); opacity: 0; transform: translate(-50%, -50%) scale(.6); animation: fx-oe 3.2s infinite; }
.fx-bubble { padding: 3px 8px 2px; border-radius: 8px; font-family: var(--fm); font-size: .74rem; font-weight: 700; color: #00170a; background: var(--g); }
@keyframes fx-showcard { 0%, 42% { transform: none; } 52%, 90% { transform: rotateY(180deg) translateY(-4px); } 100% { transform: none; } }
@keyframes fx-fix { 0%, 44% { color: #ffb3b8; background: rgba(229, 50, 18, .25); border-color: #ff5a63; transform: none; } 52% { transform: scale(1.25); } 56%, 92% { color: #fff; background: linear-gradient(#1866d1, #004f9e); border-color: #80b8ef; transform: none; } 100% { color: #ffb3b8; background: rgba(229, 50, 18, .25); border-color: #ff5a63; } }
@keyframes fx-tool { 0%, 28% { opacity: 0; transform: translateX(-26px) rotate(-30deg); } 42% { opacity: 1; transform: none; } 56% { transform: rotate(28deg); } 70%, 100% { opacity: 0; transform: none; } }
@keyframes fx-oe { 0%, 30% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 38%, 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 90%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }

.btn__preco { opacity: .78; }

/* ---------- Pra quem é ---------- */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.aud__item { padding: 26px 22px; border-radius: 22px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.aud__item:hover { translate: 0 -6px; border-color: var(--line-2); background-color: rgba(17, 241, 88, .05); }
.aud__emoji { display: block; margin-bottom: 14px; font-size: 2.6rem; line-height: 1.1; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4)); }
.aud__item h3 { margin-bottom: 6px; font-family: var(--ft); font-size: 1.32rem; text-transform: uppercase; letter-spacing: .02em; }
.aud__item p { font-size: .98rem; color: var(--muted); }
.gift { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; padding: 22px 26px; border-radius: 22px; background: linear-gradient(100deg, rgba(229, 50, 18, .13), rgba(17, 241, 88, .1)); border: 1px solid rgba(255, 255, 255, .1); }
.gift__emoji { font-size: 2.4rem; animation: wiggle 2.6s ease-in-out infinite; }
.gift p { flex: 1; min-width: 220px; font-size: 1.12rem; }
.gift strong { color: var(--g); }

/* ---------- Vídeo de demonstração (janela no estilo de um programa do PC) ---------- */
.video { position: relative; max-width: 980px; margin: 34px auto 0; overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2); background: #050b07; box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 60px rgba(17, 241, 88, .12); }
.video__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; font-family: var(--fm); font-size: .74rem; letter-spacing: .08em; color: var(--muted-2); background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.video__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e53212; }
.video__bar i:nth-child(2) { background: #ffc400; }
.video__bar i:nth-child(3) { background: var(--g); }
.video__bar span { margin-left: 8px; }
.video__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(70% 90% at 50% 100%, rgba(17, 241, 88, .2), transparent 70%), #040906; }
.video__screen iframe, .video__screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video__capa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__poster { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
.video__capa, .video__cards { position: absolute; inset: 0; }
.video__card { position: absolute; left: 50%; top: 50%; width: clamp(80px, 17%, 172px); transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); transition: transform .5s var(--ease); }
.video__card .hc { box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.video__poster:hover .video__card { transform: translate(-50%, -50%) translate(calc(var(--x) * 1.12), calc(var(--y) - 3%)) rotate(calc(var(--r) * 1.2)); }
.video__dim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(3, 6, 4, .15), rgba(3, 6, 4, .72) 78%); }
.video__play { position: relative; display: grid; place-items: center; width: clamp(64px, 10vw, 96px); aspect-ratio: 1; border-radius: 50%; color: #00170a; background: linear-gradient(180deg, #8dffae, #03fc4a 50%, #11f158); box-shadow: 0 0 0 10px rgba(17, 241, 88, .16), 0 0 46px var(--g-glow); transition: transform .3s var(--spring), box-shadow .3s; }
.video__play svg { width: 42%; height: 42%; margin-left: 8%; }
.video__poster:hover .video__play, .video__poster:focus-visible .video__play { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(17, 241, 88, .2), 0 0 60px var(--g-glow); }
.video__som { position: absolute; left: 50%; bottom: 7%; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em .5em; border-radius: 999px; white-space: nowrap; font-family: var(--fm); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g); background: rgba(3, 6, 4, .85); border: 1px solid var(--line-2); }
.video__som[hidden] { display: none; }
.video__som svg { width: 1.3em; height: 1.3em; margin-top: -.1em; }
.video__soon { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 10px; padding: .7em 1.2em .6em; border-radius: 999px; white-space: nowrap; font-family: var(--fm); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g); background: rgba(3, 6, 4, .85); border: 1px solid var(--line-2); box-shadow: 0 0 30px rgba(17, 241, 88, .15); }
.video__cta { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Vídeo animado de demonstração (js/demo-video.js) ----------
   Quadro 16:9 com as cenas; embaixo, a legenda e os controles (nada cobre a cena).
   Medidas em cqw = % da largura do quadro, para servir em qualquer tela. */
.video__screen.is-demo { aspect-ratio: auto; }
.dv { position: relative; display: flex; flex-direction: column; background: #040906; }
.dv-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: size; cursor: pointer; background: radial-gradient(90% 80% at 50% 110%, rgba(17, 241, 88, .15), transparent 60%), radial-gradient(60% 60% at 50% 45%, rgba(17, 241, 88, .06), transparent 70%), #040906; }
.dv-sc { position: absolute; inset: 0; visibility: hidden; }
.dv-sc.is-on { visibility: visible; animation: dv-fade .45s var(--ease) both; }
/* is-paused: pausado. is-hold: a cena espera a voz terminar a frase */
.dv.is-paused .dv-stage *, .dv.is-paused .dv-stage *::before, .dv.is-paused .dv-stage *::after,
.dv.is-hold .dv-stage *, .dv.is-hold .dv-stage *::before, .dv.is-hold .dv-stage *::after { animation-play-state: paused !important; }
/* carregando os áudios da narração (quase sempre já baixados antes do play) */
.dv.is-loading .dv-stage::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 4px solid rgba(17, 241, 88, .2); border-top-color: var(--g); animation: dv-gira .8s linear infinite; }
@keyframes dv-gira { to { transform: rotate(360deg); } }
.dv-aviso { position: absolute; left: 50%; top: 12px; z-index: 2; translate: -50% 0; width: max-content; max-width: min(540px, calc(100% - 24px)); margin: 0; padding: 10px 14px; border-radius: 12px; text-align: center; text-wrap: balance; font-size: .88rem; font-weight: 700; line-height: 1.35; color: #fff; background: rgba(3, 6, 4, .92); border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: dv-fade .3s var(--ease); }
.dv-aviso[hidden] { display: none; }
.dv-cap { display: grid; place-items: center; min-height: calc(2.5em + 22px); margin: 0; padding: 11px 18px; text-align: center; text-wrap: balance; font-weight: 800; font-size: clamp(1rem, 2.1vw, 1.4rem); line-height: 1.25; color: #fff; background: #020503; border-top: 1px solid var(--line); }
.dv-cap.is-new { animation: dv-cap .4s var(--ease); }
.dv-ctrl { display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px; background: #020503; }
.dv-btn { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; color: #00170a; background: var(--g); }
.dv-btn svg { width: 18px; height: 18px; }
.dv-btn[hidden] { display: none; }
.dv-full, .dv-som { color: var(--g); background: rgba(17, 241, 88, .1); }
.dv-som.is-off { color: var(--muted); background: rgba(255, 255, 255, .07); }
.dv-prog { display: flex; flex: 1; gap: 4px; min-width: 0; }
.dv-seg { flex: var(--f) 1 0; min-width: 0; height: 24px; padding: 0; border: 0; background: none; }
.dv-seg i { position: relative; display: block; height: 5px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.dv-seg b { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--g); box-shadow: 0 0 8px var(--g); }
.dv-seg:hover i { background: rgba(255, 255, 255, .28); }
.dv-time { flex: none; font-family: var(--fm); font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.dv-time b { font-weight: inherit; }
/* no celular, mostra só o tempo atual para sobrar espaço para a barra */
@media (max-width: 480px) {
  .dv-ctrl { gap: 8px; }
  .dv-total { display: none; }
  .dv-aviso { top: 8px; padding: 7px 11px; font-size: .78rem; }
}
.dv-end { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 16px; text-align: center; background: rgba(3, 6, 4, .93); animation: dv-fade .4s var(--ease); }
.dv-end[hidden] { display: none; }
.dv-end__t { font-family: var(--ft); font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.dv-end__b { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dv-again { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.3em .75em; border: 1px solid var(--line-2); border-radius: 14px; font-family: var(--ft); font-size: 1.02rem; line-height: 1; letter-spacing: .03em; text-transform: uppercase; color: var(--g); background: rgba(17, 241, 88, .08); }
.dv-again svg { width: 1.15em; height: 1.15em; margin-top: -.15em; }
.dv:fullscreen { justify-content: center; background: #000; }
.dv:fullscreen .dv-stage { width: min(100%, calc((100vh - 150px) * 16 / 9)); margin-inline: auto; }
.dv:-webkit-full-screen { justify-content: center; background: #000; }
.dv:-webkit-full-screen .dv-stage { width: min(100%, calc((100vh - 150px) * 16 / 9)); margin-inline: auto; }

/* elementos das cenas */
.dv-a { position: absolute; left: var(--x, 50%); top: var(--y, 50%); translate: -50% -50%; }
.dv-t { position: absolute; left: 3.4cqw; top: 3.2cqw; margin: 0; padding: .6cqw 1.5cqw .45cqw; border-radius: 99px; font-family: var(--fm); font-size: max(8px, 1.6cqw); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--g); border: max(1px, .15cqw) solid var(--line-2); background: rgba(17, 241, 88, .08); }
.dv-card, .dv-deal, .dv-go, .dv-go2 { width: var(--w, 9cqw); perspective: 60cqw; }
.dv-card, .dv-deal { transform: rotate(var(--r, 0deg)); }
.dv-stage .hc { box-shadow: 0 1.2cqw 2.6cqw rgba(0, 0, 0, .55); }
.dv-flip { position: relative; aspect-ratio: 682 / 1048; transform-style: preserve-3d; }
.dv-flip > div { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dv-flip > .dv-front { transform: rotateY(180deg); }
.dv-flip.is-up { transform: rotateY(180deg); }
.dv-logo { width: var(--lw, 46cqw); filter: drop-shadow(0 0 3cqw rgba(17, 241, 88, .45)); }
.dv-kick { margin: 0; white-space: nowrap; font-family: var(--fm); font-size: max(10px, 2.3cqw); font-weight: 700; letter-spacing: .4em; text-transform: uppercase; color: var(--g); }
.dv-board { display: flex; gap: 2.2cqw; padding: 2.4cqw 2.8cqw; border-radius: 2.4cqw; border: max(1px, .25cqw) solid rgba(17, 241, 88, .45); background: rgba(3, 252, 74, .05); }
.dv-board.cruz { display: grid; gap: 1.4cqw 1.8cqw; padding: 2.2cqw 2.6cqw; }
.dv-board.cruz .dv-slot { --w: 7.6cqw; }
.dv-slot { --w: 8.6cqw; display: grid; justify-items: center; gap: 1cqw; }
.dv-slot > .qi-chip { grid-area: 1 / 1; }
.dv-slot > span { grid-area: 2 / 1; white-space: nowrap; font-size: max(7px, 1.35cqw); font-weight: 700; color: var(--muted); }
.dv-in { opacity: 0; }
.dv-cup { font-size: 6.5cqw; line-height: 1; opacity: 0; }
.dv-av { display: grid; justify-items: center; gap: .7cqw; }
.dv-av b { display: grid; place-items: center; width: 6.6cqw; aspect-ratio: 1; border-radius: 50%; font-size: 3.6cqw; font-weight: 400; line-height: 1; background: #0c2016; border: max(1.5px, .3cqw) solid var(--c); box-shadow: 0 0 2cqw color-mix(in srgb, var(--c) 45%, transparent); }
.dv-av span { font-family: var(--fm); font-size: max(8px, 1.35cqw); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dv-deck { width: 8cqw; aspect-ratio: 682 / 1048; }
.dv-deck > .hc { position: absolute; inset: 0; }
.dv-deck > .hc:nth-child(1) { transform: translate(-.7cqw, .7cqw); }
.dv-deck > .hc:nth-child(2) { transform: translate(-.35cqw, .35cqw); }
.dv-spot { width: 8cqw; aspect-ratio: 682 / 1048; border-radius: .9cqw; border: max(1px, .25cqw) dashed rgba(255, 255, 255, .22); }
.dv-to { opacity: 0; }
.dv-badge { white-space: nowrap; padding: .55cqw 1.3cqw .4cqw; border-radius: 99px; font-family: var(--fm); font-size: max(8px, 1.5cqw); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #00170a; background: var(--g); box-shadow: 0 0 2cqw var(--g-glow); opacity: 0; }
.dv-b2 { padding: .9cqw 2.2cqw .55cqw; font-family: var(--ft); font-size: max(12px, 3.2cqw); font-weight: 400; letter-spacing: .04em; }
.dv-virus, .dv-boom, .dv-shield { line-height: 1; opacity: 0; }
.dv-virus { font-size: 4.6cqw; }
.dv-boom { font-size: 6cqw; }
.dv-shield { font-size: 7cqw; filter: drop-shadow(0 0 2cqw var(--g)); }
.dv-type { display: grid; justify-items: center; gap: .5cqw; width: 19cqw; text-align: center; opacity: 0; }
.dv-type .hc { width: 12.5cqw; margin-bottom: .8cqw; }
.dv-type b { font-family: var(--ft); font-size: max(11px, 2.6cqw); font-weight: 400; line-height: 1; text-transform: uppercase; color: var(--c); }
.dv-type span { font-size: max(9px, 1.55cqw); font-weight: 700; line-height: 1.2; color: var(--muted); }
.dv-win { margin: 0; white-space: nowrap; font-family: var(--ft); font-size: 5.4cqw; line-height: 1; text-transform: uppercase; color: var(--g); text-shadow: 0 0 3cqw rgba(17, 241, 88, .6); opacity: 0; }
.dv-cf { position: absolute; left: 50%; top: 56%; width: 1.1cqw; height: 1.8cqw; border-radius: .3cqw; background: var(--c); opacity: 0; }
.dv-tag { margin: 0; white-space: nowrap; font-family: var(--ft); font-size: 4.2cqw; line-height: 1; text-transform: uppercase; color: #fff; }
.dv-tag em { color: var(--r); }
.dv-pill { margin: 0; white-space: nowrap; padding: .7cqw 2cqw .55cqw; border-radius: 99px; font-family: var(--fm); font-size: max(9px, 1.7cqw); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g); border: max(1px, .2cqw) solid var(--line-2); background: rgba(17, 241, 88, .08); }
@container (max-width: 420px) {
  .dv-slot > span { display: none; }
}

/* movimentos de cada cena (só rodam com a cena na tela: .is-on) */
.dv-sc.is-on .dv-t { animation: dv-slide .5s var(--ease) .1s both; }
.dv-sc.is-on .dv-logo { animation: dv-zoom 1s var(--spring) both; }
.dv-sc.is-on .dv-kick { animation: dv-up .7s var(--ease) .6s both; }
.dv-sc.is-on .dv-in { animation: dv-chip .65s var(--spring) both; animation-delay: calc(.7s + var(--k) * .55s); }
/* Os tempos casam com as frases do roteiro (js/demo-video.js): cada movimento começa
   junto com a sua frase e termina antes da próxima, para a cena poder esperar a voz parada. */
.dv-sc.is-on .dv-board { animation: dv-glow 1.2s ease both; animation-delay: var(--gd, 3.7s); }
.dv-sc.is-on .dv-cup { animation: dv-pop .7s var(--spring) 3.85s both; }
.dv-sc.is-on .dv-chega { animation: dv-pop .5s var(--spring) both; }
.dv-sc.is-on .dv-deal { animation: dv-deal .55s var(--ease) both; animation-delay: calc(.4s + var(--k) * .2s); }
.dv-sc.is-on .dv-mostra { animation: dv-flipup .6s var(--ease) both; animation-delay: calc(2.9s + var(--j) * .16s); }
/* "escolhe uma carta": a Defesa sobe e brilha; "baixa virada para baixo": vira e vai para a mesa */
.dv-sc.is-on .dv-go { animation: dv-pick .45s var(--ease) .6s both, dv-drop .7s var(--ease) 2.7s forwards; }
.dv-sc.is-on .dv-go .dv-flip { animation: dv-flipdown .7s var(--ease) 2.7s both; }
.dv-sc.is-on .dv-go2 { animation: dv-go2 .7s var(--ease) both; animation-delay: var(--dl, 2.9s); }
.dv-sc.is-on .dv-r1 { animation: dv-flipup .6s var(--ease) 1.4s both; }
.dv-sc.is-on .dv-to { animation: dv-to .95s var(--ease) 3.2s both; }
.dv-sc.is-on .dv-b1 { animation: dv-pop .5s var(--spring) 4.05s both; }
.dv-sc.is-on .dv-r2 { animation: dv-flipup .6s var(--ease) 6.1s both; }
.dv-sc.is-on .dv-virus { animation: dv-virus 1.5s var(--ease) 6.6s both, dv-virus-pop .38s ease-out 9.32s forwards; }
.dv-sc.is-on .dv-r3 { animation: dv-flipup .6s var(--ease) 9.1s both; }
.dv-sc.is-on .dv-shield { animation: dv-shield .7s var(--spring) 9.35s both; }
.dv-sc.is-on .dv-boom { animation: dv-boom .7s ease-out 9.45s both; }
.dv-sc.is-on .dv-b2 { animation: dv-pop .55s var(--spring) 9.7s both; }
.dv-sc.is-on .dv-type { animation: dv-rise .65s var(--spring) both; animation-delay: calc(.9s + var(--i) * .75s); }
.dv-sc.is-on .dv-type .hc { animation: dv-hi .8s ease both; animation-delay: calc(4.1s + var(--i) * .18s); }
.dv-sc.is-on .dv-win { animation: dv-pop .6s var(--spring) 3.9s both; }
.dv-sc.is-on .dv-cf { animation: dv-cf 1.6s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(3.9s + var(--i) * .02s); }
.dv-sc.is-on .dv-tag { animation: dv-up .6s var(--ease) .5s both; }
.dv-sc.is-on .dv-pill { animation: dv-up .6s var(--ease) 3s both; }
@keyframes dv-fade { from { opacity: 0; } }
@keyframes dv-cap { from { transform: translateY(6px); opacity: .2; } }
@keyframes dv-slide { from { transform: translateX(-20%); opacity: 0; } }
@keyframes dv-zoom { from { transform: scale(.55); opacity: 0; } }
@keyframes dv-up { from { transform: translateY(45%); opacity: 0; } }
@keyframes dv-pop { from { transform: scale(0); opacity: 0; } to { opacity: 1; } }
@keyframes dv-rise { from { transform: translateY(18%) scale(.85); opacity: 0; } to { opacity: 1; } }
@keyframes dv-chip { from { transform: translateY(170%) scale(.6); opacity: 0; } 60% { transform: scale(1.22); opacity: 1; } to { transform: none; opacity: 1; box-shadow: 0 0 2.2cqw rgba(54, 144, 226, .65); } }
@keyframes dv-glow { 40% { box-shadow: 0 0 9cqw rgba(17, 241, 88, .55); border-color: var(--g); } to { box-shadow: 0 0 5cqw rgba(17, 241, 88, .28); border-color: var(--g); } }
@keyframes dv-deal { from { transform: translate(var(--fx), var(--fy)) rotate(0deg) scale(.9); opacity: 0; } 25% { opacity: 1; } to { transform: rotate(var(--r, 0deg)); opacity: 1; } }
@keyframes dv-flipup { from { transform: rotateY(0deg); } to { transform: rotateY(180deg); } }
@keyframes dv-flipdown { from { transform: rotateY(180deg); } to { transform: rotateY(360deg); } }
@keyframes dv-pick { from { transform: translate(var(--fx), var(--fy)) scale(1.125); filter: none; } to { transform: translate(var(--fx), calc(var(--fy) - 3cqw)) scale(1.2); filter: drop-shadow(0 0 1.6cqw var(--g)); } }
@keyframes dv-drop { from { transform: translate(var(--fx), calc(var(--fy) - 3cqw)) scale(1.2); filter: drop-shadow(0 0 1.6cqw var(--g)); } to { transform: none; filter: none; } }
@keyframes dv-go2 { from { transform: translate(var(--fx), var(--fy)) scale(.55); } to { transform: none; } }
@keyframes dv-to { 0% { transform: scale(.4); opacity: 0; } 15% { transform: scale(1.35); opacity: 1; } 80% { transform: translate(var(--fx), var(--fy)); opacity: 1; } 100% { transform: translate(var(--fx), var(--fy)) scale(.4); opacity: 0; } }
@keyframes dv-virus { 0% { transform: scale(0); opacity: 0; } 16% { transform: scale(1.25); opacity: 1; } 30% { transform: none; opacity: 1; } 100% { transform: translateX(-11cqw) rotate(-25deg); opacity: 1; } }
@keyframes dv-virus-pop { from { transform: translateX(-11cqw) rotate(-25deg); opacity: 1; } to { transform: translateX(-11cqw) scale(1.7); opacity: 0; } }
@keyframes dv-hi { 40% { transform: scale(1.07); box-shadow: 0 0 0 .35cqw var(--c), 0 0 3cqw var(--c); } }
@keyframes dv-boom { 0% { transform: scale(.3); opacity: 0; } 30% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes dv-shield { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.3); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes dv-cf { 0% { transform: rotate(var(--a)) translateX(0) scale(.4); opacity: 1; } 75% { opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--d)) rotate(220deg); opacity: 0; } }

/* ---------- Dúvidas: perguntas com passo a passo ilustrado ----------
   Celular: cada resposta abre embaixo da pergunta. Computador: lista à esquerda e a
   resposta num painel à direita (ver @media no fim do bloco). */
.fq { display: grid; gap: 10px; margin-top: 34px; }
.fq-q { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .03); text-align: left; font-weight: 700; font-size: 1.04rem; line-height: 1.25; -webkit-tap-highlight-color: transparent; transition: border-color .25s, background-color .25s, box-shadow .25s, translate .3s var(--ease); }
.fq-q:hover { border-color: var(--line-2); background-color: rgba(17, 241, 88, .05); }
.fq-q__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; font-size: 1.35rem; line-height: 1; background: rgba(17, 241, 88, .08); border: 1px solid var(--line); }
.fq-q__txt { flex: 1; }
.fq-q__go { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; color: var(--g); background: rgba(17, 241, 88, .1); }
.fq-q__go::before { content: '+'; font-family: var(--fm); font-size: 1.2rem; line-height: 1; transition: transform .3s var(--ease); }
.fq-item.is-open .fq-q { border-color: var(--g); background-color: rgba(17, 241, 88, .08); box-shadow: 0 0 26px rgba(17, 241, 88, .14); }
.fq-item.is-open .fq-q__ic { border-color: var(--line-2); animation: wiggle .8s ease; }
.fq-item.is-open .fq-q__go::before { transform: rotate(45deg); }

.fq-a { container: fqa / inline-size; margin-top: 8px; padding: 18px 16px 20px; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(120% 70% at 100% 0%, rgba(17, 241, 88, .07), transparent 55%), rgba(255, 255, 255, .025); }
.fq-a[hidden] { display: none; }
.fq-a__q { display: none; }
.fq-a__r { font-family: var(--ft); font-size: clamp(1.3rem, 2.3vw, 1.95rem); line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.fq-prog { display: flex; gap: 6px; margin: 16px 0 14px; }
.fq-prog i { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.fq-prog i::after { content: ''; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--g); box-shadow: 0 0 8px var(--g); }
.fq-prog i.is-done::after { transform: none; }
.fq-prog i.is-on::after { animation: fqFill 2.6s linear both; }
.fq-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fq-step { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 14px; cursor: pointer; }
.fq-step .fq-ilu { opacity: .5; transition: opacity .35s, transform .35s var(--ease); }
.fq-step.is-on .fq-ilu { opacity: 1; transform: scale(1.03); }
.fq-step.is-on .fq-ilu__in { border-color: var(--g); box-shadow: 0 0 22px rgba(17, 241, 88, .28); }
.fq-step__t { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; line-height: 1.25; color: var(--muted); transition: color .3s; }
.fq-step.is-on .fq-step__t { color: var(--white); }
.fq-step__n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font-family: var(--fm); font-size: .82rem; font-weight: 700; color: var(--g); border: 1.5px solid var(--line-2); transition: color .3s, background-color .3s, border-color .3s, box-shadow .3s; }
.fq-step.is-on .fq-step__n { color: #00170a; background: var(--g); border-color: var(--g); box-shadow: 0 0 12px var(--g-glow); }
.fq-step:not(:last-child) .fq-ilu::after { content: ''; position: absolute; left: 50%; top: calc(100% + 2px); height: 12px; border-left: 2px dashed var(--line-2); }
.fq-fact { margin-top: 16px; }
.fq-a__nota { display: flex; gap: 8px; margin-top: 16px; font-size: .98rem; color: var(--muted); }
.fq-a__nota::before { content: '💡'; flex: none; }
.fq-a__link { display: inline-flex; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--g); text-decoration: none; }
.fq-a__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.fq-a .btn { margin-top: 18px; }
.fq-a.is-in > * { animation: textIn .45s var(--ease) backwards; }
.fq-a.is-in .fq-step { animation: textIn .5s var(--ease) backwards; animation-delay: calc(.12s + var(--i) * .1s); }
@container fqa (min-width: 560px) {
  .fq-steps { grid-template-columns: repeat(var(--k, 3), minmax(0, 1fr)); gap: 18px; }
  .fq-step { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; }
  .fq-step:not(:last-child) .fq-ilu::after { left: calc(100% + 3px); top: 50%; width: 12px; height: 0; border-left: 0; border-top: 2px dashed var(--line-2); }
  .fq-step__t { align-items: flex-start; }
  .fq-ilu--fact { max-width: 560px; margin-inline: auto; }
}
@keyframes fqFill { from { transform: scaleX(0); } to { transform: none; } }

/* Desenhos (medidas em cqw = % da largura do quadro, para servir em qualquer tamanho) */
.fq-ilu { position: relative; aspect-ratio: 4 / 3; container-type: inline-size; }
.fq-ilu--fact { aspect-ratio: 2 / 1; }
.fq-ilu__in { position: absolute; inset: 0; overflow: hidden; perspective: 420px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(110% 80% at 50% 108%, rgba(17, 241, 88, .18), transparent 62%), #07130c; transition: border-color .35s, box-shadow .35s; }
.qi { position: absolute; left: var(--x, 50%); top: var(--y, 50%); translate: -50% -50%; }
.qi-emo { font-size: var(--s, 24cqw); line-height: 1; }
.qi-card { width: var(--w, 22cqw); aspect-ratio: 682 / 1048; border-radius: 1.8cqw; box-shadow: 0 0 0 .4cqw rgba(255, 255, 255, .55), 0 1.6cqw 3.2cqw rgba(0, 0, 0, .5); }
.qi-back { background: url(../assets/cartas/verso.webp) center / cover; }
.qi-face { --fc: #004f9e; --fl: #9cc2ff; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--fl) 0 21%, transparent 22%), #fff; }
.qi-face::before, .qi-face::after { content: ''; position: absolute; left: 10%; right: 10%; border-radius: .8cqw; }
.qi-face::before { top: 7%; height: 8%; background: #313131; }
.qi-face::after { top: 68%; height: 18%; background: var(--fc); }
.qi-face.is-ataque { --fc: #e53212; --fl: #ffa0a6; }
.qi-face.is-defesa { --fc: #009640; --fl: #8dffbe; }
.qi-slot { width: 25cqw; aspect-ratio: 682 / 1048; border-radius: 2cqw; border: .6cqw dashed rgba(17, 241, 88, .5); }
.qi-chip { display: grid; place-items: center; width: var(--w, 11cqw); aspect-ratio: 1; border-radius: 22%; color: #fff; background: linear-gradient(#1866d1, #004f9e); border: .5cqw solid #80b8ef; }
.qi-chip svg { width: 62%; height: 62%; }
.qi-chip.is-empty { color: rgba(255, 255, 255, .25); background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .25); }
.qi-board { --w: 12.6cqw; display: flex; gap: 2.2cqw; padding: 3.4cqw; border-radius: 4cqw; border: .5cqw solid rgba(17, 241, 88, .45); background: rgba(3, 252, 74, .06); }
.qi-board.cruz { --w: 11cqw; display: grid; gap: 1.4cqw; padding: 2.6cqw; }
.qi-row { display: flex; gap: 2cqw; }
.qi-row.cruz { display: grid; gap: 1.2cqw; }
.qi-row .qi-chip { --w: 9cqw; }
/* As 5 peças em cruz, como os ícones: ▲ em cima, ◀ ■ ▶ no meio e ▼ embaixo
   (cada peça leva data-p com o nome dela) */
.cruz { grid-template-areas: ". cima ." "esq meio dir" ". baixo canto"; justify-content: center; align-content: center; place-items: center; }
.cruz > [data-p="armazenamento"] { grid-area: esq; }
.cruz > [data-p="processador"] { grid-area: cima; }
.cruz > [data-p="placa-mae"] { grid-area: meio; }
.cruz > [data-p="placa-de-video"] { grid-area: baixo; }
.cruz > [data-p="memoria-ram"] { grid-area: dir; }
.qi-lane { width: 64%; height: 0; border-top: .6cqw dashed rgba(255, 255, 255, .2); }
.qi-hurt { color: #ffb3b8; background: rgba(229, 50, 18, .3); border-color: #ff5a63; }
.qi-cup { filter: drop-shadow(0 0 4cqw rgba(255, 196, 0, .45)); }
.qi-lift { z-index: 2; }
.qi-flip { width: 22cqw; aspect-ratio: 682 / 1048; transform-style: preserve-3d; }
.qi-flip .qi-card { position: absolute; inset: 0; width: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.qi-flip .qi-face { transform: rotateY(180deg); }
.qi-flip.is-up { transform: rotateY(180deg); }
.qi-btn { --y: 44%; display: inline-flex; align-items: center; gap: 1.6cqw; padding: 3.2cqw 5cqw 2.4cqw; border-radius: 3.2cqw; font-family: var(--ft); font-size: 7.4cqw; line-height: 1; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; color: #00170a; background: linear-gradient(180deg, #8dffae 0%, #03fc4a 48%, #11f158 100%); box-shadow: 0 1.4cqw 0 #02a631, 0 0 5cqw rgba(17, 241, 88, .45); }
.qi-btn .ic { width: 1.1em; height: 1.1em; margin-top: -.2em; }
.qi-phone { display: grid; gap: 1.6cqw; align-content: start; width: 30cqw; aspect-ratio: 9 / 16; padding: 2.4cqw 2cqw; border-radius: 4cqw; border: .8cqw solid #2c3d33; background: #0d1a13; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .5); }
.qi-phone i { display: block; }
.qi-phone__img { aspect-ratio: 1; border-radius: 1.6cqw; background: url(../assets/cartas/verso.webp) center 30% / cover; }
.qi-phone__l { height: 2cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .35); }
.qi-phone__l.is-s { width: 60%; background: rgba(255, 255, 255, .2); }
.qi-phone__b { height: 5cqw; margin-top: 1cqw; border-radius: 1.6cqw; background: var(--g); box-shadow: 0 0 3cqw var(--g-glow); }
.qi-check { display: grid; place-items: center; width: 17cqw; aspect-ratio: 1; border-radius: 50%; font-size: 10cqw; font-weight: 800; line-height: 1; color: #00170a; background: var(--g); box-shadow: 0 0 5cqw var(--g-glow); }
.qi-big { display: grid; justify-items: center; font-family: var(--ft); font-size: 12cqw; line-height: .9; color: var(--g); text-align: center; text-shadow: 0 0 4cqw rgba(17, 241, 88, .45); white-space: nowrap; }
.qi-big small { margin-top: 1.2cqw; font-family: var(--fm); font-size: 2.6cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: none; color: var(--muted); }
.qi-table { width: 46cqw; height: 27cqw; border-radius: 50%; border: .5cqw solid rgba(17, 241, 88, .35); background: radial-gradient(closest-side, rgba(17, 241, 88, .16), rgba(17, 241, 88, .04)); }
.qi-ring { width: 34cqw; aspect-ratio: 1; }
.qi-ring circle { fill: none; stroke-width: 9; }
.qi-ring__bg { stroke: rgba(255, 255, 255, .1); }
.qi-ring__fg { stroke: var(--g); stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: var(--off, 35); filter: drop-shadow(0 0 3px var(--g)); }
.qi-box { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; margin: 0; padding: 3cqw 2cqw; list-style: none; }
.qi-box li { display: grid; justify-items: center; gap: .25em; text-align: center; }
.qi-box .qi-card { position: relative; width: clamp(28px, 8cqw, 46px); margin-bottom: .2em; }
.qi-box b { font-family: var(--ft); font-size: clamp(1.15rem, 5cqw, 1.9rem); font-weight: 400; line-height: 1; color: var(--g); }
.qi-box span { font-size: clamp(.7rem, 2.3cqw, .86rem); font-weight: 700; line-height: 1.15; color: var(--muted); }
.qi-box em { position: absolute; left: 50%; top: 40%; translate: -50% -50%; font-size: clamp(15px, 4.6cqw, 26px); line-height: 1; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)); }
.qi-bsod { background: #1a5fd0; }
.qi-bsod::after { content: ':('; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--fb); font-weight: 700; font-size: clamp(12px, 3.6cqw, 20px); color: #fff; }

/* Cada desenho só se mexe quando o seu passo está aceso (.is-on) */
.is-on .qi-pick { animation: qi-pick 2.6s var(--ease) infinite; }
.is-on .qi-push { animation: qi-push 2.6s var(--ease) infinite; }
.is-on .qi-lupa { animation: qi-lupa 2.6s ease-in-out infinite; }
.is-on .qi-ok { animation: qi-ok 2.6s var(--spring) infinite; }
.is-on .qi-spark { animation: qi-spark 2.6s ease-in-out infinite both; }
.is-on .qi-spark.qi-later { animation-delay: .35s; }
.is-on .qi-drop { animation: qi-drop 2.6s var(--ease) infinite; }
.is-on .qi-new { animation: qi-new 2.6s var(--spring) infinite; }
.is-on .qi-cup { animation: qi-cup 2.6s var(--spring) infinite; }
.is-on .qi-flash { animation: qi-flash 2.6s ease-in-out infinite both; animation-delay: calc(.5s + var(--i) * .12s); }
.is-on .qi-lift { animation: qi-lift 2.6s var(--ease) infinite; }
.is-on .qi-down { animation: qi-down 2.6s var(--ease) infinite both; animation-delay: calc(var(--i) * .3s); }
.is-on .qi-flip { animation: qi-flipup 2.6s var(--ease) infinite both; animation-delay: calc(var(--i) * .5s); }
.is-on .qi-shot { animation: qi-shot 2.6s var(--ease) infinite; }
.is-on .qi-target { animation: qi-target 2.6s infinite; }
.is-on .qi-bounce { animation: qi-bounce 2.6s var(--ease) infinite; }
.is-on .qi-shield { animation: qi-shield 2.6s infinite; }
.qi-boom { opacity: 0; }
.is-on .qi-boom { animation: qi-boom 2.6s infinite; }
.is-on .qi-hurt { animation: qi-hurt 2.6s infinite; }
.is-on .qi-warn { animation: qi-warn 2.6s var(--spring) infinite; }
.is-on .qi-fix { animation: qi-fix 2.6s infinite; }
.is-on .qi-tool { animation: qi-tool 2.6s var(--ease) infinite; }
.is-on .qi-seat, .is-on .qi-ppl { animation: qi-seat 4.2s var(--spring) infinite both; animation-delay: calc(var(--i) * .28s); }
.is-on .qi-ring__fg { animation: qi-ring 4.2s var(--ease) infinite; }
.is-on .qi-box li { animation: qi-rise .7s var(--spring) both; animation-delay: calc(var(--i) * .12s); }
.is-on .qi-tap { animation: qi-tap 2.6s var(--ease) infinite; }
.is-on .qi-btn { animation: qi-press 2.6s infinite; }
.is-on .qi-phone { animation: qi-phone 2.6s var(--ease) infinite; }
.is-on .qi-bag { animation: qi-bag 2.6s var(--spring) infinite; }
.is-on .qi-pay { animation: qi-pay 2.6s var(--ease) infinite; }
.is-on .qi-check { animation: qi-check 2.6s var(--spring) infinite; }
.is-on .qi-hop { animation: qi-hop 2.6s ease-in-out infinite; }
@keyframes qi-pick { 0%, 14% { transform: none; } 42%, 84% { transform: translate(18%, -26%) rotate(10deg); } 100% { transform: none; } }
@keyframes qi-push { 0%, 14% { transform: none; } 42%, 84% { transform: translate(-4%, -46%); } 100% { transform: none; } }
@keyframes qi-lupa { 0%, 100% { transform: none; } 30% { transform: translate(-90%, -6%) rotate(-10deg); } 62% { transform: translate(-40%, 8%) rotate(6deg); } }
@keyframes qi-ok { 0% { transform: scale(.3); opacity: 0; } 22% { transform: scale(1.15); opacity: 1; } 34%, 100% { transform: none; opacity: 1; } }
@keyframes qi-spark { 0%, 24% { transform: scale(0); opacity: 0; } 44% { transform: scale(1.2) rotate(20deg); opacity: 1; } 74%, 100% { transform: scale(.6); opacity: 0; } }
@keyframes qi-drop { 0% { transform: translateY(-90%) rotate(-12deg); opacity: 0; } 12% { opacity: 1; } 38% { transform: translateY(5%) rotate(0deg); } 48% { transform: translateY(-3%); } 56%, 100% { transform: none; opacity: 1; } }
@keyframes qi-new { 0%, 10% { transform: translateY(-150%) scale(.7); opacity: 0; } 42% { transform: none; opacity: 1; } 52% { transform: scale(1.28); box-shadow: 0 0 4cqw #3690e2; } 64%, 100% { transform: none; box-shadow: 0 0 2.4cqw rgba(54, 144, 226, .7); } }
@keyframes qi-cup { 0% { transform: scale(.5) translateY(20%); opacity: 0; } 26% { transform: scale(1.12); opacity: 1; } 40%, 100% { transform: none; opacity: 1; } }
@keyframes qi-flash { 0%, 30%, 100% { transform: none; box-shadow: none; } 45% { transform: translateY(-25%); box-shadow: 0 0 3cqw #80b8ef; } 60% { transform: none; } }
@keyframes qi-lift { 0%, 16% { transform: none; } 42%, 84% { transform: translateY(-18%); box-shadow: 0 0 0 .6cqw var(--g), 0 0 6cqw rgba(3, 252, 74, .7); } 100% { transform: none; } }
@keyframes qi-down { 0% { transform: translateY(-60%) scale(1.25); opacity: 0; } 28%, 100% { transform: none; opacity: 1; } }
@keyframes qi-flipup { 0%, 12% { transform: rotateY(0deg); } 34%, 100% { transform: rotateY(180deg); } }
@keyframes qi-shot { 0% { transform: translateX(-4cqw); opacity: 0; } 10% { opacity: 1; } 62% { transform: translateX(50cqw); opacity: 1; } 72%, 100% { transform: translateX(54cqw) scale(1.3); opacity: 0; } }
@keyframes qi-target { 0%, 60%, 100% { transform: none; } 66% { transform: translateX(-6%) rotate(-8deg); } 72% { transform: translateX(6%) rotate(8deg); } 78% { transform: none; } }
@keyframes qi-bounce { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 44% { transform: translateX(38cqw); } 60% { transform: translateX(22cqw) rotate(-50deg); } 82% { transform: translateX(4cqw) rotate(-100deg); opacity: 1; } 92%, 100% { transform: translateX(0) rotate(-130deg); opacity: 0; } }
@keyframes qi-shield { 0%, 40% { transform: none; filter: none; } 46% { transform: scale(1.35); filter: drop-shadow(0 0 3cqw var(--g)); } 62%, 100% { transform: none; filter: none; } }
@keyframes qi-boom { 0%, 42% { opacity: 0; transform: scale(.3); } 48% { opacity: 1; transform: scale(1.1); } 62%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes qi-hurt { 0%, 30% { color: #fff; background: linear-gradient(#1866d1, #004f9e); border-color: #80b8ef; transform: none; } 36% { transform: translateX(-8%) rotate(-5deg); } 42% { transform: translateX(8%) rotate(5deg); } 48% { transform: translateX(-4%); } 50%, 100% { color: #ffb3b8; background: rgba(229, 50, 18, .3); border-color: #ff5a63; } 56%, 100% { transform: none; } }
@keyframes qi-warn { 0%, 48% { transform: scale(0); opacity: 0; } 58% { transform: scale(1.25); opacity: 1; } 68%, 100% { transform: none; opacity: 1; } }
@keyframes qi-fix { 0%, 42% { color: #ffb3b8; background: rgba(229, 50, 18, .3); border-color: #ff5a63; transform: none; box-shadow: none; } 50% { transform: scale(1.22); } 52%, 100% { color: #fff; background: linear-gradient(#1866d1, #004f9e); border-color: #80b8ef; } 60%, 100% { transform: none; box-shadow: 0 0 5cqw rgba(54, 144, 226, .75); } }
@keyframes qi-tool { 0% { transform: translate(-40%, -40%) rotate(-40deg); opacity: 0; } 16% { transform: none; opacity: 1; } 26% { transform: rotate(35deg); } 36% { transform: rotate(-20deg); } 46% { transform: rotate(25deg); } 56%, 100% { transform: none; opacity: 1; } }
@keyframes qi-seat { 0% { transform: scale(0); } 10%, 82% { transform: none; } 92%, 100% { transform: scale(0); } }
@keyframes qi-ring { 0% { stroke-dashoffset: 60; opacity: 1; } 55%, 88% { stroke-dashoffset: var(--off, 35); opacity: 1; } 100% { stroke-dashoffset: var(--off, 35); opacity: 0; } }
@keyframes qi-rise { from { transform: translateY(30%) scale(.7); opacity: 0; } }
@keyframes qi-tap { 0% { transform: translate(30%, 40%); opacity: 0; } 20% { opacity: 1; } 40% { transform: translate(-6%, -16%); } 48% { transform: translate(-6%, -9%) scale(.9); } 58%, 100% { transform: translate(-6%, -16%); opacity: 1; } }
@keyframes qi-press { 0%, 44%, 60%, 100% { transform: none; box-shadow: 0 1.4cqw 0 #02a631, 0 0 5cqw rgba(17, 241, 88, .45); } 50% { transform: translateY(1.2cqw); box-shadow: 0 .2cqw 0 #02a631, 0 0 8cqw rgba(17, 241, 88, .85); } }
@keyframes qi-phone { 0% { transform: translateY(40%) scale(.8); opacity: 0; } 30%, 100% { transform: none; opacity: 1; } }
@keyframes qi-bag { 0%, 30% { transform: scale(0); } 46% { transform: scale(1.2) rotate(-10deg); } 60%, 100% { transform: none; } }
@keyframes qi-pay { 0% { transform: translateX(-30cqw) rotate(-12deg); opacity: 0; } 35%, 100% { transform: none; opacity: 1; } }
@keyframes qi-check { 0%, 38% { transform: scale(0); } 52% { transform: scale(1.2); } 62%, 100% { transform: none; } }
@keyframes qi-hop { 0% { transform: translateX(-12cqw); opacity: 0; } 10% { opacity: 1; } 24% { transform: translate(-2cqw, -9cqw); } 38% { transform: translate(8cqw, 0); } 52% { transform: translate(18cqw, -7cqw); } 66%, 100% { transform: translate(28cqw, 0); opacity: 1; } }

@media (min-width: 960px) {
  .fq { grid-template-columns: minmax(280px, 34%) minmax(0, 1fr); grid-template-rows: repeat(var(--n, 9), auto) 1fr; column-gap: 26px; row-gap: 8px; }
  .fq-item { display: contents; }
  .fq-q { grid-column: 1; padding: 8px 12px; font-size: 1rem; }
  .fq-q__ic { width: 38px; height: 38px; border-radius: 12px; font-size: 1.2rem; }
  .fq-item.is-open .fq-q { translate: 8px 0; }
  .fq-q__go::before { content: '›'; font-size: 1.5rem; transform: none; }
  .fq-item.is-open .fq-q__go::before { transform: none; }
  .fq-item.is-open .fq-q__go { color: #00170a; background: var(--g); }
  .fq-a { position: sticky; top: calc(var(--nav-h) + var(--safe-top) + 16px); grid-column: 2; grid-row: 1 / -1; align-self: start; display: flex; flex-direction: column; margin: 0; padding: 28px 30px 30px; border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
  .fq-a__q { display: block; margin-bottom: 10px; font-family: var(--fm); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g); }
  .fq-a__q::before { content: '// '; }
  .fq-a > .btn, .fq-a__link { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .fq-prog { display: none; }
  .fq-step .fq-ilu { opacity: 1; transform: none; }
}

/* ---------- CTA final ---------- */
.sec--final { overflow: clip; isolation: isolate; padding: clamp(96px, 12vw, 170px) 0; }
.sec--final .rain { opacity: .5; }
.final__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 60% at 28% 50%, rgba(17, 241, 88, .2), transparent 70%), linear-gradient(180deg, var(--bg) 0%, rgba(3, 6, 4, .6) 22%, rgba(3, 6, 4, .6) 78%, var(--bg) 100%); }
.final { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.final__stage { position: relative; display: grid; place-items: center; height: clamp(380px, 42vw, 520px); perspective: 1400px; }
.final__spin { width: clamp(190px, 20vw, 280px); animation: float 6s ease-in-out infinite; }
.spin3d { position: relative; aspect-ratio: 682 / 1048; transform-style: preserve-3d; animation: spinY 9s linear infinite; }
.spin3d__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.spin3d__face .hc { height: 100%; box-shadow: 0 0 60px rgba(17, 241, 88, .35); }
.spin3d__front { transform: rotateY(180deg); }
.final__floor { position: absolute; bottom: 2%; left: 50%; width: 60%; height: 34px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(17, 241, 88, .5), transparent); filter: blur(6px); animation: breathe 4.5s ease-in-out infinite; }
.final__title { padding-top: .08em; font-family: var(--ft); font-size: clamp(2.6rem, 6vw, 5.3rem); line-height: .95; text-transform: uppercase; text-shadow: 0 .06em 0 rgba(4, 56, 27, .9); }
.final__text { max-width: 30em; margin: 18px 0 32px; font-size: clamp(1.1rem, 1.45vw, 1.32rem); color: #cfe7d8; }
.final__small { margin-top: 20px; font-size: .88rem; color: var(--muted-2); }

/* ---------- Rodapé / barra de compra / toast ---------- */
/* Rodapé em colunas: marca + compra, navegação, contato e "criado por"; embaixo, os direitos */
.footer { padding: 56px 0 calc(26px + env(safe-area-inset-bottom)); background: #020403; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 32px 48px; align-items: start; }
.footer__marca { display: grid; justify-items: start; gap: 16px; }
.footer__marca .brand__logo { height: 34px; }
.footer__tag { margin: 0; line-height: 1.55; color: var(--muted); }
.footer__h { margin: 0 0 14px; font-family: var(--fm); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.footer__links { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; margin: 0; padding: 0; list-style: none; }
.footer__links a { font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--g); }
.footer__contato[hidden] { display: none; }
.footer__txt { margin: 0 0 10px; color: var(--muted); }
.footer__email { font-family: var(--fm); font-size: .92rem; font-weight: 700; color: #fff; text-decoration: none; overflow-wrap: anywhere; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.footer__email:hover { color: var(--g); border-color: var(--g); }
/* a logo do autor (o nome já está nela) */
.footer__autor { display: grid; justify-items: center; }
.footer__autor img { display: block; width: auto; height: 116px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .85rem; color: var(--muted-2); }
.footer__bottom p { margin: 0; }
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; gap: 36px 40px; }
  .footer__autor { justify-items: start; }
}
@media (max-width: 560px) {
  .footer { padding-top: 44px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer__bottom { flex-direction: column; margin-top: 34px; }
}

/* ---------- Contato (fim das dúvidas) ---------- */
.contato { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 22px; margin-top: 40px; padding: 22px 24px; border-radius: 22px; background: rgba(17, 241, 88, .05); border: 1px solid var(--line-2); }
.contato[hidden] { display: none; }
.contato__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--g); background: rgba(17, 241, 88, .1); border: 1px solid var(--line-2); }
.contato__ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contato__title { margin: 0; padding-top: .08em; font-family: var(--ft); font-size: 1.5rem; font-weight: 400; line-height: 1.05; text-transform: uppercase; color: #fff; }
.contato__txt p { margin: 4px 0 0; color: var(--muted); }
.contato__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contato__email { padding: .7em 1em .6em; border-radius: 12px; font-family: var(--fm); font-size: .95rem; font-weight: 700; text-align: center; text-decoration: none; overflow-wrap: anywhere; color: var(--g); background: rgba(3, 6, 4, .6); border: 1px solid var(--line-2); transition: background-color .2s; }
.contato__email:hover { background: rgba(17, 241, 88, .12); }
.contato__enviar { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.1em .6em; border-radius: 12px; font-family: var(--fm); font-size: .85rem; font-weight: 700; white-space: nowrap; text-decoration: none; color: #00170a; background: var(--g); transition: box-shadow .2s; }
.contato__enviar:hover { box-shadow: 0 0 22px var(--g-glow); }
.contato__enviar svg { width: 1.15em; height: 1.15em; flex: none; margin-top: -.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .contato { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .contato__acoes { grid-column: 1 / -1; }
  .contato__email, .contato__enviar { flex: 1 1 auto; }
}

.buybar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55; display: none; align-items: center; gap: 12px; padding: 9px 9px 9px 12px; border-radius: 18px; background: rgba(4, 14, 8, .97); border: 1px solid var(--line-2); box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 30px rgba(17, 241, 88, .15); transform: translateY(160%); transition: transform .45s var(--spring); }
.buybar.is-on { transform: none; }
.buybar__thumb { width: 34px; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
.buybar__txt { flex: 1; min-width: 0; line-height: 1.15; }
.buybar__txt b { display: block; padding-top: .1em; font-family: var(--ft); font-weight: 400; font-size: 1.1rem; letter-spacing: .05em; }
.buybar__txt span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .78rem; color: var(--muted); }

.toast { position: fixed; left: 50%; top: 86px; z-index: 300; padding: 12px 20px; border-radius: 14px; pointer-events: none; opacity: 0; font-family: var(--fm); font-weight: 700; letter-spacing: .06em; color: var(--g); background: #0b1a11; border: 1px solid var(--g); box-shadow: 0 0 30px var(--g-glow); transform: translate(-50%, -20px); transition: opacity .35s, transform .35s var(--spring); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; z-index: 400; width: 100vw; height: 100vh; pointer-events: none; }

/* ---------- Carta (imagem ou modelo) ---------- */
.hc { position: relative; display: block; width: 100%; aspect-ratio: 682 / 1048; overflow: hidden; border-radius: var(--card-r); background: #fff; container-type: inline-size; user-select: none; -webkit-user-select: none; }
.hc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc--back { background: #000; }
.hc--peca { --tc: #004f9e; --tc-rgb: 0, 79, 158; }
.hc--ataque { --tc: #e53212; --tc-rgb: 229, 50, 18; }
.hc--defesa { --tc: #009640; --tc-rgb: 0, 150, 64; }
.hc--erro { --tc: #2a78a0; --tc-rgb: 42, 120, 160; }
.tpl-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-ic, .tpl-bar, .tpl-art, .tpl-txt { position: absolute; }
.tpl-ic { z-index: 2; left: 10.12%; top: 6.58%; width: 13.49%; height: 8.78%; display: grid; place-items: center; border-radius: 2.4cqw; background: #313131; box-shadow: 0 0 0 1.1cqw #fff; }
.tpl-ic svg { width: 64%; height: 64%; filter: drop-shadow(0 0 1.1cqw rgba(var(--tc-rgb), .9)); }
.hc--peca .tpl-ic svg { filter: drop-shadow(0 0 1.2cqw rgba(47, 123, 255, .95)); }
.tpl-ic--b { left: 76.39%; top: 84.54%; transform: rotate(180deg); }
.tpl-bar { left: 24.78%; top: 6.58%; width: 64.66%; height: 6.87%; display: flex; align-items: center; padding-left: 3.5cqw; overflow: hidden; border-radius: 2.2cqw; background: #313131; }
.tpl-bar span { padding-top: 1.1cqw; font-family: var(--ft); font-size: var(--tfs, 6.2cqw); line-height: 1; letter-spacing: .02em; white-space: nowrap; text-transform: uppercase; color: #fff; }
.tpl-bar--b { left: 10.41%; top: 86.55%; width: 64.81%; transform: rotate(180deg); }
.tpl-art {
  left: 10.12%; top: 14.12%; width: 79.77%; height: 53.44%; overflow: hidden; border: .5cqw solid #313131; border-radius: 2.8cqw;
  background:
    radial-gradient(closest-side, #fff 48%, rgba(255, 255, 255, 0) 100%),
    repeating-conic-gradient(from 4deg at 50% 50%, rgba(var(--tc-rgb), .2) 0deg 2.2deg, transparent 2.2deg 10deg),
    radial-gradient(circle, rgba(var(--tc-rgb), .16) 30%, transparent 34%) 0 0 / 2.6cqw 2.6cqw,
    #fff;
}
.tpl-art .art { position: absolute; inset: 3%; width: 94%; height: 94%; }
.tpl-txt { left: 10.12%; top: 68.32%; width: 79.77%; height: 17.75%; display: flex; align-items: center; padding: 0 6.5cqw 0 10.4cqw; border: .5cqw solid #313131; border-radius: 6.6cqw; background: var(--tc); }
.tpl-txt p { font-family: var(--fb); font-weight: 600; font-size: var(--xfs, 4.9cqw); line-height: 1.55; color: #fff; }

/* Carta que vira */
.flip { position: relative; width: 100%; aspect-ratio: 682 / 1048; perspective: 1400px; }
.flip__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--spring); }
.flip.is-up .flip__in { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip__front { transform: rotateY(180deg); }

/* Inclinação + brilho holográfico */
.tilt { position: relative; border-radius: var(--card-r); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.tilt.is-tilting { transition: transform .1s linear; }
.tilt > .hc { box-shadow: 0 26px 56px rgba(0, 0, 0, .55); }
.tilt__holo, .tilt__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; }
.tilt__glare { background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 50%); mix-blend-mode: overlay; }
.tilt__holo { background: linear-gradient(115deg, transparent 18%, rgba(255, 0, 140, .32) 32%, rgba(255, 220, 0, .28) 42%, rgba(0, 255, 170, .32) 52%, rgba(0, 140, 255, .32) 62%, transparent 78%) var(--mx, 50%) var(--my, 50%) / 260% 260%; mix-blend-mode: color-dodge; }
.tilt.is-tilting .tilt__glare { opacity: 1; }
.tilt.is-tilting .tilt__holo { opacity: .6; }

/* Glitch */
.glitch { position: relative; display: inline-block; animation: glitchMain 3.6s infinite steps(1); }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; text-shadow: none; }
.glitch::before { color: var(--g); clip-path: inset(0 0 100% 0); animation: glitchA 3.6s infinite steps(1); }
.glitch::after { color: #3690e2; clip-path: inset(100% 0 0 0); animation: glitchB 3.6s infinite steps(1); }

/* Modo hacker (digite "haux") */
.hacker { --g: #e53212; --g-glow: rgba(229, 50, 18, .5); --g-deep: #4a0a10; --line: rgba(229, 50, 18, .16); --line-2: rgba(229, 50, 18, .36); }
.hacker .btn--buy { background: linear-gradient(180deg, #ff8a93, #e53212 45%, #d40f20); box-shadow: 0 var(--bh) 0 #7a0a14, 0 10px 30px rgba(229, 50, 18, .4), inset 0 1px 0 rgba(255, 255, 255, .6); color: #fff; }

/* ---------- Animações ---------- */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes rotate-a { to { --a: 360deg; } }
@keyframes shine { 0%, 62% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(350%) skewX(-20deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .75; scale: 1; } 50% { opacity: 1; scale: 1.06; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes deal { 0% { opacity: 0; transform: translateY(75vh) rotate(28deg) scale(.8); } 100% { opacity: 1; transform: none; } }
@keyframes bootrow { from { opacity: 0; transform: translateX(-6px); } }
@keyframes bootlogo { 0% { opacity: 0; transform: scale(.9); filter: blur(6px); } 60% { opacity: 1; transform: scale(1.04); filter: none; } 70% { transform: translateX(-6px); } 82% { transform: translateX(5px); } 100% { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: perspective(900px) rotateY(-70deg) translateX(30px) scale(.9); } }
@keyframes textIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes flow { to { stroke-dashoffset: -48; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(0); } }
@keyframes draw { 0%, 6% { opacity: 0; transform: none; } 12% { opacity: 1; } 36%, 80% { opacity: 1; transform: translateX(var(--tx)) translateY(4px) rotate(var(--rt)); } 96%, 100% { opacity: 0; transform: translateX(var(--tx)) translateY(26px) rotate(var(--rt)); } }
@keyframes secret { 0% { opacity: 0; transform: translateY(26px); } 8%, 18% { opacity: 1; transform: none; } 28% { transform: translateY(-16px); } 52%, 86% { opacity: 1; transform: translateY(-80px) scale(.9); } 94%, 100% { opacity: 0; transform: translateY(-80px) scale(.9); } }
@keyframes secretFlip { 0%, 28% { transform: none; } 52%, 100% { transform: rotateX(180deg); } }
@keyframes dim { 0%, 24% { opacity: 1; } 40%, 86% { opacity: .45; } 96%, 100% { opacity: 1; } }
@keyframes reveal1 { 0%, 10% { transform: rotateY(180deg); } 20%, 82% { transform: rotateY(0deg); } 92%, 100% { transform: rotateY(-180deg); } }
@keyframes reveal2 { 0%, 22% { transform: rotateY(180deg); } 32%, 82% { transform: rotateY(0deg); } 92%, 100% { transform: rotateY(-180deg); } }
@keyframes reveal3 { 0%, 34% { transform: rotateY(180deg); } 44%, 82% { transform: rotateY(0deg); } 92%, 100% { transform: rotateY(-180deg); } }
@keyframes reveal4 { 0%, 46% { transform: rotateY(180deg); } 56%, 82% { transform: rotateY(0deg); } 92%, 100% { transform: rotateY(-180deg); } }
@keyframes res { 0%, 30% { opacity: 1; background: var(--cb); box-shadow: inset 0 0 0 1.5px var(--c); transform: translateX(4px); } 40%, 100% { opacity: .4; background: rgba(255, 255, 255, .04); box-shadow: none; transform: none; } }
@keyframes glitchMain { 0%, 86%, 100% { transform: none; } 88% { transform: skewX(-8deg) translateX(2px); } 90% { transform: skewX(6deg); } 92% { transform: none; } }
@keyframes glitchA { 0%, 86%, 100% { clip-path: inset(0 0 100% 0); transform: none; } 87% { clip-path: inset(8% 0 62% 0); transform: translate(-6px, -2px); } 89% { clip-path: inset(48% 0 24% 0); transform: translate(5px, 1px); } 91% { clip-path: inset(76% 0 6% 0); transform: translate(-4px, 0); } 93% { clip-path: inset(28% 0 50% 0); transform: translate(3px, 2px); } 95% { clip-path: inset(0 0 100% 0); } }
@keyframes glitchB { 0%, 86%, 100% { clip-path: inset(100% 0 0 0); transform: none; } 88% { clip-path: inset(60% 0 12% 0); transform: translate(6px, 2px); } 90% { clip-path: inset(18% 0 58% 0); transform: translate(-5px, -1px); } 92% { clip-path: inset(40% 0 36% 0); transform: translate(4px, 0); } 94% { clip-path: inset(100% 0 0 0); } }
@keyframes spinY { from { transform: rotateY(0deg) rotateX(6deg); } to { transform: rotateY(360deg) rotateX(6deg); } }
/* efeitos do arsenal */
@keyframes fx-shot { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 45% { left: 100%; opacity: 1; } 52%, 100% { left: 100%; opacity: 0; } }
@keyframes fx-destroy { 0%, 44% { opacity: 1; transform: none; } 48% { transform: scale(1.3) rotate(-10deg); background: #e53212; border-color: #ff8a8f; } 62% { opacity: 0; transform: translateY(18px) rotate(30deg) scale(.6); } 92% { opacity: 0; transform: none; } 100% { opacity: 1; } }
@keyframes fx-destroy-late { 0%, 76% { opacity: 1; transform: none; } 80% { transform: scale(1.3) rotate(-10deg); background: #e53212; border-color: #ff8a8f; } 92%, 100% { opacity: 0; transform: translateY(16px) rotate(30deg) scale(.6); } }
@keyframes fx-hook { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 40%, 50% { left: 100%; } 85% { left: 0; opacity: 1; } 92%, 100% { left: 0; opacity: 0; } }
@keyframes fx-steal-out { 0%, 44% { opacity: 1; transform: none; } 50%, 94% { opacity: 0; transform: translateY(-10px) scale(.5); } 100% { opacity: 1; transform: none; } }
@keyframes fx-steal-in { 0%, 82% { opacity: 0; transform: scale(.4); } 88% { opacity: 1; transform: scale(1.25); } 94%, 100% { opacity: 1; transform: none; } }
@keyframes fx-bsod { 0%, 46% { background: #0c2016; border-color: var(--line-2); } 50%, 92% { background: #1a5fd0; border-color: #80b8ef; } 100% { background: #0c2016; } }
@keyframes fx-pop { 0%, 46% { opacity: 0; transform: translateY(6px) scale(.8); } 52%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fx-set1 { 0%, 40% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }
@keyframes fx-set2 { 0%, 40% { opacity: 0; transform: translateY(8px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fx-swap { 0%, 28% { transform: translate(-50%, -50%) scale(.85); opacity: .35; } 44% { transform: translate(-50%, -85%) scale(1.3) rotate(-10deg); opacity: 1; } 60% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { opacity: .35; transform: translate(-50%, -50%) scale(.85); } }
@keyframes sh0 { 0%, 12% { transform: none; } 34% { transform: translate(88px, -12px) rotate(8deg); } 50% { transform: translate(88px, 0); } 72% { transform: translate(44px, 10px) rotate(-6deg); } 90%, 100% { transform: none; } }
@keyframes sh1 { 0%, 12% { transform: none; } 34% { transform: translate(88px, 12px) rotate(-8deg); } 50% { transform: translate(88px, 0); } 72% { transform: translate(-44px, -10px) rotate(6deg); } 90%, 100% { transform: none; } }
@keyframes sh2 { 0%, 12% { transform: none; } 34% { transform: translate(-88px, -12px) rotate(-8deg); } 50% { transform: translate(-88px, 0); } 72% { transform: translate(44px, -10px) rotate(6deg); } 90%, 100% { transform: none; } }
@keyframes sh3 { 0%, 12% { transform: none; } 34% { transform: translate(-88px, 12px) rotate(8deg); } 50% { transform: translate(-88px, 0); } 72% { transform: translate(-44px, 10px) rotate(-6deg); } 90%, 100% { transform: none; } }
@keyframes fx-block { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 42% { left: 84%; opacity: 1; transform: translate(-50%, -50%); } 52% { left: 80%; opacity: 0; transform: translate(-50%, -50%) scale(1.8) rotate(40deg); } 100% { left: 80%; opacity: 0; } }
@keyframes fx-wall { 0%, 36% { transform: translateY(-50%) scale(.95); filter: none; } 44% { transform: translateY(-50%) scale(1.4); filter: drop-shadow(0 0 12px var(--g)); } 60%, 100% { transform: translateY(-50%) scale(1); filter: none; } }
@keyframes fx-reflect { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 38%, 44% { left: 84%; transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -50%) scaleX(-1); } 78% { left: 0; opacity: 1; transform: translate(-50%, -50%) scaleX(-1); } 86%, 100% { left: 0; opacity: 0; transform: translate(-50%, -50%) scaleX(-1); } }
@keyframes fx-install { 0%, 22% { color: rgba(255, 255, 255, .25); background: transparent; border: 1.5px dashed rgba(255, 255, 255, .2); box-shadow: none; transform: none; } 32% { color: #fff; background: linear-gradient(#1866d1, #004f9e); border: 1.5px solid #80b8ef; transform: scale(1.35); box-shadow: 0 0 22px rgba(54, 144, 226, .9); } 46%, 90% { color: #fff; background: linear-gradient(#1866d1, #004f9e); border: 1.5px solid #80b8ef; transform: none; box-shadow: 0 0 16px rgba(54, 144, 226, .7); } 100% { color: rgba(255, 255, 255, .25); background: transparent; border: 1.5px dashed rgba(255, 255, 255, .2); } }
/* jogo */
@keyframes slotPop { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: none; } }
@keyframes slotLost { 0% { color: #fff; background: #e53212; border: 1.5px solid #ff8a8f; transform: scale(1.3) rotate(-8deg); } 100% { transform: none; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(46px) rotate(-12deg) scale(.8); } }
@keyframes goneOut { to { opacity: 0; transform: translateY(-16px) scale(.6); } }
@keyframes shuffleSpin { 0% { transform: none; } 30% { transform: translateY(-18px) rotate(-160deg) scale(.7); opacity: .5; } 60% { transform: translateY(-10px) rotate(-320deg) scale(.75); opacity: .5; } 100% { transform: none; opacity: 1; } }
@keyframes fxPop { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; transform: scale(1.35); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1) translateY(-12px); } }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }
@keyframes targetPulse { 50% { box-shadow: 0 0 0 3px rgba(229, 50, 18, .25), 0 0 26px rgba(229, 50, 18, .35); } }
@keyframes msgPop { from { opacity: 0; transform: scale(.92) translateY(6px); } }
@keyframes dealHand { from { opacity: 0; transform: translateY(60px) rotate(8deg); } }
@keyframes handOut { to { opacity: 0; transform: translateY(40px) scale(.9); } }

/* ---------- Responsivo ---------- */
/* Os 4 passos só ficam lado a lado quando cada cena tem largura para as cartas */
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .features, .aud { grid-template-columns: repeat(2, 1fr); }
  .tipos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  :root { --nav-h: 62px; }
  /* menu do celular: rola quando não cabe na tela (celular deitado ou tela baixa) */
  .nav__links {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    padding: calc(var(--nav-h) + var(--safe-top) + 12px) 24px calc(28px + env(safe-area-inset-bottom));
    flex-direction: column; justify-content: flex-start; gap: 4px; overflow-y: auto; overscroll-behavior: contain;
    background: rgba(2, 6, 4, .97); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  /* centraliza quando cabe; quando não cabe, começa do primeiro item em vez de cortá-lo */
  .nav__links > :first-child { margin-top: auto; }
  .nav__links > :last-child { margin-bottom: auto; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a { padding-block: .32em; font-family: var(--ft); font-size: clamp(1.25rem, 4.4vh, 1.9rem); font-size: clamp(1.25rem, 4.4svh, 1.9rem); letter-spacing: .03em; color: #fff; text-transform: uppercase; }
  .nav__links .nav__mobile-buy { display: inline-flex; margin-top: 18px; font-size: 1.1rem; color: #00170a; }
  .nav__buy { margin-left: auto; }
  .nav__burger { display: block; }
  .hero { align-items: flex-start; padding: calc(var(--nav-h) + var(--aviso-h, 0px) + var(--safe-top) + 22px) 0 60px; }
  .tipos { grid-template-columns: 1fr; }
  .rules__list { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .hero__title { font-size: clamp(2.8rem, 12.5vw, 4.6rem); }
  .hero__stage { height: clamp(340px, 92vw, 470px); }
  .fan__card { --w: clamp(118px, 33vw, 190px); }
  .hero__shade { background: radial-gradient(420px circle at 50% 70%, rgba(17, 241, 88, .1), transparent 60%), linear-gradient(180deg, rgba(3, 6, 4, .9) 0%, rgba(3, 6, 4, .72) 55%, rgba(3, 6, 4, .55) 75%, var(--bg) 100%); }
  .monte__grid { grid-template-columns: 1fr; gap: 14px; }
  .mobo { max-height: 36svh; }
  .monte__power { top: 44%; }
  .monte__info { grid-template-columns: 116px 1fr; gap: 16px; }
  .monte__card { max-width: 116px; }
  .monte__name { font-size: 1.7rem; }
  .monte__nick { font-size: 1rem; }
  .monte__desc { font-size: .93rem; line-height: 1.45; margin-top: 6px; }
  .monte__dots { margin-top: 14px; gap: 7px; }
  .monte__count { bottom: -4px; font-size: .78rem; }
  .mdot { width: 38px; height: 38px; }
  .tipos { grid-template-columns: 1fr; }
  .tipo { grid-template-columns: 120px 1fr; align-items: center; }
  .tipo__card { width: 100%; }
  .arsenal { grid-template-columns: 1fr; }
  .arsenal__card { width: min(260px, 64%); }
  .final { grid-template-columns: 1fr; text-align: center; }
  .final__stage { height: 360px; }
  .final__text { margin-inline: auto; }
}
/* "Monte seu PC" em telas baixas: o painel preso na tela tem que caber inteiro */
@media (max-width: 959px) {
  .monte__sticky { justify-content: flex-start; }
  .monte__sticky > :first-child { margin-top: auto; }
  .monte__sticky > :last-child { margin-bottom: auto; }
}
@media (max-width: 959px) and (max-height: 620px) {
  .mobo { max-height: 30svh; }
  .monte__info { grid-template-columns: 92px 1fr; gap: 12px; }
  .monte__card { max-width: 92px; }
  .monte__name { font-size: 1.4rem; }
  .monte__desc { font-size: .86rem; line-height: 1.35; }
  .monte__dots { margin-top: 8px; }
  .mdot { width: 34px; height: 34px; }
}
/* celular deitado: placa e explicação lado a lado */
@media (max-width: 959px) and (orientation: landscape) and (max-height: 520px) {
  .monte__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .mobo { max-height: calc(100vh - var(--nav-h) - 96px); max-height: calc(100svh - var(--nav-h) - 96px); }
  .monte__dots { margin-top: 6px; }
}
@media (max-width: 760px) {
  .buybar { display: flex; }
}
@media (max-width: 640px) {
  .fx-p { min-width: 74px; }
  .fx-av { width: 38px; height: 38px; font-size: 20px; }
}
@media (max-width: 640px) {
  .features, .aud, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .midcta { padding: 22px; }
  .midcta__btns, .midcta__btns .btn, .gift .btn { width: 100%; }
  .winbar { align-items: flex-start; font-size: 1rem; }
  .tipo { grid-template-columns: 96px 1fr; padding: 18px; gap: 16px; }
  .tipo__body h4 { font-size: 1.45rem; margin-top: 8px; }
  .tipo__body p { font-size: .95rem; }
  .fx-row { gap: 6px; }
  .fx-shuffle { gap: 8px; }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tab { justify-content: center; gap: 6px; padding: .65em .4em .5em; font-size: .92rem; }
  .tab__n { display: none; }
  .arsenal__card { width: min(230px, 62%); }
  .btn--xl { width: 100%; white-space: normal; text-align: center; line-height: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
