
:root {
  --bg: #080c14;
  --bg2: #05080e;
  --face: #131b2b;
  --face2: #1a2740;
  --face3: #0e1522;
  --edge-lt: rgba(120, 160, 220, .22);
  --edge-dk: rgba(0, 0, 0, .7);
  --line: #05080e;
  --ouro: #e6b93f;
  --ouro2: #9c7418;
  --creme: #e8d5a4;
  --txt: #dce5f2;
  --txt2: #7a8ba6;
  --azul: #3f7fc9;
  --azul-d: #254e88;
  --verm: #cf4a3e;
  --verm-d: #8a2a24;
  --verde: #4fb37c;
  --roxo: #9350c0;
  --blurple: #5865f2;
  --blurple-d: #3a45b0;
  --font-game: "Courier New", "Courier Prime", "Cascadia Mono", "Lucida Console", monospace;
  --font-pixel: "Press Start 2P", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-game);
  font-size: 15px;
  color: var(--txt);
  background:
    radial-gradient(1100px 560px at 50% -12%, #12203c 0%, transparent 58%),
    radial-gradient(900px 900px at 50% 120%, transparent 60%, rgba(0, 0, 0, .6)),
    repeating-linear-gradient(0deg, #080d16 0 2px, #070b12 2px 4px),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { image-rendering: pixelated; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-pixel);
  font-weight: 400;
  letter-spacing: .5px;
  line-height: 1.5;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- textura de fundo repetida ---------- */
/* Toda <section>/<header class="hero">/<footer> ganha essa textura automaticamente via ::before
   (ver regra genérica mais abaixo) — não depende mais de marcar a seção com essa classe no HTML,
   porque seção com cor de fundo opaca (background: var(--bg2) etc.) apagava a imagem por baixo. */
.dither-bg {
  background-image: url(assets/tex/grain_bg.png);
  background-size: 96px 96px;
}

/* ---------- moldura pixel reutilizável ---------- */
.px {
  background: var(--face);
  border: 3px solid var(--line);
  box-shadow: inset 2px 2px 0 var(--edge-lt), inset -3px -3px 0 var(--edge-dk), 0 4px 0 rgba(0, 0, 0, .4);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 3px solid var(--line);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .25), inset -2px -2px 0 rgba(0, 0, 0, .45), 0 4px 0 rgba(0, 0, 0, .4);
  font-family: var(--font-pixel);
  font-size: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: transform .08s;
  white-space: nowrap;
}
.btn:active { transform: translateY(3px); box-shadow: inset 2px 2px 0 rgba(255,255,255,.2), inset -2px -2px 0 rgba(0,0,0,.45); }
.btn:hover { filter: brightness(1.12); }

.btn-ouro { background: linear-gradient(180deg, var(--ouro), var(--ouro2)); color: #241a04; }
.btn-blurple { background: linear-gradient(180deg, var(--blurple), var(--blurple-d)); color: #fff; }
.btn-ghost { background: var(--face3); color: var(--txt); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 20, .92);
  border-bottom: 3px solid var(--line);
  backdrop-filter: blur(3px);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; image-rendering: pixelated; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; color: var(--txt2); }
.nav-links a:hover { color: var(--ouro); }
.nav-cta { font-size: 11px; padding: 10px 14px; }
.nav-burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 78px 0 90px; overflow: hidden; }
/* Vídeo travado na tela (position: fixed): enquanto você rola o scroll pela hero, o vídeo fica parado
   no lugar (não acompanha o scroll) — só "solta" quando a próxima seção (com fundo opaco) desliza por
   cima dele. Esse é o efeito clássico de parallax dos sites estilo Apple, sem precisar de JS. */
.hero-bgvideo {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  object-fit: cover;
  opacity: .32;
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(6, 11, 22, .82) 0%, rgba(7, 13, 26, .60) 30%, rgba(7, 14, 28, .24) 52%, rgba(7, 14, 28, 0) 68%),
    linear-gradient(180deg, rgba(5, 8, 14, .62) 0%, rgba(5, 8, 14, .78) 55%, rgba(5, 8, 14, .92) 100%),
    url(assets/tex/grain_bg.png);
  background-size: auto, auto, 96px 96px;
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--verde);
  background: rgba(79, 179, 124, .12);
  border: 2px solid var(--verde);
  padding: 6px 10px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 30px; color: var(--creme); text-shadow: 3px 3px 0 #000; margin-bottom: 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--ouro); }
