:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

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

body {
  display: flex;
  justify-content: center;
  background: #211e22;
  overflow: hidden;
}

.landing {
  position: relative;
  isolation: isolate;
  width: min(100%, 470px);
  height: var(--viewport-height, 100dvh);
  min-height: 0;
  overflow: hidden;
  background: #302b30;
  color: #fff;
  text-align: center;
}

.background-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.14);
  filter: blur(18px);
  pointer-events: none;
}

.video-poster {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/background-poster.jpg") center / cover no-repeat;
  transform: scale(1.14);
  opacity: 1;
  transition: opacity .45s ease;
  pointer-events: none;
}

.landing.video-ready .video-poster { opacity: 0; }

.video-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(17, 13, 18, .24);
  pointer-events: none;
}

.screen-offer {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  cursor: pointer;
}

.app-header {
  position: absolute;
  top: clamp(36px, 9.84%, 86px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.app-icon { display: block; width: 75px; height: 75px; }

.app-header h1 {
  margin: 16px 0 0;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -.2px;
}

.small-install {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 85px;
  height: 29px;
  margin-top: 18px;
  padding: 3px 21px;
  border-radius: 25px;
  background: #507fef;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.alert {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(356px, calc(100% - 46px));
  height: 197px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(228, 228, 228, .8);
  box-shadow: 0 1px 1px rgba(255, 255, 255, .15) inset;
  -webkit-backdrop-filter: blur(21.3px);
  backdrop-filter: blur(21.3px);
  transform: translate(-50%, -50%);
  color: #000;
  pointer-events: none;
}

.alert-copy {
  flex: 0 0 136px;
  padding: 32px 12px 0;
}

.alert h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
}

.alert p {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}

html[lang="en"] #alert-description {
  max-width: 230px;
  margin-right: auto;
  margin-left: auto;
}

.alert-install {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(75, 75, 75, .12);
  color: #306bff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}

.screen-offer:focus-visible, .alert-install:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}

.age-note {
  position: absolute;
  right: 16px;
  bottom: clamp(20px, 5.49%, 48px);
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}

.age-icon { display: block; width: 42px; height: 42px; }

.age-note p {
  margin: 0;
  max-width: 294px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

@media (max-width: 350px) {
  .alert { width: calc(100% - 32px); }
  .alert p { font-size: 18px; }
  .age-note p { font-size: 14px; line-height: 20px; }
}

@media (max-height: 700px) {
  .app-header { top: clamp(30px, 7%, 48px); }
  .app-icon { width: 64px; height: 64px; }
  .app-header h1 { margin-top: 10px; font-size: 22px; }
  .small-install { height: 26px; margin-top: 13px; font-size: 14px; }
  .alert { height: 184px; }
  .alert-copy { flex-basis: 126px; padding-top: 27px; }
  .alert h2 { font-size: 22px; line-height: 27px; }
  .alert p { margin-top: 12px; font-size: 18px; line-height: 22px; }
  .alert-install { font-size: 20px; }
  .age-note { gap: 9px; bottom: 22px; }
  .age-icon { width: 36px; height: 36px; }
  .age-note p { font-size: 14px; line-height: 19px; }
}

@media (max-height: 590px) {
  .app-header { top: 24px; }
  .app-icon { width: 58px; height: 58px; }
  .app-header h1 { margin-top: 7px; font-size: 20px; }
  .small-install { margin-top: 10px; }
  .alert { height: 176px; top: 51%; }
  .alert-copy { flex-basis: 121px; padding-top: 24px; }
  .age-note { bottom: 15px; gap: 6px; }
  .age-icon { width: 32px; height: 32px; }
  .age-note p { font-size: 13px; line-height: 17px; }
}

.landing[data-fit="compact"] .alert-copy { padding-top: 26px; }
.landing[data-fit="compact"] .alert h2 { font-size: 22px; line-height: 27px; }
.landing[data-fit="compact"] .alert p { margin-top: 10px; font-size: 18px; line-height: 22px; }
.landing[data-fit="compact"] .age-note p { max-width: 330px; font-size: 14px; line-height: 19px; }

.landing[data-fit="tight"] .alert-copy { padding-top: 21px; }
.landing[data-fit="tight"] .alert h2 { font-size: 20px; line-height: 24px; }
.landing[data-fit="tight"] .alert p { margin-top: 8px; font-size: 16px; line-height: 20px; }
.landing[data-fit="tight"] .alert-install { font-size: 19px; }
.landing[data-fit="tight"] .age-note p { max-width: 330px; font-size: 12px; line-height: 17px; }
