/* Basic page setup */
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: black;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* Hidden video feed */
video {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* Visible canvas where everything is drawn */
canvas {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  /* Position and size set by JavaScript */
}

/* Outfit selection buttons */
#outfit-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

#outfit-buttons button {
  padding: 12px 16px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-width: 120px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#outfit-buttons button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#outfit-buttons button.active {
  background: #007bff;
}

/* Loading indicator */
.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  z-index: 1000;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #outfit-buttons {
    top: 10px;
    right: 10px;
    gap: 8px;
  }
  
  #outfit-buttons button {
    padding: 10px 12px;
    font-size: 12px;
    min-width: 100px;
  }
}
