html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #231F20;
  font-family: Arial, Helvetica, sans-serif;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  inset: 0;
  background: #231F20;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
  color: white;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #e0c080;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(224, 192, 128, 0.3);
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #e0c080;
  border-radius: 50%;
  margin: 0 auto 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 1.2rem;
  color: #a0d0ff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.progress-bar {
  width: 300px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 0 auto 15px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e0c080, #a0d0ff);
  width: 0%;
  transition: width 0.3s ease-out;
  border-radius: 3px;
}

.progress-percent {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-sizing: border-box;
  color: white;
}

#header .logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #e0c080;
  text-decoration: none;
}

#header .contact {
  font-size: 1.1rem;
  color: #a0d0ff;
  text-decoration: none;
  transition: color 0.2s;
}

#header .contact:hover {
  color: white;
}

/* Unity Container */
#unity-container {
  position: fixed;
  inset: 60px 0 0 0;
  width: 100%;
  height: calc(100% - 60px);
}

#unity-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: #231F20;
}
