:root {
  --azul-claro: #e3effc;
  --azul: #498ecf;
  --azul-escuro: #0051a2;
  --amarelo: #ffe600;
  --cinza: #f8f8fc;
  --branco: #fff;
  --borda: #e0e4ef;
  --vermelho: #e55763;
  --texto: #35343c;
  --destaque: #141d6d;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--azul-claro);
  color: var(--texto);
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--azul-claro);
  padding: 16px 0 0 0;
  border-bottom: 2px solid #d0ebff;
}

.logo-img {
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--amarelo);
  background: var(--branco);
}

.header-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--destaque);
  background: var(--amarelo);
  border-radius: 16px;
  padding: 0.1em 0.7em;
  margin-left: 0.5em;
  letter-spacing: 2px;
  box-shadow: 0 1px 6px #0001;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  background: var(--azul-claro);
  padding: 0.7em 0 0.5em 0;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
}

.menu-btn {
  background: none;
  border: none;
  color: var(--destaque);
  font-family: inherit;
  font-size: 1em;
  padding: 0.4em 1.4em;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
  transition: background 0.14s;
  text-decoration: none;
}

.menu-btn.active, .menu-btn:hover {
  background: var(--amarelo);
  color: var(--azul-escuro);
}

.slogan {
  font-family: 'Fredoka One', cursive;
  color: var(--destaque);
  font-size: 2.1rem;
  margin-bottom: 0.3em;
  text-align: center;
}

.sub-slogan {
  color: var(--azul);
  font-size: 1.2rem;
  margin-bottom: 1.5em;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.jogos-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 2em auto 2em auto;
  max-width: 900px;
  width: 95vw;
}

.jogos-mascote {
  width: 80px;
  height: auto;
  border-radius: 22px;
  background: none;
  display: block;
  box-shadow: 0 4px 16px #0001;
}

@media (max-width: 700px) {
  .jogos-banner { flex-direction: column; gap: 10px; }
  .jogos-mascote { width: 60px; }
}

/* Cards de jogos */
.jogos-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 2.5em;
}

.jogo-card {
  background: var(--branco);
  border-radius: 22px;
  width: 220px;
  min-width: 180px;
  padding: 1.2em 1em 1em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 14px #0001;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s, box-shadow 0.16s;
}

.jogo-card:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px #0002;
}

.jogo-img {
  width: 100%;
  max-width: 150px;
  border-radius: 16px;
  box-shadow: 0 2px 14px #0001;
  display: block;
  margin-bottom: 0.7em;
  background: var(--branco);
}

.jogo-title {
  font-family: 'Fredoka One', cursive;
  color: var(--azul-escuro);
  font-size: 1.1rem;
  margin-bottom: 0.2em;
  text-align: center;
}

.jogo-desc {
  color: var(--texto);
  font-size: 1rem;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 0.7em;
}

/* Puzzle cards */
.puzzles-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 2em auto 2em auto;
  max-width: 700px;
}
.puzzle-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px #0001;
  padding: 1em 1em 1.5em 1em;
  width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.puzzle-card a {
  color: #226b3a;
  font-family: 'Fredoka One', cursive;
  font-size: 1.08rem;
  text-decoration: none;
  text-align: center;
  margin-bottom: 0.5em;
  display: block;
  width: 100%;
}
.puzzle-card a:hover {
  color: #498ecf;
  text-decoration: underline;
}
.puzzle-card img {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin: 10px auto 0 auto;
  box-shadow: 0 2px 8px #0001;
  border: none;
}
@media (max-width: 700px) {
  .puzzles-section { flex-direction: column; align-items: center; gap: 16px; }
  .puzzle-card { width: 98vw; }
}

.footer {
  background: var(--azul-claro);
  color: var(--azul-escuro);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  padding: 1.2em 0 0.9em 0;
  margin-top: 2em;
  border-top: 2px solid #d0ebff;
  text-align: center;
}
