* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: system-ui, sans-serif;
  background: #000;
  color: #f0f0f0;
}

body {
  position: relative;
}

#overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10;
}

#overlay h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
}

#overlay p {
  max-width: 28rem;
  line-height: 1.75;
  font-size: 1.15rem;
}

#startButton {
  padding: 1.3rem 3rem;
  font-size: 1.3rem;
  border: none;
  border-radius: 999px;
  background: #33a8ff;
  color: #fff;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

#startButton:hover {
  transform: scale(1.03);
  background: #1d8bdb;
}

#startButton:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#status {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: #c8d6ff;
  font-size: 0.95rem;
  text-align: center;
  pointer-events: none;
  z-index: 11;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.feedback {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #f0f0f0;
  font-size: 0.95rem;
  max-width: 28rem;
  line-height: 1.4;
}

.debug {
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: #ffffff;
  font-size: 0.8rem;
  max-width: 28rem;
  line-height: 1.4;
  opacity: 0.95;
}
