/* Estilo do blog (en e pt-br compartilham este arquivo): o jeitão do jogo, azul-céu, Fredoka,
   claro e escuro pelo tema do sistema, leitura confortável no celular. */
:root {
  --azul: #62c7ed;
  --azul-forte: #1a8cb8;
  --fundo: #f4fafd;
  --papel: #ffffff;
  --texto: #1f2d36;
  --suave: #5b6b76;
  --linha: #d5e6ee;
  --sombra: 0 4px 18px rgba(30, 90, 120, .12);
  --fonte: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --azul-forte: #7fd3f2;
    --fundo: #101a21;
    --papel: #18252e;
    --texto: #e8f1f6;
    --suave: #9fb2bd;
    --linha: #2b3d49;
    --sombra: 0 4px 18px rgba(0, 0, 0, .4);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 1.125rem/1.65 var(--fonte);
}
img { max-width: 100%; height: auto; }
a { color: var(--azul-forte); }

/* cabeçalho: ícone, link da lista e o botão pequeno de jogar */
.topo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .75rem 16px;
  background: var(--azul);
  color: #08323f;
}
.topo a { color: inherit; text-decoration: none; font-weight: 600; }
.topo .marca { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; }
.topo img { width: 40px; height: 40px; border-radius: 10px; }
.topo .jogar {
  margin-left: auto;
  padding: .35rem .9rem;
  font-size: 1rem;
  background: #fff;
  color: #0b4f66;
  box-shadow: none;
}

/* o corpo do post e das listas */
main, .post { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: .4em 0 .3em; font-weight: 700; }
h2 { font-size: 1.5rem; line-height: 1.3; margin: 1.8em 0 .4em; font-weight: 600; }
.post time, .data { color: var(--suave); font-size: .95rem; }
.apresenta { font-size: 1.2rem; color: var(--suave); }

.capa { display: block; width: 100%; border-radius: 18px; box-shadow: var(--sombra); margin: 0 0 1.2rem; }

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 1.4rem 0;
}
.galeria img { width: 100%; border-radius: 14px; box-shadow: var(--sombra); display: block; }

/* a fachada do vídeo: só entra o iframe do YouTube depois do clique */
.video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: var(--sombra);
  margin: 1.4rem 0;
}
.video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video::after {
  content: "\25B6";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 50%;
  background: rgba(98, 199, 237, .95);
  color: #08323f;
  font-size: 2rem;
}
.video:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* o botão de jogar */
.jogar {
  display: inline-block;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  background: var(--azul);
  color: #08323f;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: var(--sombra);
}
.jogar:hover, .jogar:focus-visible { filter: brightness(1.06); }
.destaque { text-align: center; margin: 1.6rem 0 2rem; }

.outros { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 2px solid var(--linha); }
.outros ul { padding-left: 1.2rem; }

.idiomas { font-size: .95rem; color: var(--suave); }
.topo .idiomas { color: inherit; }

/* a lista de posts da página do blog */
.cartoes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cartoes li {
  background: var(--papel);
  border-radius: 18px;
  box-shadow: var(--sombra);
  overflow: hidden;
}
.cartoes a { display: block; color: inherit; text-decoration: none; }
.cartoes img { display: block; width: 100%; }
.cartoes .texto { padding: 14px 18px 18px; }
.cartoes h2 { margin: .2em 0; font-size: 1.35rem; }
.cartoes p { margin: .3em 0 0; color: var(--suave); }

footer.rodape { max-width: 720px; margin: 0 auto; padding: 0 16px 32px; color: var(--suave); font-size: .9rem; }

@media (max-width: 480px) {
  body { font-size: 1.05rem; }
  h1 { font-size: 1.7rem; }
}

/* a foto em pé (o Lui de verdade): não ocupa a tela inteira */
.capa.retrato { max-width: 420px; margin-left: auto; margin-right: auto; }
/* o print do celular, em pé e estreito */
.capa.celular { max-width: 300px; margin-left: auto; margin-right: auto; }
.cartoes .data { display: block; }
