:root {
  color-scheme: dark;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: #f3f2f8;
  background: #0c0818;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overscroll-behavior: none;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  isolation: isolate;
  overscroll-behavior: none;
}

.space-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.launch {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 3rem 1.5rem;
}

.launch-content {
  width: min(100%, 68rem);
  text-align: center;
}

.game-logo {
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 420;
  margin: 0;
  overflow: hidden;
}

/* Frame the artwork without the supplied PNG's transparent top and bottom padding. */
.game-logo img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.launch-date {
  margin: 1.75rem 0 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgb(0 0 0 / 70%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding:
    0
    max(2rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(2rem, env(safe-area-inset-left));
}

.studio-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  min-height: 44px;
  text-decoration: none;
}

.studio-link img {
  display: block;
  width: auto;
  height: 2.5rem;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d2cee0;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
}

.privacy-link:hover {
  color: #fff;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #8fbdff;
  outline-offset: 5px;
}

@media (max-width: 600px) {
  .launch {
    padding: 2rem 1.25rem;
  }

  .launch-date {
    margin-top: 1.25rem;
    font-size: 1rem;
  }

  .site-footer {
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    padding-left: max(1.25rem, env(safe-area-inset-left));
  }

  .studio-link img {
    height: 2.125rem;
  }
}

@media (max-height: 420px) {
  .launch {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .launch-content {
    max-width: 40rem;
  }

  .launch-date {
    margin-top: 0.75rem;
    font-size: 1rem;
  }
}
