/* Prévia do Pacote Apoiador / Bolsa Brasil Survivors — composição fixa 1672×941 escalada inteira (padrão do jogo). */
@font-face { font-family: 'Press Start 2P'; src: url('../fonts/PressStart2P-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Press Start 2P'; src: url('../fonts/BSAcentos-Regular.ttf') format('truetype'); unicode-range: U+00C0-00C4, U+00C7-00CF, U+00D1-00D6, U+00D9-00DC; font-display: swap; }

:root {
  --navy: #0a1433; --navy2: #12214d; --navy3: #1c2f66; --ouro: #f4b81c; --ouro2: #ffd95a; --ouro3: #b5740a; --ouro4: #6b3f04;
  --creme: #fff3d2; --verde: #14a83f; --verde2: #0b6b2a; --azul: #2346a8; --pix: #32bcad; --vermelho: #d93a2b;
  --pixel: 'Press Start 2P', ui-monospace, Consolas, monospace; --texto: 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #05091a; color: var(--creme); font-family: var(--pixel); -webkit-font-smoothing: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
canvas.px { image-rendering: pixelated; image-rendering: crisp-edges; display: block; }

/* palco fixo: o jogo inteiro diminui junto, sem reposicionar nada */
.moldura { position: fixed; inset: 0; overflow: hidden; }
.palco { position: absolute; left: 50%; top: 50%; width: 1672px; height: 941px; transform: translate(-50%, -50%); transform-origin: 50% 50%; overflow: hidden; background: var(--navy); }

/* placa navy com borda dourada e rebites (mesma linguagem do banner aprovado) */
.placa {
  position: relative; background: linear-gradient(180deg, #172a63 0%, #0d1a44 55%, #0a1433 100%);
  border: 5px solid var(--ouro); border-radius: 18px;
  box-shadow: inset 0 0 0 3px var(--ouro4), inset 0 0 0 7px #1b2d66, inset 0 10px 24px rgba(120, 160, 255, .18), 0 0 0 3px #3a2203, 0 8px 0 #050a1c, 0 0 36px rgba(255, 190, 40, .28);
}
.rebite { position: absolute; width: 16px; height: 16px; border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at 35% 35%, #fff3b0, #e0a020 55%, #7a4a06); box-shadow: 0 0 0 2px #3a2203, 0 2px 0 2px rgba(0, 0, 0, .35); }
.rebite.a { top: 9px; left: 9px; } .rebite.b { top: 9px; right: 9px; } .rebite.c { bottom: 9px; left: 9px; } .rebite.d { bottom: 9px; right: 9px; }

.btn-ouro {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(180deg, #fff1a6 0%, #ffd23c 22%, #f4b01a 60%, #d48a0c 100%); color: #0b1638;
  border: 5px solid #fff0a0; border-radius: 16px; text-shadow: 0 2px 0 rgba(255, 255, 255, .45);
  box-shadow: inset 0 -6px 0 rgba(120, 60, 0, .35), inset 0 4px 0 rgba(255, 255, 255, .5), 0 0 0 4px #9a5c06, 0 0 0 7px #2a1802, 0 9px 0 #1a0f02, 0 0 40px rgba(255, 200, 40, .45);
  transition: transform .08s, filter .15s;
}
.btn-ouro:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ouro:active { transform: translateY(4px); box-shadow: inset 0 -3px 0 rgba(120, 60, 0, .35), 0 0 0 4px #9a5c06, 0 0 0 7px #2a1802, 0 3px 0 #1a0f02; }
.btn-ouro:focus-visible, .btn-navy:focus-visible, .aba:focus-visible { outline: 4px solid #fff; outline-offset: 6px; }
.btn-ouro .seta { font-size: 1.1em; }
.btn-navy {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; min-height: 52px;
  background: linear-gradient(180deg, #23397a, #13224f); border: 3px solid var(--ouro); border-radius: 12px; color: var(--creme); font-size: 15px;
  box-shadow: 0 0 0 3px #2a1802, 0 5px 0 #050a1c;
}
.btn-navy:hover { filter: brightness(1.15); }

.brilho { position: absolute; width: 22px; height: 22px; pointer-events: none; background:
  linear-gradient(90deg, transparent 45%, #fff 45% 55%, transparent 55%), linear-gradient(0deg, transparent 45%, #fff 45% 55%, transparent 55%);
  filter: drop-shadow(0 0 6px #ffe680); animation: pisca 1.6s steps(4) infinite; }
@keyframes pisca { 0%, 100% { transform: scale(.4); opacity: .4; } 50% { transform: scale(1); opacity: 1; } }

/* item de lançamento (ícone + rótulo) */
.item { position: relative; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 12px; }
.item .quadro {
  position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px;
  background: radial-gradient(circle at 50% 40%, #2a4590 0%, #13224f 60%, #0a1433 100%); border: 4px solid var(--ouro);
  box-shadow: inset 0 0 0 3px #5a3404, 0 0 0 3px #2a1802, 0 6px 0 #050a1c;
}
.item .quadro canvas { width: 78%; height: 78%; object-fit: contain; image-rendering: pixelated; }
.item .rot { font-size: 15px; color: #fff; text-shadow: 0 3px 0 #000; letter-spacing: 1px; }

.reduz-mov * { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .brilho, .pulsa { animation: none !important; } }
