.hero-with-game {
  container-type: inline-size;
  width: 100%;
  min-width: 0;
}

.hero-with-game .hero-offers {
  display: grid;
  gap: 20px;
}

.game-invite {
  justify-self: start;
  align-self: start;
  display: grid;
  grid-template: "fruit title" auto "fruit action" auto / auto 1fr;
  align-items: center;
  gap: 3px 12px;
  max-width: 100%;
  padding: 12px 18px;
  background: #68253e;
  color: #fff9df;
  border: 2px solid #482034;
  border-radius: 18px;
  box-shadow: 2px 4px 0 #482034;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform .18s ease, box-shadow .18s ease;
}

.game-invite strong {
  grid-area: title;
  font: 800 1.65rem/1.05 var(--font-heading);
  letter-spacing: -.04em;
}

.game-invite-action {
  grid-area: action;
  color: #fff0af;
  font-size: .85rem;
  line-height: 1.4;
  font-weight: 750;
}

.game-invite-fruit {
  grid-area: fruit;
  width: 43px;
  height: 24px;
  border: 3px solid #ffb331;
  border-top: 2px solid #fff1b7;
  border-radius: 2px 2px 28px 28px;
  background: repeating-conic-gradient(from 90deg at 50% 0, #fff1b7 0 4deg, #ff9331 4deg 36deg);
  transform: rotate(-16deg);
}

@container (min-width: 535px) {
  .hero-with-game .hero-offers {
    grid-template-columns: minmax(0, 1fr) minmax(170px, .57fr);
    padding-right: 20px;
    align-items: start;
  }

  .game-invite {
    grid-template: "fruit" auto "title" auto "action" auto / 1fr;
    justify-self: end;
    margin-top: 15px;
    padding: 16px 20px;
    transform: rotate(-4deg);
  }

  .game-invite-fruit { margin-bottom: 5px; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .game-invite:hover {
    transform: translateY(-3px);
    box-shadow: 2px 7px 0 #482034;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-invite { transition: none; }
}
