.gtg-home-section {
  --gtg-home-ink: #25201d;
  --gtg-home-muted: #62564d;
  --gtg-home-paper: #fffaf2;
  --gtg-home-yellow: #f6c53d;
  --gtg-home-accent: #d25b43;
  --gtg-home-shadow: rgba(37, 32, 29, .95);
  box-sizing: border-box;
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(2rem, 5vw, 4.5rem) auto;
  color: var(--gtg-home-ink);
}

.gtg-home-section,
.gtg-home-section * {
  box-sizing: border-box;
}

.gtg-home-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.gtg-home-section__copy {
  max-width: 760px;
}

.gtg-home-section__eyebrow {
  display: inline-flex;
  margin: 0 0 .45rem;
  padding: .28rem .62rem;
  border: 2px solid var(--gtg-home-ink);
  border-radius: 999px;
  background: var(--gtg-home-yellow);
  color: var(--gtg-home-ink);
  box-shadow: 2px 2px 0 var(--gtg-home-shadow);
  font-size: .78rem;
  font-weight: 950;
  line-height: 1;
}

.gtg-home-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.gtg-home-section__copy > p:not(.gtg-home-section__eyebrow) {
  margin: .55rem 0 0;
  color: var(--gtg-home-muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.35;
}

.gtg-home-section__button,
.gtg-home-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: .62rem .9rem;
  border: 2px solid var(--gtg-home-ink);
  border-radius: 999px;
  background: var(--gtg-home-accent);
  color: #fff !important;
  box-shadow: 3px 3px 0 var(--gtg-home-shadow);
  font-weight: 950;
  text-decoration: none !important;
}

.gtg-home-section__button:hover,
.gtg-home-product-card__button:hover {
  transform: translateY(-1px);
  box-shadow: 4px 4px 0 var(--gtg-home-shadow);
}

.gtg-home-product-grid,
.gtg-home-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.05rem;
}

.gtg-home-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--gtg-home-ink);
  border-radius: 24px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--gtg-home-shadow);
}

.gtg-home-product-card__badge {
  position: absolute;
  z-index: 2;
  top: .65rem;
  left: .65rem;
  display: inline-flex;
  max-width: calc(100% - 1.3rem);
  padding: .28rem .55rem;
  border: 2px solid var(--gtg-home-ink);
  border-radius: 999px;
  background: var(--gtg-home-yellow);
  color: var(--gtg-home-ink);
  box-shadow: 2px 2px 0 var(--gtg-home-shadow);
  font-size: .72rem;
  font-weight: 950;
  line-height: 1;
}

.gtg-home-product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: .55rem;
  background: #fff;
}

.gtg-home-product-card__image img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(31, 34, 38, .12));
}

.gtg-home-product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .55rem;
  padding: .9rem;
}

.gtg-home-product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.gtg-home-product-card h3 a {
  color: inherit;
  text-decoration: none !important;
}

.gtg-home-product-card p {
  margin: 0;
  color: var(--gtg-home-muted);
  font-size: .92rem;
  line-height: 1.35;
}

.gtg-home-product-card__footer {
  display: grid;
  gap: .6rem;
  margin-top: auto;
}

.gtg-home-product-card__price {
  color: var(--gtg-home-accent);
  font-size: 1.02rem;
  font-weight: 950;
}

.gtg-home-product-card__button {
  width: 100%;
  border-radius: 14px;
}

.gtg-home-section--library .gtg-games-grid {
  margin: 0;
}

.gtg-home-section--library .gtg-game-card {
  height: 100%;
}

@media (max-width: 720px) {
  .gtg-home-section {
    width: min(100% - 1rem, 1180px);
  }

  .gtg-home-section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .gtg-home-section__button {
    width: 100%;
  }
}
