/* GAMES — introdução e galeria do Protocol Nightmare. */
.games-page main {
  background: var(--color-section);
}

.games-intro-section,
.game-showcase-section {
  background: var(--color-section);
}

.games-steam-btn {
  position: relative;
  min-width: 190px;
  border-color: rgba(255, 255, 255, .76);
  background: rgba(0, 0, 0, .18);
  color: var(--color-white);
  font-size: var(--font-size-body);
}

.games-steam-btn span {
  position: absolute;
  top: 7px;
  right: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: var(--font-size-small);
}

.games-intro-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.games-intro-copy .section-title {
  margin-bottom: var(--space-4);
}

.games-intro-copy .section-text {
  margin: 0 auto var(--space-4);
}

.games-intro-copy .section-text:last-child {
  margin-bottom: 0;
}

.games-red-divider {
  margin: var(--section-divider-margin) auto 0;
}

.game-showcase-head {
  margin-bottom: var(--space-6);
}

.game-showcase-head .section-title {
  margin-bottom: var(--space-4);
}

.game-showcase-head .games-steam-btn {
  min-width: 134px;
  padding: 10px 18px;
  font-size: var(--font-size-small);
}

.gallery-main {
  height: 585px;
  overflow: hidden;
  border-radius: 1px;
  background: var(--color-card);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  margin-top: var(--space-1);
}

.gallery-thumb {
  position: relative;
  height: 126px;
  overflow: hidden;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #080808;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, opacity .25s ease;
}

.gallery-thumb:hover img {
  opacity: .92;
  transform: scale(1.04);
}

.gallery-thumb.active {
  border-color: var(--color-red-bright);
  box-shadow: 0 0 0 1px rgba(155, 21, 21, .65);
}

@media (max-width: 767.98px) {
  .gallery-main {
    height: 320px;
  }

  .gallery-thumb {
    height: 82px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
