/* Splash */
#splash {
  position: fixed; inset: 0;
  z-index: 99999;
  display: grid; place-items: center;
  background:
    radial-gradient(1200px 800px at 60% -10%, #1a1528, #0b0a13),
    radial-gradient(900px 700px at 50% 120%, rgba(196,161,255,.18), transparent 80%),
    radial-gradient(600px 420px at 80% -20%, rgba(255,217,102,.12), transparent 80%);
  backdrop-filter: blur(6px) saturate(135%);
  -webkit-backdrop-filter: blur(6px) saturate(135%);
  transition: opacity .45s ease, visibility .45s ease;
}

#splash.hide {
  opacity: 0; visibility: hidden; pointer-events: none;
}

#splash .splash-inner {
  text-align: center;
  padding: 32px 28px;
  background: #2a2140;
  border: 1px solid rgba(255,217,102,.5);
  border-radius: 24px;
  max-width: 520px; width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.splash-mark {
  filter: drop-shadow(0 6px 16px rgba(196,161,255,.45));
  animation: splash-pop 1.6s ease-in-out infinite alternate;
  margin-left: auto;
  margin-right: auto;
  line-height: 0;

  --icon-size: clamp(62px, 22vw, 100px);
}

#splash .splash-mark .icon {
  width: var(--icon-size) !important;
  height: var(--icon-size) !important;
  display: block;
  fill: rgba(255,217,102,1);
}

.splash-title {
  margin: 12px 0 6px;
  font-weight: 300;
  font-size: clamp(36px, 6vw, 48px);
  letter-spacing: .3px;
  background: linear-gradient(90deg, #ffffff 0%, #d8d8ff 50%, #ffffff 100%);
  -webkit-background-clip: text;
  color: rgba(255,217,102,1) !important; /* If you want the gradient visible, remove this line */
}

.splash-tag {
  color: var(--muted, #b9b6cc);
  margin: 6px 0 14px;
  font-size: 1rem;
}

@keyframes splash-pop {
  from { transform: translateY(0) scale(1); opacity: .95; }
  to   { transform: translateY(-3px) scale(1.06); opacity: 1; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .splash-mark { animation: none; }
}