.hero p.lead { font-size: 15px; color: var(--txt2); line-height: 1.8; max-width: 520px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats b { font-family: var(--font-pixel); font-size: 16px; color: var(--ouro); display: inline-flex; align-items: center; gap: 4px; }
.hero-stats span { font-size: 11px; color: var(--txt2); }
.stat-ico { width: 22px; height: 22px; image-rendering: pixelated; }
.inline-ico { width: 18px; height: 18px; image-rendering: pixelated; vertical-align: middle; }
/* Logos oficiais (Pix, MetaMask): são arte vetorial de verdade, não pixel art — renderizar suave,
   não "pixelated" (senão ficam serrilhadas ao reduzir de tamanho). */
.brand-ico { image-rendering: auto; }

.hero-art { position: relative; display: grid; place-items: center; height: 420px; }
.hero-ring {
  position: absolute; inset: 0; margin: auto;
  width: 340px; height: 340px;
  border: 6px dashed rgba(230, 185, 63, .25);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-coin { position: absolute; width: var(--s, 40px); animation: float 3s ease-in-out infinite; filter: drop-shadow(0 6px 6px rgba(0,0,0,.5)); z-index: 2; }
.hero-coin.c1 { --s: 46px; top: 1%; left: 2%; animation-delay: .2s; }
.hero-coin.c7 { --s: 36px; top: 0%; left: 45%; animation-delay: 1.6s; }
.hero-coin.c2 { --s: 36px; top: 3%; right: 4%; animation-delay: 1s; }
.hero-coin.c3 { --s: 46px; top: 24%; left: 1%; animation-delay: 1.8s; }
.hero-coin.c8 { --s: 38px; top: 47%; left: 0%; animation-delay: .9s; }
.hero-coin.c5 { --s: 40px; top: 70%; left: 1%; animation-delay: 1.3s; }
.hero-coin.c4 { --s: 42px; top: 24%; right: 1%; animation-delay: .6s; }
.hero-coin.c9 { --s: 38px; top: 47%; right: 0%; animation-delay: 1.9s; }
.hero-coin.c10 { --s: 38px; top: 70%; right: 1%; animation-delay: .4s; }
.hero-coin.c11 { --s: 40px; bottom: 1%; left: 20%; animation-delay: 2.3s; }
.hero-coin.c12 { --s: 40px; bottom: 0%; left: 52%; animation-delay: 1.1s; }
.hero-coin.c6 { --s: 46px; bottom: 1%; right: 4%; animation-delay: 2.1s; }

/* card de vídeo: substitui o antigo botao de play solto — o video (thumbnail + play) vira
   o elemento central da hero-art, no lugar aonde o boneco+botao ficavam. */
.hero-video-card {
  position: relative;
  width: 300px; height: 300px;
  border-radius: 22px;
  border: 4px solid var(--ouro);
  background: linear-gradient(160deg, rgba(230, 185, 63, .16), rgba(8, 12, 20, .92) 62%);
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .06), inset -4px -4px 0 rgba(0, 0, 0, .4), 0 16px 32px rgba(0, 0, 0, .55);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  animation: float 3.4s ease-in-out infinite;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-video-card:hover { transform: scale(1.03); box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .08), inset -4px -4px 0 rgba(0, 0, 0, .4), 0 20px 38px rgba(0, 0, 0, .6); }
.hero-video-card:active { transform: scale(.98); }
.hero-video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; pointer-events: none; }
.hero-video-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, .15), rgba(8, 12, 20, .55) 70%, rgba(8, 12, 20, .78));
  pointer-events: none;
  z-index: 1;
}
.hero-video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(8, 12, 20, .6);
  border: 3px solid var(--ouro);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(230, 185, 63, .14), 0 4px 0 rgba(0, 0, 0, .4);
  animation: play-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}
