:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #050505;
  color: #f5f5f5;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #050505; }
body { min-height: 100vh; margin: 0; background: #050505; }
a { color: inherit; }

.site-header {
  border-bottom: 1px solid #292929;
  background: #090909;
}

.site-header__inner {
  width: min(100%, 1120px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav,
.site-footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.site-footer a {
  color: #d7d7d7;
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #d9bd72;
}

.site-main { overflow: hidden; }

.brand-intro {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 36px 24px 30px;
  text-align: center;
}

.brand-image {
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin: 0 auto;
}

.brand-intro h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-intro p {
  margin: 12px 0 0;
  color: #f2f2f2;
  font-size: 24px;
  line-height: 1.35;
}

.game-section {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 40px 72px;
}

#unity-container,
#unity-container.unity-desktop,
#unity-container.unity-mobile {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: auto;
  margin: 0 auto;
  background: #231f20;
  border: 1px solid #363636;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

#unity-canvas,
.unity-mobile #unity-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  background: #231f20;
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  display: none;
}

#unity-logo {
  width: 154px;
  height: 130px;
  background: url('unity-logo-dark.png') no-repeat center;
}

#unity-progress-bar-empty {
  width: 141px;
  height: 18px;
  margin-top: 10px;
  margin-left: 6.5px;
  background: url('progress-bar-empty-dark.png') no-repeat center;
}

#unity-progress-bar-full {
  width: 0%;
  height: 18px;
  margin-top: 10px;
  background: url('progress-bar-full-dark.png') no-repeat center;
}

#unity-footer {
  position: relative;
  height: 38px;
  background: #0d0d0d;
  border-top: 1px solid #292929;
}

#unity-logo-title-footer {
  float: left;
  width: 102px;
  height: 38px;
  margin-left: 8px;
  background: url('unity-logo-title-footer.png') no-repeat center;
  filter: invert(1);
  opacity: 0.72;
}

#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  color: #f5f5f5;
  font-size: 16px;
}

#unity-fullscreen-button {
  cursor: pointer;
  float: right;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center;
}

#unity-warning {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 5%;
  max-width: calc(100% - 32px);
  transform: translateX(-50%);
  background: #fff;
  color: #111;
  padding: 10px;
  display: none;
}

.site-footer {
  border-top: 1px solid #292929;
  background: #090909;
}

.site-footer__inner {
  width: min(100%, 1120px);
  min-height: 72px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  color: #8e8e8e;
  font-size: 13px;
}

@media (max-width: 700px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .site-nav,
  .site-footer__links {
    width: 100%;
    justify-content: space-between;
  }

  .brand-intro { padding-top: 24px; }
  .brand-intro p { font-size: 20px; }

  .game-section {
    padding-right: 12px;
    padding-left: 12px;
    padding-bottom: 48px;
  }

  #unity-logo-title-footer { display: none; }
}
