.games--catalog {
  padding-bottom: 84px;
}

a.game-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(8, 67, 31, 0.16);
}

a.game-card:hover .play-btn {
  background: var(--ink);
  color: #fff;
}

a.game-card:hover .play-btn i {
  background: var(--green);
  color: var(--ink);
}

.play-btn {
  transition: background 0.25s ease, color 0.25s ease;
}

.play-btn i {
  transition: background 0.25s ease, color 0.25s ease;
}

/* ---------- Game detail page ---------- */

.game-page {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 53px 0 71px;
  border-bottom: 1px solid var(--line);
}

.game-page__image {
  flex: none;
  position: relative;
  width: 612px;
  height: 612px;
  margin-left: -16px;
  padding: 5px;
  background: var(--mint);
  border: 5px solid #fff;
  border-radius: 50px;
  box-shadow: 0 26px 60px rgba(7, 17, 11, 0.22);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.game-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 45px;
  display: block;
}

.game-page__content {
  flex: 1 0 0;
  min-width: 0;
  padding-top: 54px;
}

.game-page__title {
  max-width: 644px;
  font-weight: 700;
  font-size: 78px;
  line-height: 67.86px;
  letter-spacing: -6.24px;
  text-transform: uppercase;
  color: var(--ink);
}

.game-page__desc {
  margin-top: 50px;
  max-width: 644px;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink-3);
}

.game-page__cta {
  margin-top: 44px;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  width: 192px;
  color: inherit;
  text-decoration: none;
}

.game-page__cta span {
  display: block;
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(7, 17, 11, 0.55);
  font-weight: 700;
  font-size: 60px;
  line-height: 54px;
  letter-spacing: -4.2px;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.game-page__cta:hover span {
  color: var(--green-deep);
  border-bottom-color: var(--green-deep);
}

@media (max-width: 768px) {
  .game-page {
    flex-direction: column;
    gap: 32px;
    padding: 24px 0 32px;
  }

  .game-page__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-left: 0;
    border-radius: 38px;
    transform: rotate(-1.5deg);
  }

  .game-page__image img {
    border-radius: 33px;
  }

  .game-page__content {
    padding-top: 0;
    width: 100%;
  }

  .game-page__title {
    font-size: 58px;
    line-height: 52.2px;
    letter-spacing: -4.06px;
  }

  .game-page__desc {
    margin-top: 28px;
  }

  .game-page__cta {
    margin-top: 36px;
    width: auto;
  }

  .game-page__cta span {
    font-size: 48px;
    line-height: 42px;
    letter-spacing: -3.36px;
  }
}
