/* Mesmo desenho da Infinity Robux, nas cores da RouterKeys. */
:root {
  --z-bg: #02060E;
  --z-card: #07101F;
  --z-line: #0F1E38;
  --z-line-2: #17305A;
  --z-texto: #EEF2F8;
  --z-muted: #9AA6BD;
  --z-azul: #0356C5;
  --z-azul-2: #1A6FE0;
  --z-claro: #6FA8FF;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--z-texto); font: 15px/1.6 Inter, system-ui, sans-serif;
  background: radial-gradient(70% 45% at 50% 0%, rgba(3, 86, 197, .16), transparent 70%), var(--z-bg); }
h1, h2, h3, .big { font-family: Poppins, Inter, sans-serif; }
h1 { font-weight: 800; font-size: clamp(26px, 4vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
h2 { font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.01em; margin: 0 0 14px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--z-claro); outline-offset: 2px; }
.muted { color: var(--z-muted); }

/* Barra: a forma com o recorte é desenhada por js/barra.js */
.znav { position: sticky; top: 0; z-index: 30; padding: 12px 16px; }
.znav-in { position: relative; max-width: 1368px; height: 68px; margin: 0 auto; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; }
.znav-in > *:not(.ib-forma):not(.ib-vidro) { position: relative; z-index: 2; }
.ib-forma { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.ib-vidro { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); }
.znav .znav-in > .znav-logo { position: absolute; left: 50%; top: -10px; width: 64px; translate: -50% 0; z-index: 30; filter: drop-shadow(0 0 10px rgba(70, 140, 255, .5)) drop-shadow(0 6px 6px rgba(0, 0, 0, .55)); }
.znav-logo img { width: 100%; height: auto; }
/* símbolo parado, solto por cima da barra: a sombra embaixo dá o efeito de flutuar */
.znav-logo::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -10px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(5px); z-index: -1; }
.znav-dir { display: flex; gap: 4px; }
.znav-bt { display: flex; align-items: center; height: 44px; padding: 0 10px; transition: opacity .25s; }
.znav-bt:hover { opacity: .75; }
.znav-rot { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; transition: max-width .3s ease, margin .3s ease; }
.znav-bt:hover .znav-rot, .znav-bt:focus-visible .znav-rot { max-width: 120px; margin-left: 8px; }
@media (max-width: 900px) {
  .znav-in { height: 54px; }
  .znav .znav-in > .znav-logo { top: -8px; width: 50px; }
  .znav-in { padding: 0 8px; }
  .znav-bt { padding: 0 7px; }
}

