@charset "UTF-8";
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)), url("/images/dojodome-bg.webp") center/cover no-repeat;
  background-color: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.splash-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.splash-logo {
  width: 300px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  filter: drop-shadow(0 10px 40px rgba(254, 20, 14, 0.3));
  animation: pulse 2s ease-in-out infinite;
}
.splash-logo svg {
  width: 100%;
  height: 100%;
}
.splash-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.splash-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.splash-loading-container {
  width: 280px;
  text-align: center;
  margin-top: 2rem;
}

.splash-init-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.splash-init-progress-fill {
  height: 100%;
  width: var(--blazor-load-percentage, 0%);
  background: #8B1538;
  border-radius: 2px;
  transition: width 0.4s ease-in-out;
  box-shadow: 0 0 8px rgba(139, 21, 56, 0.5);
}

.splash-init-step-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-top: 1rem;
  letter-spacing: 0.04em;
  min-height: 1.2em;
}
.splash-init-step-text:empty:after {
  content: var(--blazor-load-percentage-text, "Loading…");
}

@media (max-width: 480px) {
  .splash-loading-container {
    width: 220px;
  }
}
.splash-screen .splash-version {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.85;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 10px 40px rgba(254, 20, 14, 0.3));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 60px rgba(254, 20, 14, 0.5));
  }
}
@media (max-width: 768px) {
  .splash-logo {
    width: 240px;
    height: 178px;
    margin-bottom: 1.5rem;
  }
  .splash-subtitle {
    font-size: 0.875rem;
  }
}
@media (max-width: 480px) {
  .splash-logo {
    width: 200px;
    height: 150px;
    margin-bottom: 1rem;
  }
  .splash-subtitle {
    font-size: 0.75rem;
  }
}
