*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #000;
  color: #fff;
  font-family: system-ui, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

.scatter {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.scatter__img {
  position: absolute;
  opacity: 0;
  transform: scale(1);
  transform-origin: center center;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(20%);
  will-change: opacity, transform;
}

.cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta__text {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}

.cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  font-size: clamp(1rem, 3vw, 1.25rem);
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta__arrow {
  display: inline-flex;
  color: #ffb020;
  animation: arrow-pulse 1.8s ease-in-out infinite;
}

@keyframes arrow-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

.cta__link:hover .cta__arrow,
.cta__link:focus-visible .cta__arrow {
  color: #000;
  animation: none;
  opacity: 1;
  transform: none;
}

.cta__link:hover,
.cta__link:focus-visible {
  background-color: #fff;
  color: #000;
}

.cta__reveal {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  min-height: 3.25rem;
  color: #ffb020;
  font-size: clamp(0.95rem, 2.5vw, 1.125rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.cta__reveal.is-visible {
  opacity: 1;
  visibility: visible;
}

.cta__reveal.is-typing::after {
  content: '|';
  margin-left: 1px;
  color: #ffb020;
  animation: cursor-blink 0.9s step-end infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scatter__img {
    transform: scale(1);
  }

  .cta__arrow {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .cta__reveal.is-typing::after {
    content: none;
  }
}
