/* Permanent animated treatment for the game section. */
.game-promo {
  position: relative;
  isolation: isolate;
  contain: paint;
  --promo-frame-inset: clamp(10px, 1.7vw, 26px);
}

.game-promo::before {
  position: absolute;
  z-index: 3;
  inset: var(--promo-frame-inset);
  pointer-events: none;
  content: '';
  border: 1px solid rgba(218, 174, 103, .24);
  border-radius: 3px;
}

.game-promo > * {
  position: relative;
  z-index: 1;
}

.game-promo .promo-gold-flow {
  position: absolute;
  z-index: 4;
  top: var(--promo-frame-inset);
  left: var(--promo-frame-inset);
  width: calc(100% - var(--promo-frame-inset) - var(--promo-frame-inset));
  height: calc(100% - var(--promo-frame-inset) - var(--promo-frame-inset));
  overflow: visible;
  pointer-events: none;
}


.game-promo .game-copy h2 {
  color: #f0e5d6;
  text-shadow: 0 0 0 rgba(236, 194, 123, 0);
  animation: eos-title-lustre 4s ease-in-out infinite;
}

.game-promo .section-mark {
  color: #d9b37c;
}

.game-promo .game-copy .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #765238;
  color: #fff6e7;
  border-color: #d0a56c;
  box-shadow: inset 0 0 0 1px rgba(255, 232, 188, .12), 0 8px 24px rgba(11, 9, 6, .22);
}

.game-promo .game-copy .button::after {
  position: absolute;
  z-index: -1;
  top: -70%;
  bottom: -70%;
  left: -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 239, 202, .42), transparent);
  content: '';
  opacity: 0;
  transform: skewX(-18deg);
}

.game-promo .game-copy .button:hover,
.game-promo .game-copy .button:focus-visible {
  background: #865f41;
  border-color: #eccb8d;
  box-shadow: inset 0 0 0 1px rgba(255, 235, 194, .2), 0 10px 30px rgba(13, 9, 5, .3), 0 0 18px rgba(218, 170, 94, .18);
}

.game-promo .game-copy .button:hover::after,
.game-promo .game-copy .button:focus-visible::after {
  opacity: 1;
  animation: eos-button-sheen .85s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes eos-title-lustre {
  0%, 100% {
    color: #f0e5d6;
    text-shadow: 0 0 2px rgba(236, 194, 123, .08);
  }
  46%, 54% {
    color: #fff2dc;
    text-shadow: 0 0 10px rgba(255, 222, 157, .62), 0 0 28px rgba(224, 171, 91, .38);
  }
}

@keyframes eos-button-sheen {
  from { opacity: 0; transform: translateX(0) skewX(-18deg); }
  18% { opacity: 1; }
  to { opacity: 0; transform: translateX(520%) skewX(-18deg); }
}


@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
  body .game-promo {
    width: 100%;
    height: calc(100svh - 72px) !important;
    min-height: calc(100svh - 72px) !important;
    max-height: calc(100svh - 72px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
  }

  body .game-promo .game-visual {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch;
  }

  body .game-promo .game-copy {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    padding: clamp(36px, 7.5vh, 76px) 7vw;
    overflow: hidden;
  }

  body .game-promo .game-copy h2 {
    font-size: clamp(46px, 6vw, 82px);
  }

  body .game-promo .game-copy p:not(.section-mark) {
    margin-bottom: clamp(20px, 4vh, 34px);
  }
}

@media (min-width: 768px) and (min-aspect-ratio: 1/1) and (max-height: 620px) {
  body .game-promo .game-copy {
    padding-block: 28px;
  }

  body .game-promo .game-copy h2 {
    margin-block: 8px 14px;
    font-size: clamp(40px, 7.5vh, 58px);
  }

  body .game-promo .game-copy p:not(.section-mark) {
    margin: 0 0 16px;
    font-size: 15px;
  }

  body .game-promo .game-copy .button {
    padding-block: 10px;
  }
}

@media (max-width: 767px) {
  .game-promo {
    --promo-frame-inset: 8px;
  }

  .game-promo::before {
    inset: var(--promo-frame-inset);
  }

}

@media (prefers-reduced-motion: reduce) {
  .game-promo::before,
  .game-promo .game-copy h2,
  .game-promo .game-copy .button::after {
    animation: none;
  }
}
