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

body {
  overflow: hidden;
  background: #000;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #fff;
}

#canvas {
  display: block;
  width: 100vw;
  height: 100vh;
}

/* UI Overlay */
#ui-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 32px;
  z-index: 10;
}

#slide-title {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#slide-title.visible {
  opacity: 1;
}

#nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: auto;
}

#nav-container button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

#nav-container button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

#nav-container button:active {
  transform: scale(0.95);
}

#slide-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  pointer-events: auto;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}
