.game-launch {
  position: fixed;
  inset: 0;
  isolation: isolate;
  z-index: 10000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  color: #e5f4fc;
  background-color: #0a1e2c;
  background-image: radial-gradient(ellipse at 50% 46%, #0a1e2c20, #0a1e2cd6 73%),
    linear-gradient(180deg, #0a1e2c56, #0a1e2c90 53%, #0a1e2cf2 100%),
    url('../assets/launch-landscape.webp');
  background-position: center, center, 68% center;
  background-size: cover;
  opacity: 1;
  transition: opacity .17s ease-out;
}
.game-launch[hidden] { display: none; }
.game-launch:has(> noscript > span) { display: none; }
.game-launch[data-launch='boot'] { animation: launch-limit 15s step-end both; }
.game-launch[data-launch='exiting'] { opacity: 0; pointer-events: none; }
.game-launch-content {
  width: min(100%, 46rem);
  display: grid;
  justify-items: center;
  gap: clamp(12px, 3.3vh, 25px);
  text-align: center;
}
.game-launch-emblem {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(104px, 32vw, 184px);
  width: clamp(96px, min(32vw, 28vh), 184px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #6fdfef32 3%, #3386d72c 51%, #3386d700 70%);
}
.game-launch-emblem::before, .game-launch-emblem::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 9%;
  border: 1px solid #7ee8fa66;
  border-radius: 50%;
}
.game-launch-emblem::after {
  inset: 0;
  border-color: #7ee8fa52;
  animation: launch-rain 2.4s ease-out infinite;
}
.game-launch-emblem img { display: block; width: 100%; height: auto; }
.game-launch-title {
  margin: 0;
  color: #70e5f1;
  font: 750 clamp(2rem, min(9vw, 11vh), 5rem)/1.06 system-ui, sans-serif;
  letter-spacing: .2em;
  text-indent: .2em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px #061624;
}
.game-launch-tagline {
  margin: .75rem 0 0;
  color: #daedf8;
  font: 650 clamp(.69rem, 2.6vw, .87rem)/1.3 system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.game-launch-track {
  position: relative;
  width: clamp(110px, 34vw, 165px);
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #8dc6e34f;
}
.game-launch-track::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3281e6, #70e5f1);
  animation: launch-flow 1.6s ease-in-out infinite;
}
.game-launch-status {
  margin: 0;
  font: 650 1rem/1.35 system-ui, sans-serif;
  color: #d6e9f4;
}
@keyframes launch-rain {
  from { opacity: .85; transform: scale(.84); }
  to { opacity: 0; transform: scale(1.16); }
}
@keyframes launch-flow {
  from { transform: translateX(-105%); }
  to { transform: translateX(335%); }
}
@keyframes launch-limit {
  to { visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .game-launch { transition: none; }
  .game-launch-emblem::after, .game-launch-track::after { animation: none; }
  .game-launch-track::after { left: 27%; }
}
@media (max-height: 410px) {
  .game-launch-content { gap: 10px; }
  .game-launch-status { font-size: .875rem; }
}
