/* Homepage game promotion. The existing brand and production sections stay separate. */
.game-promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 7.5vw, 116px);
  color: var(--ink, #182044);
  background: radial-gradient(ellipse at 85% 25%, #e7e0ff 0, transparent 44%), linear-gradient(125deg, #bdd4ff, #c4cafa 55%, #ded6f6);
  border-top: 1px solid #1820441f;
}
.game-promo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 40%;
  background: url("assets/contours.svg") center / cover;
  opacity: .16;
  pointer-events: none;
}
.game-promo-kicker { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid #1820442a; }
.game-promo-edition { font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.game-promo-main { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: clamp(28px, 4vw, 70px); padding-block: 42px 46px; }
.game-promo-copy { min-width: 0; }
.game-promo-copy h2 { max-width: 760px; font-size: clamp(44px, 6vw, 88px); line-height: .99; letter-spacing: -.055em; }
.game-promo-copy h2 span { display: block; color: #354bc5; }
.game-promo-copy > p { max-width: 550px; margin-top: 25px; font-size: 18px; line-height: 1.6; }
.game-promo-copy > p strong { font-weight: 700; }
.game-promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 29px; }
.game-promo-play { gap: 20px; min-height: 54px; padding: 14px 26px; background: #182044; color: #fff; border-radius: 7px; }
.game-promo-play:hover { color: #fff; background: #334dc0; }
.game-promo-actions .text-link { padding-block: 9px 3px; }
.game-promo-art { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1; justify-self: center; }
.game-promo-orbit { position: absolute; inset: 10% 3% 5%; border: 1px solid #fff8; border-radius: 50%; background: linear-gradient(135deg, #eff2ff9c, #f1e2ff30); transform: rotate(-17deg); box-shadow: 0 28px 65px #3448a31a, inset 0 0 80px #ffffff40; }
.jerry-runner-pose { display: block; aspect-ratio: 1; background-image: url("assets/jerry-runner-sprites-v1.png"); background-size: 400% 200%; background-position: 0 0; background-repeat: no-repeat; }
.game-promo-runner { position: absolute; z-index: 2; width: 100%; inset: 0; filter: drop-shadow(0 16px 13px #2822452b); }
.game-promo-track { position: absolute; left: 2%; right: -2%; bottom: 9%; height: 1px; background: #18204445; transform: rotate(-5deg); }
.game-promo-track::after { content: ""; position: absolute; left: 2%; top: 9px; width: 38%; border-top: 1px dashed #18204452; }
.game-promo-plus { position: absolute; z-index: 3; top: 7%; right: -2%; color: #334dc0; font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1; transform: rotate(9deg); }
.game-promo-art-note { position: absolute; z-index: 3; bottom: 0; right: 4%; font-size: 11px; font-weight: 700; letter-spacing: .13em; transform: rotate(-5deg); }
.game-promo-rewards { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: 32px; border-top: 1px solid #1820442a; }
.game-promo-reward-intro h3 { font-size: clamp(25px, 2.7vw, 39px); line-height: 1.07; letter-spacing: -.045em; }
.game-promo-reward-intro p { margin-top: 11px; font-size: 15px; line-height: 1.5; }
.game-promo-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.game-promo-prize { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 20px 10px 17px; border: 1px solid #18204435; border-radius: 12px; background: #f8f6ff58; }
.game-promo-place { font-size: 10px; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.game-promo-prize strong { font-size: clamp(39px, 4.1vw, 58px); line-height: 1.1; letter-spacing: -.065em; }
.game-promo-prize strong span { font-size: .55em; margin-left: 2px; }
.game-promo-prize-kind { font-size: 12px; }
.game-promo-prize-first { background: #182044; color: #f4f1ff; border-color: #182044; }
.game-promo-quarter { display: flex; align-items: flex-start; gap: 15px; padding-top: 25px; border-top: 1px solid #1820442a; font-size: 15px; line-height: 1.55; }
.game-promo-quarter-mark { flex: 0 0 27px; font-size: 30px; line-height: 1; }
.game-promo-quarter strong { font-weight: 700; }

/* Native modal; no display override, so a closed dialog stays hidden. */
.game-invite { position: fixed; width: min(600px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 26px 34px 23px; border: 1px solid #ffffffc9; border-radius: 22px; overflow: auto; overscroll-behavior: contain; color: #182044; background: radial-gradient(ellipse at 90% 0, #efe3ff, transparent 65%), linear-gradient(145deg, #c2d5ff, #d7d5fb); box-shadow: 0 25px 100px #10133366; }
.game-invite::backdrop { background: #111b40c9; backdrop-filter: blur(9px); }
.game-invite-close { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #18204435; border-radius: 50%; background: #ffffff80; }
.game-invite-close:hover { background: #fff; }
.game-invite-top { display: flex; align-items: center; gap: 16px; min-height: 75px; padding-right: 35px; margin-bottom: 13px; }
.game-invite-runner { flex: 0 0 80px; width: 80px; }
.game-invite-top .eyebrow { font-size: 11px; line-height: 1.55; }
.game-invite h2 { font-size: clamp(32px, 5vw, 46px); line-height: 1.01; letter-spacing: -.055em; }
.game-invite h2 span { color: #354bc5; }
.game-invite-description { margin-top: 15px; max-width: 430px; font-size: 16px; line-height: 1.5; }
.game-invite-month { margin-top: 23px; font-size: 13px; line-height: 1.45; font-weight: 700; }
.game-invite-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 11px 0 0; padding: 0; }
.game-invite-podium li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 12px; border: 1px solid #18204433; border-radius: 9px; background: #ffffff5c; }
.game-invite-podium li:first-child { background: #182044; color: #fff; border-color: #182044; }
.game-invite-podium span { font-size: 11px; }
.game-invite-podium strong { font-size: 30px; line-height: 1.05; letter-spacing: -.06em; }
.game-invite-quarter { margin-top: 15px; font-size: 13px; line-height: 1.5; }
.game-invite-play { width: 100%; margin-top: 24px; }
.game-invite-later { display: block; width: 100%; min-height: 44px; margin-top: 5px; padding: 9px; border: 0; background: transparent; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.game-invite-later:hover { color: #334dc0; }
.game-invite :focus-visible { outline: 3px solid #304ed5; outline-offset: 4px; }

@media (max-width: 1000px) {
  .game-promo-main { grid-template-columns: 1.15fr .85fr; gap: 20px; }
  .game-promo-copy h2 { font-size: clamp(42px, 6.2vw, 64px); }
  .game-promo-copy > p { font-size: 16px; }
  .game-promo-rewards { grid-template-columns: .85fr 1.15fr; gap: 28px; }
}
@media (max-width: 700px) {
  .game-promo-main { grid-template-columns: 1fr; gap: 18px; padding-block: 32px 34px; }
  .game-promo-copy h2 { max-width: 540px; font-size: clamp(39px, 10vw, 65px); }
  .game-promo-copy > p { max-width: 530px; margin-top: 22px; }
  .game-promo-art { width: min(78%, 300px); margin-top: 12px; }
  .game-promo-plus { right: -5%; }
  .game-promo-rewards { grid-template-columns: 1fr; gap: 23px; padding-block: 28px; }
  .game-promo-reward-intro h3 { font-size: 31px; }
  .game-promo-podium { gap: 9px; }
  .game-promo-prize strong { font-size: 48px; }
  .game-promo-quarter { font-size: 14px; }
}
@media (max-width: 400px) {
  .game-promo-kicker { gap: 12px; }
  .game-promo-kicker .eyebrow, .game-promo-edition { font-size: 9px; letter-spacing: .08em; }
  .game-promo-copy h2 { font-size: 39px; }
  .game-promo-actions { gap: 19px; }
  .game-promo-play { min-height: 50px; padding-inline: 19px; gap: 14px; }
  .game-promo-actions .text-link { font-size: 13px; }
  .game-promo-art { width: 82%; }
  .game-promo-reward-intro h3 { font-size: 27px; }
  .game-promo-reward-intro p { font-size: 14px; }
  .game-promo-prize { padding: 16px 5px 14px; }
  .game-promo-place { font-size: 9px; letter-spacing: .04em; }
  .game-promo-prize strong { font-size: 41px; }
  .game-promo-prize-kind { font-size: 11px; }
  .game-invite { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 19px 20px 15px; border-radius: 17px; }
  .game-invite-top { gap: 10px; padding-right: 29px; min-height: 65px; margin-bottom: 11px; }
  .game-invite-runner { flex-basis: 66px; width: 66px; }
  .game-invite-top .eyebrow { font-size: 9px; }
  .game-invite-close { top: 10px; right: 10px; }
  .game-invite h2 { font-size: 32px; }
  .game-invite-description { font-size: 14px; margin-top: 13px; }
  .game-invite-month { margin-top: 18px; font-size: 12px; }
  .game-invite-podium strong { font-size: 28px; }
  .game-invite-quarter { font-size: 12px; }
  .game-invite-play { margin-top: 20px; }
}
