body {
  padding: 0;
  margin: 0;
  font-family: 'Baloo 2', cursive;
}

#unity-container {
  position: absolute
}

#unity-container.unity-desktop {
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
}

#unity-container.unity-mobile {
  position: fixed;
  width: 100%;
  height: 100%
}

#unity-canvas {
  background: transparent
}

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%
}

/* Loading Screen Styles */
#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

#unity-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
}

/* Paddles Quest Logo */
#unity-logo {
  width: 600px;
  height: 300px;
  background: url('LoadingScene.png') no-repeat center;
  background-size: contain;
  margin-bottom: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Loading Text */
#unity-loading-text {
  color: #FDCF29;
  font-family: 'Baloo 2', cursive;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Progress Container */
#unity-progress-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

/* Progress Bar */
#unity-progress-bar-empty {
  width: 100%;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FFD33C 0%, #FDAE15 50%, #FF6B6B 100%);
  border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 211, 60, 0.5);
  position: relative;
}

/* Shimmer Effect */
#unity-progress-bar-full::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

/* Progress Percentage */
#unity-progress-percentage {
  color: #ffffff;
  font-family: 'Baloo 2', cursive;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Loading Dots */
#unity-loading-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #FDCF29;
  box-shadow: 0 0 10px rgba(253, 207, 41, 0.5);
}

.loading-dot:nth-child(1) {
  animation: pulse 1.5s infinite 0s;
}

.loading-dot:nth-child(2) {
  animation: pulse 1.5s infinite 0.2s;
}

.loading-dot:nth-child(3) {
  animation: pulse 1.5s infinite 0.4s;
}

/* Animations */
@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Footer and other elements */
#unity-footer {
  display: none;
}

.unity-mobile #unity-footer {
  display: none
}

#unity-webgl-logo {
  display: none;
}

#unity-build-title {
  display: none;
}

#unity-fullscreen-button {
  display: none;
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
  z-index: 20;
}
