.game-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(24px + env(safe-area-inset-top)) clamp(20px, 4vw, 48px) calc(28px + env(safe-area-inset-bottom));
}

.game-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--cream);
  font-size: 23px;
  font-weight: 700;
}

.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  padding-block: clamp(32px, 6vw, 80px);
}

.game-intro h1 {
  color: var(--cream);
  font-size: clamp(44px, 6.4vw, 72px);
  line-height: 0.98;
  text-shadow: 0 5px 0 var(--ink);
}

.game-intro h1 span {
  display: block;
  color: var(--yellow);
}

.game-intro p {
  max-width: 370px;
  margin-top: 22px;
  color: var(--lilac);
  line-height: 1.5;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.game-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 22px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: 0 5px 0 var(--ink);
  color: var(--ink);
  font-size: 20px;
  text-align: center;
  text-decoration: none;
}

.game-join:hover {
  background: var(--cream);
}

.game-join:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink);
}

.game-intro .game-join-note {
  margin-top: 16px;
  font-size: 16px;
}

.game-art {
  display: grid;
  place-items: center;
  min-height: clamp(255px, 35vw, 392px);
  background: radial-gradient(ellipse at center, #554093 0 32%, #46317f 32.4% 48%, #38256d 48.4% 64%, transparent 64.4%);
}

.game-art .hero-cards {
  width: clamp(206px, 28vw, 316px);
  height: auto;
  aspect-ratio: 1.3;
}

.game-art .hero-card {
  width: 50%;
  height: 83%;
  border-width: 5px;
  border-radius: 22px;
  box-shadow: 0 11px 0 var(--ink);
}

.game-art .word {
  top: 4%;
  left: 4%;
  font-size: clamp(76px, 9vw, 106px);
}

.game-art .impostor {
  top: 9%;
  left: 46%;
}

.game-art img {
  width: 100%;
  height: auto;
}

.game-how {
  padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 40px);
  border: 2px solid var(--panel-line);
  border-radius: 32px;
  background: var(--panel);
}

.game-how h2 {
  color: var(--cream);
  font-size: clamp(30px, 4vw, 44px);
  text-align: center;
}

.game-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 60px);
  margin-top: 28px;
}

.game-preview {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.game-preview img {
  display: block;
  width: min(100%, 232px);
  height: auto;
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
}

.game-preview h3 {
  color: var(--yellow);
  font-size: 23px;
}

.game-preview p {
  max-width: 295px;
  margin-top: 5px;
  color: var(--lilac);
  line-height: 1.45;
}

.game-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding-top: 28px;
  font-size: 16px;
}

.game-footer p {
  margin-top: 12px;
  font-size: 15px;
  text-align: center;
}

@media (max-width: 650px) {
  .game-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 20px;
    text-align: center;
  }

  .game-art {
    grid-row: 1;
    min-height: 210px;
  }

  .game-intro p {
    margin-inline: auto;
  }

  .game-actions {
    justify-content: center;
  }
}

@media (max-width: 470px) {
  .game-previews {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
