body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(24px);
  transform: scale(1.08);
  transition: opacity 1.2s ease-in, filter 1.2s ease-out, transform 1.2s ease-out;
}
.bg.ready { opacity: 1; }
.entered .bg { filter: blur(0); transform: scale(1); }

.gate {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  cursor: pointer;
  z-index: 5;
  transition: opacity .5s ease-out;
  animation: pulse 2.4s ease-in-out infinite;
}
.entered .gate {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
@keyframes pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1;   }
}

main {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease-in;
}
.entered main { opacity: 1; pointer-events: auto; }

.btn {
  min-width: 240px;
  padding: 14px 28px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s;
}
.btn:hover { transform: translateY(-1px); }

#loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(8, 12, 20, .62);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .22s ease-out;
  pointer-events: none;
}
#loader.show { opacity: 1; }
#loader span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  animation: wave 1.1s ease-in-out infinite;
}
#loader span:nth-child(2) { animation-delay: .16s; }
#loader span:nth-child(3) { animation-delay: .32s; }
@keyframes wave {
  0%, 60%, 100% { transform: translateY(0); }
  30%          { transform: translateY(-14px); }
}
