/* FreteCiF PWA Premium Splash */
#fretecif-pwa-splash {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(245, 158, 11, 0.18), transparent 28%),
    radial-gradient(circle at 20% 15%, rgba(59, 130, 246, 0.16), transparent 32%),
    linear-gradient(145deg, #05111d 0%, #071522 45%, #020817 100%);
  color: #fff;
  overflow: hidden;
  opacity: 1;
  transition: opacity .55s ease, visibility .55s ease;
}

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

#fretecif-pwa-splash::before {
  content: "";
  position: absolute;
  width: 115vw;
  height: 115vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, .14);
  box-shadow:
    0 0 80px rgba(245, 158, 11, .10),
    inset 0 0 90px rgba(15, 23, 42, .72);
  animation: fretecifSplashPulse 2.7s ease-in-out infinite;
}

#fretecif-pwa-splash::after {
  content: "";
  position: absolute;
  inset: auto -20% 11% -20%;
  height: 170px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, .16), transparent);
  transform: rotate(-8deg);
  filter: blur(18px);
  opacity: .72;
}

.fretecif-splash-card {
  position: relative;
  z-index: 2;
  width: min(86vw, 380px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fretecifSplashEnter .72s ease-out both;
}

.fretecif-splash-icon-wrap {
  width: 138px;
  height: 138px;
  border-radius: 38px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.035);
  box-shadow:
    0 28px 70px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.08),
    0 0 55px rgba(245,158,11,.22);
  animation: fretecifIconFloat 2.4s ease-in-out infinite;
}

.fretecif-splash-icon {
  width: 126px;
  height: 126px;
  border-radius: 32px;
  display: block;
  object-fit: cover;
}

.fretecif-splash-brand {
  margin-top: 28px;
  font-size: clamp(34px, 9vw, 46px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: #ffffff;
  text-shadow: 0 12px 32px rgba(0,0,0,.42);
}

.fretecif-splash-brand span {
  color: #f59e0b;
}

.fretecif-splash-subtitle {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

.fretecif-splash-loader {
  margin-top: 38px;
  width: 150px;
  height: 4px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,.10);
}

.fretecif-splash-loader i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #fde68a, #f59e0b);
  animation: fretecifLoader 1.18s ease-in-out infinite;
}

@keyframes fretecifSplashEnter {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fretecifIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes fretecifLoader {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(250%); }
}

@keyframes fretecifSplashPulse {
  0%, 100% { transform: scale(.96); opacity: .62; }
  50% { transform: scale(1.03); opacity: 1; }
}
