/* Realm Launch Splash Screen */
#realm-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.realm-letter-container {
  display: flex;
  gap: 12px;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 20px;
}

.realm-letter {
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.4));
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.realm-letter.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.realm-logo-reveal {
  width: 110px;
  height: 110px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.realm-logo-reveal.visible {
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
}

#realm-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Splash Footer Branding */
.splash-footer {
    position: absolute;
    bottom: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-family: sans-serif;
    letter-spacing: 1px;
}
