html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
  background: #111;
  color: white;
}

/* =========================
   Splash Screen
========================= */
#splash-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #222;
  z-index: 3;
  padding: 1em;
}

#splash-screen button {
  margin-top: 20px;
  padding: 0.6em 1.2em;
  font-size: 1em;
  cursor: pointer;
}

/* =========================
   Celebration Screen
========================= */
#celebration-screen {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Camera feed */
video#camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Confetti canvas */
canvas#confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Start button */
#start-celebration-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0.6em 1.2em;
  font-size: 1em;
  cursor: pointer;
}

/* =========================
   Inactivity Buttons
========================= */

/* Container to prevent overlap */
#inactivity-buttons {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column; /* vertical stacking */
  gap: 5em;              /* space between buttons */
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Visible state */
#inactivity-buttons.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Buttons themselves */
#inactivity-buttons button {
  padding: 0.6em 1.2em;
  font-size: 1em;
  cursor: pointer;
}
