/* Cores e fonte do HUD do jogo (index.html do Dino Idle) */
@font-face { font-family: 'VT323'; src: url('/vt323.woff2') format('woff2'); font-display: swap; }

:root {
	--night: #0b0a08; --paper: #e7dcc4; --red: #a8382a; --moss: #5c7030;
	--ink: #e6d2bc; --dim: #a8927e; --amber: #e0a030; --line: #5a3a2c; --trough: #140c08;
	--paper-ink: #2f2a2e;
}

* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; color: var(--ink); font: 22px/1.35 'VT323', ui-monospace, Consolas, monospace; }
img, video { display: block; max-width: 100%; height: auto; image-rendering: pixelated; }
a { color: var(--amber); }
a:focus-visible, .botao:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* Topo: a arte da biblioteca da Steam de fundo, escurecida na esquerda pro texto ler */
.topo {
	position: relative; min-height: min(92vh, 760px); padding: 16px 16px 48px;
	display: flex; flex-direction: column; justify-content: center;
	background: linear-gradient(90deg, rgba(11,10,8,.94) 0%, rgba(11,10,8,.78) 38%, rgba(11,10,8,.1) 75%), url('/media/hero.webp') 62% center / cover no-repeat;
	border-bottom: 4px solid var(--line); image-rendering: pixelated;
}
.idiomas { position: absolute; top: 16px; right: 16px; display: flex; gap: 16px; font-size: 20px; }
.idiomas a { color: var(--ink); padding: 8px 0; }
.idiomas strong { color: var(--amber); font-weight: normal; padding: 8px 0; }
.topo-texto { width: 100%; max-width: 1100px; margin: 0 auto; }
.topo-texto > * { max-width: 480px; }
h1 { margin: 0 0 20px; }
h1 img { width: 100%; max-width: 250px; }
.topo-texto > .botoes { max-width: 640px; }
.selo { display: inline-block; margin: 0 0 16px; padding: 2px 10px; background: var(--red); color: var(--paper); text-transform: uppercase; letter-spacing: 1px; }
.introducao { margin: 0 0 24px; font-size: 24px; }
.introducao strong { font-weight: normal; color: var(--amber); }

/* Botão no molde dos botões de papel do HUD */
.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.botao {
	display: inline-block; padding: 10px 18px; min-height: 48px; font-size: 24px; text-decoration: none;
	background: var(--paper); color: var(--paper-ink); border: 3px solid var(--line); box-shadow: 0 4px 0 var(--trough);
}
.botao.steam { background: var(--amber); border-color: #7a4a12; }
.botao:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--trough); }

main { padding: 0 16px; }
.bloco { max-width: 860px; margin: 64px auto; }
.bloco.larga { max-width: 1100px; }
h2 { margin: 0 0 12px; font-size: 36px; line-height: 1.1; font-weight: normal; color: var(--amber); }
.bloco p { margin: 0 0 16px; }
.bloco ul { margin: 0 0 16px; padding: 0; list-style: none; }
.bloco li { padding: 8px 0 8px 22px; border-top: 2px dotted var(--line); position: relative; }
.bloco li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; background: var(--red); }
.clipe { width: 100%; height: auto; max-width: 860px; margin: 32px auto; border: 4px solid var(--line); background: var(--trough); }
.bloco .clipe { margin: 0 0 20px; }

.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.galeria a { border: 3px solid var(--line); }
.galeria a:hover { border-color: var(--amber); }

.fecho { text-align: center; }
.fecho .frase { font-size: 36px; color: var(--paper); margin-bottom: 12px; }
.fecho .botoes { justify-content: center; }

footer { margin-top: 80px; padding: 24px 16px 40px; border-top: 4px solid var(--line); text-align: center; color: var(--dim); font-size: 20px; }
footer p { margin: 0 0 8px; }
.miudo { font-size: 16px; }

@media (max-width: 700px) {
	/* No celular a arte sobe e o texto fica embaixo, senão o dino some atrás do texto */
	.topo { justify-content: flex-end; min-height: 0; padding-top: 46vw;
		background: linear-gradient(180deg, rgba(11,10,8,0) 0%, rgba(11,10,8,.9) 40vw, var(--night) 60vw), url('/media/hero-m.webp') 42% top / auto 56vw no-repeat; }
	h1 img { max-width: 180px; }
	h2 { font-size: 30px; }
	.botao { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .botao:hover { transform: none; } }
