/* d11archer.com.br: visual do jogo (pixel, verde-escuro, ouro e ciano). Sem dependência externa. */
@font-face {
  font-family: 'Jersey 15';
  src: url('/fontes/jersey-15-latin-400-normal.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jersey 15';
  src: url('/fontes/jersey-15-latin-ext-400-normal.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --fundo: #0b120a;
  --fundo2: #111b0f;
  --cartao: #142112;
  --borda: #2d4326;
  --texto: #dfe9d8;
  --suave: #9fb397;
  --verde: #5ce68a;
  --ouro: #ffc93c;
  --ciano: #38e8ff;
  --perigo: #ff3d5a;
  --titulo: 'Jersey 15', 'Courier New', monospace;
  --largura: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #1d3317 0%, transparent 70%), var(--fundo);
  color: var(--texto);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.pixel { image-rendering: pixelated; }
a { color: var(--ciano); }
a:hover { color: #9ff4ff; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--titulo); font-weight: 400; line-height: 1.05; letter-spacing: .5px; margin: 0 0 .4em; }
h1 { font-size: clamp(44px, 7vw, 76px); color: var(--ouro); text-shadow: 4px 4px 0 #000; }
h2 { font-size: clamp(34px, 4.6vw, 50px); color: var(--verde); text-shadow: 3px 3px 0 #000; }
h3 { font-size: 30px; color: var(--ouro); text-shadow: 2px 2px 0 #000; }
p { margin: 0 0 1em; }
.suave { color: var(--suave); }
.centro { text-align: center; }

.largura { max-width: var(--largura); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
section + section { border-top: 2px solid #18241493; }

.pular { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--ouro); color: #111; padding: 8px 12px; }
.pular:focus { left: 8px; }

/* topo */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: rgba(9, 15, 8, .94);
  border-bottom: 2px solid var(--borda);
}
.topo .largura { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.marca { display: flex; align-items: center; flex: none; }
.marca img { height: 40px; width: auto; }
.menu { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-left: auto; font-family: var(--titulo); font-size: 24px; }
.menu a { color: var(--texto); text-decoration: none; padding: 2px 2px; border-bottom: 3px solid transparent; }
.menu a:hover { color: var(--ouro); }
.menu a[aria-current="page"] { color: var(--ouro); border-bottom-color: var(--ouro); }
.menu .jogar-menu { color: #111; background: var(--ouro); padding: 0 12px; box-shadow: 3px 3px 0 #000; border: 0; }
.menu .jogar-menu:hover { color: #111; background: #ffe08a; }

/* botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 400 30px/1 var(--titulo); letter-spacing: 1px; text-decoration: none; cursor: pointer;
  color: #111; background: var(--ouro); border: 3px solid #000; padding: 12px 28px;
  box-shadow: 5px 5px 0 #000; transition: transform .08s, box-shadow .08s;
}
.botao:hover { color: #111; background: #ffe08a; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 #000; }
.botao:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #000; }
.botao.secundario { background: var(--cartao); color: var(--texto); border-color: var(--borda); font-size: 24px; padding: 8px 18px; }
.botao.secundario:hover { background: #1c2e18; color: var(--ouro); }

/* palco do jogo */
.palco-sec { padding-top: 28px; }
.palco {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #000 center / cover no-repeat; border: 3px solid #000;
  box-shadow: 0 0 0 3px var(--borda), 10px 10px 0 #000;
  overflow: hidden;
}
.palco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.palco .capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.palco .chamada {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 12px; padding: 0 16px 7%; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 55%);
}
.palco .chamada .botao { font-size: clamp(30px, 4.5vw, 46px); padding: 14px 44px; }
.palco .chamada small { color: #e8f2e0; text-shadow: 1px 1px 0 #000; font-size: 15px; }
.sob-palco { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; margin-top: 18px; }
.selos { display: flex; flex-wrap: wrap; gap: 8px; }
.selo { font: 22px/1 var(--titulo); color: var(--verde); border: 2px solid var(--borda); background: var(--fundo2); padding: 6px 10px; }

/* cartões e grades */
.grade { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grade.tres { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cartao { background: var(--cartao); border: 2px solid var(--borda); box-shadow: 6px 6px 0 #000; padding: 18px; }
.cartao img { border: 2px solid #000; margin-bottom: 14px; }
.cartao h3 { margin-bottom: .2em; }
.cartao p:last-child { margin-bottom: 0; }
.numero { font: 26px/1 var(--titulo); color: var(--ciano); }

.mapa { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: center; margin-bottom: 40px; }
.mapa:nth-child(even) .foto { order: 2; }
.mapa .foto { position: relative; }
.mapa .foto > img { border: 3px solid #000; box-shadow: 8px 8px 0 #000; }
.mapa .retrato { position: absolute; right: -14px; bottom: -18px; width: 132px; background: var(--fundo2); border: 3px solid #000; box-shadow: 4px 4px 0 #000; }
.mapa .profundidade { font: 24px/1 var(--titulo); color: var(--suave); }

.desafio { text-align: center; background: linear-gradient(180deg, #1b2b14, #0f180d); border: 3px solid #000; box-shadow: 0 0 0 3px var(--borda), 8px 8px 0 #000; padding: 34px 20px; }
.desafio h2 { color: var(--ouro); }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; background: var(--cartao); border: 2px solid var(--borda); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #22331d; vertical-align: top; }
th { font: 24px/1.1 var(--titulo); color: var(--ouro); background: #19281580; }
td .nome { font: 24px/1 var(--titulo); color: var(--verde); }
kbd { font: 15px/1 ui-monospace, monospace; background: #22331d; border: 1px solid #3c5634; border-bottom-width: 3px; padding: 3px 7px; color: #fff; }

.texto { max-width: 820px; }
.texto h2 { margin-top: 1.2em; }
.texto ul, .texto ol { padding-left: 1.3em; }
.texto li { margin-bottom: .4em; }
.data { font: 24px/1 var(--titulo); color: var(--ciano); }
.nota { border-left: 4px solid var(--ouro); background: var(--fundo2); padding: 12px 16px; margin: 0 0 1.4em; }

/* rodapé */
.rodape { border-top: 2px solid var(--borda); background: #080d07; padding: 34px 0 40px; margin-top: 30px; color: var(--suave); font-size: 15px; }
.rodape .largura { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rodape a { color: var(--suave); }
.rodape a:hover { color: var(--ouro); }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .topo { position: static; }
  .topo .largura { flex-wrap: wrap; gap: 6px 14px; padding-top: 8px; padding-bottom: 8px; }
  .menu { margin-left: 0; font-size: 21px; }
  .mapa { grid-template-columns: 1fr; }
  .mapa:nth-child(even) .foto { order: 0; }
  .mapa .retrato { width: 96px; right: 8px; bottom: -14px; }
  section { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .botao { transition: none; } }
