/* ─────────────────────────────────────────
   ENTRY SCREEN
───────────────────────────────────────── */

.entry-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0E0F1C;
  position: relative;
  overflow: hidden;
}

/* ─────────────────────────────────────────
   AMBIENT BACKGROUND
───────────────────────────────────────── */

.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: orbFade 1.2s ease forwards;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(110, 34, 184, 0.45) 0%, transparent 70%);
  top: -120px;
  left: -80px;
  animation-delay: 0.2s;
}

.orb-2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(40, 109, 237, 0.35) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  animation-delay: 0.5s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  animation-delay: 0.8s;
}

@keyframes orbFade {
  to { opacity: 1; }
}

/* Subtle dot grid */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(110, 34, 184, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: gridFade 1.5s ease forwards;
  opacity: 0;
}

@keyframes gridFade {
  to { opacity: 1; }
}

/* ─────────────────────────────────────────
   STAGE
───────────────────────────────────────── */

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 10;
  text-align: center;
}

/* ─────────────────────────────────────────
   LOGO MARK
───────────────────────────────────────── */

.logomark {
  width: 72px;
  height: 72px;
  opacity: 0;
  animation: logoIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.logomark svg {
  width: 100%;
  height: 100%;
}

.orbit-ring {
  animation: spin 12s linear infinite;
  transform-origin: center;
}

.orbit-dot {
  animation: spin 12s linear infinite;
  transform-origin: 24px 24px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-15deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* ─────────────────────────────────────────
   WORDMARK
───────────────────────────────────────── */

.wordmark {
  display: flex;
  gap: 2px;
}

.letter {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 14vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: letterDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(0.55s + var(--i) * 0.07s);
  display: inline-block;
}

/* First letter in violet */
.letter:first-child {
  background: linear-gradient(135deg, #8B3FD9 0%, #6E22B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes letterDrop {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─────────────────────────────────────────
   TAGLINE
───────────────────────────────────────── */

.tagline {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -4px;
}

.tagline-word {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(0.875rem, 3vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  opacity: 0;
  animation: wordFade 0.5s ease forwards;
  animation-delay: calc(1s + var(--j) * 0.09s);
}

/* Last word accented */
.tagline-word:last-child {
  color: rgba(212, 175, 55, 0.7);
}

@keyframes wordFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────────
   HUNT STATUS
───────────────────────────────────────── */

.hunt-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  opacity: 0;
  animation: fadeIn 0.5s ease 1.6s forwards;
}

/* Override pulse dot for dark bg */
.hunt-status .pulse-dot {
  background: #6E22B8;
}

.hunt-status .pulse-dot::after {
  background: #6E22B8;
}

.hunt-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.12em;
  text-transform: lowercase;
  transition: opacity 0.2s ease;
}

/* ─────────────────────────────────────────
   PROGRESS BAR
───────────────────────────────────────── */

.progress-track {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 100;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6E22B8, #286DED, #D4AF37);
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 1px 1px 0;
  box-shadow: 0 0 8px rgba(110, 34, 184, 0.6);
}

/* ─────────────────────────────────────────
   MOBILE
───────────────────────────────────────── */

@media (max-width: 480px) {
  .orb-1 {
    width: 280px;
    height: 280px;
  }

  .orb-2 {
    width: 220px;
    height: 220px;
  }
}