.hero-video-play img { width: 26px; height: 26px; image-rendering: pixelated; }
.hero-video-tag {
  position: absolute; left: 14px; bottom: 12px;
  z-index: 2;
  font-family: var(--font-pixel); font-size: 10px; color: var(--creme);
  background: rgba(8, 12, 20, .72);
  border: 2px solid var(--ouro);
  padding: 5px 9px;
  border-radius: 6px;
  pointer-events: none;
}
@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(230, 185, 63, .14), 0 4px 0 rgba(0, 0, 0, .4); }
  50% { box-shadow: 0 0 0 11px rgba(230, 185, 63, .22), 0 4px 0 rgba(0, 0, 0, .4); }
}

/* ---------- modal de vídeo ---------- */
.video-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.on { display: flex; }
.video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 8, 14, .9);
}
.video-modal-box {
  position: relative;
  width: min(880px, 100%);
  background: var(--face);
  border: 4px solid var(--line);
  box-shadow: inset 3px 3px 0 var(--edge-lt), inset -4px -4px 0 var(--edge-dk), 0 8px 0 rgba(0, 0, 0, .5);
  padding: 16px;
}
.video-modal-close {
  position: absolute; top: -18px; right: -18px;
  width: 38px; height: 38px;
  background: var(--verm);
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .4);
}
.video-modal-close img { width: 18px; height: 18px; image-rendering: pixelated; }
.video-modal-close:hover { filter: brightness(1.15); }
.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 3px solid var(--line);
  overflow: hidden;
}
.video-modal-frame iframe, .video-modal-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-modal-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--txt2);
  font-family: var(--font-pixel);
  font-size: 12px;
  text-align: center;
}
.placeholder-ico { width: 56px; height: 56px; image-rendering: pixelated; }

/* ---------- seções genéricas ---------- */
section { padding: 78px 0; position: relative; background: var(--bg); }
section > .wrap { position: relative; z-index: 1; }

/* Textura de fundo em TODA seção — antes só quem tinha a classe .dither-bg (e sem cor de fundo
   própria pra não apagar a imagem) mostrava alguma textura; o resto (Economia Real, CTA do Discord,
   rodapé) ficava liso e preto. Isso aqui roda numa camada própria (::before), então funciona não
   importa a cor de fundo que a seção já tenha. Sem brilho colorido, só o grão. */
