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

body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #00ff88;
  font-size: 24px;
  text-shadow: 0 0 10px #00ff88;
  z-index: 100;
}

#avatar-container {
  width: 100%;
  height: 100%;
  position: relative;
}

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

@media (max-width: 768px) {
  h1 {
    font-size: 18px;
    top: 10px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 14px;
  }
}

/* Loading and Error States */
.error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  z-index: 200;
  font-size: 16px;
}

.info {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #00ff88;
  z-index: 100;
  font-size: 12px;
}