:root {
  --primary-blue: #2860b8;
  --secondary-blue: #4A90E2;
  --light-blue: #78B8FF;
  --white: #FFFFFF;
  --gray: #F6F6F6;
  --dark-gray: #545454;
}

body {
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: var(--gray);
  overflow: hidden;
}

#header {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  z-index: 100;
}

.logo img {
  height: 40px;
}

#unity-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#unity-canvas-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #2182FF;
  overflow: hidden;
}

#unity-canvas {
  width: 100%;
  height: 100%;
  background: #2182FF;
  display: block;
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  text-align: center;
}

#unity-logo {
  width: 154px;
  height: 130px;
  background: url('orbsway-loader-1.png') no-repeat center;
  background-size: contain;
  margin: 0 auto;
  
  /* ADDED: Floating Animation Properties */
  animation: floating-animation 2s ease-in-out infinite;
}

#unity-progress-bar-empty {
  width: 300px;
  height: 10px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: var(--light-blue);
  border-radius: 5px;
  transition: width 0.2s ease;
}

#unity-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  box-sizing: border-box;
}

#unity-build-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-blue);
  white-space: nowrap;
  margin-right: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40%;
}

/* ADDED: Keyframes for the floating animation */
@keyframes floating-animation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* Adjust the value for a more or less pronounced float */
  }
  100% {
    transform: translateY(0);
  }
}
