.game {
  padding: 8px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;

  position: relative;
}
.game::after {
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  border-radius: inherit;
  inset: 0;
  /* border: 5px solid; */
  padding: 5px;
  background: linear-gradient(45deg, #999999, var(--text-color));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.game img {
  width: 266px;
  height: 245px;
  /* filter: invert(1); */
}
.game p {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--main-font);
  color: var(--text-color);
}
