/* ── Dock (on back wall, auto-hide) ──────────── */
#dock {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(15, 15, 40, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.dock-separator {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  align-self: center;
  flex-shrink: 0;
}

.dock-item {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.2s;
  position: relative;
}

.dock-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.dock-item:active {
  transform: translateY(-3px) scale(0.95);
}

.dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.dock-icon svg {
  width: 26px;
  height: 26px;
  stroke: rgba(255, 255, 255, 0.85);
}

/* Active indicator dot */
.dock-item-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(100, 180, 255, 0.8);
  box-shadow: 0 0 6px rgba(100, 180, 255, 0.4);
}

/* Tooltip */
.dock-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  background: rgba(15, 15, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  font-family: system-ui, -apple-system, sans-serif;
}

.dock-item:hover .dock-tooltip {
  opacity: 1;
}

/* ── Mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  #dock {
    display: none;
  }
}