section::before, footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url(assets/tex/grain_bg.png);
  background-size: 96px 96px;
  pointer-events: none;
  z-index: 0;
}
footer::before { opacity: .5; }
.section-kicker { font-family: var(--font-pixel); font-size: 10px; color: var(--azul); margin-bottom: 10px; display: block; }
.section-title { font-size: 24px; color: var(--creme); text-shadow: 2px 2px 0 #000; margin-bottom: 14px; text-wrap: balance; }
.section-title em { font-style: normal; color: var(--ouro); }
.section-lead { color: var(--txt2); max-width: 640px; line-height: 1.8; margin-bottom: 46px; font-size: 14px; }
.section-head { text-align: center; margin: 0 auto 46px; max-width: 720px; }
.section-head .section-lead { margin: 0 auto; }

/* ---------- grid de cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--face);
  border: 3px solid var(--line);
  box-shadow: inset 2px 2px 0 var(--edge-lt), inset -3px -3px 0 var(--edge-dk), 0 5px 0 rgba(0,0,0,.4);
  padding: 26px 22px;
}
.card-ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--face3);
  border: 3px solid var(--line);
  margin-bottom: 18px;
}
.card-ico img { width: 30px; height: 30px; }
.card h3 { font-size: 13px; color: var(--ouro); margin-bottom: 12px; line-height: 1.6; }
.card p { font-size: 13.5px; color: var(--txt2); line-height: 1.8; }

/* ---------- economia real ---------- */
.economia { background: var(--bg2); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.economia .cards3 .card { background: var(--face2); }

/* ---------- marketplace mock ---------- */
.market-demo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.market-item {
  background: var(--face);
  border: 3px solid var(--line);
  box-shadow: inset 2px 2px 0 var(--edge-lt), inset -3px -3px 0 var(--edge-dk), 0 5px 0 rgba(0,0,0,.4);
  padding: 18px;
  max-width: 340px;
}
.market-item-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.market-tag { font-family: var(--font-pixel); font-size: 9px; background: var(--verm); color: #fff; padding: 4px 7px; }
.market-power { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-pixel); font-size: 10px; color: var(--ouro); background: #05080e; padding: 4px 8px; }
.market-art {
  height: 120px;
  background: linear-gradient(180deg, rgba(207,74,62,.28), rgba(207,74,62,.28)), var(--face3);
  border: 3px solid #05080e;
  display: grid; place-items: end center;
  margin-bottom: 12px;
  overflow: hidden;
}
.market-art img { width: 130px; image-rendering: pixelated; }
.market-name { font-size: 14px; color: var(--creme); margin-bottom: 4px; }
.market-desc { font-size: 11.5px; color: var(--txt2); margin-bottom: 16px; }
.market-price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.market-price { font-family: var(--font-pixel); color: var(--verde); font-size: 15px; }
.market-price small { color: var(--txt2); font-size: 10px; display: block; margin-top: 4px; font-family: var(--font-game); }
.market-pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.market-pay-row .btn { font-size: 10px; justify-content: center; padding: 11px 8px; }

.market-copy .feature-line { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.feature-dot { flex-shrink: 0; width: 34px; height: 34px; border: 3px solid var(--line); display: grid; place-items: center; background: var(--face3); }
.feature-dot img { width: 20px; height: 20px; }
.feature-line h4 { font-size: 13px; color: var(--ouro); margin-bottom: 6px; font-family: var(--font-pixel); }
.feature-line p { font-size: 13px; color: var(--txt2); line-height: 1.7; }

/* ---------- discord cta ---------- */
.discord-cta {
  text-align: center;
}
.discord-box {
  max-width: 640px; margin: 0 auto;
  padding: 50px 40px;
  background: var(--face);
  border: 4px solid var(--line);
  box-shadow: inset 3px 3px 0 var(--edge-lt), inset -4px -4px 0 var(--edge-dk), 0 6px 0 rgba(0,0,0,.5);
}
.discord-box .card-ico { margin: 0 auto 20px; background: var(--blurple); border-color: #05080e; width: 60px; height: 60px; }
.discord-box .card-ico svg { width: 32px; height: 32px; }
.discord-box h2 { font-size: 20px; color: var(--creme); margin-bottom: 14px; }
.discord-box h2 em { font-style: normal; color: #8b95ff; }
.discord-box p { color: var(--txt2); font-size: 14px; line-height: 1.8; margin-bottom: 28px; }

/* dois containers lado a lado: Discord + parceria de streamer */
.discord-cta .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1080px;
}
.discord-cta .discord-box {
  max-width: none;
  margin: 0;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.discord-cta .discord-box > a.btn { margin-top: auto; }
.partner-box .card-ico { background: var(--ouro); border-color: #05080e; }
.partner-box h2 em { color: var(--ouro); }
.partner-box p { margin-bottom: 20px; }
.partner-label {
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--txt2);
  margin-bottom: 12px;
}
.partner-docs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
}
.partner-docs .btn { padding: 13px 18px; }
.partner-hint {
  font-family: var(--font-pixel);
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--txt2);
  opacity: .7;
  margin-top: 14px;
}

@media (max-width: 860px) {
  .discord-cta .wrap { grid-template-columns: 1fr; gap: 20px; }
  .discord-cta .discord-box > a.btn,
  .partner-docs { margin-top: 0; }
}

/* ---------- faq ---------- */
.faq-item { border-bottom: 2px solid rgba(120, 160, 220, .24); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-size: 14px; color: var(--creme); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--ouro); font-family: var(--font-pixel); font-size: 16px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--txt2); font-size: 13px; line-height: 1.8; margin-top: 14px; max-width: 680px; }

/* ---------- footer ---------- */
footer { background: var(--bg2); border-top: 3px solid var(--line); padding: 46px 0 28px; position: relative; }
footer > .wrap { position: relative; z-index: 1; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; margin-bottom: 30px; }
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: 36px; width: auto; image-rendering: pixelated; }
.footer-tag { color: var(--txt2); font-size: 12.5px; margin-top: 10px; max-width: 320px; line-height: 1.7; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links div b { display: block; font-size: 11px; color: var(--ouro); margin-bottom: 10px; font-family: var(--font-pixel); }
.footer-links div a { display: block; font-size: 12.5px; color: var(--txt2); margin-bottom: 8px; }
.footer-links div a:hover { color: var(--txt); }
.footer-bottom { border-top: 2px solid var(--line); padding-top: 20px; font-size: 11px; color: var(--txt2); line-height: 1.8; }

/* ---------- responsivo ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 300px; order: -1; }
  .hero h1 { font-size: 24px; }
  .cards3 { grid-template-columns: 1fr; }
  .market-demo { grid-template-columns: 1fr; }
  .market-item { max-width: 100%; margin: 0 auto; }
  .footer-top { flex-direction: column; }
  .discord-box { padding: 36px 22px; }
  .video-modal-close { top: -14px; right: 4px; }
  .hero-video-card { width: 220px; height: 220px; }
  .hero-video-play { width: 52px; height: 52px; }
  .hero-video-play img { width: 22px; height: 22px; }
}

/* ---------- seletor de idioma ---------- */
.nav .wrap { gap: 14px; justify-content: flex-start; }
.nav-links { margin: 0 auto; }
.lang-switch { display: inline-flex; border: 3px solid var(--line); background: var(--face3); box-shadow: 0 3px 0 rgba(0,0,0,.4); }
.lang-switch button {
  font-family: var(--font-pixel); font-size: 9px; color: var(--txt2);
  background: transparent; border: 0; padding: 8px 9px; cursor: pointer;
}
.lang-switch button + button { border-left: 2px solid var(--line); }
.lang-switch button:hover { color: var(--txt); }
.lang-switch button.on { background: var(--ouro); color: #241a04; }

/* ---------- banner de cookies ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; padding: 14px; display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-box {
  pointer-events: auto; width: 100%; max-width: 760px;
  background: var(--face); border: 4px solid var(--line);
  box-shadow: inset 3px 3px 0 var(--edge-lt), inset -4px -4px 0 var(--edge-dk), 0 10px 30px rgba(0,0,0,.6);
  padding: 20px 22px; max-height: 88vh; overflow-y: auto;
}
.cookie-box h3 { font-family: var(--font-pixel); font-size: 12px; color: var(--ouro); margin-bottom: 10px; }
.cookie-text { font-size: 12.5px; color: var(--txt2); line-height: 1.7; }
.cookie-text a { color: var(--ouro); text-decoration: underline; }
.cookie-prefs { margin-top: 14px; display: grid; gap: 10px; }
.cookie-prefs[hidden], .cookie-actions [hidden] { display: none; }
.cookie-row { display: flex; gap: 12px; align-items: flex-start; background: var(--face3); border: 2px solid var(--line); padding: 10px 12px; cursor: pointer; }
.cookie-row input { margin-top: 3px; accent-color: var(--ouro); width: 16px; height: 16px; flex: none; }
.cookie-row b { display: block; font-size: 12.5px; color: var(--creme); font-weight: normal; }
.cookie-row small { display: block; font-size: 11.5px; color: var(--txt2); line-height: 1.6; margin-top: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-actions .btn { font-size: 10px; padding: 11px 14px; }

/* ---------- páginas legais ---------- */
.legal-page .nav .wrap { justify-content: flex-start; }
.legal-back { font-size: 12.5px; color: var(--txt2); margin-left: auto; }
.legal-back:hover { color: var(--ouro); }
.legal-wrap { padding: 56px 0 70px; }
.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: 24px; color: var(--creme); text-shadow: 2px 2px 0 #000; margin-bottom: 8px; text-wrap: balance; }
.legal-updated { font-size: 11.5px; color: var(--txt2); margin-bottom: 30px; }
.legal h2 { font-family: var(--font-pixel); font-size: 12px; color: var(--ouro); margin: 30px 0 12px; line-height: 1.6; }
.legal p { font-size: 13.5px; color: var(--txt); line-height: 1.85; margin-bottom: 12px; }
.legal a { color: var(--ouro); text-decoration: underline; }
.legal code { font-family: var(--font-game); background: var(--face3); border: 1px solid var(--line); padding: 1px 5px; font-size: 12px; }
.legal-footer-links { justify-content: center; }

@media (max-width: 860px) {
  .nav-logo img { height: 36px; }
  .nav-cta { font-size: 10px; padding: 9px 10px; }
  .nav .wrap { gap: 8px; }
  .cookie-banner { padding: 8px; }
  .cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- menu: item ativo ---------- */
html { scroll-padding-top: 64px; }
.nav-links a { position: relative; padding: 8px 12px; border: 2px solid transparent; transition: color .15s, background .15s, border-color .15s; }
.nav-links a.active {
  color: var(--ouro);
  background: rgba(230, 185, 63, .1);
  border-color: var(--ouro);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .06), 0 3px 0 rgba(0, 0, 0, .4);
}
a.nav-logo { transition: filter .15s; }
a.nav-logo:hover { filter: brightness(1.15); }

@media (max-width: 860px) { .hero-coin { width: calc(var(--s, 40px) * .75); } }

.faq-item summary { outline: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--ouro); outline-offset: 6px; }

/* texto da hero um pouco mais claro pra ler bem em cima do gradiente azul */
.hero p.lead { color: #a9b9d2; }
.hero-stats span { color: #93a5c2; }

/* mobile: botoes nao podem estourar a largura do card (o white-space:nowrap do .btn
   fazia o "Entrar no Discord agora" passar da borda da .discord-box em telas estreitas) */
@media (max-width: 560px) {
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    font-size: 11px;
    padding: 13px 14px;
    line-height: 1.5;
  }
  .discord-box .btn { display: flex; width: 100%; }
  .discord-box .btn .inline-ico { flex: 0 0 auto; }
}

/* ---------- abas do card de lutador (Atributos / História / Genética) ---------- */
.market-item { max-width: 100%; width: 100%; }

.fighter-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 0;
}
.ftab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-pixel);
  font-size: 8.5px;
  letter-spacing: .5px;
  color: var(--txt2);
  background: var(--face2, #111a2b);
  border: 2px solid #05080e;
  border-bottom: none;
  border-top: 3px solid transparent;
  padding: 9px 4px;
  cursor: pointer;
  transition: color .1s, background .1s;
}
.ftab:hover { color: var(--creme); }
.ftab.is-active {
  color: var(--ouro);
  background: var(--face3);
  border-top-color: var(--ouro);
}
.ftab .inline-ico { width: 12px; height: 12px; }

.ftab-panels {
  background: var(--face3);
  border: 2px solid #05080e;
  padding: 14px 12px;
  min-height: 300px;
  overflow: visible;
  margin-bottom: 16px;
}
.ftab-panel { display: none; }
.ftab-panel.is-active { display: block; }

/* aba atributos */
.attr-row {
  border-left: 3px solid var(--line);
  padding: 0 0 0 9px;
  margin-bottom: 12px;
}
.attr-row:last-child { margin-bottom: 0; }
.attr-row.a-forca { border-left-color: #cf4a3e; }
.attr-row.a-folego { border-left-color: #e0556b; }
.attr-row.a-vel { border-left-color: var(--ouro); }
.attr-row.a-tec { border-left-color: #5aa9e6; }
.attr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.attr-name { font-family: var(--font-pixel); font-size: 10px; }
.a-forca .attr-name { color: #cf4a3e; }
.a-folego .attr-name { color: #e0556b; }
.a-vel .attr-name { color: var(--ouro); }
.a-tec .attr-name { color: #5aa9e6; }
.attr-val { font-family: var(--font-pixel); font-size: 12px; color: var(--creme); }
.attr-bar { height: 5px; background: #05080e; margin: 6px 0 5px; }
.attr-bar i { display: block; height: 100%; }
.a-forca .attr-bar i { background: #cf4a3e; }
.a-folego .attr-bar i { background: #e0556b; }
.a-vel .attr-bar i { background: var(--ouro); }
.a-tec .attr-bar i { background: #5aa9e6; }
.attr-desc { font-size: 10.5px; color: var(--txt2); line-height: 1.5; }

/* aba historia */
.story-focus {
  font-size: 10.5px; color: var(--txt2);
  background: #05080e; padding: 7px 9px; margin-bottom: 10px;
}
.story-focus b { font-family: var(--font-pixel); font-size: 8.5px; color: var(--ouro); margin-right: 5px; }
.story-lore {
  font-size: 11px; color: var(--txt2); font-style: italic; line-height: 1.7;
  border-left: 3px solid #cf4a3e; padding: 2px 0 2px 10px; margin: 0 0 12px;
}
.style-tri { border-left: 3px solid #5aa9e6; padding-left: 10px; }
.style-tri-t { display: block; font-family: var(--font-pixel); font-size: 8.5px; color: #5aa9e6; margin-bottom: 7px; line-height: 1.6; }
.style-active { font-size: 11px; color: var(--txt2); margin-bottom: 9px; }
.style-active b { color: var(--creme); }
.style-active small { font-size: 10px; }
.style-two { display: grid; gap: 7px; }
.style-good, .style-bad { padding: 7px 8px; font-size: 10.5px; line-height: 1.5; }
.style-good { background: rgba(79,179,124,.12); border: 1px solid rgba(79,179,124,.35); color: #9fd8b8; }
.style-bad { background: rgba(207,74,62,.12); border: 1px solid rgba(207,74,62,.35); color: #e8a49c; }
.style-good b, .style-bad b { display: block; font-family: var(--font-pixel); font-size: 8px; margin-bottom: 4px; }
.style-good b { color: var(--verde); }
.style-bad b { color: #cf4a3e; }

/* aba genetica */
.gene-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.gene-rank {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: #8b5cf6; border: 2px solid #05080e;
  font-family: var(--font-pixel); font-size: 18px; color: #fff;
}
.gene-name { display: block; font-family: var(--font-pixel); font-size: 12px; color: #b18cff; }
.gene-tier { display: block; font-family: var(--font-pixel); font-size: 8.5px; color: var(--ouro); margin-top: 4px; }
.gene-line { border-left: 3px solid #8b5cf6; padding-left: 9px; margin-bottom: 11px; }
.gene-line:last-child { margin-bottom: 0; }
.gene-line b { display: block; font-family: var(--font-pixel); font-size: 8px; color: var(--txt2); margin-bottom: 4px; }
.gene-line span { font-size: 11px; color: var(--creme); line-height: 1.6; }
.gene-line .gene-use { color: #b18cff; }

@media (max-width: 560px) {
  .ftab { font-size: 8px; padding: 9px 2px; }
  .ftab .inline-ico { display: none; }
  .ftab-panels { min-height: 0; }
}

/* video do gameplay dentro do modal */
.video-modal-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05080e;
}

/* ---------- redes sociais no menu ---------- */
.nav-social { display: inline-flex; align-items: center; gap: 4px; }
.nav-social a {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 2px solid var(--line);
  background: var(--face3);
  color: var(--txt2);
  transition: color .15s, background .15s, border-color .15s, transform .08s;
}
.nav-social a svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.nav-social a:hover {
  color: #241a04;
  background: var(--ouro);
  border-color: var(--ouro);
}
.nav-social a:active { transform: translateY(2px); }
.nav-social a:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; }

@media (max-width: 980px) {
  .nav-social { display: none; }
}

/* rodape tambem ganha as redes */
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.footer-social a { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--line); background: var(--face3); color: var(--txt2); transition: color .15s, background .15s, border-color .15s; }
.footer-social a svg { width: 14px; height: 14px; fill: currentColor; display: block; }
.footer-social a:hover { color: #241a04; background: var(--ouro); border-color: var(--ouro); }