/* Menu lateral (abre com #zmenu e fecha com #fechar) */
.zmenu { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .3s; }
.zmenu:target { visibility: visible; transition: none; }
.zmenu-bg { position: absolute; inset: 0; background: rgba(0, 2, 8, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.zmenu:target .zmenu-bg { opacity: 1; }
.zmenu-p { position: relative; width: 86%; max-width: 340px; height: 100%; display: flex; flex-direction: column; gap: 16px; padding: 18px 14px; overflow: hidden auto;
  border-radius: 0 26px 26px 0; border-right: 2px solid rgba(26, 111, 224, .55); background: linear-gradient(180deg, rgba(6, 18, 40, .97), rgba(3, 7, 15, .98) 38%); box-shadow: 24px 0 60px rgba(0, 0, 0, .5);
  transform: translateX(-100%); transition: transform .38s cubic-bezier(.16, 1, .3, 1); }
.zmenu-p::before { content: ""; position: absolute; left: -40px; top: -60px; width: 260px; height: 220px; background: radial-gradient(closest-side, rgba(26, 111, 224, .35), transparent); pointer-events: none; }
.zmenu:target .zmenu-p { transform: none; }
.zmenu-p > * { position: relative; }
.zmenu-h { display: flex; align-items: center; justify-content: space-between; }
.zmenu-mk { display: flex; align-items: center; gap: 10px; }
.zmenu-mk img { width: 38px; height: auto; }
.zmenu-mk span { display: flex; flex-direction: column; line-height: 1.25; }
.zmenu-mk b { font: 700 16px Poppins, sans-serif; }
.zmenu-mk small, .zm-conta small { color: var(--z-muted); font-size: 12px; }
.zmenu-x { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.zm-conta { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, rgba(3, 86, 197, .28), rgba(3, 86, 197, .1)); border: 1px solid rgba(26, 111, 224, .4); }
.zm-conta > div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; font-size: 14px; }
.zm-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(3, 86, 197, .2); color: var(--z-claro); }
.zm-entrar { padding: 7px 14px; border-radius: 10px; background: linear-gradient(135deg, var(--z-azul), var(--z-azul-2)); color: #fff; font-weight: 700; font-size: 13px; }
.zmenu-l { display: flex; flex-direction: column; gap: 2px; }
.zm-g { margin: 12px 10px 4px; color: var(--z-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.zmenu-l a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; color: #e3e8f1; font-weight: 600; transition: background .2s, color .2s; }
.zmenu-l a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.zm-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(3, 86, 197, .16); border: 1px solid rgba(26, 111, 224, .28); color: var(--z-claro); }
.zm-ic svg { width: 18px; height: 18px; }
.zmenu-l a:hover .zm-ic { background: rgba(3, 86, 197, .3); }
.zm-tx { flex: 1; }
.zmenu-l a > svg:last-child { color: var(--z-muted); width: 16px; }
.zmenu-f { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--z-muted); font-size: 12px; }
.zm-dc { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; border-radius: 12px; background: #5865F2; color: #fff; font-weight: 700; }
.zm-dc:hover { background: #4752C4; }
.zm-ig { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: var(--z-texto); font-size: 14px; font-weight: 600; }
.zm-ig:hover { background: rgba(255, 255, 255, .07); }

/* Botões (iguais aos da Infinity: .go cheio, .gh contornado) */
.go, .gh { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 12px; font: 700 15px Inter, sans-serif; cursor: pointer; transition: filter .2s, background .2s, border-color .2s; }
.go { border: 0; color: #fff; background: linear-gradient(135deg, var(--z-azul), var(--z-azul-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 5.5px 14.3px rgba(3, 86, 197, .25); }
.go:hover { filter: brightness(1.1); }
.gh { color: var(--z-texto); border: 1px solid var(--z-line-2); background: var(--z-card); }
.gh:hover { border-color: #24467F; }
.ac { display: flex; flex-wrap: wrap; gap: 12px; }

/* Conteúdo */
main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 16px 64px; }
.sec { padding: 56px 0 8px; scroll-margin-top: 90px; }
.card { border-radius: 22px; padding: 28px; background: linear-gradient(160deg, rgba(3, 86, 197, .12), rgba(7, 16, 31, .9) 45%), var(--z-card); border: 1px solid var(--z-line-2); }

.tt { text-align: center; margin-bottom: 26px; }
.tt h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin: 0 0 6px; }
.tt p { margin: 0; }

/* Banner: texto grande à esquerda, símbolo à direita, sobre a arte azul */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 300px; padding: 40px 48px; border-radius: 26px; border: 1px solid rgba(26, 111, 224, .35);
  background: radial-gradient(60% 90% at 78% 50%, rgba(26, 111, 224, .45), transparent 70%), linear-gradient(90deg, rgba(2, 6, 14, .92) 30%, rgba(2, 6, 14, .35)), url(../assets/img/fundo.webp) center / cover;
  box-shadow: 0 30px 60px -30px rgba(3, 86, 197, .5); }
.hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.hero-t { display: flex; flex-direction: column; margin: 0 0 22px; font: 900 clamp(38px, 6.4vw, 76px)/.95 Poppins, sans-serif; letter-spacing: -.035em; text-transform: uppercase; }
.hero-az { background: linear-gradient(180deg, #8FC0FF, #1A6FE0 70%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(3, 86, 197, .45)); }
.pilula { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(2, 6, 14, .7); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pilula svg { width: 18px; height: 18px; color: var(--z-claro); }
.hero-simb { position: relative; width: clamp(150px, 24vw, 250px); height: auto; margin-right: 4%; filter: drop-shadow(0 0 40px rgba(26, 111, 224, .65)) drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }

/* Painel principal (como o Comprar Robux da Infinity) */
.painel { position: relative; overflow: hidden; display: flex; align-items: center; margin-top: 22px; padding: 34px 36px; border-radius: 26px; border: 1px solid rgba(26, 111, 224, .45);
  background: radial-gradient(50% 120% at 85% 50%, rgba(26, 111, 224, .35), transparent 70%), linear-gradient(135deg, #0A1B3A, #050C1A 60%); box-shadow: 0 0 0 1px rgba(3, 86, 197, .12), 0 24px 50px -28px rgba(3, 86, 197, .6); }
.painel-tx { position: relative; z-index: 1; max-width: 560px; }
.painel h1 { margin: 14px 0 8px; }
.painel p { margin: 0 0 24px; font-size: 16px; }
.selo { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #BFD7FF; background: rgba(3, 86, 197, .22); border: 1px solid rgba(26, 111, 224, .45); }
.selo svg { width: 15px; height: 15px; }
.painel-arte { position: absolute; right: -30px; top: 50%; translate: 0 -50%; width: 300px; height: 300px; color: rgba(143, 192, 255, .14); filter: drop-shadow(0 0 30px rgba(26, 111, 224, .5)); }
.painel-arte svg { width: 100%; height: 100%; }
.go svg, .gh svg { width: 18px; height: 18px; }

/* Como funciona */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.passo { position: relative; padding: 26px 24px; border-radius: 22px; background: linear-gradient(180deg, rgba(10, 27, 58, .8), rgba(5, 12, 26, .9)); border: 1px solid var(--z-line-2); transition: border-color .25s, translate .25s; }
.passo:hover { border-color: rgba(26, 111, 224, .6); }
.passo-n { position: absolute; top: 18px; right: 22px; font: 900 44px/1 Poppins, sans-serif; color: rgba(143, 192, 255, .12); }
.passo-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--z-azul), var(--z-azul-2)); box-shadow: 0 8px 20px -6px rgba(3, 86, 197, .7); }
.passo h3 { font-size: 18px; margin: 18px 0 6px; }
.passo p { margin: 0; font-size: 14px; }

/* Avaliações */
.vazio { max-width: 640px; margin: 0 auto; padding: 34px 24px; text-align: center; border-radius: 22px; background: rgba(7, 16, 31, .7); border: 1px dashed var(--z-line-2); }
.estrelas { display: inline-flex; gap: 6px; color: #F5B83D; margin-bottom: 12px; }
.estrelas svg { width: 22px; height: 22px; }
.vazio p { margin: 0; }

/* Dúvidas */
.faq { max-width: 760px; margin: 0 auto; }
.faq-mais { text-align: center; margin: 18px 0 0; font-size: 14px; }

@media (max-width: 800px) {
  .hero { min-height: 0; padding: 30px 24px; }
  .hero-simb { position: absolute; right: -24px; width: 170px; opacity: .45; margin: 0; }
  .painel { padding: 26px 22px; }
  .painel-arte { width: 200px; height: 200px; right: -50px; opacity: .7; }
  .passos { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .ac { flex-direction: column; } .ac > * { width: 100%; } .card { padding: 22px; } }

/* Dúvidas (cada pergunta) */
details { margin-bottom: 10px; border-radius: 16px; background: rgba(7, 16, 31, .85); border: 1px solid var(--z-line); transition: border-color .2s; }
details:hover, details[open] { border-color: rgba(26, 111, 224, .5); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; height: 18px; color: var(--z-claro); transition: rotate .25s; }
details[open] summary svg { rotate: 45deg; }
details p { margin: 0; padding: 0 20px 18px; }

/* Caixas centrais (login, 404, manutenção) */
.box { max-width: 440px; margin: 48px auto; text-align: center; }
.box > img { width: 88px; height: auto; margin: 0 auto 18px; }
.box .card { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; padding: 22px; }
.box .ac { flex-direction: column; align-items: stretch; max-width: 300px; margin: 26px auto 0; }
.big { font-weight: 900; font-size: clamp(96px, 16vw, 160px); line-height: 1; letter-spacing: -.05em; background: linear-gradient(180deg, var(--z-texto), var(--z-azul)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lk { color: var(--z-claro); text-decoration: underline; text-underline-offset: 2px; }

/* Termos */
.termos { max-width: 820px; margin: 0 auto; }
.termos-ind { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.termos-ind a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--z-card); border: 1px solid var(--z-line-2); }
.termos-ind a:hover { border-color: var(--z-azul); }
.termos .card { margin-top: 20px; scroll-margin-top: 100px; }
.termos h3 { font-size: 16px; margin: 22px 0 6px; }
.termos p, .termos li { color: #C9D2E3; }
.termos ul { padding-left: 20px; margin: 6px 0; }
.termos li { margin: 4px 0; }

/* Rodapé */
.zf { border-top: 1px solid var(--z-line); padding: 40px 16px 24px; background: rgba(2, 6, 14, .6); }
.zf-in { max-width: 1180px; margin: 0 auto; }
.zf-g { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.zf-marca img { width: 190px; height: auto; margin-bottom: 10px; }
.zf-rs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.zf-marca p, .zf-c { color: var(--z-muted); font-size: 13px; }
.zf-bt { min-height: 42px; padding: 0 16px; font-size: 14px; }
/* Discord sempre na cor oficial */
[data-login="discord"] svg, .zf-bt svg path[fill="currentColor"] { color: #5865F2; }
.fh { margin-bottom: 10px; font-weight: 700; }
.fl { display: block; padding: 3px 0; color: var(--z-muted); font-size: 14px; }
.fl:hover { color: var(--z-texto); }
.zf-c { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--z-line); }
@media (max-width: 700px) { .zf-g { grid-template-columns: 1fr 1fr; } .zf-marca { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } html { scroll-behavior: auto; } }

/* Fundo: símbolos subindo (js/fundo.js) */
#fm-campo { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fm-cam { position: absolute; inset: 0; }
.fm-m { position: absolute; height: auto; filter: drop-shadow(0 0 10px rgba(26, 111, 224, .35)); }
.f1 .fm-m { opacity: .18; filter: blur(1.5px); }
.f2 .fm-m { opacity: .3; }
.f3 .fm-m { opacity: .45; }

/* Cursor da marca: seta azul; em links e botões vira branca com contorno azul. A ponta da seta fica no pixel 3,3. */
html, body { cursor: url(../assets/img/cursor.png) 3 3, auto; }
a, button, summary, label, [role="button"], .znav-bt { cursor: url(../assets/img/cursor-link.png) 3 3, pointer; }
input, textarea, [contenteditable="true"] { cursor: text; }

/* "Pular para o conteúdo": escondido até alguém chegar nele pelo teclado */
.pular { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--z-azul); color: #fff; font-weight: 700; }
.pular:focus { top: 12px; }
main:focus { outline: none; }
