/* ============================================================
   EYES ONLY - Welcome Back Screen
   Matches onboarding / character creation terminal aesthetic.
   ============================================================ */

.wb-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  z-index: 5000;
  animation: wb-fade-in 0.4s ease-out;
  font-family: 'Courier New', monospace;
  padding: 2rem 1rem;
}

@keyframes wb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.wb-overlay.wb-fade-out {
  animation: wb-fade-out 0.4s ease-in forwards;
}

@keyframes wb-fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-20px); }
}

/* ---- Subtitle ---- */

.wb-subtitle {
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  color: #555;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1em;
  animation: wb-el-in 0.4s ease-out 0.1s both;
}

/* ---- Identity ---- */

.wb-identity {
  font-size: clamp(1.6rem, 6vw, 2.8rem);
  color: #ccc;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 0.2em;
  animation: wb-el-in 0.4s ease-out 0.2s both;
}

/* ---- Tier ---- */

.wb-tier {
  font-size: clamp(0.65rem, 1.6vw, 0.8rem);
  color: #ff1c4a;
  letter-spacing: 0.2em;
  margin-bottom: 1.2em;
  text-shadow: 0 0 15px rgba(255, 28, 74, 0.3);
  animation: wb-el-in 0.4s ease-out 0.3s both;
}

/* ---- Divider ---- */

.wb-divider {
  font-size: 0.7rem;
  color: #222;
  letter-spacing: 0.1em;
  margin-bottom: 1.2em;
  animation: wb-el-in 0.3s ease-out 0.4s both;
}

/* ---- Stats ---- */

.wb-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8em 2em;
  margin-bottom: 1.5em;
  animation: wb-el-in 0.4s ease-out 0.5s both;
}

.wb-stat {
  text-align: center;
}

.wb-stat-value {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: #ccc;
  font-weight: bold;
}

.wb-stat-label {
  font-size: clamp(0.55rem, 1.2vw, 0.65rem);
  color: #444;
  letter-spacing: 0.15em;
  margin-top: 0.15em;
}

/* ---- Action text ---- */

.wb-action {
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  color: #555;
  letter-spacing: 0.15em;
  margin-bottom: 0.8em;
  animation: wb-el-in 0.4s ease-out 0.7s both;
}

/* ---- Progress bar ---- */

.wb-progress-container {
  width: clamp(180px, 40vw, 300px);
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
  animation: wb-el-in 0.3s ease-out 0.8s both;
}

.wb-progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff1c4a, #ff4466);
  border-radius: 2px;
  transition: none;
}

.wb-progress-fill.filling {
  width: 100%;
  transition: width 2.2s linear;
}

/* ---- Shared element entrance ---- */

@keyframes wb-el-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
