.intro-screen {
  display: none;
}

.js .intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(189, 221, 46, .16), transparent 34%),
    linear-gradient(145deg, #043f20, #087c36 58%, #045a29);
  animation: intro-exit .7s ease 2.65s forwards;
}

.intro-glow {
  position: absolute;
  width: min(82vw, 650px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, .035),
    0 0 0 140px rgba(255, 255, 255, .02);
  animation: intro-glow 2.4s ease-in-out infinite alternate;
}

.intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(88vw, 430px);
}

.intro-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(68vw, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
  perspective: 1000px;
}

.intro-logo-wrap img {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  object-fit: contain;
  padding: 17px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 28, 12, .38);
  animation: logo-spin 2.15s cubic-bezier(.22, .76, .25, 1) both;
  backface-visibility: visible;
}

.intro-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, .24);
  border-top-color: #bddd2e;
  border-bottom-color: #bddd2e;
  border-radius: 50%;
  animation: ring-spin 2.4s linear infinite;
}

.intro-ring::before,
.intro-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bddd2e;
  box-shadow: 0 0 18px rgba(189, 221, 46, .9);
}

.intro-ring::before { top: 13%; left: 13%; }
.intro-ring::after { right: 13%; bottom: 13%; }

.intro-content p {
  margin: 25px 0 12px;
  color: #fff;
  font: 700 clamp(.7rem, 2.5vw, .86rem) "DM Sans", sans-serif;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  animation: intro-text .65s ease 1.35s forwards;
}

.intro-loader {
  width: 170px;
  height: 3px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, .18);
  opacity: 0;
  animation: intro-text .4s ease 1.55s forwards;
}

.intro-loader span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #bddd2e, #fff);
  transform: translateX(-100%);
  animation: intro-load 1s ease 1.6s forwards;
}

@keyframes logo-spin {
  0% { opacity: 0; transform: rotateY(-540deg) scale(.3); }
  65% { opacity: 1; transform: rotateY(20deg) scale(1.05); }
  100% { opacity: 1; transform: rotateY(0) scale(1); }
}

@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes intro-load { to { transform: translateX(0); } }
@keyframes intro-text { to { opacity: 1; transform: translateY(0); } }
@keyframes intro-glow { to { transform: scale(1.08); opacity: .72; } }

@keyframes intro-exit {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .intro-screen { animation-delay: 1s; }
  .intro-logo-wrap img { animation: intro-text .35s ease both; }
  .intro-ring { animation: none; }
}
