body {
  background-color: #000;
  color: #FFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  height: 100vh;
  box-sizing: border-box;
}

.initial-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
}

#viewerContainer {
  display: flex; 
  gap: 20px;     
  margin-bottom: 20px;
}

.image-canvas {
  border: 1px solid #FFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  image-rendering: pixelated;
}

#viewerContainer,
.stats-panel, 
.controls-panel {
  display: none; 
}

.stats-panel {
  gap: 30px;
  margin-bottom: 20px;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-item strong {
  font-weight: 600;
  margin-right: 5px;
}

.stat-value {
  color: #AAA;
}

button {
  background-color: #FFF;
  color: #000;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.1s, color 0.1s;
}

button:hover {
  background-color: #DDD;
}
