/* The game promotion is a slide inside the existing hero, not a second banner. */
.hero-main > .game-banner {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, #031120 0%, #031120ed 24%, #03112077 47%, transparent 69%),
    #031120 url('/assets/keybudur-oyun-banner-v1.webp') center / cover no-repeat;
  color: #fff;
}
.hero-main > .game-banner[hidden] { display: none; }
.hero-main.game-slide-active > .hero-copy { visibility: hidden; }
.game-banner__video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-banner::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #031120 0%, #031120ed 24%, #03112077 47%, transparent 69%); }

.hero-main.remote-slide-active > .hero-copy { visibility: hidden; }
.hero-main > .remote-banner {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: inherit;
  background: #061321 url('/assets/keybudur-uzakmasaustu-launch.webp') center / cover no-repeat;
  color: #fff;
}
.hero-main > .remote-banner[hidden] { display: none; }
.remote-banner__video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.remote-banner::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #061321 0%, #061321f0 27%, #061321bb 47%, #06132129 73%, transparent 100%); }
.remote-banner__copy { position: relative; z-index: 2; max-width: 640px; padding: 54px 56px 84px; }
.remote-banner__eyebrow { display: flex; align-items: center; gap: 11px; color: #ffd1b4; font-size: 11px; font-weight: 750; letter-spacing: 1.5px; }
.remote-banner__eyebrow::before { width: 23px; height: 2px; background: #f15a24; content: ''; }
.remote-banner h2 { margin: 20px 0 13px; font-family: Manrope, 'DM Sans', sans-serif; font-size: clamp(36px, 3.8vw, 54px); font-weight: 750; letter-spacing: -1.8px; line-height: 1.12; }
.remote-banner h2 span { color: #ff9a61; }
.remote-banner p { max-width: 420px; margin: 0 0 15px; color: #d4e1ee; font-size: 15px; line-height: 1.65; }
.remote-banner__status { display: inline-flex; align-items: center; min-height: 34px; margin-bottom: 18px; padding: 0 11px; border: 1px solid #c9def04d; border-radius: 999px; background: #0c2236d9; color: #dce9f6; font-size: 14px; font-weight: 650; }
.remote-banner__status::before { width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #ff9a61; content: ''; box-shadow: 0 0 9px #ff9a6188; }
.remote-banner__action { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border: 1px solid #ff9a61; border-radius: 9px; background: #f15a24; color: #fff; font-size: 14px; font-weight: 750; text-decoration: none; transition: background .2s, transform .2s; }
.remote-banner__action:hover { background: #d94e1d; transform: translateY(-2px); }
.remote-banner__action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.game-banner__copy { position: relative; z-index: 2; max-width: 620px; padding: 58px 60px 90px; }
.game-banner__eyebrow { display: flex; align-items: center; gap: 11px; color: #c0d2e6; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
.game-banner__eyebrow::before { width: 24px; height: 2px; background: #f36a38; content: ''; }
.game-banner h2 { margin: 22px 0 16px; font-family: Manrope, 'DM Sans', sans-serif; font-size: clamp(39px, 4.1vw, 56px); font-weight: 750; letter-spacing: -2px; line-height: 1.12; }
.game-banner h2 span { color: #b4d9ff; }
.game-banner p { margin: 0; color: #c0d0df; line-height: 1.7; }
.game-banner__platforms { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 25px; }
.game-banner__platforms span { padding: 6px 10px; border: 1px solid #a6c8e555; border-radius: 5px; background: #0c263da8; color: #e4f1ff; font-size: 10px; font-weight: 700; letter-spacing: .9px; }
.game-banner__action { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 51px; padding: 0 23px; border-radius: 10px; background: #f36a38; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.game-banner__action:hover { background: #d94f23; transform: translateY(-2px); }
.game-banner__action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.game-banner__action svg { width: 18px; height: 18px; }
.game-banner__play { display: inline-flex; align-items: center; min-height: 44px; margin-left: 12px; padding: 0 14px; border: 1px solid #c3ddf4a8; border-radius: 10px; background: #071a2dcc; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.game-banner__play[hidden] { display: none; }
.game-banner__play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hero-slide-controls {
  position: absolute;
  z-index: 5;
  bottom: 20px;
  left: 54px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid #c5d8eb4d;
  border-radius: 14px;
  background: #071626e8;
}
.hero-slide-controls button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #e1edf7;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.hero-slide-controls button:hover { background: #ffffff19; }
.hero-slide-controls button[aria-pressed='true'] { background: #f8ce89; color: #101c28; }
.hero-slide-controls button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

@media (max-width: 800px) {
  .hero-main > .game-banner { align-items: flex-start; background-image: linear-gradient(180deg, #031120 0%, #031120f2 39%, #03112077 66%, transparent 100%), url('/assets/keybudur-oyun-banner-v1.webp'); background-repeat: no-repeat; background-position: center, 100% bottom; background-size: 100% 100%, auto 70%; }
  .game-banner__video { inset: auto 0 0; height: 70%; object-position: right center; }
  .game-banner::after { background: linear-gradient(180deg, #031120 0%, #031120f2 39%, #03112077 66%, transparent 100%); }
  .game-banner__copy { max-width: 100%; padding: 38px 30px 280px; }
  .game-banner h2 { font-size: 43px; letter-spacing: -1.5px; }
  .hero-main > .remote-banner { align-items: flex-start; background-position: 68% center; }
  .remote-banner__video { inset: auto 0 0; height: 75%; object-position: right center; }
  .remote-banner::after { background: linear-gradient(180deg, #061321 0%, #061321f0 38%, #061321a8 67%, #06132120 100%); }
  .remote-banner__copy { max-width: 100%; padding: 38px 30px 210px; }
  .remote-banner h2 { font-size: 42px; letter-spacing: -1.4px; }
  .hero-slide-controls { bottom: 18px; left: 30px; }
}
@media (max-width: 600px) {
  .game-banner__copy { padding: 32px 24px 280px; }
  .game-banner__eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .game-banner h2 { margin: 17px 0 13px; font-size: 36px; letter-spacing: -1.2px; }
  .game-banner p { max-width: 290px; font-size: 12px; }
  .game-banner__platforms { margin: 15px 0 18px; }
  .game-banner__play { margin: 10px 0 0 8px; }
  .remote-banner__copy { padding: 28px 24px 170px; }
  .remote-banner__eyebrow { font-size: 9px; letter-spacing: 1.05px; }
  .remote-banner h2 { margin: 15px 0 11px; font-size: clamp(28px, 7.4vw, 36px); letter-spacing: -1.1px; }
  .remote-banner p { max-width: 290px; margin-bottom: 12px; font-size: 14px; }
  .remote-banner__status { min-height: 28px; margin-bottom: 13px; font-size: 11px; }
  .remote-banner__action { min-height: 43px; padding: 0 14px; font-size: 13px; }
  .hero-slide-controls { left: 24px; bottom: 15px; gap: 1px; padding: 3px; }
  .hero-slide-controls button { min-height: 39px; padding: 0 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .game-banner__action { transition: none; } }

/* Match the clarity, color and headline scale of the primary software hero. */
.hero-main > .game-banner {
  background: #031120 url('/assets/keybudur-oyun-banner-v1.webp') center / cover no-repeat;
}
.game-banner::after {
  background: linear-gradient(90deg, #031120 0%, #031120e8 28%, #03112082 49%, #03112012 72%, transparent 100%);
}
.game-banner__video,
.remote-banner__video {
  filter: saturate(1.28) contrast(1.07) brightness(1.04);
}
.game-banner__copy {
  max-width: 700px;
  padding: 58px 60px 92px;
}
.game-banner__eyebrow {
  color: #c0dcf7;
  font-size: 11px;
  letter-spacing: 1.55px;
}
.game-banner__eyebrow::before { background: #f15a24; }
.game-banner h2 {
  margin: 22px 0 16px;
  font-size: clamp(46px, 4.25vw, 62px);
  letter-spacing: -2.35px;
  line-height: 1.08;
}
.game-banner h2 span { color: #a9d7ff; }
.game-banner p {
  max-width: 430px;
  margin: 0 0 22px;
  color: #cfdeed;
  font-size: 15px;
  line-height: 1.72;
}
.game-banner__action {
  min-height: 54px;
  padding: 0 23px;
  border-radius: 10px;
  background: #f15a24;
  color: #fff;
  font-size: 14px;
}
.game-banner__action:hover { background: #dc4e1d; }
.game-banner__messages { margin-top: 10px; }
.game-banner__messages button[aria-pressed="true"]::after { background: #f15a24; }

.hero-main > .remote-banner {
  background-color: #061321;
  background-image:
    radial-gradient(ellipse at 82% 42%, #167be62a 0%, transparent 42%),
    url('/assets/keybudur-uzakmasaustu-launch.webp');
  background-position: center;
  background-size: cover;
}
.remote-banner::after {
  background: linear-gradient(90deg, #061321 0%, #061321e8 28%, #0613218b 49%, #06132112 74%, transparent 100%);
}
.remote-banner__copy { max-width: 700px; padding: 58px 60px 92px; }
.remote-banner__eyebrow { color: #c0dcf7; font-size: 11px; letter-spacing: 1.55px; }
.remote-banner__eyebrow::before { background: #f15a24; }
.remote-banner h2 {
  margin: 22px 0 16px;
  font-size: clamp(46px, 4.25vw, 62px);
  letter-spacing: -2.35px;
  line-height: 1.08;
}
.remote-banner h2 span { color: #a9d7ff; }
.remote-banner p { max-width: 430px; margin-bottom: 18px; font-size: 15px; line-height: 1.72; }
.remote-banner__action {
  min-height: 54px;
  padding: 0 23px;
  border-radius: 10px;
  border-color: #f15a24;
  background: #f15a24;
  color: #fff;
  font-size: 14px;
}
.remote-banner__action:hover { background: #dc4e1d; }

@media (max-width: 800px) {
  .hero-main > .game-banner {
    background-position: right bottom;
    background-size: auto 70%;
  }
  .game-banner::after {
    background: linear-gradient(180deg, #031120 0%, #031120f0 38%, #03112088 61%, #03112012 100%);
  }
  .game-banner__copy { padding: 36px 30px 210px; }
  .game-banner h2 { font-size: 43px; letter-spacing: -1.5px; }
  .game-banner p { max-width: 390px; font-size: 14px; }
  .remote-banner::after {
    background: linear-gradient(180deg, #061321 0%, #061321ed 38%, #06132187 63%, #06132110 100%);
  }
  .remote-banner__copy { padding: 36px 30px 185px; }
  .remote-banner h2 { font-size: 43px; letter-spacing: -1.5px; }
}
@media (max-width: 600px) {
  .game-banner__copy { padding: 28px 24px 165px; }
  .game-banner__eyebrow { font-size: 9px; letter-spacing: 1.05px; }
  .game-banner h2 { margin: 15px 0 12px; font-size: clamp(34px, 8vw, 40px); letter-spacing: -1.2px; }
  .game-banner p { max-width: 310px; margin-bottom: 15px; font-size: 15px; line-height: 1.6; }
  .game-banner__action { min-height: 44px; padding: 0 15px; font-size: 13px; }
  .game-banner__messages { margin-top: 7px; }
  .remote-banner__copy { padding: 27px 24px 150px; }
  .remote-banner__eyebrow { font-size: 9px; letter-spacing: 1.05px; }
  .remote-banner h2 { margin: 15px 0 11px; font-size: clamp(32px, 8vw, 39px); letter-spacing: -1.2px; }
  .remote-banner p { margin-bottom: 12px; font-size: 15px; line-height: 1.6; }
  .remote-banner__action { min-height: 44px; padding: 0 15px; font-size: 13px; }
}

.game-banner__eyebrow { color: #c0dcf7; font-size: 11px; }
.game-banner__eyebrow::before { background: #f15a24; }
.game-banner h2 { font-size: clamp(46px, 4.25vw, 62px); }
.game-banner h2 span { color: #a9d7ff; }
.game-banner__action { background: #f15a24; color: #fff; font-size: 14px; }
.game-banner__action:hover { background: #dc4e1d; color: #fff; }
.game-banner__messages { display: flex; gap: 5px; margin-top: 8px; }
.game-banner__messages button { width: 31px; height: 30px; padding: 0; border: 0; border-radius: 5px; background: transparent; cursor: pointer; }
.game-banner__messages button::after { display: block; width: 23px; height: 3px; margin: auto; border-radius: 3px; background: #92a5b8; content: ''; }
.game-banner__messages button[aria-pressed="true"]::after { background: #f15a24; }
.game-banner__messages button:focus-visible { outline: 2px solid #fff; }
@media (max-width: 600px) {
  .game-banner h2 { font-size: clamp(34px, 8vw, 40px); }
  .game-banner__action { min-height: 44px; padding: 0 14px; }
  .game-banner__play { margin: 6px 0 0 5px; }
}

.winter-snow {
  position: fixed;
  z-index: 40;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.winter-snow i {
  position: absolute;
  top: -8px;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #eef7ff;
  box-shadow: 0 0 4px #547ca988;
  animation: winter-snowfall var(--duration) var(--delay) linear both;
}

@keyframes winter-snowfall {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  14%, 72% { opacity: .68; }
  100% { opacity: 0; transform: translate3d(var(--drift), calc(100vh + 8px), 0); }
}

/* Keep the campaign controls out of the tab order until the opening ends. */
.game-banner--welcoming .game-banner__copy { visibility: hidden; opacity: 0; }
.game-banner:not(.game-banner--welcoming) .game-banner__copy { transition: opacity .3s ease-out; }

.winter-welcome {
  --gift-x: 67%;
  --gift-y: 48%;
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at var(--gift-x) 37%, #071522f7 5%, #071522c7 23%, transparent 66%);
  animation: winter-stage 2.45s both;
}
.winter-welcome__gift {
  position: absolute;
  left: var(--gift-x);
  top: var(--gift-y);
  width: clamp(105px, 19vw, 235px);
  aspect-ratio: 1.32;
  transform: translate(-50%, -50%);
  perspective: 500px;
}
.winter-welcome__box, .winter-welcome__lid {
  display: block;
  position: absolute;
  border: 1px solid #6992a3;
  box-shadow: inset 0 1px 6px #a4d9f15c, 0 6px 17px #0009;
  background: linear-gradient(90deg, transparent 41%, #bf873c 41%, #ffe2a6 50%, #a66c26 59%, transparent 59%), linear-gradient(145deg,#245777,#101f35 65%);
}
.winter-welcome__box { inset: 29% 5% 0; border-radius: 4px 4px 11px 11px; }
.winter-welcome__lid {
  inset: 18% 0 auto;
  height: 23%;
  border-radius: 6px;
  z-index: 1;
  transform-origin: center bottom;
  animation: winter-lid 2.45s both;
}
.winter-welcome__lid::before, .winter-welcome__lid::after {
  position: absolute;
  bottom: 98%;
  width: 23%;
  height: 92%;
  content: '';
  border: clamp(3px, .45vw, 7px) solid #e6b86b;
  border-radius: 90% 80% 12% 80%;
  right: 49%;
  transform: rotate(18deg);
}
.winter-welcome__lid::after { right: 25%; transform: scaleX(-1) rotate(18deg); }
.winter-welcome__glow, .winter-welcome i {
  position: absolute;
  left: var(--gift-x);
  top: calc(var(--gift-y) - 5%);
  opacity: 0;
}
.winter-welcome__glow {
  width: clamp(170px, 34vw, 460px);
  aspect-ratio: 1;
  background: radial-gradient(circle, #fff8d9e0, #f7ba5670 25%, transparent 65%);
  animation: winter-gift-glow 1.25s 1.03s ease-out both;
}
.winter-welcome i {
  color: var(--color);
  font-style: normal;
  animation: winter-gift-spark 1.15s var(--delay) ease-out both;
}
.winter-welcome__confetti { width: 5px; height: 10px; border-radius: 1px; background: var(--color); }
.winter-welcome__flake { font-size: 13px; }
.winter-welcome__dragon {
  position: fixed;
  z-index: 60;
  width: clamp(64px, 9vw, 136px);
  pointer-events: none;
  filter: drop-shadow(0 0 8px #e5ad6490);
  animation: winter-dragon-flight 1.75s ease-in-out both;
}
.winter-welcome__dragon svg { width: 100%; height: auto; display: block; }
.winter-welcome__dragon .dragon-wing-front, .winter-welcome__dragon .dragon-wing-back {
  transform-box: fill-box;
  transform-origin: right center;
  animation: winter-wing .25s ease-in-out infinite alternate;
}
.winter-welcome__dragon .dragon-wing-back { animation-direction: alternate-reverse; }

@keyframes winter-stage { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes winter-wing { from { transform: rotate(-14deg) scaleY(.8); } to { transform: rotate(14deg); } }
@keyframes winter-lid {
  0%, 39% { transform: translateY(0) rotate(0); }
  65%, 100% { transform: translateY(-225%) rotate(-20deg) rotateX(28deg); }
}
@keyframes winter-dragon-flight {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(.52); }
  55% { opacity: 1; transform: translate(calc(var(--flight-x) - 50%), calc(var(--flight-y) - 70%)) rotate(8deg); }
  100% { opacity: 0; transform: translate(calc(var(--flight-x) + 30%), calc(var(--flight-y) - 142%)) rotate(-15deg) scale(.7); }
}
@keyframes winter-gift-glow {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.24); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.32); }
}
@keyframes winter-gift-spark {
  0% { opacity: 0; transform: translate(0, 0) scale(.2); }
  14%, 40% { opacity: .95; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(195deg) scale(.55); }
}
@media (max-width: 800px) {
  .winter-welcome { --gift-x: 60%; --gift-y: 57%; }
}
@media (prefers-reduced-motion: reduce) {
  .winter-welcome, .winter-welcome__dragon, .winter-snow { display: none; }
  .game-banner:not(.game-banner--welcoming) .game-banner__copy { transition: none; }
}

/* Light on the artwork and quiet around the copy and controls. */
.banner-snow {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  container-type: size;
  background: radial-gradient(ellipse at 91% 0%, #b9e4ff30, transparent 38%);
  mask-image: linear-gradient(90deg, transparent 21%, #000 58%);
}
.banner-snow__flake {
  position: absolute;
  top: 0;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #edf9ff;
  box-shadow: 0 0 6px #a5d9ff85;
  animation: banner-snow-fall var(--duration) var(--delay) linear infinite;
}
.banner-snow__flake--near {
  color: #f1faff;
  background: transparent;
  box-shadow: none;
  font: normal var(--size)/1 system-ui, sans-serif;
  text-shadow: 0 0 8px #c3ecff;
}
.banner-snow--offscreen .banner-snow__flake { animation-play-state: paused; }
@keyframes banner-snow-fall {
  0% { opacity: 0; transform: translate3d(0, -16px, 0) rotate(-12deg); }
  13%, 71% { opacity: .74; }
  100% { opacity: 0; transform: translate3d(var(--drift), 100cqh, 0) rotate(37deg); }
}
@media (max-width: 800px) {
  .banner-snow { mask-image: linear-gradient(150deg, transparent 22%, #000 67%); }
}
@media (prefers-reduced-motion: reduce) {
  .banner-snow__flake { display: none; animation: none; }
}
