/* Pantalla de carga de marca (Mi Perfil y DataValyrians): logo mediano y nítido con electricidad, tema neutral
   (negro, grises y toques amarillos). Mientras se muestra, la página de fondo ya está cargando todo. */
.bsplash {
  position: fixed; inset: 0; z-index: 99999; display: grid; place-content: center; justify-items: center; gap: 1.1rem;
  background:
    radial-gradient(60% 55% at 50% 46%, rgba(244, 196, 48, .10), transparent 70%),
    radial-gradient(120% 90% at 50% 120%, rgba(255, 255, 255, .05), transparent 60%),
    #050505;
  color: #f4f4f1; opacity: 1; transition: opacity .6s cubic-bezier(.23, 1, .32, 1), transform .6s cubic-bezier(.23, 1, .32, 1), visibility 0s linear .6s;
  animation: bsplashSafety .01s 9s forwards;
}
.bsplash::before { /* velo de textura gris muy suave */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.bsplash.is-out { opacity: 0; transform: scale(1.03); visibility: hidden; pointer-events: none; }
html.has-brand-splash, html.has-brand-splash body { overflow: hidden; }
html.bsplash-skip .bsplash { display: none; }

.bsplash-stage { position: relative; width: min(88vw, 470px); aspect-ratio: 1; display: grid; place-items: center; }
.bsplash-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bsplash-logo {
  position: relative; z-index: 1; width: 62%; height: auto; image-rendering: auto;
  filter: drop-shadow(0 0 18px rgba(244, 196, 48, .35)) drop-shadow(0 8px 20px rgba(0, 0, 0, .6));
  animation: bsplashIn .7s cubic-bezier(.23, 1, .32, 1) both, bsplashGlow 1.8s ease-in-out .7s infinite;
}
.bsplash-flash { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 200, .95), rgba(244, 196, 48, .35) 40%, transparent 68%); opacity: 0; animation: bsplashFlash .55s ease-out .05s both; }
.bsplash-word { margin: 0; font-family: "Sora", "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .42em; padding-left: .42em; color: #e9e6d8; }
.bsplash-word b { color: #f4c430; font-weight: 700; }
.bsplash-load { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #8d8b80; }
.bsplash-load i { display: inline-block; width: 1.1em; text-align: left; font-style: normal; color: #f4c430; }
.bsplash-tip { margin: .2rem 0 0; min-height: 2.9em; max-width: min(88vw, 460px); padding-inline: 1rem; text-align: center; font-size: .9rem; line-height: 1.45; color: #cfcdc2;
  transition: opacity .35s ease, transform .35s cubic-bezier(.23, 1, .32, 1); }
.bsplash-tip b { color: #f4c430; font-weight: 700; }
.bsplash-tip.is-swap { opacity: 0; transform: translateY(6px); }
.bsplash-bar { width: min(56vw, 220px); height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bsplash-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #8d7424, #f4c430, #fff2b0); box-shadow: 0 0 12px rgba(244, 196, 48, .8); transition: width .35s ease-out; }

@keyframes bsplashIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes bsplashGlow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(244, 196, 48, .28)) drop-shadow(0 8px 20px rgba(0, 0, 0, .6)); }
  50% { filter: drop-shadow(0 0 30px rgba(244, 196, 48, .65)) drop-shadow(0 8px 20px rgba(0, 0, 0, .6)); }
}
@keyframes bsplashFlash { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes bsplashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .bsplash-logo { animation: none; }
  .bsplash-flash { display: none; }
}
