.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  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: 180px;
  height: 200px;
  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-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.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 {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
}

.splash-loading-spinner {
  width: 40px;
  height: 40px;
}
.splash-loading-spinner circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 4;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}
.splash-loading-spinner circle:last-child {
  stroke: #8B1538;
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
  filter: drop-shadow(0 0 4px rgba(139, 21, 56, 0.5));
}

.splash-loading-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}
.splash-loading-text:after {
  content: var(--blazor-load-percentage-text, "Loading");
}

@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: 140px;
    height: 150px;
    margin-bottom: 1.5rem;
  }
  .splash-title {
    font-size: 1.5rem;
    padding: 0 1rem;
  }
  .splash-subtitle {
    font-size: 0.875rem;
  }
  .splash-loading-container {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .splash-loading-spinner {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 480px) {
  .splash-logo {
    width: 100px;
    height: 110px;
    margin-bottom: 1rem;
  }
  .splash-title {
    font-size: 1.25rem;
  }
  .splash-subtitle {
    font-size: 0.75rem;
  }
}
