.page{
  padding:50px 0 70px;
}

.page h1{
  display:inline-block;
  font-size:clamp(2rem,4vw,3.8rem);
  background:var(--pink);
  color:var(--line);
  padding:12px 18px;
  border:4px solid var(--line);
  border-radius:18px;
  box-shadow:6px 6px 0 var(--line);
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:1px;
}

.page p{
  max-width:760px;
  font-size:1.1rem;
  color:#333;
  font-weight:600;
  margin-top:24px;
}

.games-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  margin-top:32px;
}

.game-card{
  min-height:190px;
  padding:24px;
  border:4px solid var(--line);
  border-radius:22px;
  box-shadow:6px 6px 0 var(--line);
  display:grid;
  align-content:space-between;
  color:var(--line);
  transition:.18s ease;
}

.game-card:hover{
  transform:translate(-4px,-4px);
  box-shadow:10px 10px 0 var(--line);
}

.game-card.yellow{background:#fffa85}
.game-card.pink{background:#ff9ff3}
.game-card.blue{background:#7ed6df}
.game-card.green{background:#badc58}

.game-card strong{
  font-size:1.5rem;
  font-weight:900;
  text-transform:uppercase;
}

.game-card span{
  font-size:1rem;
  color:#333;
  font-weight:800;
  line-height:1.35;
}

.game-card small{
  display:inline-block;
  width:max-content;
  padding:6px 10px;
  background:white;
  border:3px solid var(--line);
  border-radius:12px;
  font-weight:900;
  box-shadow:3px 3px 0 var(--line);
}

@media(max-width:992px){
  .games-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .games-grid{
    grid-template-columns:1fr;
  }
}
