* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0d0d0f;
  font-family: 'Inter', sans-serif;
}

/* Make sure the Unity game fills the screen */
#game-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

/* Premium Dark Mode Loading Screen Overlay */
#loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('bg.png') no-repeat center center;
  background-size: cover;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-in-out, visibility 1s;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(20, 20, 25, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 50px 60px;
  text-align: center;
  color: white;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 90%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.glass-card h1 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #fff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card .instructions {
  font-size: 1rem;
  font-weight: 300;
  color: #b0b0b0;
  margin-bottom: 40px;
}

/* Loading Bar */
#loading-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

#loading-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 10px;
  transition: width 0.3s ease-out;
}

/* Interactive Enter Button */
#enter-btn {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#enter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 242, 254, 0.5);
}

#enter-btn:active {
  transform: translateY(1px);
}

.fade-out {
  opacity: 0;
  visibility: hidden;
}
