:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #07070b;
}

body {
  overflow: hidden;
}

.hero,
.slideshow,
.slide,
.shade {
  position: fixed;
  inset: 0;
}

.hero {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.slideshow {
  z-index: -3;
}

.slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 2s ease-in-out, transform 8s ease-out;
  will-change: opacity, transform;
}

.slide--active {
  opacity: 1;
  transform: scale(1);
}

.shade {
  z-index: -2;
  background:
    radial-gradient(circle at center, transparent 0 12%, rgba(4, 5, 10, 0.2) 55%, rgba(3, 4, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 7, 14, 0.12), rgba(5, 7, 14, 0.28));
}

.download-button {
  position: absolute;
  bottom: max(clamp(46px, 9vh, 92px), env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: clamp(230px, 24vw, 340px);
  min-height: clamp(76px, 9vw, 104px);
  padding: 20px 38px;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 750;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 20px;
  box-shadow: 0 0 28px rgba(91, 126, 255, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.download-button::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(177, 201, 255, 0.28);
  border-radius: 26px;
}

.download-button svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.06);
  background: transparent !important;
  box-shadow: 0 0 34px rgba(91, 126, 255, 0.34);
  outline: none;
}

.download-button:active {
  transform: translateY(-1px) scale(0.99);
}

@media (max-width: 600px) {
  .slide {
    background-position: 55% center;
  }

  .download-button {
    bottom: max(38px, env(safe-area-inset-bottom));
    width: min(78vw, 310px);
    min-width: 0;
    min-height: 76px;
    border-radius: 17px;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .download-button {
    bottom: max(18px, env(safe-area-inset-bottom));
    min-height: 64px;
    padding-block: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transform: none;
    transition-duration: 0.7s;
  }

  .download-button {
    transition: none;
  }
}
