/* ===== Reset e variáveis ===== */
:root {
  --accent: #1e90ff;
  --accent-dark: #0056b3;
  --accent-darker: #004494;
  --bg: #f0f8ff;
  --text: #111;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}

/* ===== Base ===== */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* ===== Header + Título ===== */
<style > :root {
  --accent: #1e90ff;
  --bg: #f0f8ff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: #111;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  width: 100%;
  background: #1e90ff;
  padding: 12px 20px;
  text-align: center;
}

.site-title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav a {
  background: #0056b3;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}

nav a:hover {
  background: #004494;
}

main {
  flex: 1;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
footer {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 12px;
  text-align: center;
}
</style>

/* ===== Conteúdo principal ===== */
main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== Grid dos jogos ===== */
.games-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* celular: 2 colunas */
}
@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  } /* tablet: 4 */
}
@media (min-width: 1200px) {
  .games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  } /* desktop: 6 */
}

/* ===== Cards ===== */
.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
  color: #fff; /* garante texto branco */
  text-decoration: none; /* remove sublinhado */
  font-weight: bold;
  font-size: 18px;
  min-height: 150px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.game-card * {
  color: inherit;
} /* ícone e texto herdam a cor */
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.game-icon {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 12px;
}

/* ===== Paleta de cores dos cards (c1..c20) ===== */
.c1 {
  background: #ff6b6b;
}
.c2 {
  background: #6bcb77;
}
.c3 {
  background: #4d96ff;
}
.c4 {
  background: #f7b32b;
}
.c5 {
  background: #9b59b6;
}
.c6 {
  background: #16a085;
}
.c7 {
  background: #e67e22;
}
.c8 {
  background: #2ecc71;
}
.c9 {
  background: #d35400;
}
.c10 {
  background: #2980b9;
}
.c11 {
  background: #8e44ad;
}
.c12 {
  background: #c0392b;
}
.c13 {
  background: #34495e;
}
.c14 {
  background: #e84393;
}
.c15 {
  background: #27ae60;
}
.c16 {
  background: #f39c12;
}
.c17 {
  background: #8e44ad;
}
.c18 {
  background: #e74c3c;
}
.c19 {
  background: #16a085;
}
.c20 {
  background: #2c3e50;
}

/* ===== Rodapé ===== */
footer {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 12px;
  text-align: center;
}
