/* Mobile-only Rivio launch splash (shown before React hydrates). */
@media (min-width: 769px) {
  #rivio-launch-splash {
    display: none !important;
  }
}

html.rivio-no-launch-splash #rivio-launch-splash {
  display: none !important;
}

#rivio-launch-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: #fff;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

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

.rivio-launch-splash__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 24rem;
  padding: 2rem 1.75rem 3rem;
  text-align: center;
}

.rivio-launch-splash__brand {
  margin: 0 0 0.35rem;
  font-size: clamp(2.75rem, 10vw, 3.25rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.03em;
  color: #a5ffb8;
}

.rivio-launch-splash__subtitle {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.rivio-launch-splash__hero {
  width: min(100%, 21rem);
  height: auto;
  max-height: 17.5rem;
  object-fit: contain;
  margin-bottom: 2rem;
}

.rivio-launch-splash__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.rivio-launch-splash__dots span {
  display: block;
  border-radius: 999px;
  background: #a5ffb8;
  animation: rivio-launch-dot 1.2s ease-in-out infinite;
}

.rivio-launch-splash__dots span:nth-child(1),
.rivio-launch-splash__dots span:nth-child(3) {
  width: 0.5rem;
  height: 0.5rem;
  opacity: 0.45;
}

.rivio-launch-splash__dots span:nth-child(2) {
  width: 0.75rem;
  height: 0.75rem;
  box-shadow: 0 0 12px rgba(165, 255, 184, 0.75);
  animation-delay: 0.15s;
}

.rivio-launch-splash__loading {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes rivio-launch-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}
