body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #1E242B }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

#uploadOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  animation: fadeIn 0.25s ease;
}

#uploadPanel {
  position: relative;
  width: 90%;
  height: 90%;
  padding: 0px;
  border-radius: 16px;
  background: rgba(30,30,30,0.7);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  color: white;
  text-align: center;
  animation: scaleIn 0.25s ease;
}

#dropZone {
  font-family: 'Troika', sans-serif;
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;

  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.2s ease;
}

#dropZone:hover {
  border-color: #00d4ff;
  background: rgba(255,255,255,0.05);
}

#dropZone.drag {
  border-color: #00ffcc;
  background: rgba(0,255,200,0.1);
  transform: scale(1.03);
}

.icon {
  font-size: 32px;
}

.drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  pointer-events: none;
}

.text {
  margin-top: 10px;
  font-size: 16px;
}

.main {
  font-size: 22px;
}

.sub {
  font-size: 18px;
  opacity: 0.6;
}

.drop-content,
#uploadContent {
  position: absolute;
}

#uploadContent {
  display: none;
  width: 60%;
}

#progressContainer {
  width: 100%;
  height: 10px;
  background: #333;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: #4caf50;
  transition: width 0.2s ease;
}

#fileInfo {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.8;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}

@font-face {
  font-family: 'Troika';
  src: url('troika.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
