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

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#slide {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Hide cursor when idle (added/removed by JS) */
body.idle, body.idle #stage { cursor: none; }

#controls {
  position: fixed;
  bottom: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
  z-index: 10;
  transition: opacity 0.4s ease;
}

body.idle #controls { opacity: 0; pointer-events: none; }

#controls button,
#controls a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

#controls button:hover,
#controls a:hover { background: rgba(255, 255, 255, 0.22); }

#message {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0f;
  z-index: 5;
}

#message.hidden { display: none; }

.msgBox {
  text-align: center;
  color: #e8e8ef;
  padding: 40px;
}

.msgBox h1 { font-size: 28px; margin-bottom: 12px; font-weight: 600; }
.msgBox p { font-size: 16px; color: #a8a8b8; margin-bottom: 24px; }

.btn {
  display: inline-block;
  background: #4f7cff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover { background: #3d68e6; }
