/* Game discovery on the home page and the standalone games page. */
.games-preview,
.games-page {
  width: min(1080px, 100%);
  min-width: 0;
  text-align: left;
}

.games-preview {
  margin-top: 62px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.games-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}

.games-section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 450;
  letter-spacing: -1.2px;
}

.games-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #704494;
  font-size: 13px;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.games-preview-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5dceb;
  border-radius: 26px;
  background: #fffafc;
  scroll-margin-top: 100px;
}

.games-feature-link,
.games-feature {
  display: block;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #271e28;
}

.games-feature-link img,
.games-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 500;
  object-fit: contain;
}

.games-preview-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 10px 10px;
}

.games-publisher {
  margin: 0 0 11px;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 1.5px;
  color: #796789;
}

.games-preview-copy h3,
.games-preview-copy .games-title-row h2 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 550;
  letter-spacing: -.8px;
  line-height: 1.2;
}

.games-preview-copy > p:not(.games-publisher) {
  margin: 13px 0 19px;
  color: #716677;
  font-size: 14px;
  line-height: 1.7;
}

.games-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.games-preview-copy > .games-actions {
  margin-top: auto;
  padding-top: 3px;
}

.games-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 23px;
  padding: 0;
  list-style: none;
}

.games-tags li {
  padding: 6px 10px;
  border-radius: 8px;
  background: #f0eaf4;
  color: #685375;
  font-size: 12px;
  line-height: 1.5;
}

.games-catalog .games-title-row {
  align-items: center;
  margin-bottom: 0;
}

.games-catalog .games-icon {
  flex-basis: 54px;
  width: 54px;
  height: 54px;
}

.games-preview-copy > p.games-card-note {
  margin-top: 0;
  font-size: 12px;
}

.games-preview-copy .games-card-privacy {
  margin-top: 14px;
  color: #756a7d;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.games-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 13px 19px;
  border: 1px solid #785197;
  border-radius: 12px;
  background: #785197;
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
}

.games-button:hover {
  background: #664181;
  border-color: #664181;
}

.games-page {
  margin: 0 auto;
  padding: 42px 24px 84px;
  width: min(1200px, 100%);
}

.games-page-intro {
  margin-bottom: 38px;
}

.games-page-intro h1 {
  margin: 15px 0 16px;
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 450;
  line-height: 1.07;
  letter-spacing: -2.6px;
}

.games-page-intro > p:last-child {
  max-width: 570px;
  margin: 0;
  color: #756a7d;
  font-size: 17px;
  line-height: 1.75;
}

.games-hero {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 40px;
  align-items: center;
}

.games-hero .games-feature {
  border-radius: 22px;
  box-shadow: 0 15px 40px #49362415;
}

.games-title-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.games-icon {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 15px;
}

.games-title-row .games-publisher {
  margin-bottom: 8px;
}

.games-title-row h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 0;
}

.games-hero-copy > p {
  color: #716677;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 22px;
}

.games-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 52px 0 0;
  padding: 30px 0;
  border-block: 1px solid var(--line);
}

.games-facts dt {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -.4px;
  margin-bottom: 10px;
}

.games-facts dd {
  margin: 0;
  color: #756a7d;
  font-size: 14px;
  line-height: 1.75;
}

.games-look {
  margin-top: 64px;
}

.games-look > .games-publisher {
  margin-bottom: 0;
}

.games-look > p:not(.games-publisher) {
  max-width: 640px;
  margin: -10px 0 28px;
  color: #756a7d;
  font-size: 15px;
  line-height: 1.75;
}

.games-look h2 {
  margin: 12px 0 28px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 450;
  letter-spacing: -1.2px;
}

.games-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 740px;
  margin: 0 auto;
}

.games-screen {
  margin: 0;
  min-width: 0;
}

.games-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  border-radius: 18px;
}

.games-screen figcaption {
  padding-top: 16px;
  color: #756a7d;
  font-size: 13px;
  line-height: 1.7;
}

.games-screens-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
}

.games-screen figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: #45394d;
  font-size: 15px;
  font-weight: 550;
}

.games-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 64px;
  padding: 30px;
  border-radius: 20px;
  background: #eee8f3;
}

.games-closing h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.7px;
}

.games-closing p {
  margin: 0;
  color: #756a7d;
  font-size: 14px;
  line-height: 1.6;
}

.games-page-header [aria-current="page"] {
  color: #785197;
}

@media (max-width: 850px) {
  .games-hero { grid-template-columns: 1fr; gap: 30px; }
  .games-hero-copy { max-width: 650px; }
  .games-facts { gap: 22px; }
}

@media (max-width: 700px) {
  .games-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .games-preview { margin-top: 42px; padding-top: 28px; }
  .games-section-heading { align-items: start; gap: 12px; }
  .games-section-heading > .games-text-link { font-size: 12px; white-space: nowrap; }
  .games-preview-card { padding: 13px; border-radius: 21px; }
  .games-preview-copy { padding: 21px 7px 8px; }
  .games-preview-copy h3 { font-size: 24px; }
  .games-page { padding: 30px 20px 55px; }
  .games-page-intro { margin-bottom: 28px; }
  .games-page-intro h1 { letter-spacing: -1.6px; }
  .games-page-intro > p:last-child { font-size: 15px; }
  .games-title-row { align-items: start; }
  .games-icon { flex-basis: 54px; width: 54px; height: 54px; border-radius: 13px; }
  .games-facts { grid-template-columns: 1fr; gap: 23px; margin-top: 35px; padding: 25px 0; }
  .games-facts dt { margin-bottom: 5px; }
  .games-look { margin-top: 42px; }
  .games-screens { gap: 16px; }
  .games-screen img { border-radius: 11px; }
  .games-screen figcaption { padding-top: 12px; font-size: 12px; }
  .games-screen figcaption strong { font-size: 14px; }
  .games-closing { margin-top: 40px; padding: 24px; }
  .games-page-header nav { gap: 18px; }
  .games-page-header .nav-button { font-size: 12px; }
  .games-home-header nav { gap: 12px; }
}

@media (max-width: 420px) {
  .games-home-header { padding-inline: 18px; gap: 12px; }
  .games-home-header .wordmark { font-size: 24px; }
  .games-home-header nav { gap: 9px; }
  .games-home-header .launch-account { padding-inline: 9px; }
  .games-section-heading { display: block; }
  .games-section-heading > .games-text-link { margin-top: 4px; }
  .games-page-header { padding-inline: 20px; gap: 12px; }
  .games-page-header .wordmark { font-size: 24px; }
  .games-page-header nav { gap: 12px; }
  .games-screens { grid-template-columns: 1fr; gap: 30px; }
  .games-screen img { max-height: 580px; }
}
