:root {
  --overlay-color: 41, 41, 41;
  --button-bg: #82876c;
  --button-bg-hover: #969c7d;
  --text-color: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-color);
  background: #292929;
}

.splash {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.splash__image,
.splash__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.splash__image {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.splash__overlay {
  z-index: -2;
  background: linear-gradient(
    to top,
    rgba(var(--overlay-color), 0.8) 0%,
    rgba(var(--overlay-color), 0.4) 100%
  );
}

.splash__content {
  position: relative;
  width: 100%;
  min-height: 100svh;
  text-align: center;
}

.splash__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(100%, 396px);
  height: auto;
  transform: translate(-50%, -50%);
}

.splash__bottom {
  position: absolute;
  right: 20px;
  bottom: max(2rem, env(safe-area-inset-bottom));
  left: 20px;
  display: flex;
  width: min(100vw - 40px, 520px);
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin: 0 auto;
}

.splash__button {
  display: inline-flex;
  min-width: min(100%, 274px);
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 7px;
  background: var(--button-bg);
  color: var(--text-color);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.splash__button:hover,
.splash__button:focus-visible {
  background: var(--button-bg-hover);
}

.splash__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.splash__button:active {
  transform: translateY(1px);
}

.splash__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-color);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.splash__footer a {
  color: inherit;
  text-decoration: none;
}

.splash__footer a:hover,
.splash__footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 620px) {
  .splash__content {
    width: 100%;
  }

  .splash__logo {
    width: min(100%, 324px);
  }

  .splash__button {
    min-width: min(100%, 250px);
    font-size: 14px;
  }

  .splash__footer {
    font-size: 13px;
  }
}

@media (max-height: 680px) {
  .splash__logo {
    width: min(74vw, 300px);
  }

  .splash__bottom {
    bottom: max(1rem, env(safe-area-inset-bottom));
    gap: 2rem;
  }

  .splash__button {
    min-height: 44px;
  }
}
